RassetDisposalValue::findDisposalParameter Method [AX 2012]

Finds appropriate Disposal parameter for Asset, Asset group or Standard

server public static RAssetDisposalParameters findDisposalParameter(
    RAssetId _assetId, 
    RAssetStandardId _assetStandardId, 
    RAssetPostingProfile _postingProfile, 
    RAssetDisposalType _assetSoldScrap, 
    RAssetPostValue _postValue, 
    boolean _useAssetPostTypeParm, 
   [RAssetPostType _assetPostType])

Run On

Server

Parameters

_assetId
Type: RAssetId Extended Data Type
Asset Id
_assetStandardId
Type: RAssetStandardId Extended Data Type
Asset Standart Id
_postingProfile
Type: RAssetPostingProfile Extended Data Type
Posting profile
_assetSoldScrap
Type: RAssetDisposalType Enumeration
Enum to defifine operation Sold o Scrap
_postValue
Type: RAssetPostValue Enumeration
Posting value
_useAssetPostTypeParm
Type: boolean
Shows whether use or ignore _assetPostType parameter
_assetPostType
Type: RAssetPostType Enumeration
Post Type

Return Value

Type: RAssetDisposalParameters Table
Found record
Show: