processPurchaseOrderAcknowledge

The processPurchaseOrderAcknowledge web service operation is an inbound transaction operation that enables consumers to process purchase order acknowledgements within the JD Edwards EnterpriseOne system. The consumer can synchronize sales orders in the source system to the corresponding purchase orders in the JD Edwards EnterpriseOne Procurement system.

If the operation is successful, the system returns a confirmation message which includes purchase order acknowledgement data to the consumer. If the operation fails, the system returns an error message to the consumer.

If the operation is successful, the system returns purchase order header and line keys to the caller through the ConfirmProcurementOrderAcknowledge web service operation. The system returns exceptions to the caller. The minimum required fields to acknowledge a purchase order in JD Edwards EnterpriseOne are:

  • Header

    • statusOrderCode

    • purchaseOrderKey

  • Detail (optional)

    • statusOrderCode

    • purchaseOrderLineKey

The processPurchaseOrderAcknowledge operation enables the consumer to specify the statusOrderCode at the header and detail level. The statusOrderCode indicates the type of operation that is being performed on the purchase order and is required. The status order codes are:

1: Accept

2: Accept with change

3: Pending

4: Product already shipped

5: Reject

This table includes information about the JD Edwards EnterpriseOne purchase order acknowledgement scenarios used by the processPurchaseOrderAcknowledge operation:

Status Order Code in Header

Status Order Code in Detail

Comment

Result

1

1

Accept

Only the detail status is changed and no data is updated.

1

2

Accept

The detail status is changed and other data is updated.

2

1

Accept

Only the detail status is changed and the data in the header is updated.

2

2

Accept with change

The detail status is changed, and the header and detail data is updated.

3

3

Pending

The status is changed to Pending as set in the processing options.

4

4

Product already shipped

There is no change in the EnterpriseOne system.

5

1, 2, 3, 4, 5

Reject

All the lines are rejected.

1

3

The header is not updated, the status is changed to Pending as set in the processing options, and the VR01 field in the detail is changed.

2

3

The header data is updated, the status is changed to Pending as set in the processing options, and the VR01 field in the detail is changed.

2

4

The header data is updated but no fields in the detail are updated.

2

5

The header data is updated and the status is changed.

3

2

The header is not updated, the detail status is changed, and other data is updated.

4

5

The data in the header is not updated and the status fields are changed.