Share via


RetailUtils::checkItemSold Method [AX 2012]

Checks the item and sets the transaction code based on whether the item is on file.

Syntax

server public static RetailItemTransactionCode checkItemSold(ItemId itemId, ItemBarCode barcode)

Run On

Server

Parameters

Return Value

Type: RetailItemTransactionCode Enumeration
The transaction code based on item available on file.

Exceptions

Exception Condition
DuplicateKeyExceptionNotRecovered

An InventDim record was found or created that has a duplicate key value.

Remarks

This method checks for the bar code on the item.

See Also

Reference

RetailUtils Class