{
	"name": "query/manager/product/product/product/linked.json",
	"table": [
		{
			"record_type": ["product"],
			"table": "product"
		}
	],
	"database": "4d",
	"parameter": {
		"product_id": ""
	},
	"field": [
		"pr.product_id",
		"pr.name",
		"pr.work_number",
		"pr.purchase_price",
		"pr.cost_price",
		"pr.sales_price",
		"pr.profit_multiplier",
		"pr.stock_unit",
		"pr.stock_unit_2",
		"pr.stock_conversion_multiplier",
		"pr.design_unit",
		"pr.design_unit_2",
		"pr.design_conversion_multiplier",
		"pr.stock_vs_design_conversion_multiplier",
		"pr.product_type",
		"pr.json_data.calculation_type",
		"pr.sales_order_code_id",
		"pr.foreign_sales_order_code_id",
		"pr.record_id"
	],
	"query": [
		["pr.product_id", "=", "product_id"],
		"or",
		["pr.json_data.drawing_number__material", "=", "product_id"],
		"or",
		["pr.json_data.company_product_code", "=", "product_id"]
	]
}