Processing Third-Party Receipts
XML messages are pushed to the PeopleSoft gateway, and then processed by PeopleSoft Integration Broker. Subscription PeopleCode validates data integrity, controls edits, adds registration defaults, and converts the message into a PeopleSoft transaction. When loading information from a third party, the PeopleSoft Integration Broker can process receipt information, provided the necessary setup is complete.
This section discusses how to:
Format incoming receipt files.
Use transaction codes.
Standard PeopleSoft XML format is used to format incoming receipt files. The message definition for receipts is (PURCHASE_ORDER_RECEIPT). Use PeopleSoft Application Designer to view the structure of the message and the subscription PeopleCode for the incoming receipts.
Note: Before loading an XML file, you must set up a valid node and channel.
Note: In addition to delivering the PO Receipt EIP as an application message (PURCHASE_ORDER_RECEIPT), Oracle also delivers it as a web service. Enabling web services is discussed in the PeopleTools: Integration Broker.
The XML message requires that the following record and field combinations be populated with valid data for each receipt:
Record |
Field |
---|---|
BCT_C_PO_RC_EVW |
EIP_TRANS_SRC |
EIP_TRANS_SRC_REF |
|
EIP_TRANS_SRC_SEQ |
|
TRANSACTION_CODE |
|
SHIPTO_SETID |
|
SHIPTO_ID |
|
VENDOR_ID |
|
CARRIER_ID |
|
BILL_OF_LADING |
|
RECEIVER_ID |
|
BUSINESS_UNIT |
|
END_TRANS_FLAG |
|
BCT_D_PO_RC_EVW |
EIP_TRANS_SRC_SEQ |
TRANSACTION_CODE |
|
UNIT_OF_MEASURE |
|
RECEIVER_ID |
|
RECV_LN_NBR |
|
QTY |
|
SCHED_NBR |
|
BUSINESS_UNIT_PO |
|
PO_ID |
|
LINE_NBR |
|
The system uses the following transaction codes:
Transaction Code |
Action |
---|---|
0102 |
Load entire PO |
0103 |
Load PO line |
0104 |
Load PO schedule |
At the child label of the message, you can indicate what you are receiving in this particular shipment by entering the appropriate code. If you specify code 0102, you must enter the PO and the business unit for the PO. If you specify 0103, you must provide the quantity, PO, unit, line number, and unit of measure (UOM). If you specify 0104, you must enter the quantity, PO, unit, line, schedule number, and UOM.
The end transaction flag (END_TRANS_FLAG) tells the system whether this message can be processed and whether the receipt can be created immediately. If the flag status is N, the data remains in the system with an incomplete status—therefore, populate this flag with Y.