Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
- _ledgerJournalTrans_Asset
Type: LedgerJournalTrans_Asset Table
The LedgerJournalTrans_Asset 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.