[
	{
		"to": "/SyncItemMaster",
		"namespace": "xmlns=\"http://www.openapplications.org/oagis/9\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" 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/SyncItemMaster/SyncItemMaster.xsd\""
	},
	{
		"to": "ApplicationArea/Sender/LogicalID",
		"from": "pr.default_supplier_id"
	},
	{
		"to": "ApplicationArea/Receiver/LogicalID",
		"from": "pr.default_customer_id"
	},
	{
		"to": "ApplicationArea/CreationDateTime",
		"from": "pr.json_data.change_date"
	},
	{
		"to": "DataArea/Sync/ActionCriteria/ActionExpression[@actionCode=\"documentType\"]",
		"from": "pr.product_type"
	},
	{
		"to": "DataArea/Sync/ActionCriteria/ChangeStatus/Reason",
		"from": "X"
	},
	{
		"from": "pr",
		"to": "/SyncItemMaster/DataArea/ItemMaster",
		"array": [
			{
				"to": "ItemMasterHeader/ItemID[@agencyRole=\"primary\"]/ID",
				"from": "pr.json_data.product_code"
			},
			{
				"to": "ItemMasterHeader/ItemID[@agencyRole=\"secondary\"]/ID",
				"from": "X"
			},
			{
				"to": "ItemMasterHeader/ItemID[@agencyRole=\"supplier\"]/ID",
				"from": "pr.json_data.company_product_code"
			},
			{
				"to": "ItemMasterHeader/ItemID[@agencyRole=\"supplier\"]/VariationID",
				"from": "X"
			},
			{
				"to": "ItemMasterHeader/ItemID[@agencyRole=\"customs\"]/ID",
				"from": "pr.json_data.tariff_heading"
			},
			{
				"to": "ItemMasterHeader/ItemID[agencyRole=\"container\"]/ID",
				"from": "pr.json_data.parcel_code"
			},
			{
				"to": "ItemMasterHeader/Description[type=\"itemName\" @languageID=\"fi-fi\"]",
				"from": "pr.name"
			},
			{
				"to": "ItemMasterHeader/Description[type=\"itemName2\"]",
				"from": "pr.product_id"
			},
			{
				"to": "ItemMasterHeader/Note[@type=\"warranty\"]",
				"from": "pr.json_data.explanation"
			},
			{
				"to": "ItemMasterHeader/Note[@type=\"deliveryList\"]",
				"from": "pr.info"
			},
			{
				"to": "ItemMasterHeader/Note[@type=\"pickList\"]",
				"from": "pr.info"
			},
			{
				"to": "ItemMasterHeader/Note[@type=\"arrivalList\"]",
				"from": "pr.info"
			},
			{
				"to": "ItemMasterHeader/Classification[@type=\"warehouseProductGroup\"]/Codes/Code[@sequence=\"1\"]",
				"from": "pr.product_group"
			},
			{
				"to": "ItemMasterHeader/Classification[@type=\"productGroup\"]/Codes/Code[@sequence=\"5\"]",
				"from": "pr.subgroup"
			},
			{
				"to": "ItemMasterHeader/Classification[@type=\"productGroup\"]/Description",
				"from": "pr.json_data.work_resource"
			},
			{
				"to": "ItemMasterHeader/Classification[@type=\"fashionGroup\"]/Codes/Code[@sequence=\"1\"]",
				"from": "pr.json_data.material_class"
			},
			{
				"to": "ItemMasterHeader/Classification[@type=\"productLine\"]/Description",
				"from": "pr.work_number"
			},
			{
				"to": "ItemMasterHeader/Classification[@type=\"qualityControl\"]/Codes/Code",
				"from": "pr.quality"
			},
			{
				"to": "ItemMasterHeader/Classification[@type=\"countryOfOrigin\"]/Codes/Code",
				"from": "pr.json_data.origin"
			},
			{
				"to": "ItemMasterHeader/Specification/Property/NameValue[@name=\"supplyQuantity\" @unitCode=\"PCE\"]",
				"from": "pr.json_data.coming_amount"
			},
			{
				"to": "ItemMasterHeader/Specification/Property/NameValue[@name=\"minStockLevel\" @unitCode=\"PCE\"]",
				"from": "pr.minimum_stock"
			},
			{
				"to": "ItemMasterHeader/Specification/Property/NameValue[@name=\"cableIndicator\"]",
				"from": "pr.json_data.need_calculation_in_use"
			},
			{
				"to": "ItemMasterHeader/Specification/Property/NameValue[@name=\"warrantyIndicator\"]",
				"from": "pr.json_data.stock_parcel_in_use"
			},
			{
				"to": "ItemMasterHeader/Specification/Property/NameValue[@name=\"VATPercentage\"]",
				"from": "X"
			},
			{
				"to": "ItemMasterHeader/Specification/Property/NameValue[@name=\"cumbersomeIndicator\"]",
				"from": "pr.storable"
			},
			{
				"to": "ItemMasterHeader/Specification/Property/NameValue[@name=\"serialNumberFormat\"]",
				"from": "pr.action_limit"
			}
		]
	}
]