{
	"name": "preference/table/table_link_chain.json",
	"4d/link": {
		"invoice_row - currency / order_row:invoice": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "cur.currency_id",
					"linked_record_type": "",
					"linked_table": "currency",
					"linking_field": "inv.currency_id",
					"linking_record_type": "",
					"linking_table": "invoice"
				},
				"length": 2,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "inv.invoice_id",
						"linked_record_type": "",
						"linked_table": "invoice",
						"linking_field": "invr.invoice_id",
						"linking_record_type": "",
						"linking_table": "invoice_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "cur.currency_id",
						"linked_record_type": "",
						"linked_table": "currency",
						"linking_field": "inv.currency_id",
						"linking_record_type": "",
						"linking_table": "invoice"
					}
				],
				"linking_table": "invoice"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "inv.invoice_id",
						"linked_record_type": "",
						"linked_table": "invoice",
						"linking_field": "invr.invoice_id",
						"linking_record_type": "",
						"linking_table": "invoice_row"
					},
					{
						"default_link": true,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "inv.company_id",
						"linking_record_type": "",
						"linking_table": "invoice"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "cur.currency_id",
						"linked_record_type": "",
						"linked_table": "currency",
						"linking_field": "co.currency_id",
						"linking_record_type": "",
						"linking_table": "company"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "inv.invoice_id",
						"linked_record_type": "",
						"linked_table": "invoice",
						"linking_field": "invr.invoice_id",
						"linking_record_type": "",
						"linking_table": "invoice_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "cur.currency_id",
						"linked_record_type": "",
						"linked_table": "currency",
						"linking_field": "inv.currency_id",
						"linking_record_type": "",
						"linking_table": "invoice"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "pr.product_id",
						"linked_record_type": "",
						"linked_table": "product",
						"linking_field": "invr.product_id",
						"linking_record_type": "",
						"linking_table": "invoice_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "su.supplier_id",
						"linked_record_type": "supplier",
						"linked_table": "supplier",
						"linking_field": "pr.supplier_id",
						"linking_record_type": "",
						"linking_table": "product"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "cur.currency_id",
						"linked_record_type": "",
						"linked_table": "currency",
						"linking_field": "su.currency_id",
						"linking_record_type": "",
						"linking_table": "supplier"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "pr.product_id",
						"linked_record_type": "",
						"linked_table": "product",
						"linking_field": "invr.product_id",
						"linking_record_type": "",
						"linking_table": "invoice_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "cur.currency_id",
						"linked_record_type": "",
						"linked_table": "currency",
						"linking_field": "pr.currency_id",
						"linking_record_type": "",
						"linking_table": "product"
					}
				]
			],
			"link_chain_count": 4,
			"linked_record_type": "",
			"max_length": 3,
			"min_length": 2
		},
		"invoice_row - invoice / order_row:invoice": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "inv.invoice_id",
					"linked_record_type": "",
					"linked_table": "invoice",
					"linking_field": "invr.invoice_id",
					"linking_record_type": "",
					"linking_table": "invoice_row"
				},
				"length": 1,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "inv.invoice_id",
						"linked_record_type": "",
						"linked_table": "invoice",
						"linking_field": "invr.invoice_id",
						"linking_record_type": "",
						"linking_table": "invoice_row"
					}
				],
				"linking_table": "invoice_row"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "inv.invoice_id",
						"linked_record_type": "",
						"linked_table": "invoice",
						"linking_field": "invr.invoice_id",
						"linking_record_type": "",
						"linking_table": "invoice_row"
					}
				]
			],
			"link_chain_count": 1,
			"linked_record_type": "",
			"max_length": 1,
			"min_length": 1
		},
		"order_row - company / order_row:purchase": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "co.company_id",
					"linked_record_type": "sales",
					"linked_table": "company",
					"linking_field": "por.company_id",
					"linking_record_type": "",
					"linking_table": "purchase_order_row"
				},
				"length": 1,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "sales",
						"linked_table": "company",
						"linking_field": "por.company_id",
						"linking_record_type": "",
						"linking_table": "purchase_order_row"
					}
				],
				"linking_table": "purchase_order_row"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "por.production_lot",
						"linking_record_type": "",
						"linking_table": "purchase_order_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "wo.company_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "por.production_lot",
						"linking_record_type": "",
						"linking_table": "purchase_order_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "wo.work__position_num_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "pr.product_id",
						"linked_record_type": "",
						"linked_table": "product",
						"linking_field": "w.product_id",
						"linking_record_type": "",
						"linking_table": "work"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "su.supplier_id",
						"linked_record_type": "supplier",
						"linked_table": "supplier",
						"linking_field": "pr.supplier_id",
						"linking_record_type": "",
						"linking_table": "product"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "por.production_lot",
						"linking_record_type": "",
						"linking_table": "purchase_order_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "wo.work__position_num_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "w.company_id",
						"linking_record_type": "",
						"linking_table": "work"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "sales",
						"linked_table": "company",
						"linking_field": "por.company_id",
						"linking_record_type": "",
						"linking_table": "purchase_order_row"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "po.purchase_order_id",
						"linked_record_type": "",
						"linked_table": "purchase_order",
						"linking_field": "por.purchase_order_id",
						"linking_record_type": "",
						"linking_table": "purchase_order_row"
					},
					{
						"default_link": true,
						"link_type": "",
						"linked_field": "su.supplier_id",
						"linked_record_type": "supplier",
						"linked_table": "supplier",
						"linking_field": "po.supplier_id",
						"linking_record_type": "purchase",
						"linking_table": "purchase_order"
					}
				]
			],
			"link_chain_count": 5,
			"linked_record_type": "sales",
			"max_length": 4,
			"min_length": 1
		},
		"order_row - company / order_row:sales": {
			"default": {
				"last_link": {
					"default_link": true,
					"link_type": "",
					"linked_field": "co.company_id",
					"linked_record_type": "",
					"linked_table": "company",
					"linking_field": "so.company_id",
					"linking_record_type": "",
					"linking_table": "sales_order"
				},
				"length": 2,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "so.sales_order_id",
						"linked_record_type": "",
						"linked_table": "sales_order",
						"linking_field": "sor.sales_order_id",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					},
					{
						"default_link": true,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "so.company_id",
						"linking_record_type": "",
						"linking_table": "sales_order"
					}
				],
				"linking_table": "sales_order"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "dn.dispatch_note_id",
						"linked_record_type": "",
						"linked_table": "dispatch_note",
						"linking_field": "sor.dispatch_note_id",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "dn.company_id",
						"linking_record_type": "",
						"linking_table": "dispatch_note"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "pr.product_id",
						"linked_record_type": "",
						"linked_table": "product",
						"linking_field": "sor.product_id",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "su.supplier_id",
						"linked_record_type": "supplier",
						"linked_table": "supplier",
						"linking_field": "pr.supplier_id",
						"linking_record_type": "",
						"linking_table": "product"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "pr.product_id",
						"linked_record_type": "",
						"linked_table": "product",
						"linking_field": "sor.product_id",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "pr.work__position_num_id",
						"linking_record_type": "work",
						"linking_table": "product"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "w.company_id",
						"linking_record_type": "",
						"linking_table": "work"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "inv.invoice_id",
						"linked_record_type": "",
						"linked_table": "invoice",
						"linking_field": "sor.invoice_id",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					},
					{
						"default_link": true,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "inv.company_id",
						"linking_record_type": "",
						"linking_table": "invoice"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "so.sales_order_id",
						"linked_record_type": "",
						"linked_table": "sales_order",
						"linking_field": "sor.sales_order_id",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					},
					{
						"default_link": true,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "so.company_id",
						"linking_record_type": "",
						"linking_table": "sales_order"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "sor.production_lot",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "wo.company_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					}
				]
			],
			"link_chain_count": 6,
			"linked_record_type": "",
			"max_length": 3,
			"min_length": 2
		},
		"order_row - currency / order_row:invoice": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "cur.currency_id",
					"linked_record_type": "",
					"linked_table": "currency",
					"linking_field": "inv.currency_id",
					"linking_record_type": "",
					"linking_table": "invoice"
				},
				"length": 2,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "inv.invoice_id",
						"linked_record_type": "",
						"linked_table": "invoice",
						"linking_field": "invr.invoice_id",
						"linking_record_type": "",
						"linking_table": "invoice_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "cur.currency_id",
						"linked_record_type": "",
						"linked_table": "currency",
						"linking_field": "inv.currency_id",
						"linking_record_type": "",
						"linking_table": "invoice"
					}
				],
				"linking_table": "invoice"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "inv.invoice_id",
						"linked_record_type": "",
						"linked_table": "invoice",
						"linking_field": "invr.invoice_id",
						"linking_record_type": "",
						"linking_table": "invoice_row"
					},
					{
						"default_link": true,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "inv.company_id",
						"linking_record_type": "",
						"linking_table": "invoice"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "cur.currency_id",
						"linked_record_type": "",
						"linked_table": "currency",
						"linking_field": "co.currency_id",
						"linking_record_type": "",
						"linking_table": "company"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "inv.invoice_id",
						"linked_record_type": "",
						"linked_table": "invoice",
						"linking_field": "invr.invoice_id",
						"linking_record_type": "",
						"linking_table": "invoice_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "cur.currency_id",
						"linked_record_type": "",
						"linked_table": "currency",
						"linking_field": "inv.currency_id",
						"linking_record_type": "",
						"linking_table": "invoice"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "pr.product_id",
						"linked_record_type": "",
						"linked_table": "product",
						"linking_field": "invr.product_id",
						"linking_record_type": "",
						"linking_table": "invoice_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "su.supplier_id",
						"linked_record_type": "supplier",
						"linked_table": "supplier",
						"linking_field": "pr.supplier_id",
						"linking_record_type": "",
						"linking_table": "product"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "cur.currency_id",
						"linked_record_type": "",
						"linked_table": "currency",
						"linking_field": "su.currency_id",
						"linking_record_type": "",
						"linking_table": "supplier"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "pr.product_id",
						"linked_record_type": "",
						"linked_table": "product",
						"linking_field": "invr.product_id",
						"linking_record_type": "",
						"linking_table": "invoice_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "cur.currency_id",
						"linked_record_type": "",
						"linked_table": "currency",
						"linking_field": "pr.currency_id",
						"linking_record_type": "",
						"linking_table": "product"
					}
				]
			],
			"link_chain_count": 4,
			"linked_record_type": "",
			"max_length": 3,
			"min_length": 2
		},
		"order_row - product / order_row:sales": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "pr.product_id",
					"linked_record_type": "",
					"linked_table": "product",
					"linking_field": "sor.product_id",
					"linking_record_type": "",
					"linking_table": "sales_order_row"
				},
				"length": 1,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "pr.product_id",
						"linked_record_type": "",
						"linked_table": "product",
						"linking_field": "sor.product_id",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					}
				],
				"linking_table": "sales_order_row"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "pr.product_id",
						"linked_record_type": "",
						"linked_table": "product",
						"linking_field": "sor.product_id",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "sor.production_lot",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "wo.work__position_num_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					}
				]
			],
			"link_chain_count": 2,
			"linked_record_type": "",
			"max_length": 2,
			"min_length": 1
		},
		"product_work - company / product_work:schedule": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "co.company_id",
					"linked_record_type": "",
					"linked_table": "company",
					"linking_field": "wo.company_id",
					"linking_record_type": "",
					"linking_table": "work_order"
				},
				"length": 2,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wos.production_lot",
						"linking_record_type": "",
						"linking_table": "work_order_schedule"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "wo.company_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					}
				],
				"linking_table": "work_order"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wos.production_lot",
						"linking_record_type": "",
						"linking_table": "work_order_schedule"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "wo.company_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wos.production_lot",
						"linking_record_type": "",
						"linking_table": "work_order_schedule"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "wo.work__position_num_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "pr.product_id",
						"linked_record_type": "",
						"linked_table": "product",
						"linking_field": "w.product_id",
						"linking_record_type": "",
						"linking_table": "work"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "su.supplier_id",
						"linked_record_type": "supplier",
						"linked_table": "supplier",
						"linking_field": "pr.supplier_id",
						"linking_record_type": "",
						"linking_table": "product"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wos.production_lot",
						"linking_record_type": "",
						"linking_table": "work_order_schedule"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "wo.work__position_num_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "w.company_id",
						"linking_record_type": "",
						"linking_table": "work"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wlg.work_load_group_id",
						"linked_record_type": "resource",
						"linked_table": "work_load_group",
						"linking_field": "wos.work_load_group_id",
						"linking_record_type": "",
						"linking_table": "work_order_schedule"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "su.supplier_id",
						"linked_record_type": "supplier",
						"linked_table": "supplier",
						"linking_field": "wlg.supplier_id",
						"linking_record_type": "",
						"linking_table": "work_load_group"
					}
				]
			],
			"link_chain_count": 4,
			"linked_record_type": "",
			"max_length": 4,
			"min_length": 2
		},
		"product_work - product / product_work:actual": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "w.work__position_num_id",
					"linked_record_type": "work",
					"linked_table": "work",
					"linking_field": "wpa.work__position_num_id",
					"linking_record_type": "",
					"linking_table": "work_phase_actual"
				},
				"length": 1,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "wpa.work__position_num_id",
						"linking_record_type": "",
						"linking_table": "work_phase_actual"
					}
				],
				"linking_table": "work_phase_actual"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wpa.production_lot",
						"linking_record_type": "",
						"linking_table": "work_phase_actual"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "wo.work__position_num_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "wpa.work__position_num_id",
						"linking_record_type": "",
						"linking_table": "work_phase_actual"
					}
				]
			],
			"link_chain_count": 2,
			"linked_record_type": "work",
			"max_length": 2,
			"min_length": 1
		},
		"product_work - product / product_work:schedule": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "w.work__position_num_id",
					"linked_record_type": "work",
					"linked_table": "work",
					"linking_field": "wo.work__position_num_id",
					"linking_record_type": "",
					"linking_table": "work_order"
				},
				"length": 2,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wos.production_lot",
						"linking_record_type": "",
						"linking_table": "work_order_schedule"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "wo.work__position_num_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					}
				],
				"linking_table": "work_order"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wos.production_lot",
						"linking_record_type": "",
						"linking_table": "work_order_schedule"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "wo.work__position_num_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					}
				]
			],
			"link_chain_count": 1,
			"linked_record_type": "work",
			"max_length": 2,
			"min_length": 2
		},
		"product_work - production_order / product_work:actual": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "wo.production_lot",
					"linked_record_type": "",
					"linked_table": "work_order",
					"linking_field": "wpa.production_lot",
					"linking_record_type": "",
					"linking_table": "work_phase_actual"
				},
				"length": 1,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wpa.production_lot",
						"linking_record_type": "",
						"linking_table": "work_phase_actual"
					}
				],
				"linking_table": "work_phase_actual"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wpa.production_lot",
						"linking_record_type": "",
						"linking_table": "work_phase_actual"
					}
				]
			],
			"link_chain_count": 1,
			"linked_record_type": "",
			"max_length": 1,
			"min_length": 1
		},
		"product_work - production_order / product_work:schedule": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "wo.production_lot",
					"linked_record_type": "",
					"linked_table": "work_order",
					"linking_field": "wos.production_lot",
					"linking_record_type": "",
					"linking_table": "work_order_schedule"
				},
				"length": 1,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wos.production_lot",
						"linking_record_type": "",
						"linking_table": "work_order_schedule"
					}
				],
				"linking_table": "work_order_schedule"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wos.production_lot",
						"linking_record_type": "",
						"linking_table": "work_order_schedule"
					}
				]
			],
			"link_chain_count": 1,
			"linked_record_type": "",
			"max_length": 1,
			"min_length": 1
		},
		"product_work - resource / product_work:actual": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "wlg.work_load_group_id",
					"linked_record_type": "resource",
					"linked_table": "work_load_group",
					"linking_field": "wpa.work_load_group_id",
					"linking_record_type": "",
					"linking_table": "work_phase_actual"
				},
				"length": 1,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wlg.work_load_group_id",
						"linked_record_type": "resource",
						"linked_table": "work_load_group",
						"linking_field": "wpa.work_load_group_id",
						"linking_record_type": "",
						"linking_table": "work_phase_actual"
					}
				],
				"linking_table": "work_phase_actual"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wlg.work_load_group_id",
						"linked_record_type": "resource",
						"linked_table": "work_load_group",
						"linking_field": "wpa.work_load_group_id",
						"linking_record_type": "",
						"linking_table": "work_phase_actual"
					}
				]
			],
			"link_chain_count": 1,
			"linked_record_type": "resource",
			"max_length": 1,
			"min_length": 1
		},
		"purchase_order_row - company / order_row:purchase": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "co.company_id",
					"linked_record_type": "sales",
					"linked_table": "company",
					"linking_field": "por.company_id",
					"linking_record_type": "",
					"linking_table": "purchase_order_row"
				},
				"length": 1,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "sales",
						"linked_table": "company",
						"linking_field": "por.company_id",
						"linking_record_type": "",
						"linking_table": "purchase_order_row"
					}
				],
				"linking_table": "purchase_order_row"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "por.production_lot",
						"linking_record_type": "",
						"linking_table": "purchase_order_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "wo.company_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "por.production_lot",
						"linking_record_type": "",
						"linking_table": "purchase_order_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "wo.work__position_num_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "pr.product_id",
						"linked_record_type": "",
						"linked_table": "product",
						"linking_field": "w.product_id",
						"linking_record_type": "",
						"linking_table": "work"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "pr.customer_id",
						"linking_record_type": "",
						"linking_table": "product"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "por.production_lot",
						"linking_record_type": "",
						"linking_table": "purchase_order_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "wo.work__position_num_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "w.company_id",
						"linking_record_type": "",
						"linking_table": "work"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "sales",
						"linked_table": "company",
						"linking_field": "por.company_id",
						"linking_record_type": "",
						"linking_table": "purchase_order_row"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "po.purchase_order_id",
						"linked_record_type": "",
						"linked_table": "purchase_order",
						"linking_field": "por.purchase_order_id",
						"linking_record_type": "",
						"linking_table": "purchase_order_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "po.company_id",
						"linking_record_type": "purchase",
						"linking_table": "purchase_order"
					}
				]
			],
			"link_chain_count": 5,
			"linked_record_type": "sales",
			"max_length": 4,
			"min_length": 1
		},
		"purchase_order_row - purchase_order / order_row:purchase": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "po.purchase_order_id",
					"linked_record_type": "",
					"linked_table": "purchase_order",
					"linking_field": "por.purchase_order_id",
					"linking_record_type": "",
					"linking_table": "purchase_order_row"
				},
				"length": 1,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "po.purchase_order_id",
						"linked_record_type": "",
						"linked_table": "purchase_order",
						"linking_field": "por.purchase_order_id",
						"linking_record_type": "",
						"linking_table": "purchase_order_row"
					}
				],
				"linking_table": "purchase_order_row"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "po.purchase_order_id",
						"linked_record_type": "",
						"linked_table": "purchase_order",
						"linking_field": "por.purchase_order_id",
						"linking_record_type": "",
						"linking_table": "purchase_order_row"
					}
				]
			],
			"link_chain_count": 1,
			"linked_record_type": "",
			"max_length": 1,
			"min_length": 1
		},
		"reclamation - product / reclamation:": {
			"default": {
				"last_link": {
					"default_link": true,
					"link_type": "",
					"linked_field": "pr.product_id",
					"linked_record_type": "",
					"linked_table": "product",
					"linking_field": "rcl.product_id",
					"linking_record_type": "",
					"linking_table": "reclamation"
				},
				"length": 1,
				"link_array": [
					{
						"default_link": true,
						"link_type": "",
						"linked_field": "pr.product_id",
						"linked_record_type": "",
						"linked_table": "product",
						"linking_field": "rcl.product_id",
						"linking_record_type": "",
						"linking_table": "reclamation"
					}
				],
				"linking_table": "reclamation"
			},
			"link": [
				[
					{
						"default_link": true,
						"link_type": "",
						"linked_field": "pr.product_id",
						"linked_record_type": "",
						"linked_table": "product",
						"linking_field": "rcl.product_id",
						"linking_record_type": "",
						"linking_table": "reclamation"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "rcl.production_lot",
						"linking_record_type": "",
						"linking_table": "reclamation"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "wo.work__position_num_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "pr.product_id",
						"linked_record_type": "",
						"linked_table": "product",
						"linking_field": "w.product_id",
						"linking_record_type": "",
						"linking_table": "work"
					}
				]
			],
			"link_chain_count": 2,
			"linked_record_type": "",
			"max_length": 3,
			"min_length": 1
		},
		"sales_order_row - company / order_row:sales": {
			"default": {
				"last_link": {
					"default_link": true,
					"link_type": "",
					"linked_field": "co.company_id",
					"linked_record_type": "",
					"linked_table": "company",
					"linking_field": "so.company_id",
					"linking_record_type": "",
					"linking_table": "sales_order"
				},
				"length": 2,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "so.sales_order_id",
						"linked_record_type": "",
						"linked_table": "sales_order",
						"linking_field": "sor.sales_order_id",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					},
					{
						"default_link": true,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "so.company_id",
						"linking_record_type": "",
						"linking_table": "sales_order"
					}
				],
				"linking_table": "sales_order"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "dn.dispatch_note_id",
						"linked_record_type": "",
						"linked_table": "dispatch_note",
						"linking_field": "sor.dispatch_note_id",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "dn.company_id",
						"linking_record_type": "",
						"linking_table": "dispatch_note"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "pr.product_id",
						"linked_record_type": "",
						"linked_table": "product",
						"linking_field": "sor.product_id",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "pr.work__position_num_id",
						"linking_record_type": "work",
						"linking_table": "product"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "w.company_id",
						"linking_record_type": "",
						"linking_table": "work"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "pr.product_id",
						"linked_record_type": "",
						"linked_table": "product",
						"linking_field": "sor.product_id",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "pr.customer_id",
						"linking_record_type": "",
						"linking_table": "product"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "inv.invoice_id",
						"linked_record_type": "",
						"linked_table": "invoice",
						"linking_field": "sor.invoice_id",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					},
					{
						"default_link": true,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "inv.company_id",
						"linking_record_type": "",
						"linking_table": "invoice"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "so.sales_order_id",
						"linked_record_type": "",
						"linked_table": "sales_order",
						"linking_field": "sor.sales_order_id",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					},
					{
						"default_link": true,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "so.company_id",
						"linking_record_type": "",
						"linking_table": "sales_order"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "sor.production_lot",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "wo.company_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					}
				]
			],
			"link_chain_count": 6,
			"linked_record_type": "",
			"max_length": 3,
			"min_length": 2
		},
		"sales_order_row - product / order_row:sales": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "pr.product_id",
					"linked_record_type": "",
					"linked_table": "product",
					"linking_field": "sor.product_id",
					"linking_record_type": "",
					"linking_table": "sales_order_row"
				},
				"length": 1,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "pr.product_id",
						"linked_record_type": "",
						"linked_table": "product",
						"linking_field": "sor.product_id",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					}
				],
				"linking_table": "sales_order_row"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "pr.product_id",
						"linked_record_type": "",
						"linked_table": "product",
						"linking_field": "sor.product_id",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "sor.production_lot",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "wo.work__position_num_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "pr.product_id",
						"linked_record_type": "",
						"linked_table": "product",
						"linking_field": "w.product_id",
						"linking_record_type": "",
						"linking_table": "work"
					}
				]
			],
			"link_chain_count": 2,
			"linked_record_type": "",
			"max_length": 3,
			"min_length": 1
		},
		"sales_order_row - sales_order / order:sales / order_row:sales / product: / product_work:schedule / production_order:": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "so.sales_order_id",
					"linked_record_type": "",
					"linked_table": "sales_order",
					"linking_field": "sor.sales_order_id",
					"linking_record_type": "",
					"linking_table": "sales_order_row"
				},
				"length": 1,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "so.sales_order_id",
						"linked_record_type": "",
						"linked_table": "sales_order",
						"linking_field": "sor.sales_order_id",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					}
				],
				"linking_table": "sales_order_row"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "so.sales_order_id",
						"linked_record_type": "",
						"linked_table": "sales_order",
						"linking_field": "sor.sales_order_id",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					}
				]
			],
			"link_chain_count": 1,
			"linked_record_type": "",
			"max_length": 1,
			"min_length": 1
		},
		"sales_order_row - sales_order / order_row:sales": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "so.sales_order_id",
					"linked_record_type": "",
					"linked_table": "sales_order",
					"linking_field": "sor.sales_order_id",
					"linking_record_type": "",
					"linking_table": "sales_order_row"
				},
				"length": 1,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "so.sales_order_id",
						"linked_record_type": "",
						"linked_table": "sales_order",
						"linking_field": "sor.sales_order_id",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					}
				],
				"linking_table": "sales_order_row"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "so.sales_order_id",
						"linked_record_type": "",
						"linked_table": "sales_order",
						"linking_field": "sor.sales_order_id",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					}
				]
			],
			"link_chain_count": 1,
			"linked_record_type": "",
			"max_length": 1,
			"min_length": 1
		},
		"sales_order_row - work_order / order:sales / order_row:sales / product: / product_work:schedule / production_order:": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "wo.production_lot",
					"linked_record_type": "",
					"linked_table": "work_order",
					"linking_field": "sor.production_lot",
					"linking_record_type": "",
					"linking_table": "sales_order_row"
				},
				"length": 1,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "sor.production_lot",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					}
				],
				"linking_table": "sales_order_row"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "sor.production_lot",
						"linking_record_type": "",
						"linking_table": "sales_order_row"
					}
				]
			],
			"link_chain_count": 1,
			"linked_record_type": "",
			"max_length": 1,
			"min_length": 1
		},
		"work_order - product / order:sales / order_row:sales / product: / product_work:schedule / production_order:": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "pr.product_id",
					"linked_record_type": "",
					"linked_table": "product",
					"linking_field": "w.product_id",
					"linking_record_type": "",
					"linking_table": "work"
				},
				"length": 2,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "wo.work__position_num_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "pr.product_id",
						"linked_record_type": "",
						"linked_table": "product",
						"linking_field": "w.product_id",
						"linking_record_type": "",
						"linking_table": "work"
					}
				],
				"linking_table": "work"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "wo.work__position_num_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "pr.product_id",
						"linked_record_type": "",
						"linked_table": "product",
						"linking_field": "w.product_id",
						"linking_record_type": "",
						"linking_table": "work"
					}
				]
			],
			"link_chain_count": 1,
			"linked_record_type": "",
			"max_length": 2,
			"min_length": 2
		},
		"work_order_schedule - company / product_work:schedule": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "co.company_id",
					"linked_record_type": "",
					"linked_table": "company",
					"linking_field": "wo.company_id",
					"linking_record_type": "",
					"linking_table": "work_order"
				},
				"length": 2,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wos.production_lot",
						"linking_record_type": "",
						"linking_table": "work_order_schedule"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "wo.company_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					}
				],
				"linking_table": "work_order"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wos.production_lot",
						"linking_record_type": "",
						"linking_table": "work_order_schedule"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "wo.company_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wos.production_lot",
						"linking_record_type": "",
						"linking_table": "work_order_schedule"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "wo.work__position_num_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "pr.product_id",
						"linked_record_type": "",
						"linked_table": "product",
						"linking_field": "w.product_id",
						"linking_record_type": "",
						"linking_table": "work"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "pr.customer_id",
						"linking_record_type": "",
						"linking_table": "product"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wos.production_lot",
						"linking_record_type": "",
						"linking_table": "work_order_schedule"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "wo.work__position_num_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "co.company_id",
						"linked_record_type": "",
						"linked_table": "company",
						"linking_field": "w.company_id",
						"linking_record_type": "",
						"linking_table": "work"
					}
				]
			],
			"link_chain_count": 3,
			"linked_record_type": "",
			"max_length": 4,
			"min_length": 2
		},
		"work_order_schedule - work / product_work:schedule": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "w.work__position_num_id",
					"linked_record_type": "work",
					"linked_table": "work",
					"linking_field": "wo.work__position_num_id",
					"linking_record_type": "",
					"linking_table": "work_order"
				},
				"length": 2,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wos.production_lot",
						"linking_record_type": "",
						"linking_table": "work_order_schedule"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "wo.work__position_num_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					}
				],
				"linking_table": "work_order"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wos.production_lot",
						"linking_record_type": "",
						"linking_table": "work_order_schedule"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "wo.work__position_num_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					}
				]
			],
			"link_chain_count": 1,
			"linked_record_type": "work",
			"max_length": 2,
			"min_length": 2
		},
		"work_order_schedule - work_order / order:sales / order_row:sales / product: / product_work:schedule / production_order:": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "wo.production_lot",
					"linked_record_type": "",
					"linked_table": "work_order",
					"linking_field": "wos.production_lot",
					"linking_record_type": "",
					"linking_table": "work_order_schedule"
				},
				"length": 1,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wos.production_lot",
						"linking_record_type": "",
						"linking_table": "work_order_schedule"
					}
				],
				"linking_table": "work_order_schedule"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wos.production_lot",
						"linking_record_type": "",
						"linking_table": "work_order_schedule"
					}
				]
			],
			"link_chain_count": 1,
			"linked_record_type": "",
			"max_length": 1,
			"min_length": 1
		},
		"work_order_schedule - work_order / product_work:schedule": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "wo.production_lot",
					"linked_record_type": "",
					"linked_table": "work_order",
					"linking_field": "wos.production_lot",
					"linking_record_type": "",
					"linking_table": "work_order_schedule"
				},
				"length": 1,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wos.production_lot",
						"linking_record_type": "",
						"linking_table": "work_order_schedule"
					}
				],
				"linking_table": "work_order_schedule"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wos.production_lot",
						"linking_record_type": "",
						"linking_table": "work_order_schedule"
					}
				]
			],
			"link_chain_count": 1,
			"linked_record_type": "",
			"max_length": 1,
			"min_length": 1
		},
		"work_phase_actual - work / product_work:actual": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "w.work__position_num_id",
					"linked_record_type": "work",
					"linked_table": "work",
					"linking_field": "wpa.work__position_num_id",
					"linking_record_type": "",
					"linking_table": "work_phase_actual"
				},
				"length": 1,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "wpa.work__position_num_id",
						"linking_record_type": "",
						"linking_table": "work_phase_actual"
					}
				],
				"linking_table": "work_phase_actual"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wpa.production_lot",
						"linking_record_type": "",
						"linking_table": "work_phase_actual"
					},
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "wo.work__position_num_id",
						"linking_record_type": "",
						"linking_table": "work_order"
					}
				],
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "w.work__position_num_id",
						"linked_record_type": "work",
						"linked_table": "work",
						"linking_field": "wpa.work__position_num_id",
						"linking_record_type": "",
						"linking_table": "work_phase_actual"
					}
				]
			],
			"link_chain_count": 2,
			"linked_record_type": "work",
			"max_length": 2,
			"min_length": 1
		},
		"work_phase_actual - work_load_group / product_work:actual": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "wlg.work_load_group_id",
					"linked_record_type": "resource",
					"linked_table": "work_load_group",
					"linking_field": "wpa.work_load_group_id",
					"linking_record_type": "",
					"linking_table": "work_phase_actual"
				},
				"length": 1,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wlg.work_load_group_id",
						"linked_record_type": "resource",
						"linked_table": "work_load_group",
						"linking_field": "wpa.work_load_group_id",
						"linking_record_type": "",
						"linking_table": "work_phase_actual"
					}
				],
				"linking_table": "work_phase_actual"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wlg.work_load_group_id",
						"linked_record_type": "resource",
						"linked_table": "work_load_group",
						"linking_field": "wpa.work_load_group_id",
						"linking_record_type": "",
						"linking_table": "work_phase_actual"
					}
				]
			],
			"link_chain_count": 1,
			"linked_record_type": "resource",
			"max_length": 1,
			"min_length": 1
		},
		"work_phase_actual - work_order / product_work:actual": {
			"default": {
				"last_link": {
					"default_link": false,
					"link_type": "",
					"linked_field": "wo.production_lot",
					"linked_record_type": "",
					"linked_table": "work_order",
					"linking_field": "wpa.production_lot",
					"linking_record_type": "",
					"linking_table": "work_phase_actual"
				},
				"length": 1,
				"link_array": [
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wpa.production_lot",
						"linking_record_type": "",
						"linking_table": "work_phase_actual"
					}
				],
				"linking_table": "work_phase_actual"
			},
			"link": [
				[
					{
						"default_link": false,
						"link_type": "",
						"linked_field": "wo.production_lot",
						"linked_record_type": "",
						"linked_table": "work_order",
						"linking_field": "wpa.production_lot",
						"linking_record_type": "",
						"linking_table": "work_phase_actual"
					}
				]
			],
			"link_chain_count": 1,
			"linked_record_type": "",
			"max_length": 1,
			"min_length": 1
		}
	}
}
