LedgerJournalEngine.setProjAmount Method [AX 2012]
Updates the project cost price and quantity values if the journal line has changed and is associated with a project.
Syntax
public void setProjAmount(LedgerJournalTrans _ledgerJournalTrans, LedgerJournalTrans_Project _ledgerJournalTrans_Project)
Run On
Called
Parameters
- _ledgerJournalTrans
Type: LedgerJournalTrans Table
The LedgerJournalTrans table record being modified.
- _ledgerJournalTrans_Project
Type: LedgerJournalTrans_Project Table
The LedgerJournalTrans_Project table record being modified.
Remarks
This method is used when journal line fields that affect project information are changed. These included account type or number, offset account type or number, and credit or debit amounts. The journal line does not have to be associated with a project for this method to be called.