Share via


vendTax1099Update.createVendSettlementTax1099 Method [AX 2012]

Calculates the line amount by using a formula.

Syntax

private void createVendSettlementTax1099(
    VendSettlement _vendSettlement, 
    VendSettlement _vendSettlementOffset, 
    VendTrans _vendTrans, 
    VendTrans _vendTransOffset)

Run On

Server

Parameters

  • _vendSettlement
    Type: VendSettlement Table
    The settlement record that is based on the invoice transaction.
  • _vendSettlementOffset
    Type: VendSettlement Table
    The settlement record that is based on the payment transaction.
  • _vendTrans
    Type: VendTrans Table
    The vendor transaction that is created when invoicing.
  • _vendTransOffset
    Type: VendTrans Table
    The vendor transaction that is created when generating a payment.

Remarks

The formula is as follows:

  • Federal: Invoice 1099 line amount / (Total amount for the invoice / payment amount).

  • State: Invoice 1099 state line amount / (Total amount for the invoice / payment amount).

  • Invoice 1099 line amount = a negative amount.

The total invoice amount is typically negative. The payment amount will be positive unless the transaction is being reversed.

See Also

Reference

vendTax1099Update Class