processVoucherMatch

This section provides an overview of the processVoucherMatch web service operation, lists prerequisites, and discusses how to set processing options for Purchase Order XPI (P43XPI).

The processVoucherMatch operation is an inbound transaction operation that enables consumers to process voucher match information within the JD Edwards EnterpriseOne system. The consumer can add voucher match records to the JD Edwards EnterpriseOne Procurement system for logged vouchers and both two-way and three-way voucher match. This operation also supports additional charge lines for purchase order detail lines on a voucher.

If the operation completes successfully, the system returns a confirmation message to the consumer. This message contains voucher match data. The system also returns to the consumer any error messages that the operation encounters during processing.

The processVoucherMatch operation processes a voucher match in the JD Edwards EnterpriseOne system. The first call of the XPIInboundVoucherMatch business function (B4302300) checks for record reservation. If the business function finds that any record is reserved, the system stores the error in the Message List and returns from flow.

For an additional charge line, the XPIInboundVoucherMatch business function passes tax information into the taxRateArea, taxExplanationCode, additionalChargeQty, amount, lineTaxableCode, description1, lineTaxAmount, and expenseAcctNumber fields.

The system uses the following processing logic to handle tax for additional charge lines:

  1. Pass the following information to the VM Edit Line if the operation passes a non-zero value to the lineTaxAmount field:

    1. Set the lineTaxableCode to Y.

    2. Use the taxRateArea and taxExplanationCode if the operation passes these values.

    3. Use the values from the first PO Detail record fetched for the passed in PO header information if either the taxRateArea or the taxExplanationCode value passed in is blank.

    4. Use the values from the supplier purchasing information's default tax values if either the taxRateArea or the taxExplanationCode value passed in is blank.

  2. Pass the following information to the VM Edit Line if the operation passes a non-empty and non N value for the lineTaxableCode field:

    1. Use the values the operation passes in for the taxRateArea and taxExplanationCode fields.

    2. Use the values from the first PO Detail record fetched for the passed in PO header information if either the taxRateArea or the taxExplanationCode value passed in is blank.

    3. Use the values from the supplier purchasing information's default tax values if either the taxRateArea or the taxExplanationCode value passed in is blank.

  3. Do not pass in the tax information to the VM Edit Line function if the integration passes in N or blank lineTaxableCode value.

The system uses the expense account number if the B4302300 business function passes it into the system. If the expense account number is not passed in then the system uses the default account number from the P43XPI processing options.