Other Operation

Operations that are not create, update, or delete operations are called “Other” operations.

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. This code provides an example:

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