Message Boards

CIM Delete of records when Batch Delete Active = NO

Paul Sheemar, modified 3 Years ago.

CIM Delete of records when Batch Delete Active = NO

Post Date: 7/9/13 (Bronze, 5 Posts) Recent Posts

 

How do you delete records when the program is set to Batch Delete Active = NO?

Is there a way of triggering a CTRL-D, PF5 or F5 in a CIM file?

Using Eb2 SP9. Dont have Maint code.

Need to ensure that the validations are used before delete takes place, for consistency with std MFG.

thanks

thumbnail
Phill Norrey, modified 12 Years ago.

Re: CIM Delete of records when Batch Delete Active = NO

Post Date: 8/26/13 (Yoda, 1010 Posts) Recent Posts
If the Batch Delete flag is not set to YES you cannot use CIM to delete records in standard programs.

The only thing you can do is use 36.25.10 to delete part master records. This is a version of the part maintenance that just asks fro the part number, then asks if you want to delete (no ctrlD required). It still does all the standard error checking.

You can basically use the CIM on any program that is designed to delete. Fro example 13.23. Just create an output to "NOWHERE".
Anthony LE NAVIEL, modified 12 Years ago.

Re: CIM Delete of records when Batch Delete Active = NO

Post Date: 8/27/13 (Silver, 41 Posts) Recent Posts
Hi
Wich data do you want to delete ?
Paul Sheemar, modified 12 Years ago.

Re: CIM Delete of records when Batch Delete Active = NO

Post Date: 9/2/13 (Bronze, 5 Posts) Recent Posts
The data is the Freight List data. Freight List/ZOne/Class/Charge.

They are not set to delete via CIM.
However, deletion of some of these records is contingent on validations, such as whether a particular Freight List is being used in a Sales Order.

Reason for opening thread was to see if I can access the validation process that a CIM route would have given me.
Anthony LE NAVIEL, modified 12 Years ago.

Re: CIM Delete of records when Batch Delete Active = NO

Post Date: 9/2/13 (Silver, 41 Posts) Recent Posts
You're right - I don't see how to do easily for these data
Do you use QXTEND ? We could find a solution with it
Paul Sheemar, modified 12 Years ago.

Re: CIM Delete of records when Batch Delete Active = NO

Post Date: 9/2/13 (Bronze, 5 Posts) Recent Posts
effectively fixed.
I just drew a map of how each type, Class, List, Zone was dependent on any other record.
For example, I made sure that a List record isnt deleted if a Zone exists with a List.
And for example, made sure that a Class doesnt get deleted if a Charge uses it, etc.

Message place holder