InventPosting::findWithSite_CN Method
Uses a set of parameters includeing site to find the matched record.
Syntax
server public static InventPosting findWithSite_CN(
InventAccountType _accountType,
InventSiteCode_CN _siteCode,
InventSiteRelation_CN _siteRelation,
InventPostingItemCode _itemCode,
ItemRelation _itemRelation,
InventCategoryRelation _categoryRelation,
TableGroupAll _accountCode,
CustVendRel _accountRelation,
TaxGroup _taxGroup,
TableGroupAll _costCode,
CostRelation _costRelation,
[boolean _update])
Run On
Server
Parameters
- _accountType
Type: InventAccountType Enumeration
The InventAccountType for searching.
- _siteCode
Type: InventSiteCode_CN Enumeration
Site code.
- _siteRelation
Type: InventSiteRelation_CN Extended Data Type
Site relation.
- _itemCode
Type: InventPostingItemCode Enumeration
Item code.
- _itemRelation
Type: ItemRelation Extended Data Type
Item relation.
- _categoryRelation
Type: InventCategoryRelation Extended Data Type
Item category relation.
- _accountCode
Type: TableGroupAll Enumeration
Account code.
- _accountRelation
Type: CustVendRel Extended Data Type
Account relation.
- _taxGroup
Type: TaxGroup Extended Data Type
Tax group.
- _costCode
Type: TableGroupAll Enumeration
Cost code.
- _costRelation
Type: CostRelation Extended Data Type
Cost relation.
- _update
Type: boolean
If ture, find for update. Default is false.
Return Value
Type: InventPosting Table
Returns the matched record.