placeholder Command:  DEPARTMENT PROOF OF ORIGIN ASSIGNMENTS 


Short version Long version Changes Example

Mandatory: no
max. Occurrence:  unbounded
Description:
This tag is used as container for commands regarding the assignment of proof of origin type to an department.
 
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 to assign a proof of origin type to a department.
Notes:
To use the proof of origin functionality on the device it is necessary to activate it.
"Proof of origin" is an option which needs a license key to be enabled (uc3options.xml).
The XML command will be processed by the device whithout a license key.
The proof of origin functionality itself doesn't work without a license key.
   
Mandatory: yes
max. Occurrence: 1
Datatype: short
Range: 1 - 9 999
Nillable: no
Description:
The department number.
   
Mandatory: no
max. Occurrence: 1
Datatype: string
Range: max. 20 characters
Nillable: no
Description:
The proof of origin type the department is assigned to.
The value is corresponding to the command <proof_of_origin_type_definition> of the proof of origin type definition
Notes:

   
Mandatory: no
max. Occurrence: 1
Datatype: short
Range: (0/1)
Nillable: no
Description:
Boolean value (yes/no) to define if the proof_of_origin_type asigned to this department is active or not.
When this information is missing (not sent via TransUC3) it's defined with the default value 0 (FALSE).
   
Mandatory: no
max. Occurrence: 1
Datatype: short
Range: 0 - 999
Nillable: no
Description:
The best_before_date_offset for the verification defined in the <proof_of_origin_type_definitions> is used for articles in the indicated department instead of defined best-before date offsets in the mode's <configuration_profiles>. Offsets defined in the <article_proof_of_origin_assignment> have a higher priority. The value will be interpreted as number of days.
Notes:
The offset is used to define a time period prior the best-before date of the lot. In this period the article is booked even though it is close to the end of its life. So the shelf life might be considered as too short to allow booking or at least to give the operator a warning.
   
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