Share via


InventPosting::itemExtendParm_CN Method

Uses the information of item and extended parameters to find the matched ledger account with specified InventAccountType.

Syntax

client server public static LedgerDimensionDefaultAccount itemExtendParm_CN(
    InventAccountType _accountType, 
    InventPostingExtendParm_CN _inventPostingExtendParm, 
    ItemId _itemId, 
   [ItemGroupId _itemGroup, 
    InventCategoryRelation _itemCategory, 
    boolean _searchTable, 
    boolean _searchGroupId, 
    boolean _searchCategory, 
    boolean _searchAll])

Run On

Called

Parameters

  • _searchTable
    Type: boolean
    Bool value to indicate whether to search in specific table. Default is true.
  • _searchGroupId
    Type: boolean
    Bool value to indicate whether to search in specific group. Default is true.
  • _searchCategory
    Type: boolean
    Bool value to indicate whether to search in specific category. Default is true.
  • _searchAll
    Type: boolean
    Bool value to indicate whether to search in all objects. Default is true.

Return Value

Type: LedgerDimensionDefaultAccount Extended Data Type
The matched ledger account. If not matched, return ''.

Remarks

The priority of site is lower than item.

See Also

Reference

InventPosting Table