Share via


AssetLedgerAccounts::findForAllocationRule_CN Method

Retrieves the transaction posting profile setup with its allocation rule.

Syntax

client server public static AssetLedgerAccounts findForAllocationRule_CN(
    AssetId _assetId, 
    AssetBookId _assetBookId, 
    AssetTransType _assetTransType, 
   [AssetPostingProfile _assetPostingProfile])

Run On

Called

Parameters

Return Value

Type: AssetLedgerAccounts Table
The record of type AssetLedgerAccounts which meet the criteria, containing the AssetAllocationRule field.

Remarks

This method makes up to three attempts to find the AssetLedgerAccounts.

If the _assetPosingProfile parameter is not specified, the method will use the profile that is stored in the AssetParameters table.

See Also

Reference

AssetLedgerAccounts Table