Using the Incremental Subscribe Process (VENDOR_SYNC)

The Incremental Subscribe process enables you to subscribe to supplier data incrementally as it is published by PeopleSoft Payroll or by external applications.

Design Pattern Message Name Subscription Name

PeopleCode Subscribe

VENDOR_SYNC

SupplierSync

This example illustrates the Incremental Subscribe process:

PeopleSoft Supplier

Incremental Subscription Process for the VENDOR_SYNC Message

The supplier subscription code uses a component interface that encapsulates the supplier online component to handle default values and edits of the supplier data received in the subscribed message:

Declare Function supplier_intfc PeopleCode FUNCLIB_APEIP.VENDOR_ID FieldFormula;
Local Message _amp_ MSG;
_amp_ MSG = GetMessage();
supplier_intfc(_amp_ MSG);

The same default values and validation that occur online occur through the VNDR_ID component interface.

Not all the data elements in the supplier-related records are exposed in the message. The subscription process assigns the unexposed data elements a default value that is consistent with the PeopleSoft record definition.