<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<ProcessPurchaseOrder xmlns="http://www.openapplications.org/oagis/9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" languageCode="en-US" releaseID="release" systemEnvironmentCode="Production" versionID="release" xsi:schemaLocation="http://www.openapplications.org/oagis/9 http://distribution.logiasoftware.fi/public/oagis/schema/9_5_1/BODs/ProcessPurchaseOrder/ProcessPurchaseOrder.xsd">
	<ApplicationArea>
		<Sender>
			<LogicalID>01-123</LogicalID>
		</Sender>
		<Receiver>
			<LogicalID>logius</LogicalID>
		</Receiver>
		<CreationDateTime>2011-08-03T09:44:42</CreationDateTime>
	</ApplicationArea>
	<DataArea>
		<Process>
			<ActionCriteria>
				<ActionExpression actionCode="documentType">inboundPurchaseOrder</ActionExpression>
			</ActionCriteria>
		</Process>
		<PurchaseOrder>
			<PurchaseOrderHeader>
				<DocumentID>
					<ID>0112547822</ID>
				</DocumentID>
				<DocumentReference type="clientsReference2">
					<DocumentID>
						<ID>clients reference</ID>
					</DocumentID>
				</DocumentReference>
				<DocumentReference type="suppliersReference1">
					<DocumentID>
						<ID>suppliers reference 1</ID>
					</DocumentID>
				</DocumentReference>
				<DocumentReference type="suppliersReference2">
					<DocumentID>
						<ID>suppliers reference 2</ID>
					</DocumentID>
				</DocumentReference>
				<DocumentReference type="invoiceNumber">
					<DocumentID>
						<ID>123456789</ID>
					</DocumentID>
				</DocumentReference>	
				<DocumentReference type="orderClass1">
					<DocumentID>
						<ID>class</ID>
					</DocumentID>
					<Description languageID="en-us">Class name</Description>
				</DocumentReference>
				<Party role="supplier">
					<Contact>
						<Address>
							<ID>12345</ID>
							<AttentionOfName>Name1</AttentionOfName>
							<CareOfName>Name2</CareOfName>
							<AddressLine sequence="1">Åkerlundinkatu 11</AddressLine>
							<CityName>Tampere</CityName>
							<CountryCode>FI</CountryCode>
							<PostalCode>33101</PostalCode>
						</Address>
					</Contact>
				</Party>
				<Party role="warehouse">
					<PartyIDs>
						<ID>F12</ID>
					</PartyIDs>
				</Party>
				<CarrierParty>
					<Contact>
						<Address>
							<ID>ABC-123</ID>
							<Type>1</Type>
							<Status>
								<Code>10</Code>
							</Status>
						</Address>
					</Contact>
				</CarrierParty>
				<TransportationTerm>
					<FreightTermCode>Deltermcode</FreightTermCode>
					<Description type="freightTermText">Deltermtext</Description>
				</TransportationTerm>
				<OrderDateTime>2011-08-03T09:44:42</OrderDateTime>
			</PurchaseOrderHeader>
			<PurchaseOrderLine>
				<LineNumber>000010</LineNumber>				
				<Note type="arrivalNote">Arrival note</Note>
				<Note type="passThrough" status="comment1">String1</Note>				
				<DocumentReference type="customersReference1">
					<DocumentID>
						<ID>1235</ID>
					</DocumentID>
				</DocumentReference>
				<DocumentReference type="rowStatus">
					<Status>
						<Code>New</Code>
					</Status>
				</DocumentReference>			
				<Item>
					<ItemID>
						<ID>Product code</ID>
					</ItemID>
					<SupplierItemID>
						<ID>Supplier item id</ID>
					</SupplierItemID>
					<Description type="itemName">Product name</Description>
					<Classification type="customStatus">
						<Type>Custom status</Type>
					</Classification>
					<Classification type="qualityCheckStatus">
						<Type>Quality check status</Type>
					</Classification>
					<Classification type="quarantineStatus">
						<Type>Quarantine status</Type>
					</Classification>
					<CountryOfOriginCode>SE</CountryOfOriginCode>
				</Item>				
				<SerializedLot>
					<!-- if one supplier lot in many pallets then multiple this structure -->
					<Lot>
						<LotIDs>
							<ID sequenceName="supplier">supplier batch number</ID>
						</LotIDs>
						<EffectiveTimePeriod>
							<EndDateTime>2013-02-15</EndDateTime>
						</EffectiveTimePeriod>
						<Quantity unitCode="PCE">2</Quantity>
						<Disposition>
							<Code>UN</Code>
						</Disposition>
					</Lot>
				</SerializedLot>
				<PromisedDeliveryDateTime>2011-08-03T09:44:42</PromisedDeliveryDateTime>
			</PurchaseOrderLine>
		</PurchaseOrder>
	</DataArea>
</ProcessPurchaseOrder>
