{
	"convert": [
		[
			"/ProcessSalesOrder",
			"=",
			"namespace"
		],
		[
			"ApplicationArea/Sender/LogicalID",
			"=",
			"44-843"
		],
		[
			"ApplicationArea/Receiver/LogicalID",
			"=",
			"logius"
		],
		[
			"ApplicationArea/CreationDateTime",
			"=",
			[
				"currentUtcString"
			]
		],
		[
			"DataArea/Process/ActionCriteria/ActionExpression[@actionCode=\"documenttype=\"]",
			"=",
			"inboundSalesOrder"
		],
		[
			"DataArea/Process/ActionCriteria/ChangeStatus/Reason",
			"=",
			"debug"
		],
		[
			"/ProcessSalesOrder/DataArea/SalesOrder",
			"=",
			[
				"ord",
				[
					[
						"SalesOrderHeader/DocumentID/ID",
						"=",
						"ord.order_id"
					],
					[
						"SalesOrderHeader/Note[@type=\"pickingNoteComment\"]",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/Note[@type=\"deliveryNoteCommentBeforeLines\"]",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/Note[@type=\"deliveryNoteCommentAfterLines\"]",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/Note[@type=\"freightNoteComment\"]",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/Note[@type=\"freightVAS\" @status=\"commentID\"]",
						"=",
						""
					],
					[
						"SalesOrderHeader/Note[@type=\"additionalComment1\"]",
						"=",
						"ord.note"
					],
					[
						"SalesOrderHeader/Note[@type=\"additionalComment2\"]",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/Note[@type=\"passThrough\" @status=\"commentID\"]",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/DocumentReference[@type=\"sendersReference2\"]/DocumentID/ID",
						"=",
						"ord.json_data.mark"
					],
					[
						"SalesOrderHeader/DocumentReference[@type=\"sendersReference3\"]/DocumentDateTime",
						"=",
						"??"
					],
					[
						"DataArea/SalesOrder/SalesOrderHeader/DocumentReference[@type=\"sendersReference3\"]/DocumentDateTime",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/DocumentReference[@type=\"sendersReference4\"]/DocumentID/ID",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/DocumentReference[@type=\"customersReference1\"]/DocumentID/ID",
						"=",
						"ord.company_reference_number"
					],
					[
						"SalesOrderHeader/DocumentReference[@type=\"customersReference2\"]/DocumentID/ID",
						"=",
						"ord.json_data.your_reference_of_delivery"
					],
					[
						"SalesOrderHeader/DocumentReference[@type=\"infoCode\"]/DocumentID/ID",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/DocumentReference[@type=\"combinedPicking\"]/DocumentID/ID",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/DocumentReference[@type=\"GTD\"]/DocumentID/ID",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/DocumentReference[@type=\"orderClass1\"]/DocumentID/ID",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/DocumentReference[@type=\"orderClass1\"]/Description",
						"=",
						"T"
					],
					[
						"SalesOrderHeader/Attachment/EmbeddedData[@mimeCode=\"BASE64\"]",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/Attachment/URI",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/Attachment/FileName",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/Attachment/FileType",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/Party[@role=\"pickUpPoint\"]/Contact/Address/AttentionOfName",
						"=",
						"??"
					],
					[
						"SalesOrderHeader/Party[@role=\"pickUpPoint\"]/Contact/Address/CityName",
						"=",
						"??"
					],
					[
						"SalesOrderHeader/Party[@role=\"pickUpPoint\"]/Contact/Address/CountryCode",
						"=",
						"??"
					],
					[
						"SalesOrderHeader/Party[@role=\"pickUpPoint\"]/Contact/Address/PostalCode",
						"=",
						"??"
					],
					[
						"SalesOrderHeader/Party[@role=\"warehouse\"]/PartyIDs/ID",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/Party[@role=\"principal\"]/Contact/Address/ID",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/Party[@role=\"principal\"]/Contact/Address/AttentionOfName",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/Party[@role=\"seller\"]/Contact/Address/AttentionOfName",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/Party[@role=\"senderOrganization\"]/Contact/Address/AttentionOfName",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/Party[@role=\"receiverOrganization\"]/Contact/Address/AttentionOfName",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/Party[@role=\"endCustomer\"]/Contact/Address/AttentionOfName",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/Party[@role=\"sender\"]/Contact/Address/AttentionOfName",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/CustomerParty/PartyIDs/ID[schemeName=\"\"]",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/CustomerParty/PartyIDs/TaxID",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/CustomerParty/PartyIDs/BICID",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/CustomerParty/Contact/TelephoneCommunication/FormattedNumber",
						"=",
						"??"
					],
					[
						"SalesOrderHeader/CustomerParty/Contact/EmailAddressCommunication/EmailAddressID",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/CustomerParty/Contact/Address/ID",
						"=",
						"ord.company_id"
					],
					[
						"SalesOrderHeader/CustomerParty/Contact/Address/AttentionOfName",
						"=",
						"co.name.ord.company_id"
					],
					[
						"SalesOrderHeader/CustomerParty/Contact/Address/CareOfName",
						"=",
						"co.name_2.ord.company_id"
					],
					[
						"SalesOrderHeader/CustomerParty/Contact/Address/AddressLine[@sequence=\"1\"]",
						"=",
						"co.address.ord.company_id"
					],
					[
						"SalesOrderHeader/CustomerParty/Contact/Address/CityName",
						"=",
						"co.post_office.ord.company_id"
					],
					[
						"SalesOrderHeader/CustomerParty/Contact/Address/CountrySubDivisionCode",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/CustomerParty/Contact/Address/CountryCode",
						"=",
						"co.json_data.area.ord.company_id"
					],
					[
						"SalesOrderHeader/CustomerParty/Contact/Address/PostalCode",
						"=",
						"co.post_code.ord.company_id"
					],
					[
						"SalesOrderHeader/CustomerParty/UserArea/PaymentTerm/PaymentTermType",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/SupplierParty/Contact/Address/AttentionOfName",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/ShipToParty/Contact[@languageCode=\"fi-fi\"]/MobileTelephoneCommunication/FormattedNumber",
						"=",
						"??"
					],
					[
						"SalesOrderHeader/ShipToParty/Contact[@languageCode=\"fi-fi\"]/Address/ID",
						"=",
						"ord.delivery_company_id"
					],
					[
						"SalesOrderHeader/ShipToParty/Contact[@languageCode=\"fi-fi\"]/Address/AttentionOfName",
						"=",
						"company_name"
					],
					[
						"SalesOrderHeader/ShipToParty/Contact[@languageCode=\"fi-fi\"]/Address/CareOfName",
						"=",
						"transport_info"
					],
					[
						"SalesOrderHeader/ShipToParty/Contact[@languageCode=\"fi-fi\"]/Address/AddressLine[@sequence=\"1\"]",
						"=",
						"co.address"
					],
					[
						"SalesOrderHeader/ShipToParty/Contact[@languageCode=\"fi-fi\"]/Address/CityName",
						"=",
						"co.post_office"
					],
					[
						"SalesOrderHeader/ShipToParty/Contact[@languageCode=\"fi-fi\"]/Address/CountrySubDivisionCode",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/ShipToParty/Contact[@languageCode=\"fi-fi\"]/Address/CountryCode",
						"=",
						"co.json_data.area.ord.company_id"
					],
					[
						"SalesOrderHeader/ShipToParty/Contact[@languageCode=\"fi-fi\"]/Address/PostalCode",
						"=",
						"co.post_code"
					],
					[
						"SalesOrderHeader/BillToParty/Contact/Address/AttentionOfName",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/CarrierParty/AccountID",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/CarrierParty/Contact/Address/AttentionOfName",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/PayFromParty/Contact/Address/AttentionOfName",
						"=",
						"XX"
					],
					[
						"SalesOrderHeader/TransportationTerm/ShipmentServiceLevelCode",
						"=",
						"ord.way_of_delivery"
					],
					[
						"SalesOrderHeader/TransportationTerm/FreightTermCode",
						"=",
						"ord.term_of_delivery"
					],
					[
						"SalesOrderHeader/PaymentTerm/Note",
						"=",
						"ord.terms_of_payment_id"
					],
					[
						"SalesOrderHeader/PaymentTerm/Term/ID",
						"=",
						"??"
					],
					[
						"SalesOrderHeader/PaymentTerm/UserArea/Tax/BasisAmount[@currencyID=\"EUR\"]",
						"=",
						"ord.vat_price"
					],
					[
						"SalesOrderHeader/PaymentTerm/UserArea/Tax/Amount[@currencyID=\"EUR\"]",
						"=",
						"ord.price_without_vat"
					],
					[
						"SalesOrderHeader/RequestedShipDateTime",
						"=",
						"??"
					],
					[
						"SalesOrderHeader/PromisedDeliveryDateTime",
						"=",
						"ord.json_data.first_delivery_date"
					],
					[
						"/ProcessSalesOrder/DataArea/SalesOrder/SalesOrderLine",
						"=",
						[
							"ordr",
							[
								[
									"LineNumber",
									"=",
									"ordr.row_number"
								],
								[
									"Note[@type=\"pickingNoteComment\"]",
									"=",
									"XX"
								],
								[
									"Note[@type=\"deliveryNoteComment\"]",
									"=",
									"XX"
								],
								[
									"Note[@type=\"freightNoteComment\"]",
									"=",
									"XX"
								],
								[
									"Note[@type=\"freightVAS\"]",
									"=",
									"XX"
								],
								[
									"Note[@type=\"warehouseVAS\"]",
									"=",
									"XX"
								],
								[
									"Note[@type=\"parcelLabelComment\"]",
									"=",
									"XX"
								],
								[
									"Note[@type=\"passThrough\" @status=\"commentID\"]",
									"=",
									"XX"
								],
								[
									"DocumentReference[@type=\"customersReference1\"]/DocumentID/ID",
									"=",
									"XX"
								],
								[
									"DocumentReference[@type=\"parentLine\"]/LineNumber",
									"=",
									"XX"
								],
								[
									"DocumentReference[@type=\"rowStatus\"]/Status/Reason",
									"=",
									"XX"
								],
								[
									"Item/ItemID/ID",
									"=",
									"ordr.product_id"
								],
								[
									"Item/Description[@type=\"itemName\"]",
									"=",
									"ordr.description"
								],
								[
									"Item/Classification[@type=\"criticalRow\"]/Description",
									"=",
									"XX"
								],
								[
									"Item/Packaging/Dimensions/WeightRange/MaximumWeightMeasure[@unitCode=\"GRM\"]",
									"=",
									"XX"
								],
								[
									"SerializedLot/Lot/LotIDs/ID[@sequenceName=\"supplier\"]",
									"=",
									"XX"
								],
								[
									"SerializedLot/Lot/LotIDs/ID[@sequenceName=\"crossDocking\"]",
									"=",
									"XX"
								],
								[
									"SerializedLot/Lot/EffectiveTimePeriod/EndDateTime",
									"=",
									"XX"
								],
								[
									"SerializedLot/Lot/Quantity[@unitCode=\"PCE\"]",
									"=",
									"ordr.order_amount"
								],
								[
									"SerializedLot/Lot/SerialNumber",
									"=",
									"XX"
								],
								[
									"SerializedLot/Lot/Disposition/Code",
									"=",
									"XX"
								],
								[
									"SerializedLot/Lot/UserArea/DocumentReference/RequestedQuantity",
									"=",
									"ordr.waiting_for_delivery"
								],
								[
									"SerializedLot/Lot/UserArea/DocumentReference/Quantity[@type=\"backorder\"]",
									"=",
									"XX"
								],
								[
									"QualifiedAmount[type=\"discount\"]/Percentage",
									"=",
									"ordr.discount_percent"
								],
								[
									"PartialShipmentAllowedIndicator",
									"=",
									"??"
								],
								[
									"DropShipmentAllowedIndicator",
									"=",
									"??"
								],
								[
									"Tax/BasisAmount[@currencyID=\"EUR\"]",
									"=",
									"ordr.unit_price"
								],
								[
									"Tax/Calculation/Description",
									"=",
									"ordr.vat_percent"
								],
								[
									"Tax/Amount[@currencyID=\"EUR\"]",
									"=",
									"ordr.json_data.price_with_vat__unit"
								],
								[
									"Tax[@type=\"line\"]/UserArea/BasisAmount[@currencyID=\"EUR\"]",
									"=",
									"XX"
								],
								[
									"BackOrderIndicator",
									"=",
									"??"
								],
								[
									"SalesOrderSubline/LineNumber",
									"=",
									"XX"
								],
								[
									"SalesOrderSubline/Item/ItemID/ID",
									"=",
									"XX"
								],
								[
									"SalesOrderSubline/Item/Description",
									"=",
									"XX"
								],
								[
									"SalesOrderSubline/Item/Lot/LotIDs/ID[@sequenceName=\"supplier\"]",
									"=",
									"XX"
								],
								[
									"SalesOrderSubline/Item/Lot/EffectiveTimePeriod/EndDateTime",
									"=",
									"XX"
								],
								[
									"SalesOrderSubline/Item/Lot/Quantity[@unitCode=\"PCE\"]",
									"=",
									"XX"
								],
								[
									"SalesOrderSubline/Item/Lot/SerialNumber",
									"=",
									"XX"
								],
								[
									"SalesOrderSubline/Item/Lot/Disposition/Code",
									"=",
									"XX"
								],
								[
									"SalesOrderSubline/ParentLineNumber",
									"=",
									"XX"
								],
								[
									"UserArea/ShipmentDateTime",
									"=",
									"XX"
								],
								[
									"UserArea/LoadingDateTime",
									"=",
									"XX"
								]
							]
						]
					]
				]
			]
		]
	],
	"name": "convert/manager/order/order/sales/custom/itella/convert_out_sales_order.json",
	"namespace": "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.openapplications.org/oagis/9\" languageCode=\"en-US\" versionID=\"release\" releaseID=\"release\" systemEnvironmentCode=\"Production\" xsi:schemaLocation=\"http://www.openapplications.org/oagis/9 http://distribution.logiasoftware.fi/public/oagis/schema/9_5_1/BODs/ProcessSalesOrder/ProcessSalesOrder.xsd\""
}