InventPosting::existWithSite_CN Method
Uses a set of parameters including site to check whether there is a matched record.
Syntax
server public static boolean existWithSite_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)
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.
Return Value
Type: boolean
Returns true if there is a matched record.