LedgerJournalCheckPost.assetValidateNetBookValues Method [AX 2012]
Validate all the lines on the journal to check if the net book value is negative or if the net book value is greater than the acquistion cost.
Syntax
protected boolean assetValidateNetBookValues(JournalId _journalNum)
Run On
Server
Parameters
- _journalNum
Type: JournalId Extended Data Type
The instance of JournalId
Return Value
Type: boolean
true if the net book value is negative or the net book value is greater than the acquision cost.
Remarks
This method will only work with asset journal type, since it does not consider tax or discount in calculation of the amount of the journal (able to make performance better because of this).
For non asset journal types should use assetValidateNetBookValuesNonFA method.