placeholder Command:  ARTICLES INGREDIENTS 


Short version Long version Changes Example

Mandatory: no
max. Occurrence:  unbounded
Description:
This tag is used as container for commands regarding ingredients.
 
Mandatory: yes
max. Occurrence:  unbounded
Supported modes: delete Delete the named item.
read Read the named item.
read+ Read the following item.
read- Read the previous item.
readall Read all items from the desired device(s). This doesn't mean comparable reading as in the L2 protocol.
write Write the named item.
Description:
This command is used for creating, manipulating or deleting ingredients of an article/item.
Notes:
For the mode ''readall'' the following information can be helpful:
The table below shows values for the mandatory elements.
<department_no> <plu_no> <ingredients_no> Comment
0 0 0 All ingredients of all articles in all departments will be returned.
0 0 unequal 0 All ingredients whose ingredient number is greater or equal than the value of <ingredients_no>of all articles in all departments will be returned.
0 unequal 0 0 All ingredients of the desired article/item with the value <plu_no> in all departments will be returned.
0 unequal 0 unequal 0 All ingredients whose ingredient number is greater or equal than the value of <ingredients_no> of the desired article/item with the value <plu_no> in all departments will be returned.
unequal 0 0 0 All ingredients of all articles of the desired department with the value <department_no> will be returned.
unequal 0 0 unequal 0 All ingredients whose ingredient number is greater or equal than the value of <ingredients_no> of all articles that belong to the department <department_no> will be returned.
unequal 0 unequal 0 0 All ingredients of the desired article/item with the value <plu_no> that belong to the department <department_no> will be returned.
unequal 0 unequal 0 unequal 0 All ingredients whose ingredient number is greater or equal than the value of ingredients_no of the desired article/item with the value <plu_no> that belongs to the department <department_no> will be returned.

   
Mandatory: yes
max. Occurrence: 1
Datatype: short
Range: 1 - 9 999
Nillable: no
Description:
The number of the department the article/item is belonging to.
   
Mandatory: yes
max. Occurrence: 1
Datatype: int
Range: 1 - 999 999
Nillable: no
Description:
The number of the article/item.
Notes:
The manual plus , manual minus hand and enter unit price operations are treated as plu's.
By default (desribed in customer.ini) the article number 999999 is used as manual plus, 999998 as manual minus and 999997 as enter unit price.
Its number can be changed in the file customer.ini.
   
Mandatory: yes
max. Occurrence: 1
Datatype: short
Range: 1 - 10
Nillable: no
Description:
It is possible to assign more than one ingredients list to an article. This number is necessary to identify the ingredients list.
   
Mandatory: no
max. Occurrence: 1
Datatype: string
Range: max. 20 characters
Nillable: no
Description:
The name assigned to the article ingredients.
   
Mandatory: no
max. Occurrence: 1
Datatype: string
Range: max. 10 000 characters
Nillable: no
Description:
The ingredients of an article/item.
   
Mandatory: no
max. Occurrence: 1
Datatype: dateTime
Range: -
Nillable: yes
Description:
The last time when the record was changed.
CCYY-MM-DDThh:mm:ss
The format is as following:
C = Century
Y = Year
M = Month
D = Day
T = Separator between date and time
h = hour
m = minute
s = second