 |
Command:
QUANTITY DEPENDENT PRICES
 |
Node: quantity_dependent_prices |
|
Mandatory: |
no |
|
max. Occurrence: |
unbounded |
|
Description: This tag is used as container for commands regarding the assignment of quantity dependent prices to an article/item.
|
|
Notes: In the NSM of the UC3 devices quantity_dependent_prices are part of NSM item 411 'articles' in register 4.
|
|
 |
|
|
 |
Node: quantity_dependent_price |
|
Mandatory: |
yes |
|
max. Occurrence: |
unbounded |
|
Supported modes: |
delete Delete the named item. deleteall Delete all items. 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 the assignment of a quantity dependent price to an article/item.
|
|
Notes: Quantity dependent prices can't be assigned to the second price of an article.
For the mode ''readall'' the following information can be helpful: The table below shows values for the mandatory elements.
<department_no> |
<plu_no> |
Comment |
0 |
0 |
The quantity dependent prices of all articles/items of all departments will be returned. |
0 |
unequal 0 |
The quantity dependent prices of all articles/items of all departments whose plu numbers are greater or equal than the value
of <plu_no> will be returned.
|
unequal 0 |
0 |
The quantity dependent prices of all articles/items that are belonging to the desired deparment number will be returned. |
unequal 0 |
unequal 0 |
The quantity dependent prices of all articles/items of the desired department whose plu numbers are greater or equal than
the value of <plu_no> will be returned.
|
For the mode ''deleteall'' the following information can be helpful: The table below shows values for the mandatory elements.
<department_no> |
Comment |
0 |
The quantity dependent prices of all articles/items of all departments will be deleted. |
unequal 0 |
The quantity dependent prices of all articles/items that are belonging to the desired deparment number will be deleted. |
For the mode ''read+'' the following information can be helpful: If a following article/items within the desired department doesn't exist then the quantity dependent prices of the first article/item
of the following department will be returned.
For the mode ''read-'' the following information can be helpful: If a preceding article/items within the desired department doesn't exist then the quantity dependent prices of the last article/item
of the preceding department will be returned.
|
|
 |
|
|
|
 |
Tag: department_no |
|
Mandatory: |
yes |
|
max. Occurrence: |
1 |
|
Datatype: |
short |
|
Range: |
1 - 9 999
|
|
Nillable: |
no |
|
Description: The number of the department the tare is belonging to.
|
|
 |
|
|
|
 |
Tag: plu_no |
|
Mandatory: |
yes |
|
max. Occurrence: |
1 |
|
Datatype: |
int |
|
Range: |
1 - 999 999
|
|
Nillable: |
no |
|
Description: The number of the article/item a quantity dependent price is desired.
|
|
Notes: The manual plus , manual minus hand and enter unit price operations are treated as plu's. By default (desribed in customer.ini) the PLU no 999 999 is used as manual plus, 999 998 as manual minus and 999 997 as enter
unit price. Its number can be changed in the file customer.ini.
|
|
 |
|
|
|
 |
Node: quantity_price_chains |
|
Mandatory: |
no |
|
max. Occurrence: |
1 |
|
Description: Container for the price chains defined for an article/item.
|
|
 |
|
|
|
|
 |
Node: quantity_price_chain |
|
Mandatory: |
yes |
|
max. Occurrence: |
10 |
|
Description: Contains the information necessary for a price chain.
|
|
 |
|
|
|
|
|
 |
Tag: quantity_threshold |
|
Mandatory: |
yes |
|
max. Occurrence: |
1 |
|
Datatype: |
short |
|
Range: |
0 - 99 999
|
|
Nillable: |
no |
|
Description: For WEIGHT articles: The weight by which the price reduction becomes valid. For PIECE articles: The number of pieces by which the price reduction becomes valid.
|
|
 |
|
|
|
|
|
 |
Tag: price1 |
|
Mandatory: |
yes |
|
max. Occurrence: |
1 |
|
Datatype: |
int |
|
Range: |
-9 999 999 - +99 999 999
|
|
Nillable: |
no |
|
Description: The first price of the article that becomes valid when reaching the quantity threshold. The price is stored as an integer value. The number of decimal places is stored in the countrysettings (22,55 Euro = 2255).
|
|
 |
|
|
|
 |
Tag: last_change |
|
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
|
|
 |
|
|