CustVendOpenTransManager.setPrimaryPayment Method [AX 2012]

Sets the class variables that are used to track a marked primary payment.

Syntax

protected void setPrimaryPayment(
    CompanyId _company, 
    CurrencyCode _currency, 
    ExchRate _exchRate, 
    TransDate _transDate, 
    DiscGraceDays _discGraceDays)

Run On

Called

Parameters

  • _exchRate
    Type: ExchRate Extended Data Type
    The exchange rate of the primary payment that is used to translate from the currency of the payment to the monetary standard (MST) currency.

Remarks

When a primary payment is marked, the display currency is set to the currency of the primary payment and the date used to determine cash discounts is set to the posting date of the primary payment.

See Also

Reference

CustVendOpenTransManager Class