Post PCF Update


The Post PCF Update event point is triggered by a change to a record. As a result, its execution is dependent upon the existence of a PCF. If the PCF is not stored, APPX still senses the change and executes the event point.

Post PCF Update is found exclusively in input processes, and executes only in the data addition, data modification, and data deletion interactive phases. It executes immediately after the PCF record is saved.

Post PCF Update is generally used to perform manipulation of records in files other than the PCF. Remember that Pre-PCF Update is used to perform actions on the PCF when the operating system has a hold on the PCF record. By the time APPX executes Post PCF Update, the system has saved and relinquished control of the PCF record. If you wish to manipulate a PCF record in this event point, you must reread and hold it.

Because the event point only executes when a PCF record has just been saved, you can use this event point to perform actions on non-PCF records that depend upon the PCF record you saved. Examples include resetting a journal printed flag to N whenever a user changes transaction information related to the journal, and updating a committed quantity field that is in an inventory application that is based upon changes to a sales order in an order entry application.