InventPosting::modifyTransWithSite_CN Method
Modifies or deletes a record.
Syntax
server public static void modifyTransWithSite_CN(
LedgerDimensionDefaultAccount _accountNum,
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
- _accountNum
Type: LedgerDimensionDefaultAccount Extended Data Type
Ledger account number.
- _accountType
Type: InventAccountType Enumeration
InventAccountType value.
- _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 realtion.
- _categoryRelation
Type: InventCategoryRelation Extended Data Type
Category relation.
- _accountCode
Type: TableGroupAll Enumeration
Account code.
- _accountRelation
Type: CustVendRel Extended Data Type
Account realtion.
- _taxGroup
Type: TaxGroup Extended Data Type
Tax group.
- _costCode
Type: TableGroupAll Enumeration
Cost code.
- _costRelation
Type: CostRelation Extended Data Type
Cost relation.
Remarks
If accountNum is '', delete the matched record. Otherwise, write the record with specified parameters.