Item service

The item service retrieves information about an item from the database and sets all the different properties on the Sale line item that is then added to the transaction. It retrieves information about variants, serial numbers and any other configurations that are needed for the POS to be able to sell the item. Prices, discounts and tax informaiton is not retrieved in this service.

 

Main functionality

 

Name Description
BarcodeSelect Displays a dialog with all the different barcodes that are attached to an item that was selected in the Item search dialog if there are more than one barcodes available
Conclude transaction

When the POS finishes a sale (after payment) various updates are done through the Site service including updating the serial number information if needed.

See function UseSerialNumbers in the Transaction service to see what information is being updated.

Item search Displays the item search dialog in the Dialog service which does that actual search functionality
ProcessItem Retrieves the information about the item from the database and sets all the properties as they should be on the Sale line item object. This function also checks for serial numbers and kicks off that functionality if necessary.
UseSerialNumbers If there are any items on a sale that have serial numbers they are marked as used (when selling) or cleared (when voiding).

 

POS Operations

Many operations in the POS directly call the Item service. Here below is a list of all the operations and which functions they call

Name Description
Item sale Calls function ProcessItem
Item search Calls functions ItemSearch, BarcodeSelect
Price check Calls function ItemSearch
Void transaction Calls function UseSerialNumbers

 

Development pack

To find this service in the development pack go to DevPack\Source\POS\Services

See also

Dialog service

Infocode service