Share via


LedgerJournalEngine.initAssetPostingProfile Method [AX 2012]

Initializes the posting profile of the transaction if it has a primary account of type LedgerJournalACType::FixedAssets.

Syntax

public void initAssetPostingProfile(LedgerJournalTrans _ledgerJournalTrans, LedgerJournalTrans_Asset _ledgerJournalTrans_Asset)

Run On

Called

Parameters

  • _ledgerJournalTrans
    Type: LedgerJournalTrans Table
    The LedgerJournalTrans table buffer that stores part of the transaction.

Remarks

If both the primary account and the asset book are specified by the transaction, the posting profile will come from the asset book. Otherwise, the posting profile will come from the default specified in the AssetParameters table.

See Also

Reference

LedgerJournalEngine Class