PurchComplInvoicePost.updateAssetValue Method [AX 2012]

Updates the fixed asset value.

protected void updateAssetValue(
    AssetPost _assetPost, 
    PurchComplementaryInvoiceLine _complementaryLine, 
    AmountMST _amountToAdd)

Run On

Server

Parameters

_assetPost
Type: AssetPost Class
AssetPost object to be used to post the adjustment.
_complementaryLine
Type: PurchComplementaryInvoiceLine Table
PurchComplementaryInvoiceLine that is changing the asset value.
_amountToAdd
Type: AmountMST Extended Data Type
The amount to add to the asset.

ExceptionCondition
Error

The asset cannot have its amount changed.

Community Additions

ADD
Show: