PdsComdPricingTemplateLine::existTemplateId Method
Determines whether a specific PdsPricingTemplateLine record exists.
Syntax
server public static boolean existTemplateId(
PdsComdPricingTemplateId _templateId,
PdsComdMarginItemCode _itemCode,
PdsComdMarginItemRelation _itemRelation,
InventDimId _inventDimId,
PdsComdMarginAccountCode _accountCode,
PdsComdMarginAccountRelation _accountRelation,
PdsInventQtyFrom _inventQtyFrom)
Run On
Server
Parameters
- _templateId
Type: PdsComdPricingTemplateId Extended Data Type
A pricing calculation ID.
- _itemCode
Type: PdsComdMarginItemCode Extended Data Type
A margin item code.
- _itemRelation
Type: PdsComdMarginItemRelation Extended Data Type
A margin item relation.
- _inventDimId
Type: InventDimId Extended Data Type
An InventDimId value.
- _accountCode
Type: PdsComdMarginAccountCode Extended Data Type
A margin account code.
- _accountRelation
Type: PdsComdMarginAccountRelation Extended Data Type
A margin account relation.
- _inventQtyFrom
Type: PdsInventQtyFrom Extended Data Type
An item quantity.
Return Value
Type: boolean
true if the record exists; otherwise, false.