RetailKitConfigurator::kitComponentSubstituteValidation Method [AX 2012]
Validate if the component substitute product is same as component product
Syntax
server public static boolean kitComponentSubstituteValidation(RetailKitComponent _retailKitComponent, EcoResDistinctProductRecId _ecoResDistinctProductRecId)
Run On
Server
Parameters
- _retailKitComponent
Type: RetailKitComponent Table
Retail Kit Component record id.
- _ecoResDistinctProductRecId
Type: EcoResDistinctProductRecId Extended Data Type
Eco Res product Record id
Return Value
Type: boolean
true if the substitute product is same as component or substitute is a kit. Else false.