81 Purchase Order Receipts

This chapter includes these topics:

81.1 Purchase Order Receipts Overview

This chapter provides detailed information about the business interfaces that are available for the Purchase Order Receipts business object.

This table lists all of the available interface components:

Interface Type Available Interfaces
Business Services The PurchaseOrderReceiptManager web service (JP43A000) manages the processing of these purchase order receipt-related web service operations:
  • processPurchaseOrderReceipt (J43A0010)

  • processPurchaseOrderReceiptV2 (J43A0010)

Real-Time Events This list includes the real-time events for the Purchase Order Receipts business object:
  • RTRECOUT

Batch Import Programs This list includes the batch import programs for the Purchase Order Receipts business object:
  • Receipt Routing Inbound Processor (R43092Z1I)

  • EDI Receiving Advice Edit/Create – Purchasing (R47071)

  • EDI Shipping Notice Edit/Create program (R47031)

Batch Export Programs This list includes the batch export programs for the Purchase Order Receipts business object:
  • PO Receipts (P4312)

  • EDI Receiving Advice Extraction program (R47072)



Note:

You can find additional technical information about each type of business interface component. For additional descriptions of the information available, and instructions for finding this information, see Chapter 5, "Accessing Additional Information for Business Interface Components."

81.2 Purchase Order Receipts Business Services - PurchaseOrderReceiptsManager

The PurchaseOrderReceiptManager web service (JP43A000) manages the processing of purchase order receipt-related web service operations. This table includes a description of the purchase order receipt web service operation:

Operation Description
processPurchaseOrderReceipt (J43A0010) Use this operation to create partial and full purchase order receipts within the JD Edwards EnterpriseOne Procurement system. The operation supports basic and advanced serial number receipts.
processPurchaseOrderReceiptV2 (J43A0010) Use this operation to create partial and full purchase order receipts, including country of origin information, within the JD Edwards EnterpriseOne Procurement system.

81.2.1 Accessing Javadoc for the Purchase Order Receipt Manager Web Service Operations

To access Javadoc for the Purchase Order Receipt Manager web service and its related operations, review these Javadoc packages:

  • JP43A000 (PurchaseOrderReceiptManager)

  • J43A0010 (processPurchaseOrderReceipt)

  • J43A0010 (processPurchaseOrderReceiptV2)

81.2.2 Prerequisite

Before using the Purchase Order Receipt manager web service, or the related web service operation, you must install and configure the JD Edwards EnterpriseOne Procurement system.

See JD Edwards EnterpriseOne Applications Procurement Management Implementation Guide.

See "Understanding Serial Number Processing in the Distribution System" in the JD Edwards EnterpriseOne Applications Sales Order Management Implementation Guide.

81.2.3 processPurchaseOrderReceipt

The processPurchaseOrderReceipt web service operation is an inbound transaction operation that enables consumers to process purchase order receipt information within the JD Edwards EnterpriseOne system. The consumer can create full and partial purchase order receipts in the JD Edwards EnterpriseOne Procurement system. Therefore, you can choose which lines in a purchase order to send. You can send and receive all lines in a purchase order, or you can send and receive only selected lines in a purchase order.

The operation also supports basic and advanced serial number receipts.

The processPurchaseOrderReceipt web service operation receives goods and services on a purchase order. The processPurchaseOrderReceipt operation calls the XPIProcessInboundReceipt business function (B4302240) to process the purchase order receipt. If there are no errors during processing, the business function may return information and warnings depending upon the scenario and report back to the processPurchaseOrderReceipt web service operation.

81.2.3.1 Supported Functionality

This section discusses the functionality that the processPurchaseOrderReceipt operation supports.


Note:

If functionality is not explicitly documented as supported functionality, it is to be understood that the functionality is not supported by the integration solution.

When creating purchase order receipts:

  • Full and partial purchase order receipts are supported.

  • Basic and advanced serial number receipts are supported.

  • Receipt by purchase order and receipt by purchase order line item are supported.

  • Receipt of one purchase order at a time is supported.

The processPurchaseOrderReceipt web service operation does not support the following functionality:

  • Receipts of multiple purchase orders at a time.

  • Update purchase order receipts.

  • Receipts by account.

  • Receive into multiple locations.

  • Receipts for transportation.

  • Receive and close purchase order and cancel purchase order receipt line.

  • Receipt routing.

  • Reverse receipt.

  • Cascading receipts.

  • Desktop receipt.

  • Weight tag receipt (for wine industry).

81.2.3.2 Setup Considerations

Before you use this operation, you can set business service properties to specify how the system processes purchase order information. This table includes information about the business service properties that the processPurchaseOrderReceipt web service operation uses:

Group Key Description Default Value
J43A0010 J43A0010_PR_MBF_VERSION Use this business service property to specify which version of the PO Receipts program (P4312) the operation uses.

See " Setting Processing Options for PO Receipts (P4312)" in the JD Edwards EnterpriseOne Applications Procurement Management Implementation Guide.

ZJDE0001
J43A0010 J43A0010_PREFIX_1 Use this business service property to specify the prefix value the operation uses for error messages when JD Edwards EnterpriseOne runs the SerialNumberCacheProcess business function (B4302180). Receipt Serial Number Sent in:
J43A0010 J43A0010_PREFIX_2 Use this business service property to specify the prefix value the operation uses for error messages when JD Edwards EnterpriseOne runs the XPIProcessInboundReceipt business function (B4302240) for edit doc and edit line. Receipt Sent in:
J43A0010 J43A0010_PREFIX_3 Use this business service property to specify the prefix value the operation uses for error messages when JD Edwards EnterpriseOne runs the XPIProcessInboundReceipt business function (B4302240) for end doc. Receipt Process WF Sent in:

81.2.3.3 Implementation Details

The following table includes information that can help determine whether the processPurchaseOrderReceipt operation is functioning correctly:

Question Answer
How can I tell if the operation completes successfully? If the web service call does not throw a business service exception, then the operation has completed successfully. There may be some warning messages in the returned value object which the consumer can review.

If the operation completes successfully, the system returns a confirmation message to the consumer. The return message includes all of the fields that are listed in the response interface for this operation. However, some of those fields can contain blank or zero values, depending on the data that exists in the JD Edwards EnterpriseOne system.

At a minimum, the system returns non-zero values for these fields:

  • documentNumber

  • documentTypeCode

  • documentCompany

  • receiptNumber

  • businessUnit

  • documentLineNumber

  • receiptLineNumber

If I encounter errors while processing a transaction, do I need to reverse the transaction? This operation uses standard transaction processing. Therefore, if you encounter errors during processing, the system does not update any information in the JD Edwards EnterpriseOne system.

The consumer only needs to reverse the addition of records to the Item Location File (F41021) table in the event that a fatal server or connection error occurred when the rollback was occurring since the rollback of the F41021 table is handled manually with a business function call. All other transactions for the receipt are rolled back in the normal transaction processing handling.

Does this operation use record reservation? This operation calls the XPIProcessInboundReceipt business function (B4302240). This function reserves purchase order records in the JD Edwards EnterpriseOne system when the operation is processing receipts so that no other user can update the purchase order.

If the purchase order for which the operation is creating a receipt is reserved by some other application, then the call to the B4302240 business function returns an error and stops any further processing.


81.2.4 processPurchaseOrderReceiptV2

Review the information in the processPurchaseOrderReceipt section of this chapter before using the processPurchaseOrderReceiptV2 web service operation. All of the information in the processPurchaseOrderReceipt section also applies to the processPurchaseOrderReceiptV2 operation.

The processPurchaseOrderReceiptV2 operation is a version of the processPurchaseOrderReceipt web service operation. This web service operation is used to create partial and full purchase order receipts, including country of origin information. This version executes the processPurchaseOrderReceipt (J43A0010) web service operation.

81.3 Purchase Order Receipts Real-Time Events

This section describes the available real-time events associated with the Purchase Order Receipts business object, which include:

  • RTRECOUT

81.3.1 RTRECOUT

RTRECOUT is used by the JD Edwards EnterpriseOne system to notify third-party systems when a purchase order receipt is created.

Event Type Event Description Event Category Event Aggregate Product Code Data Structure
RTRECOUT Purchase Order Receipt RTE Single 43B D4303420: Receipt Realtime Event Template

81.3.1.1 Conceptual Approach

This event is triggered when a purchase order receipt is created in the JD Edwards EnterpriseOne system.

81.3.1.2 Objects that Can Initiate the Event

These objects can initiate the RTRECOUT event:

  • B4301300 - F43121 Update Landed Cost Records

  • B4301440 - F43121 Copy Row With New Receipt Line Number

  • B7600400 - Receive NF Records - Brazil

  • B7602020 - Add Lines to Receipt File - Brazil

  • NXT43092 - Receipt Routing

  • X43091 - Receipt Routing Initiator

  • XF43121 - Purchase Order Item Ledger Functions

  • N4301430 - F43121 Update Line Split In Receipt Routing

  • B4300720 - F43121, Update Receipt Date

  • B4300870 - F43092, Update Disposition Information

  • B7602080 - LC - Update GL, Cardex and Cost Difference CT - BRA - 43

  • XT4312Z1 - Purchase Order Receipts

81.4 Purchase Order Receipts Batch Import Programs

You use batch import programs to import data from an external software system into the JD Edwards EnterpriseOne system, where it can then be processed by EnterpriseOne programs.

This table lists and describes the available batch import programs that are associated with the Purchase Order Receipts business object:

Program and Program Type Description Available Documentation
Receipt Routing Inbound Processor (R43092Z1I)

This is an inbound interoperability program.

Running a transaction process, such as Receipt Routing Inbound Processor (R43092Z1I), often identifies one or more inbound transactions that contain invalid transactions. For example, if you are in receipt routing and you try to move inventory to a step that was not defined in the receipt route, the Receipt Routing Inbound Processor program identifies the invalid transaction and sends an error message to the Work Center (P012501). The error message indicates the transaction number for the transaction in error. See this topic:
EDI Receiving Advice Edit/Create – Purchasing (R47071)

This is an EDI import program.

Run the EDI Receiving Advice Edit/Update Purchasing program (R47071) from the Receiving Advice Purchasing menu to communicate the receipt of goods or services at a customer site and to record the receipt against the purchase order in the JD Edwards EnterpriseOne Procurement system. See this topic:
EDI Shipping Notice Edit/Create program (R47031)

This is an EDI import program.

Run the EDI Shipping Notice Edit/Create program (R47031) to update the status of a purchase order after you have received the ASN. The system uses the information that is contained in the F47031 table and the F47032 table to perform the status update. See this topic:

81.5 Purchase Order Receipts Batch Export Programs

You use batch export programs to retrieve and format data from the JD Edwards EntepriseOne database so that it can be used by an external software system.

This table lists and describes the available batch export programs that are associated with the Purchase Order Receipts business object:

Program and Program Type Description Available Documentation
PO Receipts (P4312)

This is a standard interactive program that can create outbound interoperability data.

You can set the processing options of this program to create outbound interoperability data in the F43121Z1 table. See this topic:
EDI Receiving Advice Extraction program (R47072)

This is an EDI extract program.

Run the EDI Receiving Advice Extraction program (R47072) from the Receiving Advice Purchasing menu to report the receipt of goods or services and to report any quantities that are rejected or in question. Depending upon the warehousing environment, the transaction is inbound to sales or purchasing and outbound from purchasing. See this topic: