Main - Ispec and Event

The Main built-in ispec and event method is called by the segment cycle after automatic validation following the invocation of the ispec or event's Prepare method, but prior to automatic update.

Refer to Segment Cycle for more information on the role of the Main method in transaction processing.

The Main method can be used for reasons such as checking stock-on-hand, or checking a customer credit limit for a sale.

Note: This built-in method can be overridden however you cannot change its Visibility property.

Syntax

<<ispec || event>>::Main(void) : void

Owner

Any ispec or event (including copy ispecs and copy events).