MC XML Structure

Section Information

<MANUFACTURING>

 

Defines the start of the file of type MANUFACTURING

Repeat Information

<MANUFACTURING>

 

Defines the start of the file of type MANUFACTURING

Repeat Information



<MC>

Defines the start of a manufacturing complete message

This can be repeated unlimited times within the <Manufacturing> tag

 

<COM>

 

Optional and used one time for the components.

 

 

<CD>

Components used in the bottling process

e.g labels, bottles, capsules

Can be repeated in the COM section

 

 

</CD>

 

 

 

</COM>

 

 

 

</MC>

End of Manufacturing message

Can be followed by a further <MC>

</MANUFACTURING>

Defines the end of the file

 


Manufacturing Complete XML

XML MC Section

XML Element

XML Key Name

Type

Length

Notes

Mandatory / Optional / Conditional [M/O/C]

XML Element

XML Key Name

Type

Length

Notes

Mandatory / Optional / Conditional [M/O/C]

<MC>1

Customer

A

8

Customer Code

M

<MC>2

Site

A

2

Site Code

M

<MC>3

DocRef

A

20

This is needed to relate this to the original order.

M

<MC>4

CompletionDT

DT

19

Completion Date / time field
YYYY-MM-DDThh:mm:ss

M

<MC>5

InputQty

N

11.5

Total amount used in the process (e.g. Litres of bulk liquid)

M

<MC>6

OutputQty

I

 

Total single items produced (e.g. bottles)

M

 

XML Components Section

XML Element

XML Key Name

Type

Length

Notes

Mandatory / Optional / Conditional [M/O/C]

XML Element

XML Key Name

Type

Length

Notes

Mandatory / Optional / Conditional [M/O/C]

<CD>1

PCode

A

20

Product Code

M

<CD>2

Rotn

A

10

Optional field - Rotation number

O

<CD>3

CUnit

I

 

Quantity of Cases / Units used

M

<CD>4

CSingle

I

 

Quantity of Singles used

M

Copyright Ontech Solutions 2017-2024. All rights reserved, no part may be replicated or distributed without the express permission of the owner.