placeholder Command:  MARKUP DISCOUNTS 


Short version Long version Changes Example

Mandatory: no
max. Occurrence:  unbounded
Description:
This tag is used as a container for markup/discount commands.
Notes:
The special discount "Natural-Discount" is automatically generated by the UC3 application as markup_discount 9999.
 
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, reading or deleting a markup or discount.
A markup or discount can be assigned to a registration as well as to a total.
   
Mandatory: yes
max. Occurrence: 1
Datatype: short
Range: 1 - 9 999
Nillable: no
Description:
The number of the markup/discount (to identify it).
Notes:
The special discount "Natural-Discount" is automatically generated by the UC3 application as markup_discount 9999.
   
Mandatory: no
max. Occurrence: 1
Datatype: string
Range: max. 20 characters
Nillable: no
Description:
A name for the markup/discount.
This name will be used for the display and for the printout.
   
Mandatory: no
max. Occurrence: 1
Datatype: string
Range: MARKUP_DISCOUNT_PERCENT
MARKUP_DISCOUNT_ABSOLUTE
Nillable: no
Description:
Type Description
MARKUP_DISCOUNT_PERCENT The markup/discount is defined as percentage value within the range -99.99 % and 99.99 %.
MARKUP_DISCOUNT_ABSOLUTE The markup/discount is defined as absolute value in the primary currency.

   
Mandatory: no
max. Occurrence: 1
Datatype: short
Range: -9 999 - 9 999
Nillable: no
Description:
The percentage value without a decimal point, e.g. -1000 defines a discount of 10.00 %.
A discount has a negative sign.
   
Mandatory: no
max. Occurrence: 1
Datatype: int
Range: -999 999 999 - 999 999 999
Nillable: no
Description:

Notes:
The absolute markup/discount in the primary currency as an integer value.
The number of decimal places is stored in the countrysettings.
-500 defines a discount of 5.00 Euro in the case of having Euro as primary currency.
   
Mandatory: no
max. Occurrence: 1
Datatype: flagType
Range: (0/1)
Nillable: no
Description:
Defines whether it is allowed to overwrite the markup/discount while the assignment to an item/total.
Type Description
1 It is allowed to overwrite the markup/discount.
0 It is not allowed to overwrite the markup/discount.

   
Mandatory: no
max. Occurrence: 1
Datatype: dateTime
Range: -
Nillable: yes
Description:
The last time when the record has been 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