masterDataService
getMasterData
- Handles the master data logic. Downloads new master data in case there is no database existing in the device, or updates the existing database in case there is a database existing for the store the user checks in.
| Method | Description | |
|---|---|---|
| Request | getMasterData |
|
| Response |
|
deleteDatabase
- deletes the master data database.
returns nothing
getAdditionalInformation
- gets the additional information of an item.
| Method | Description | |
|---|---|---|
| Request | getAdditionalInformation |
|
| Response |
|
masterDataAvailableAndHaveEntries
- checks if the master data database is available on the device and has entries.
returns Boolean
getItemByPosIdentity
- returns a list of items from the master data database using posItemId
| Method | Description | |
|---|---|---|
| Request | getItemByPosIdentity |
|
| Response |
|
getBundleItems
- returns the bundle items from the master data database for a specific itemId
| Method | Description | |
|---|---|---|
| Request | getBundleItems |
|
| Response |
|
getSimpleItem
- returns a list of items from the master data database using itemId and uomCode
| Method | Description | |
|---|---|---|
| Request | getSimpleItem |
|
| Response |
|
getMasterDataItemByString
- returns a list of items from the master data database using a search string
| Method | Description | |
|---|---|---|
| Request | getMasterDataItemByString |
|
| Response |
|
getMasterDataItem
- returns a list of items from the master data database using itemId
| Method | Description | |
|---|---|---|
| Request | getMasterDataItem |
|
| Response |
|