RetailKitComponent::insertRetailKitComponent Method [AX 2012]

Creates record into table RetailKitComponent.

client server public static RetailKitComponent insertRetailKitComponent(
    RetailKit _retailKit, 
    EcoResDistinctProduct _ecoResDistinctProduct, 
    Qty _quantityProduct, 
    UnitOfMeasureRecId _uomId, 
   [NoYes _showOnReceipt])

Run On

Called

Parameters

_retailKit
Type: RetailKit Table
The retail Kit record.
_ecoResDistinctProduct
Type: EcoResDistinctProduct Table
A record buffer of table ecoResDistinctProduct.
_quantityProduct
Type: Qty Extended Data Type
The quantity of ecoResDistinctProduct.
_uomId
Type: UnitOfMeasureRecId Extended Data Type
The unit of measure of the component product.
_showOnReceipt
Type: NoYes Enumeration
Enable display of the component in POS receipt.

Return Value

Type: RetailKitComponent Table
A record in the RetailKitComponent table; otherwise, an empty record.
Show: