InventModelType_StdCost::calcFinancialTransDate Method [AX 2012]
Calculates the transaction date for a settlement.
Syntax
client server public static TransDate calcFinancialTransDate(
LedgerVoucher _ledgerVoucher,
InventTrans _inventTrans,
InventSettlement _inventSettlement)
Run On
Called
Parameters
- _ledgerVoucher
Type: LedgerVoucher Class
The ledger voucher that holds the current posting date.
- _inventTrans
Type: InventTrans Table
The inventTrans record that is processed.
- _inventSettlement
Type: InventSettlement Table
The inventSettlement that holds the settlement for the given transaction.
Return Value
Type: TransDate Extended Data Type
The current posting date, if the settlement transaction date and the date physical are equal; otherwise, the maximum of either the current posting date or the settlement transaction date.