Other Operation

Operations other than create, update, or delete operations are called "other" operations. An Other operation class is generated for each operation in the MBO that is not a create, update, or delete operation.

Suppose the Customer MBO has an Other operation "other", with parameters "P1" (string), "P2" (int), and "P3" (date). This results in a CustomerOtherOperation class being generated, with "P1", "P2", and "P3" as its attributes.

To invoke the Other operation, create an instance of CustomerOtherOperation, and set the correct operation parameters for its attributes. For example:

CustomerOtherOperation other = new CustomerOtherOperation();
other.setP1("somevalue");
other.setP2(2);
other.setP3(new Date());
other.save(); 
other.submitPending();
<PkgName>DB.synchronize(); // or <PkgName>DB.synchronize (String synchronizationGroup)