 |
Command:
RECEIPTS
 |
Node: receipts |
|
Mandatory: |
no |
|
max. Occurrence: |
unbounded |
|
Description: This tag is used as container for commands regarding receipt templates.
|
|
 |
|
|
 |
Node: receipt |
|
Mandatory: |
yes |
|
max. Occurrence: |
unbounded |
|
Supported modes: |
delete Delete the named item. read Read the named item. write Write the named item.
|
|
Description: This command is used for transfering, reading or deleting a template file (XML-File) for a receipt.
It's only allowed to use receipt template files which are verified form Mettler-Toledo (Albstadt) GmbH, because the content
and the layout are part of the PTB regulation.
|
|
Notes: This command can only ask the UC3 devices which are listed in the networkmap to copy the source_file from the FTP server to
the destination file on each UC3. The file is copied always to/from the local folder "Speicherkarte\Unicorn\templates\receipt\xxx.xml" of the UC3 devices.
In the TRACE-Logfile can be checked whether the file transfer started and afterwards succeded or aborted.
|
|
 |
|
|
|
 |
Tag: originator |
|
Mandatory: |
yes |
|
max. Occurrence: |
1 |
|
Datatype: |
string |
|
Range: |
max. 30 characters
|
|
Nillable: |
no |
|
Description: The originator who caused this software command.
Since this command is reserved for authorized Mettler-Toledo employees it has to be the email address of the originator, e.g.
nsp@mt.com which means that the network software platform caused this software command.
|
|
Notes: The originator is listed in the TRACE-Logfile.
|
|
 |
|
|
|
 |
Tag: last_change |
|
Mandatory: |
no |
|
max. Occurrence: |
1 |
|
Datatype: |
dateTime |
|
Range: |
- |
|
Nillable: |
yes |
|
Description: 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 = month s = second
|
|
 |
|
|
|
 |
Tag: source |
|
Mandatory: |
yes |
|
max. Occurrence: |
1 |
|
Datatype: |
string |
|
Range: |
max. 100 characters
|
|
Nillable: |
no |
|
Description: The URL of the used FTP-Server including subfolders and the name of the source file for the receipt template.
|
|
Notes: Example for a write command:
ftp://192.168.50.101/uc3_receipt_test.xml
Example for a read or delete command:
uc3_receipt_test.xml
|
|
 |
|
|
|
 |
Tag: destination |
|
Mandatory: |
yes |
|
max. Occurrence: |
1 |
|
Datatype: |
string |
|
Range: |
max. 100 characters
|
|
Nillable: |
no |
|
Description: The name for the destination file for the receipt template.
|
|
Notes: Example for a write command:
uc3_receipt_test.xml
Example for a read command:
ftp://192.168.50.101/uc3_receipt_test.xml
Example for a delete command:
xxx
|
|
 |
|
|