PMTransactionType

Description

An eConnect transaction type that describes a payment transaction.

XML nodes

Remarks

The PM Transaction schema supports credit memos, returns, and multiple-currency functionality. The schema contains the <taPMTransactionInsert> XML node. The elements of the XML node include the following restrictions:

  • The <taPMTransactionInsert> XML node does not support updates to existing transactions.
  • The due date (DUEDATE) and discount date (DISCDATE) elements are automatically calculated using the payment terms from the specified payment terms ID (PYMTRMID). If you specify an invalid PYMTRMID, the DUEDATE element defaults to the value of the document date (DOCDATE) element and the value of the DISCDATE element defaults to 1900.
  • If you do not specify both the PYMTRMID and the discount amount available (DISAMTAV), the value of the discount available is calculated using the defaults for the vendor ID for the payment terms.
  • You set element value with the number that represents the amount of the percent discount (PRCTDISC). For example, you use 2 to represent a 2% discount. In the past, you had to supply a value that included the decimal value. For example, you had to use 200 to represent 2%.
  • If you specify both the DISAMTAV and the discount dollar amount (DSCDLRAM), DSCDLRAM is set to 0. DSCDLRAM retains its value only when the specified amount is equal to the value of the DISAMTAV element.
  • If you specify both the DISAMTAV and the PRCTDISC, PRCTDISC is set to 0. PRCTDISC retains is value only when the specified amount is equal to the value of the DISAMTAV element.
  • You cannot specify a value for both PRCTDISC and DSCDLRAM. If you specify a value for both elements the edit check returns an error. To resolve the error, set at least one of these elements to zero.

The following examples demonstrate how to coordinate values between the related elements:

Example 1--Uses PYMTRMID of "net 30" and sets PRCTDISC to 10 percent:

PYMTRMID = net 30
PRCTDISC = 10.00
DISAMTAV = Set to null or pass in the actual 10 percent value. The value specified by this element overrides the calculated discount amount.
DSCDLRAM = Zero or <blank> allowed; otherwise, an error will result

Example 2--Receives a discount available amount of $50.00:

PYMTRMID = Set to null or a valid payment term ID.
PRCTDISC* = Set to any value between 0.00 and 99.99
DISAMTAV = 50
DSCDLRAM = 0 or 50
*If the PRCTDISC value is the percentage that equals the $50 discount available, the percentage will be written to the coinciding table.

Document structure

<eConnect>
    <PMTransactionType>
        <eConnectProcessInfo />
        <taRequesterTrxDisabler_Items>
            <taRequesterTrxDisabler />
        </taRequesterTrxDisabler_Items>
        <taUpdateCreateVendorRcd />
        <taCreateVendorAddress_Items>
            <taCreateVendorAddress />
        </taCreateVendorAddress_Items>
        <taPMTransactionTaxInsert_Items>
            <taPMTransactionTaxInsert />
        </taPMTransactionTaxInsert_Items>
        <taPMDistribution_Items>
            <taPMDistribution />
        </taPMDistribution_Items>
        <taAnalyticsDistribution_Items>
            <taAnalyticsDistribution />
        </taAnalyticsDistribution_Items>
        <taPMTransactionInsert />
        <taMdaUpdate_Items>
            <taMdaUpdate />
        </taMdaUpdate_Items>
    </PMTransactionType>
</eConnect>

See also