The Prepare built-in ispec and event method is called by the segment cycle before invocation of the ispec or event's Main - Ispec and Event method.
Refer to Segment Cycle for more information on the role of the Prepare method in transaction processing.
The Prepare method can be used for reasons such as generating a customer number, or recalling another ispec without processing the current ispec.
Note: This built-in method can be overridden however you cannot change its Visibility property.
Syntax– non-Keyed Ispecs/Events
<<ispec || event>>::Prepare(void) : void
Syntax– Keyed Ispecs/Events
<<ispec || event>>::Prepare(Maint : stringExpression) : void
Owner
Any ispec or event (including copy ispecs and copy events).