Inventory Items Records
This page describes the inventory items records and documents usage.
Inventory Items Records Layout¶
|Field 1||Field 2||Field 3|
|Item Number||Item Description||Item Stock Amount|
Using the Inventory Items Records¶
- The records are made available to your programs with this function:
- The function returns the records so you need to store them in a variable:
itemRecords.getItemNumber(); itemRecords.getItemDescription(); itemRecords.getItemStockAmount();
Notice that you need to have "itemRecords." in front of each of the functions.
When you want to read the next record you use the following function. It will make the next record available and you then use the above functions to retrieve the data. This function returns
trueif there was a next record and
falseif the end of the record set has been reached.
Here's an example of how the Inventory Items Records are used.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27