Business Object - Algorithms
Use this page to maintain a business object's algorithms. Open this page using
and then navigate to the Algorithms tab.Description of Page
The Algorithms grid contains algorithms that control important functions for entities defined by this business object. You must define the following for each algorithm:
- Specify the System Event with which the algorithm is associated (see the table that follows for a description of all possible events).
- Specify the Sequence Number and Algorithm for each system event. You can set the Sequence Number to 10 unless you have a System Event that has multiple Algorithms. In this case, you need to tell the system the Sequence in which they should execute.
- If the algorithm is implemented as a script, a link to the Script is provided. Refer to Plug-In Scripts for more information.
- Owner indicates if this is owned by the base package or by your implementation (Customer Modification).
The following table describes each System Event. Refer to A Business Object May Define Business Rules for more information about these system events.
System Event | Optional / Required | Description |
---|---|---|
Audit | Optional |
Algorithms of this type may be used to audit certain changes made to business object instances. The system hands over to the algorithms a summary of all the elements that were changed throughout a specific call to update an object. Excluded from this processing are elements explicitly marked on the schema as requiring no audit. For each element its original value before the change as well as its new value are provided. It is the responsibility of the algorithms to record corresponding audit information. The system invokes all algorithms of this type defined on the business object's inheritance hierarchy. Refer to Business Object inheritance for more information. |
Information | Optional |
We use the term "Business Object Information" to describe the basic information that appears throughout the system to describe an entity defined by the business object. The data that appears in this information description is constructed using this algorithm. The system invokes a single algorithm of this type. If more than one algorithm is plugged-in the system invokes the one with the greatest sequence number found on the business object closest to the current business object in the inheritance hierarchy. Refer to Business Object inheritance for more information. |
Post-Processing | Optional |
Algorithms of this type may be used to perform additional business logic after a business object instance has been processed. The system invokes all algorithms of this type defined on the business object's inheritance hierarchy. Refer to Business Object inheritance for more information. |
Pre-Processing | Optional |
Algorithms of this type further populates a request to maintain a business object instance right before it is processed. The system invokes all algorithms of this type defined on the business object's inheritance hierarchy. Refer to Business Object inheritance for more information. |
Validation | Optional |
Algorithms of this type may be used to validate a business object instance when added, updated or deleted. The system invokes all algorithms of this type defined on the business object's inheritance hierarchy. Refer to Business Object inheritance for more information. |