{
	"name": "table/all_table_link_chain.json",
	"schema": {
		"": {
			"chain": {
				"bookkeeping_voucher": {
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "bkv.currency_id",
							"linking_record_type": "",
							"linking_table": "bookkeeping_voucher"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "bkv.currency_id",
								"linking_record_type": "",
								"linking_table": "bookkeeping_voucher"
							}
						],
						"linking_table": "bookkeeping_voucher"
					}
				},
				"bookkeeping_voucher_row": {
					"bookkeeping_account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bka.account_id",
							"linked_record_type": "voucher",
							"linked_table": "bookkeeping_account",
							"linking_field": "bkvr.debet_account_id",
							"linking_record_type": "voucher",
							"linking_table": "bookkeeping_voucher_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bka.account_id",
								"linked_record_type": "voucher",
								"linked_table": "bookkeeping_account",
								"linking_field": "bkvr.debet_account_id",
								"linking_record_type": "voucher",
								"linking_table": "bookkeeping_voucher_row"
							}
						],
						"linking_table": "bookkeeping_voucher_row"
					},
					"bookkeeping_voucher": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bkv.voucher_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_voucher",
							"linking_field": "bkvr.voucher_id",
							"linking_record_type": "",
							"linking_table": "bookkeeping_voucher_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bkv.voucher_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_voucher",
								"linking_field": "bkvr.voucher_id",
								"linking_record_type": "",
								"linking_table": "bookkeeping_voucher_row"
							}
						],
						"linking_table": "bookkeeping_voucher_row"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "ord.company_id",
							"linking_record_type": "sales",
							"linking_table": "order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ord.order_id",
								"linked_record_type": "",
								"linked_table": "order",
								"linking_field": "bkvr.invoice_id",
								"linking_record_type": "",
								"linking_table": "bookkeeping_voucher_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "ord.company_id",
								"linking_record_type": "sales",
								"linking_table": "order"
							}
						],
						"linking_table": "order"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "ord.currency_id",
							"linking_record_type": "",
							"linking_table": "order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ord.order_id",
								"linked_record_type": "",
								"linked_table": "order",
								"linking_field": "bkvr.invoice_id",
								"linking_record_type": "",
								"linking_table": "bookkeeping_voucher_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "ord.currency_id",
								"linking_record_type": "",
								"linking_table": "order"
							}
						],
						"linking_table": "order"
					},
					"order": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ord.order_id",
							"linked_record_type": "",
							"linked_table": "order",
							"linking_field": "bkvr.invoice_id",
							"linking_record_type": "",
							"linking_table": "bookkeeping_voucher_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ord.order_id",
								"linked_record_type": "",
								"linked_table": "order",
								"linking_field": "bkvr.invoice_id",
								"linking_record_type": "",
								"linking_table": "bookkeeping_voucher_row"
							}
						],
						"linking_table": "bookkeeping_voucher_row"
					},
					"order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ordc.order_code_id",
							"linked_record_type": "",
							"linked_table": "order_code",
							"linking_field": "co.order_code_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ord.order_id",
								"linked_record_type": "",
								"linked_table": "order",
								"linking_field": "bkvr.invoice_id",
								"linking_record_type": "",
								"linking_table": "bookkeeping_voucher_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "ord.company_id",
								"linking_record_type": "sales",
								"linking_table": "order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"person": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "per.person_id",
							"linked_record_type": "",
							"linked_table": "person",
							"linking_field": "ord.person_id",
							"linking_record_type": "",
							"linking_table": "order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ord.order_id",
								"linked_record_type": "",
								"linked_table": "order",
								"linking_field": "bkvr.invoice_id",
								"linking_record_type": "",
								"linking_table": "bookkeeping_voucher_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "per.person_id",
								"linked_record_type": "",
								"linked_table": "person",
								"linking_field": "ord.person_id",
								"linking_record_type": "",
								"linking_table": "order"
							}
						],
						"linking_table": "order"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "ord.terms_of_payment_id",
							"linking_record_type": "",
							"linking_table": "order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ord.order_id",
								"linked_record_type": "",
								"linked_table": "order",
								"linking_field": "bkvr.invoice_id",
								"linking_record_type": "",
								"linking_table": "bookkeeping_voucher_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "ord.terms_of_payment_id",
								"linking_record_type": "",
								"linking_table": "order"
							}
						],
						"linking_table": "order"
					}
				},
				"capacity": {
					"bookkeeping_account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bka.account_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_account",
							"linking_field": "ordc.account_id",
							"linking_record_type": "",
							"linking_table": "order_code"
						},
						"length": 4,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "res.resource_id",
								"linked_record_type": "",
								"linked_table": "resource",
								"linking_field": "cap.resource_id",
								"linking_record_type": "",
								"linking_table": "capacity"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "res.subcontractor_id",
								"linking_record_type": "",
								"linking_table": "resource"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bka.account_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_account",
								"linking_field": "ordc.account_id",
								"linking_record_type": "",
								"linking_table": "order_code"
							}
						],
						"linking_table": "order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "",
							"linked_table": "company",
							"linking_field": "res.subcontractor_id",
							"linking_record_type": "",
							"linking_table": "resource"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "res.resource_id",
								"linked_record_type": "",
								"linked_table": "resource",
								"linking_field": "cap.resource_id",
								"linking_record_type": "",
								"linking_table": "capacity"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "res.subcontractor_id",
								"linking_record_type": "",
								"linking_table": "resource"
							}
						],
						"linking_table": "resource"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "co.currency_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "res.resource_id",
								"linked_record_type": "",
								"linked_table": "resource",
								"linking_field": "cap.resource_id",
								"linking_record_type": "",
								"linking_table": "capacity"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "res.subcontractor_id",
								"linking_record_type": "",
								"linking_table": "resource"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "co.currency_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ordc.order_code_id",
							"linked_record_type": "",
							"linked_table": "order_code",
							"linking_field": "co.order_code_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "res.resource_id",
								"linked_record_type": "",
								"linked_table": "resource",
								"linking_field": "cap.resource_id",
								"linking_record_type": "",
								"linking_table": "capacity"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "res.subcontractor_id",
								"linking_record_type": "",
								"linking_table": "resource"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"person": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "per.person_id",
							"linked_record_type": "",
							"linked_table": "person",
							"linking_field": "cap.person_id",
							"linking_record_type": "",
							"linking_table": "capacity"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "per.person_id",
								"linked_record_type": "",
								"linked_table": "person",
								"linking_field": "cap.person_id",
								"linking_record_type": "",
								"linking_table": "capacity"
							}
						],
						"linking_table": "capacity"
					},
					"resource": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "res.resource_id",
							"linked_record_type": "",
							"linked_table": "resource",
							"linking_field": "cap.resource_id",
							"linking_record_type": "",
							"linking_table": "capacity"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "res.resource_id",
								"linked_record_type": "",
								"linked_table": "resource",
								"linking_field": "cap.resource_id",
								"linking_record_type": "",
								"linking_table": "capacity"
							}
						],
						"linking_table": "capacity"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "res.resource_id",
								"linked_record_type": "",
								"linked_table": "resource",
								"linking_field": "cap.resource_id",
								"linking_record_type": "",
								"linking_table": "capacity"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "res.subcontractor_id",
								"linking_record_type": "",
								"linking_table": "resource"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					}
				},
				"company": {
					"bookkeeping_account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bka.account_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_account",
							"linking_field": "ordc.account_id",
							"linking_record_type": "",
							"linking_table": "order_code"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bka.account_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_account",
								"linking_field": "ordc.account_id",
								"linking_record_type": "",
								"linking_table": "order_code"
							}
						],
						"linking_table": "order_code"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "co.currency_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "co.currency_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ordc.order_code_id",
							"linked_record_type": "",
							"linked_table": "order_code",
							"linking_field": "co.order_code_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					}
				},
				"company_address": {
					"bookkeeping_account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bka.account_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_account",
							"linking_field": "ordc.account_id",
							"linking_record_type": "",
							"linking_table": "order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "coad.company_id",
								"linking_record_type": "",
								"linking_table": "company_address"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bka.account_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_account",
								"linking_field": "ordc.account_id",
								"linking_record_type": "",
								"linking_table": "order_code"
							}
						],
						"linking_table": "order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "",
							"linked_table": "company",
							"linking_field": "coad.company_id",
							"linking_record_type": "",
							"linking_table": "company_address"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "coad.company_id",
								"linking_record_type": "",
								"linking_table": "company_address"
							}
						],
						"linking_table": "company_address"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "co.currency_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "coad.company_id",
								"linking_record_type": "",
								"linking_table": "company_address"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "co.currency_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ordc.order_code_id",
							"linked_record_type": "",
							"linked_table": "order_code",
							"linking_field": "co.order_code_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "coad.company_id",
								"linking_record_type": "",
								"linking_table": "company_address"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "coad.company_id",
								"linking_record_type": "",
								"linking_table": "company_address"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					}
				},
				"currency_rate": {
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "cura.main_currency_id",
							"linking_record_type": "",
							"linking_table": "currency_rate"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "cura.main_currency_id",
								"linking_record_type": "",
								"linking_table": "currency_rate"
							}
						],
						"linking_table": "currency_rate"
					}
				},
				"driving_log": {
					"travel_expense": {
						"last_link": {
							"default_link": true,
							"link_type": "delete with",
							"linked_field": "travelexp.travel_expense_id",
							"linked_record_type": "",
							"linked_table": "travel_expense",
							"linking_field": "drivlog.travel_expense_id",
							"linking_record_type": "",
							"linking_table": "driving_log"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "delete with",
								"linked_field": "travelexp.travel_expense_id",
								"linked_record_type": "",
								"linked_table": "travel_expense",
								"linking_field": "drivlog.travel_expense_id",
								"linking_record_type": "",
								"linking_table": "driving_log"
							}
						],
						"linking_table": "driving_log"
					}
				},
				"invoice_payment": {
					"bookkeeping_account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bka.account_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_account",
							"linking_field": "invp.account_id",
							"linking_record_type": "",
							"linking_table": "invoice_payment"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bka.account_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_account",
								"linking_field": "invp.account_id",
								"linking_record_type": "",
								"linking_table": "invoice_payment"
							}
						],
						"linking_table": "invoice_payment"
					},
					"bookkeeping_voucher": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bkv.voucher_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_voucher",
							"linking_field": "invp.voucher_id",
							"linking_record_type": "",
							"linking_table": "invoice_payment"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bkv.voucher_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_voucher",
								"linking_field": "invp.voucher_id",
								"linking_record_type": "",
								"linking_table": "invoice_payment"
							}
						],
						"linking_table": "invoice_payment"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "ord.company_id",
							"linking_record_type": "sales",
							"linking_table": "order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ord.order_id",
								"linked_record_type": "",
								"linked_table": "order",
								"linking_field": "invp.invoice_id",
								"linking_record_type": "",
								"linking_table": "invoice_payment"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "ord.company_id",
								"linking_record_type": "sales",
								"linking_table": "order"
							}
						],
						"linking_table": "order"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "invp.currency_id",
							"linking_record_type": "",
							"linking_table": "invoice_payment"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "invp.currency_id",
								"linking_record_type": "",
								"linking_table": "invoice_payment"
							}
						],
						"linking_table": "invoice_payment"
					},
					"order": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ord.order_id",
							"linked_record_type": "",
							"linked_table": "order",
							"linking_field": "invp.invoice_id",
							"linking_record_type": "",
							"linking_table": "invoice_payment"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ord.order_id",
								"linked_record_type": "",
								"linked_table": "order",
								"linking_field": "invp.invoice_id",
								"linking_record_type": "",
								"linking_table": "invoice_payment"
							}
						],
						"linking_table": "invoice_payment"
					},
					"order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ordc.order_code_id",
							"linked_record_type": "",
							"linked_table": "order_code",
							"linking_field": "co.order_code_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ord.order_id",
								"linked_record_type": "",
								"linked_table": "order",
								"linking_field": "invp.invoice_id",
								"linking_record_type": "",
								"linking_table": "invoice_payment"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "ord.company_id",
								"linking_record_type": "sales",
								"linking_table": "order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"person": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "per.person_id",
							"linked_record_type": "",
							"linked_table": "person",
							"linking_field": "ord.person_id",
							"linking_record_type": "",
							"linking_table": "order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ord.order_id",
								"linked_record_type": "",
								"linked_table": "order",
								"linking_field": "invp.invoice_id",
								"linking_record_type": "",
								"linking_table": "invoice_payment"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "per.person_id",
								"linked_record_type": "",
								"linked_table": "person",
								"linking_field": "ord.person_id",
								"linking_record_type": "",
								"linking_table": "order"
							}
						],
						"linking_table": "order"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "ord.terms_of_payment_id",
							"linking_record_type": "",
							"linking_table": "order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ord.order_id",
								"linked_record_type": "",
								"linked_table": "order",
								"linking_field": "invp.invoice_id",
								"linking_record_type": "",
								"linking_table": "invoice_payment"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "ord.terms_of_payment_id",
								"linking_record_type": "",
								"linking_table": "order"
							}
						],
						"linking_table": "order"
					}
				},
				"order": {
					"bookkeeping_account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bka.account_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_account",
							"linking_field": "ordc.account_id",
							"linking_record_type": "",
							"linking_table": "order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "ord.company_id",
								"linking_record_type": "sales",
								"linking_table": "order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bka.account_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_account",
								"linking_field": "ordc.account_id",
								"linking_record_type": "",
								"linking_table": "order_code"
							}
						],
						"linking_table": "order_code"
					},
					"bookkeeping_voucher": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bkv.voucher_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_voucher",
							"linking_field": "ord.voucher_id",
							"linking_record_type": "",
							"linking_table": "order"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bkv.voucher_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_voucher",
								"linking_field": "ord.voucher_id",
								"linking_record_type": "",
								"linking_table": "order"
							}
						],
						"linking_table": "order"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "ord.company_id",
							"linking_record_type": "sales",
							"linking_table": "order"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "ord.company_id",
								"linking_record_type": "sales",
								"linking_table": "order"
							}
						],
						"linking_table": "order"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "ord.currency_id",
							"linking_record_type": "",
							"linking_table": "order"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "ord.currency_id",
								"linking_record_type": "",
								"linking_table": "order"
							}
						],
						"linking_table": "order"
					},
					"order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ordc.order_code_id",
							"linked_record_type": "",
							"linked_table": "order_code",
							"linking_field": "co.order_code_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "ord.company_id",
								"linking_record_type": "sales",
								"linking_table": "order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"person": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "per.person_id",
							"linked_record_type": "",
							"linked_table": "person",
							"linking_field": "ord.person_id",
							"linking_record_type": "",
							"linking_table": "order"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "per.person_id",
								"linked_record_type": "",
								"linked_table": "person",
								"linking_field": "ord.person_id",
								"linking_record_type": "",
								"linking_table": "order"
							}
						],
						"linking_table": "order"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "ord.terms_of_payment_id",
							"linking_record_type": "",
							"linking_table": "order"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "ord.terms_of_payment_id",
								"linking_record_type": "",
								"linking_table": "order"
							}
						],
						"linking_table": "order"
					}
				},
				"order_code": {
					"bookkeeping_account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bka.account_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_account",
							"linking_field": "ordc.account_id",
							"linking_record_type": "",
							"linking_table": "order_code"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bka.account_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_account",
								"linking_field": "ordc.account_id",
								"linking_record_type": "",
								"linking_table": "order_code"
							}
						],
						"linking_table": "order_code"
					}
				},
				"order_row": {
					"bookkeeping_voucher": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bkv.voucher_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_voucher",
							"linking_field": "ord.voucher_id",
							"linking_record_type": "",
							"linking_table": "order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ord.order_id",
								"linked_record_type": "dispatch_note",
								"linked_table": "order",
								"linking_field": "ordr.dispatch_note_id",
								"linking_record_type": "dispatch_note",
								"linking_table": "order_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bkv.voucher_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_voucher",
								"linking_field": "ord.voucher_id",
								"linking_record_type": "",
								"linking_table": "order"
							}
						],
						"linking_table": "order"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "ord.currency_id",
							"linking_record_type": "",
							"linking_table": "order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ord.order_id",
								"linked_record_type": "dispatch_note",
								"linked_table": "order",
								"linking_field": "ordr.dispatch_note_id",
								"linking_record_type": "dispatch_note",
								"linking_table": "order_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "ord.currency_id",
								"linking_record_type": "",
								"linking_table": "order"
							}
						],
						"linking_table": "order"
					},
					"order": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ord.order_id",
							"linked_record_type": "dispatch_note",
							"linked_table": "order",
							"linking_field": "ordr.dispatch_note_id",
							"linking_record_type": "dispatch_note",
							"linking_table": "order_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ord.order_id",
								"linked_record_type": "dispatch_note",
								"linked_table": "order",
								"linking_field": "ordr.dispatch_note_id",
								"linking_record_type": "dispatch_note",
								"linking_table": "order_row"
							}
						],
						"linking_table": "order_row"
					},
					"person": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "per.person_id",
							"linked_record_type": "",
							"linked_table": "person",
							"linking_field": "ord.person_id",
							"linking_record_type": "",
							"linking_table": "order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ord.order_id",
								"linked_record_type": "dispatch_note",
								"linked_table": "order",
								"linking_field": "ordr.dispatch_note_id",
								"linking_record_type": "dispatch_note",
								"linking_table": "order_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "per.person_id",
								"linked_record_type": "",
								"linked_table": "person",
								"linking_field": "ord.person_id",
								"linking_record_type": "",
								"linking_table": "order"
							}
						],
						"linking_table": "order"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "",
							"linked_table": "product",
							"linking_field": "ordr.product_id",
							"linking_record_type": "",
							"linking_table": "order_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "",
								"linked_table": "product",
								"linking_field": "ordr.product_id",
								"linking_record_type": "",
								"linking_table": "order_row"
							}
						],
						"linking_table": "order_row"
					},
					"production_order": {
						"last_link": {
							"default_link": true,
							"link_type": "clear linking field",
							"linked_field": "pro.production_lot",
							"linked_record_type": "",
							"linked_table": "production_order",
							"linking_field": "ordr.production_lot",
							"linking_record_type": "",
							"linking_table": "order_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "clear linking field",
								"linked_field": "pro.production_lot",
								"linked_record_type": "",
								"linked_table": "production_order",
								"linking_field": "ordr.production_lot",
								"linking_record_type": "",
								"linking_table": "order_row"
							}
						],
						"linking_table": "order_row"
					},
					"stock": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "st.stock_id",
							"linked_record_type": "",
							"linked_table": "stock",
							"linking_field": "ordr.stock_event_id",
							"linking_record_type": "",
							"linking_table": "order_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "st.stock_id",
								"linked_record_type": "",
								"linked_table": "stock",
								"linking_field": "ordr.stock_event_id",
								"linking_record_type": "",
								"linking_table": "order_row"
							}
						],
						"linking_table": "order_row"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "ord.terms_of_payment_id",
							"linking_record_type": "",
							"linking_table": "order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ord.order_id",
								"linked_record_type": "dispatch_note",
								"linked_table": "order",
								"linking_field": "ordr.dispatch_note_id",
								"linking_record_type": "dispatch_note",
								"linking_table": "order_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "ord.terms_of_payment_id",
								"linking_record_type": "",
								"linking_table": "order"
							}
						],
						"linking_table": "order"
					}
				},
				"product": {
					"bookkeeping_account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bka.account_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_account",
							"linking_field": "ordc.account_id",
							"linking_record_type": "",
							"linking_table": "order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.default_customer_id",
								"linking_record_type": "",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bka.account_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_account",
								"linking_field": "ordc.account_id",
								"linking_record_type": "",
								"linking_table": "order_code"
							}
						],
						"linking_table": "order_code"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "co.currency_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.default_customer_id",
								"linking_record_type": "",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "co.currency_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.default_customer_id",
								"linking_record_type": "",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					}
				},
				"product_language": {
					"bookkeeping_account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bka.account_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_account",
							"linking_field": "ordc.account_id",
							"linking_record_type": "",
							"linking_table": "order_code"
						},
						"length": 4,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "",
								"linked_table": "product",
								"linking_field": "prla.product_id",
								"linking_record_type": "",
								"linking_table": "product_language"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.default_customer_id",
								"linking_record_type": "",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bka.account_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_account",
								"linking_field": "ordc.account_id",
								"linking_record_type": "",
								"linking_table": "order_code"
							}
						],
						"linking_table": "order_code"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "co.currency_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "",
								"linked_table": "product",
								"linking_field": "prla.product_id",
								"linking_record_type": "",
								"linking_table": "product_language"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.default_customer_id",
								"linking_record_type": "",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "co.currency_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "",
							"linked_table": "product",
							"linking_field": "prla.product_id",
							"linking_record_type": "",
							"linking_table": "product_language"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "",
								"linked_table": "product",
								"linking_field": "prla.product_id",
								"linking_record_type": "",
								"linking_table": "product_language"
							}
						],
						"linking_table": "product_language"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "",
								"linked_table": "product",
								"linking_field": "prla.product_id",
								"linking_record_type": "",
								"linking_table": "product_language"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.default_customer_id",
								"linking_record_type": "",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					}
				},
				"product_lot": {
					"bookkeeping_account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bka.account_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_account",
							"linking_field": "ordc.account_id",
							"linking_record_type": "",
							"linking_table": "order_code"
						},
						"length": 4,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "",
								"linked_table": "product",
								"linking_field": "prl.product_id",
								"linking_record_type": "",
								"linking_table": "product_lot"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.default_customer_id",
								"linking_record_type": "",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bka.account_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_account",
								"linking_field": "ordc.account_id",
								"linking_record_type": "",
								"linking_table": "order_code"
							}
						],
						"linking_table": "order_code"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "co.currency_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "",
								"linked_table": "product",
								"linking_field": "prl.product_id",
								"linking_record_type": "",
								"linking_table": "product_lot"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.default_customer_id",
								"linking_record_type": "",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "co.currency_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "",
							"linked_table": "product",
							"linking_field": "prl.product_id",
							"linking_record_type": "",
							"linking_table": "product_lot"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "",
								"linked_table": "product",
								"linking_field": "prl.product_id",
								"linking_record_type": "",
								"linking_table": "product_lot"
							}
						],
						"linking_table": "product_lot"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "",
								"linked_table": "product",
								"linking_field": "prl.product_id",
								"linking_record_type": "",
								"linking_table": "product_lot"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.default_customer_id",
								"linking_record_type": "",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					}
				},
				"product_material": {
					"bookkeeping_account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bka.account_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_account",
							"linking_field": "ordc.account_id",
							"linking_record_type": "",
							"linking_table": "order_code"
						},
						"length": 4,
						"link_array": [
							{
								"default_link": true,
								"info": "aga, check",
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "material",
								"linked_table": "product",
								"linking_field": "prma.material_id",
								"linking_record_type": "",
								"linking_table": "product_material"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.default_customer_id",
								"linking_record_type": "",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bka.account_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_account",
								"linking_field": "ordc.account_id",
								"linking_record_type": "",
								"linking_table": "order_code"
							}
						],
						"linking_table": "order_code"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "co.currency_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"info": "aga, check",
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "material",
								"linked_table": "product",
								"linking_field": "prma.material_id",
								"linking_record_type": "",
								"linking_table": "product_material"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.default_customer_id",
								"linking_record_type": "",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "co.currency_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"info": "aga, check",
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "material",
								"linked_table": "product",
								"linking_field": "prma.material_id",
								"linking_record_type": "",
								"linking_table": "product_material"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.default_customer_id",
								"linking_record_type": "",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					}
				},
				"product_price": {
					"bookkeeping_account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bka.account_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_account",
							"linking_field": "ordc.account_id",
							"linking_record_type": "",
							"linking_table": "order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "prpr.company_id",
								"linking_record_type": "",
								"linking_table": "product_price"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bka.account_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_account",
								"linking_field": "ordc.account_id",
								"linking_record_type": "",
								"linking_table": "order_code"
							}
						],
						"linking_table": "order_code"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "prpr.currency_id",
							"linking_record_type": "",
							"linking_table": "product_price"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "prpr.currency_id",
								"linking_record_type": "",
								"linking_table": "product_price"
							}
						],
						"linking_table": "product_price"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "",
							"linked_table": "product",
							"linking_field": "prpr.product_id",
							"linking_record_type": "",
							"linking_table": "product_price"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "",
								"linked_table": "product",
								"linking_field": "prpr.product_id",
								"linking_record_type": "",
								"linking_table": "product_price"
							}
						],
						"linking_table": "product_price"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "prpr.company_id",
								"linking_record_type": "",
								"linking_table": "product_price"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					}
				},
				"product_work": {
					"bookkeeping_account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bka.account_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_account",
							"linking_field": "ordc.account_id",
							"linking_record_type": "",
							"linking_table": "order_code"
						},
						"length": 4,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prwo.product_id",
								"linking_record_type": "product",
								"linking_table": "product_work"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.default_customer_id",
								"linking_record_type": "",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bka.account_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_account",
								"linking_field": "ordc.account_id",
								"linking_record_type": "",
								"linking_table": "order_code"
							}
						],
						"linking_table": "order_code"
					},
					"bookkeeping_voucher": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bkv.voucher_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_voucher",
							"linking_field": "ord.voucher_id",
							"linking_record_type": "",
							"linking_table": "order"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pro.production_lot",
								"linked_record_type": "",
								"linked_table": "production_order",
								"linking_field": "prwo.production_lot",
								"linking_record_type": "",
								"linking_table": "product_work"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ord.order_id",
								"linked_record_type": "",
								"linked_table": "order",
								"linking_field": "pro.sales_order_id",
								"linking_record_type": "",
								"linking_table": "production_order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bkv.voucher_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_voucher",
								"linking_field": "ord.voucher_id",
								"linking_record_type": "",
								"linking_table": "order"
							}
						],
						"linking_table": "order"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "co.currency_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prwo.product_id",
								"linking_record_type": "product",
								"linking_table": "product_work"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.default_customer_id",
								"linking_record_type": "",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "co.currency_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"order": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ord.order_id",
							"linked_record_type": "",
							"linked_table": "order",
							"linking_field": "pro.sales_order_id",
							"linking_record_type": "",
							"linking_table": "production_order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pro.production_lot",
								"linked_record_type": "",
								"linked_table": "production_order",
								"linking_field": "prwo.production_lot",
								"linking_record_type": "",
								"linking_table": "product_work"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ord.order_id",
								"linked_record_type": "",
								"linked_table": "order",
								"linking_field": "pro.sales_order_id",
								"linking_record_type": "",
								"linking_table": "production_order"
							}
						],
						"linking_table": "production_order"
					},
					"person": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "per.person_id",
							"linked_record_type": "",
							"linked_table": "person",
							"linking_field": "prwo.person_id",
							"linking_record_type": "",
							"linking_table": "product_work"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "per.person_id",
								"linked_record_type": "",
								"linked_table": "person",
								"linking_field": "prwo.person_id",
								"linking_record_type": "",
								"linking_table": "product_work"
							}
						],
						"linking_table": "product_work"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "product",
							"linked_table": "product",
							"linking_field": "prwo.product_id",
							"linking_record_type": "product",
							"linking_table": "product_work"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prwo.product_id",
								"linking_record_type": "product",
								"linking_table": "product_work"
							}
						],
						"linking_table": "product_work"
					},
					"production_order": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pro.production_lot",
							"linked_record_type": "",
							"linked_table": "production_order",
							"linking_field": "prwo.production_lot",
							"linking_record_type": "",
							"linking_table": "product_work"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pro.production_lot",
								"linked_record_type": "",
								"linked_table": "production_order",
								"linking_field": "prwo.production_lot",
								"linking_record_type": "",
								"linking_table": "product_work"
							}
						],
						"linking_table": "product_work"
					},
					"resource": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "res.resource_id",
							"linked_record_type": "",
							"linked_table": "resource",
							"linking_field": "prwo.resource_id",
							"linking_record_type": "",
							"linking_table": "product_work"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "res.resource_id",
								"linked_record_type": "",
								"linked_table": "resource",
								"linking_field": "prwo.resource_id",
								"linking_record_type": "",
								"linking_table": "product_work"
							}
						],
						"linking_table": "product_work"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prwo.product_id",
								"linking_record_type": "product",
								"linking_table": "product_work"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.default_customer_id",
								"linking_record_type": "",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					}
				},
				"production_order": {
					"bookkeeping_account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bka.account_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_account",
							"linking_field": "ordc.account_id",
							"linking_record_type": "",
							"linking_table": "order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "pro.company_id",
								"linking_record_type": "",
								"linking_table": "production_order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bka.account_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_account",
								"linking_field": "ordc.account_id",
								"linking_record_type": "",
								"linking_table": "order_code"
							}
						],
						"linking_table": "order_code"
					},
					"bookkeeping_voucher": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bkv.voucher_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_voucher",
							"linking_field": "ord.voucher_id",
							"linking_record_type": "",
							"linking_table": "order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ord.order_id",
								"linked_record_type": "",
								"linked_table": "order",
								"linking_field": "pro.sales_order_id",
								"linking_record_type": "",
								"linking_table": "production_order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bkv.voucher_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_voucher",
								"linking_field": "ord.voucher_id",
								"linking_record_type": "",
								"linking_table": "order"
							}
						],
						"linking_table": "order"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "co.currency_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "pro.company_id",
								"linking_record_type": "",
								"linking_table": "production_order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "co.currency_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"order": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ord.order_id",
							"linked_record_type": "",
							"linked_table": "order",
							"linking_field": "pro.sales_order_id",
							"linking_record_type": "",
							"linking_table": "production_order"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ord.order_id",
								"linked_record_type": "",
								"linked_table": "order",
								"linking_field": "pro.sales_order_id",
								"linking_record_type": "",
								"linking_table": "production_order"
							}
						],
						"linking_table": "production_order"
					},
					"person": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "per.person_id",
							"linked_record_type": "",
							"linked_table": "person",
							"linking_field": "ord.person_id",
							"linking_record_type": "",
							"linking_table": "order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ord.order_id",
								"linked_record_type": "",
								"linked_table": "order",
								"linking_field": "pro.sales_order_id",
								"linking_record_type": "",
								"linking_table": "production_order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "per.person_id",
								"linked_record_type": "",
								"linked_table": "person",
								"linking_field": "ord.person_id",
								"linking_record_type": "",
								"linking_table": "order"
							}
						],
						"linking_table": "order"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "",
							"linked_table": "product",
							"linking_field": "pro.product_id",
							"linking_record_type": "",
							"linking_table": "production_order"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "",
								"linked_table": "product",
								"linking_field": "pro.product_id",
								"linking_record_type": "",
								"linking_table": "production_order"
							}
						],
						"linking_table": "production_order"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "pro.company_id",
								"linking_record_type": "",
								"linking_table": "production_order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					}
				},
				"reclamation": {
					"bookkeeping_account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bka.account_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_account",
							"linking_field": "ordc.account_id",
							"linking_record_type": "",
							"linking_table": "order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "rcl.company_id",
								"linking_record_type": "",
								"linking_table": "reclamation"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bka.account_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_account",
								"linking_field": "ordc.account_id",
								"linking_record_type": "",
								"linking_table": "order_code"
							}
						],
						"linking_table": "order_code"
					},
					"bookkeeping_voucher": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bkv.voucher_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_voucher",
							"linking_field": "ord.voucher_id",
							"linking_record_type": "",
							"linking_table": "order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ord.order_id",
								"linked_record_type": "dispatch_note",
								"linked_table": "order",
								"linking_field": "rcl.dispatch_note_id",
								"linking_record_type": "",
								"linking_table": "reclamation"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bkv.voucher_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_voucher",
								"linking_field": "ord.voucher_id",
								"linking_record_type": "",
								"linking_table": "order"
							}
						],
						"linking_table": "order"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "rcl.currency_id",
							"linking_record_type": "",
							"linking_table": "reclamation"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "rcl.currency_id",
								"linking_record_type": "",
								"linking_table": "reclamation"
							}
						],
						"linking_table": "reclamation"
					},
					"person": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "per.person_id",
							"linked_record_type": "",
							"linked_table": "person",
							"linking_field": "rcl.person_id",
							"linking_record_type": "",
							"linking_table": "reclamation"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "per.person_id",
								"linked_record_type": "",
								"linked_table": "person",
								"linking_field": "rcl.person_id",
								"linking_record_type": "",
								"linking_table": "reclamation"
							}
						],
						"linking_table": "reclamation"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"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": "prevent delete",
								"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"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "rcl.company_id",
								"linking_record_type": "",
								"linking_table": "reclamation"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					}
				},
				"resource": {
					"bookkeeping_account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bka.account_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_account",
							"linking_field": "ordc.account_id",
							"linking_record_type": "",
							"linking_table": "order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "res.subcontractor_id",
								"linking_record_type": "",
								"linking_table": "resource"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bka.account_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_account",
								"linking_field": "ordc.account_id",
								"linking_record_type": "",
								"linking_table": "order_code"
							}
						],
						"linking_table": "order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "",
							"linked_table": "company",
							"linking_field": "res.subcontractor_id",
							"linking_record_type": "",
							"linking_table": "resource"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "res.subcontractor_id",
								"linking_record_type": "",
								"linking_table": "resource"
							}
						],
						"linking_table": "resource"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "co.currency_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "res.subcontractor_id",
								"linking_record_type": "",
								"linking_table": "resource"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "co.currency_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ordc.order_code_id",
							"linked_record_type": "",
							"linked_table": "order_code",
							"linking_field": "co.order_code_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "res.subcontractor_id",
								"linking_record_type": "",
								"linking_table": "resource"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"person": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "per.person_id",
							"linked_record_type": "",
							"linked_table": "person",
							"linking_field": "res.default_foreman_id",
							"linking_record_type": "",
							"linking_table": "resource"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "per.person_id",
								"linked_record_type": "",
								"linked_table": "person",
								"linking_field": "res.default_foreman_id",
								"linking_record_type": "",
								"linking_table": "resource"
							}
						],
						"linking_table": "resource"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "res.subcontractor_id",
								"linking_record_type": "",
								"linking_table": "resource"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					}
				},
				"resource_effeciency": {
					"bookkeeping_account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bka.account_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_account",
							"linking_field": "ordc.account_id",
							"linking_record_type": "",
							"linking_table": "order_code"
						},
						"length": 4,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "res.resource_id",
								"linked_record_type": "",
								"linked_table": "resource",
								"linking_field": "reff.resource_id",
								"linking_record_type": "",
								"linking_table": "resource_effeciency"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "res.subcontractor_id",
								"linking_record_type": "",
								"linking_table": "resource"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bka.account_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_account",
								"linking_field": "ordc.account_id",
								"linking_record_type": "",
								"linking_table": "order_code"
							}
						],
						"linking_table": "order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "",
							"linked_table": "company",
							"linking_field": "res.subcontractor_id",
							"linking_record_type": "",
							"linking_table": "resource"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "res.resource_id",
								"linked_record_type": "",
								"linked_table": "resource",
								"linking_field": "reff.resource_id",
								"linking_record_type": "",
								"linking_table": "resource_effeciency"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "res.subcontractor_id",
								"linking_record_type": "",
								"linking_table": "resource"
							}
						],
						"linking_table": "resource"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "co.currency_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "res.resource_id",
								"linked_record_type": "",
								"linked_table": "resource",
								"linking_field": "reff.resource_id",
								"linking_record_type": "",
								"linking_table": "resource_effeciency"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "res.subcontractor_id",
								"linking_record_type": "",
								"linking_table": "resource"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "co.currency_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ordc.order_code_id",
							"linked_record_type": "",
							"linked_table": "order_code",
							"linking_field": "co.order_code_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "res.resource_id",
								"linked_record_type": "",
								"linked_table": "resource",
								"linking_field": "reff.resource_id",
								"linking_record_type": "",
								"linking_table": "resource_effeciency"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "res.subcontractor_id",
								"linking_record_type": "",
								"linking_table": "resource"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"person": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "per.person_id",
							"linked_record_type": "",
							"linked_table": "person",
							"linking_field": "reff.person_id",
							"linking_record_type": "",
							"linking_table": "resource_effeciency"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "per.person_id",
								"linked_record_type": "",
								"linked_table": "person",
								"linking_field": "reff.person_id",
								"linking_record_type": "",
								"linking_table": "resource_effeciency"
							}
						],
						"linking_table": "resource_effeciency"
					},
					"resource": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "res.resource_id",
							"linked_record_type": "",
							"linked_table": "resource",
							"linking_field": "reff.resource_id",
							"linking_record_type": "",
							"linking_table": "resource_effeciency"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "res.resource_id",
								"linked_record_type": "",
								"linked_table": "resource",
								"linking_field": "reff.resource_id",
								"linking_record_type": "",
								"linking_table": "resource_effeciency"
							}
						],
						"linking_table": "resource_effeciency"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "res.resource_id",
								"linked_record_type": "",
								"linked_table": "resource",
								"linking_field": "reff.resource_id",
								"linking_record_type": "",
								"linking_table": "resource_effeciency"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "res.subcontractor_id",
								"linking_record_type": "",
								"linking_table": "resource"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					}
				},
				"special_price": {
					"bookkeeping_account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bka.account_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_account",
							"linking_field": "ordc.account_id",
							"linking_record_type": "",
							"linking_table": "order_code"
						},
						"length": 4,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "",
								"linked_table": "product",
								"linking_field": "spri.product_id",
								"linking_record_type": "",
								"linking_table": "special_price"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.default_customer_id",
								"linking_record_type": "",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bka.account_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_account",
								"linking_field": "ordc.account_id",
								"linking_record_type": "",
								"linking_table": "order_code"
							}
						],
						"linking_table": "order_code"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "co.currency_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "",
								"linked_table": "product",
								"linking_field": "spri.product_id",
								"linking_record_type": "",
								"linking_table": "special_price"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.default_customer_id",
								"linking_record_type": "",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "co.currency_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "",
							"linked_table": "product",
							"linking_field": "spri.product_id",
							"linking_record_type": "",
							"linking_table": "special_price"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "",
								"linked_table": "product",
								"linking_field": "spri.product_id",
								"linking_record_type": "",
								"linking_table": "special_price"
							}
						],
						"linking_table": "special_price"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "",
								"linked_table": "product",
								"linking_field": "spri.product_id",
								"linking_record_type": "",
								"linking_table": "special_price"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.default_customer_id",
								"linking_record_type": "",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					}
				},
				"stock": {
					"bookkeeping_account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bka.account_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_account",
							"linking_field": "ordc.account_id",
							"linking_record_type": "",
							"linking_table": "order_code"
						},
						"length": 4,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "",
								"linked_table": "product",
								"linking_field": "st.product_id",
								"linking_record_type": "",
								"linking_table": "stock"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.default_customer_id",
								"linking_record_type": "",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bka.account_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_account",
								"linking_field": "ordc.account_id",
								"linking_record_type": "",
								"linking_table": "order_code"
							}
						],
						"linking_table": "order_code"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "st.currency_id",
							"linking_record_type": "",
							"linking_table": "stock"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "st.currency_id",
								"linking_record_type": "",
								"linking_table": "stock"
							}
						],
						"linking_table": "stock"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "",
							"linked_table": "product",
							"linking_field": "st.product_id",
							"linking_record_type": "",
							"linking_table": "stock"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "",
								"linked_table": "product",
								"linking_field": "st.product_id",
								"linking_record_type": "",
								"linking_table": "stock"
							}
						],
						"linking_table": "stock"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "",
								"linked_table": "product",
								"linking_field": "st.product_id",
								"linking_record_type": "",
								"linking_table": "stock"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.default_customer_id",
								"linking_record_type": "",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					}
				},
				"task_work": {
					"person": {
						"last_link": {
							"default_link": true,
							"link_type": "delete with",
							"linked_field": "per.person_id",
							"linked_record_type": "",
							"linked_table": "person",
							"linking_field": "taskw.person_id",
							"linking_record_type": "",
							"linking_table": "task_work"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "delete with",
								"linked_field": "per.person_id",
								"linked_record_type": "",
								"linked_table": "person",
								"linking_field": "taskw.person_id",
								"linking_record_type": "",
								"linking_table": "task_work"
							}
						],
						"linking_table": "task_work"
					},
					"task": {
						"last_link": {
							"default_link": true,
							"link_type": "delete with",
							"linked_field": "task.record_id",
							"linked_record_type": "",
							"linked_table": "task",
							"linking_field": "taskw.task_id",
							"linking_record_type": "",
							"linking_table": "task_work"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "delete with",
								"linked_field": "task.record_id",
								"linked_record_type": "",
								"linked_table": "task",
								"linking_field": "taskw.task_id",
								"linking_record_type": "",
								"linking_table": "task_work"
							}
						],
						"linking_table": "task_work"
					}
				},
				"timecard": {
					"person": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "per.person_id",
							"linked_record_type": "",
							"linked_table": "person",
							"linking_field": "timec.employee_id",
							"linking_record_type": "",
							"linking_table": "timecard"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "per.person_id",
								"linked_record_type": "",
								"linked_table": "person",
								"linking_field": "timec.employee_id",
								"linking_record_type": "",
								"linking_table": "timecard"
							}
						],
						"linking_table": "timecard"
					}
				},
				"waybill": {
					"bookkeeping_account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "bka.account_id",
							"linked_record_type": "",
							"linked_table": "bookkeeping_account",
							"linking_field": "ordc.account_id",
							"linking_record_type": "",
							"linking_table": "order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "wbl.receiver_id",
								"linking_record_type": "",
								"linking_table": "waybill"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "bka.account_id",
								"linked_record_type": "",
								"linked_table": "bookkeeping_account",
								"linking_field": "ordc.account_id",
								"linking_record_type": "",
								"linking_table": "order_code"
							}
						],
						"linking_table": "order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "",
							"linked_table": "company",
							"linking_field": "wbl.receiver_id",
							"linking_record_type": "",
							"linking_table": "waybill"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "wbl.receiver_id",
								"linking_record_type": "",
								"linking_table": "waybill"
							}
						],
						"linking_table": "waybill"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "wbl.currency_id",
							"linking_record_type": "",
							"linking_table": "waybill"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "wbl.currency_id",
								"linking_record_type": "",
								"linking_table": "waybill"
							}
						],
						"linking_table": "waybill"
					},
					"order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ordc.order_code_id",
							"linked_record_type": "",
							"linked_table": "order_code",
							"linking_field": "co.order_code_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "wbl.receiver_id",
								"linking_record_type": "",
								"linking_table": "waybill"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ordc.order_code_id",
								"linked_record_type": "",
								"linked_table": "order_code",
								"linking_field": "co.order_code_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "",
								"linked_table": "company",
								"linking_field": "wbl.receiver_id",
								"linking_record_type": "",
								"linking_table": "waybill"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					}
				}
			},
			"link_count": 120
		},
		"4d": {
			"chain": {
				"accounts_payable": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "ap.purchase_debt_account_id",
							"linking_record_type": "accounts_payable",
							"linking_table": "accounts_payable"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "ap.purchase_debt_account_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable"
							}
						],
						"linking_table": "accounts_payable"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "ap.currency_id",
							"linking_record_type": "accounts_payable",
							"linking_table": "accounts_payable"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "ap.currency_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable"
							}
						],
						"linking_table": "accounts_payable"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "ap.receiver_id",
							"linking_record_type": "accounts_payable",
							"linking_table": "accounts_payable"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "ap.receiver_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable"
							}
						],
						"linking_table": "accounts_payable"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "ap.terms_of_payment_id",
							"linking_record_type": "accounts_payable",
							"linking_table": "accounts_payable"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "ap.terms_of_payment_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable"
							}
						],
						"linking_table": "accounts_payable"
					}
				},
				"accounts_payable_payment": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "appa.account_id",
							"linking_record_type": "accounts_payable",
							"linking_table": "accounts_payable_payment"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "appa.account_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable_payment"
							}
						],
						"linking_table": "accounts_payable_payment"
					},
					"accounts_payable": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ap.code_id",
							"linked_record_type": "accounts_payable",
							"linked_table": "accounts_payable",
							"linking_field": "appa.accounts_payable_id",
							"linking_record_type": "accounts_payable",
							"linking_table": "accounts_payable_payment"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ap.code_id",
								"linked_record_type": "accounts_payable",
								"linked_table": "accounts_payable",
								"linking_field": "appa.accounts_payable_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable_payment"
							}
						],
						"linking_table": "accounts_payable_payment"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "appa.currency_id",
							"linking_record_type": "accounts_payable",
							"linking_table": "accounts_payable_payment"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "appa.currency_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable_payment"
							}
						],
						"linking_table": "accounts_payable_payment"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "ap.receiver_id",
							"linking_record_type": "accounts_payable",
							"linking_table": "accounts_payable"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ap.code_id",
								"linked_record_type": "accounts_payable",
								"linked_table": "accounts_payable",
								"linking_field": "appa.accounts_payable_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable_payment"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "ap.receiver_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable"
							}
						],
						"linking_table": "accounts_payable"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "ap.terms_of_payment_id",
							"linking_record_type": "accounts_payable",
							"linking_table": "accounts_payable"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ap.code_id",
								"linked_record_type": "accounts_payable",
								"linked_table": "accounts_payable",
								"linking_field": "appa.accounts_payable_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable_payment"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "ap.terms_of_payment_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable"
							}
						],
						"linking_table": "accounts_payable"
					}
				},
				"accounts_payable_row": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "apr.account_id",
							"linking_record_type": "accounts_payable",
							"linking_table": "accounts_payable_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "apr.account_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable_row"
							}
						],
						"linking_table": "accounts_payable_row"
					},
					"accounts_payable": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ap.code_id",
							"linked_record_type": "accounts_payable",
							"linked_table": "accounts_payable",
							"linking_field": "apr.accounts_payable_id",
							"linking_record_type": "accounts_payable",
							"linking_table": "accounts_payable_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ap.code_id",
								"linked_record_type": "accounts_payable",
								"linked_table": "accounts_payable",
								"linking_field": "apr.accounts_payable_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable_row"
							}
						],
						"linking_table": "accounts_payable_row"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "pr.customer_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "apr.product_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.customer_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "ap.currency_id",
							"linking_record_type": "accounts_payable",
							"linking_table": "accounts_payable"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ap.code_id",
								"linked_record_type": "accounts_payable",
								"linked_table": "accounts_payable",
								"linking_field": "apr.accounts_payable_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "ap.currency_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable"
							}
						],
						"linking_table": "accounts_payable"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "product",
							"linked_table": "product",
							"linking_field": "apr.product_id",
							"linking_record_type": "accounts_payable",
							"linking_table": "accounts_payable_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "apr.product_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable_row"
							}
						],
						"linking_table": "accounts_payable_row"
					},
					"purchase_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "poc.purchase_order_code_id",
							"linked_record_type": "purchase",
							"linked_table": "purchase_order_code",
							"linking_field": "pr.purchase_order_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "apr.product_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"info": "aga, check",
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "pr.foreign_sales_ord_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "apr.product_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable_row"
							},
							{
								"default_link": true,
								"info": "aga, check",
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "pr.foreign_sales_ord_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "ap.receiver_id",
							"linking_record_type": "accounts_payable",
							"linking_table": "accounts_payable"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ap.code_id",
								"linked_record_type": "accounts_payable",
								"linked_table": "accounts_payable",
								"linking_field": "apr.accounts_payable_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "ap.receiver_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable"
							}
						],
						"linking_table": "accounts_payable"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "ap.terms_of_payment_id",
							"linking_record_type": "accounts_payable",
							"linking_table": "accounts_payable"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ap.code_id",
								"linked_record_type": "accounts_payable",
								"linked_table": "accounts_payable",
								"linking_field": "apr.accounts_payable_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "ap.terms_of_payment_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable"
							}
						],
						"linking_table": "accounts_payable"
					},
					"work": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "w.work__position_num_id",
							"linked_record_type": "work",
							"linked_table": "work",
							"linking_field": "pr.work__position_num_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "apr.product_id",
								"linking_record_type": "accounts_payable",
								"linking_table": "accounts_payable_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "w.work__position_num_id",
								"linked_record_type": "work",
								"linked_table": "work",
								"linking_field": "pr.work__position_num_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					}
				},
				"company": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "soc.ar_account_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order_code"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "soc.ar_account_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_code"
							}
						],
						"linking_table": "sales_order_code"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "co.currency_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "co.currency_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "co.sales_order_code_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					}
				},
				"company_address": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "soc.ar_account_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "coad.company_id",
								"linking_record_type": "customer",
								"linking_table": "company_address"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "soc.ar_account_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_code"
							}
						],
						"linking_table": "sales_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "coad.company_id",
							"linking_record_type": "customer",
							"linking_table": "company_address"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "coad.company_id",
								"linking_record_type": "customer",
								"linking_table": "company_address"
							}
						],
						"linking_table": "company_address"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "co.currency_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "coad.company_id",
								"linking_record_type": "customer",
								"linking_table": "company_address"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "co.currency_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "co.sales_order_code_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "coad.company_id",
								"linking_record_type": "customer",
								"linking_table": "company_address"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "coad.company_id",
								"linking_record_type": "customer",
								"linking_table": "company_address"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					}
				},
				"company_person": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "soc.ar_account_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "cope.company_id",
								"linking_record_type": "customer",
								"linking_table": "company_person"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "soc.ar_account_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_code"
							}
						],
						"linking_table": "sales_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "cope.company_id",
							"linking_record_type": "customer",
							"linking_table": "company_person"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "cope.company_id",
								"linking_record_type": "customer",
								"linking_table": "company_person"
							}
						],
						"linking_table": "company_person"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "co.currency_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "cope.company_id",
								"linking_record_type": "customer",
								"linking_table": "company_person"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "co.currency_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "co.sales_order_code_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "cope.company_id",
								"linking_record_type": "customer",
								"linking_table": "company_person"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "cope.company_id",
								"linking_record_type": "customer",
								"linking_table": "company_person"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					}
				},
				"dispatch_note": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "soc.ar_account_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "dn.company_id",
								"linking_record_type": "dispatch_note",
								"linking_table": "dispatch_note"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "soc.ar_account_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_code"
							}
						],
						"linking_table": "sales_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "dn.company_id",
							"linking_record_type": "dispatch_note",
							"linking_table": "dispatch_note"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "dn.company_id",
								"linking_record_type": "dispatch_note",
								"linking_table": "dispatch_note"
							}
						],
						"linking_table": "dispatch_note"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "co.currency_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "dn.company_id",
								"linking_record_type": "dispatch_note",
								"linking_table": "dispatch_note"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "co.currency_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "co.sales_order_code_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "dn.company_id",
								"linking_record_type": "dispatch_note",
								"linking_table": "dispatch_note"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "dn.company_id",
								"linking_record_type": "dispatch_note",
								"linking_table": "dispatch_note"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					}
				},
				"invoice": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "soc.ar_account_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "inv.company_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "soc.ar_account_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_code"
							}
						],
						"linking_table": "sales_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "inv.company_id",
							"linking_record_type": "invoice",
							"linking_table": "invoice"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "inv.company_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice"
							}
						],
						"linking_table": "invoice"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "inv.currency_id",
							"linking_record_type": "invoice",
							"linking_table": "invoice"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "inv.currency_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice"
							}
						],
						"linking_table": "invoice"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "co.sales_order_code_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "inv.company_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "inv.terms_of_payment_id",
							"linking_record_type": "invoice",
							"linking_table": "invoice"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "inv.terms_of_payment_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice"
							}
						],
						"linking_table": "invoice"
					}
				},
				"invoice_payment": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "inpa.account_id",
							"linking_record_type": "invoice",
							"linking_table": "invoice_payment"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "inpa.account_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice_payment"
							}
						],
						"linking_table": "invoice_payment"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "inv.company_id",
							"linking_record_type": "invoice",
							"linking_table": "invoice"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "inv.invoice_id",
								"linked_record_type": "invoice",
								"linked_table": "invoice",
								"linking_field": "inpa.invoice_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice_payment"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "inv.company_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice"
							}
						],
						"linking_table": "invoice"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "inpa.currency_id",
							"linking_record_type": "invoice",
							"linking_table": "invoice_payment"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "inpa.currency_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice_payment"
							}
						],
						"linking_table": "invoice_payment"
					},
					"invoice": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "inv.invoice_id",
							"linked_record_type": "invoice",
							"linked_table": "invoice",
							"linking_field": "inpa.invoice_id",
							"linking_record_type": "invoice",
							"linking_table": "invoice_payment"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "inv.invoice_id",
								"linked_record_type": "invoice",
								"linked_table": "invoice",
								"linking_field": "inpa.invoice_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice_payment"
							}
						],
						"linking_table": "invoice_payment"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "co.sales_order_code_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "inv.invoice_id",
								"linked_record_type": "invoice",
								"linked_table": "invoice",
								"linking_field": "inpa.invoice_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice_payment"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "inv.company_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "inv.terms_of_payment_id",
							"linking_record_type": "invoice",
							"linking_table": "invoice"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "inv.invoice_id",
								"linked_record_type": "invoice",
								"linked_table": "invoice",
								"linking_field": "inpa.invoice_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice_payment"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "inv.terms_of_payment_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice"
							}
						],
						"linking_table": "invoice"
					}
				},
				"invoice_row": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "poc.account_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "invr.product_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "poc.account_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_code"
							}
						],
						"linking_table": "purchase_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "inv.company_id",
							"linking_record_type": "invoice",
							"linking_table": "invoice"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "inv.invoice_id",
								"linked_record_type": "invoice",
								"linked_table": "invoice",
								"linking_field": "invr.invoice_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "inv.company_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice"
							}
						],
						"linking_table": "invoice"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "inv.currency_id",
							"linking_record_type": "invoice",
							"linking_table": "invoice"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "inv.invoice_id",
								"linked_record_type": "invoice",
								"linked_table": "invoice",
								"linking_field": "invr.invoice_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "inv.currency_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice"
							}
						],
						"linking_table": "invoice"
					},
					"employee": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "em.employee_id",
							"linked_record_type": "employee",
							"linked_table": "employee",
							"linking_field": "invr.employee_id",
							"linking_record_type": "invoice",
							"linking_table": "invoice_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "em.employee_id",
								"linked_record_type": "employee",
								"linked_table": "employee",
								"linking_field": "invr.employee_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice_row"
							}
						],
						"linking_table": "invoice_row"
					},
					"invoice": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "inv.invoice_id",
							"linked_record_type": "invoice",
							"linked_table": "invoice",
							"linking_field": "invr.invoice_id",
							"linking_record_type": "invoice",
							"linking_table": "invoice_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "inv.invoice_id",
								"linked_record_type": "invoice",
								"linked_table": "invoice",
								"linking_field": "invr.invoice_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice_row"
							}
						],
						"linking_table": "invoice_row"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "product",
							"linked_table": "product",
							"linking_field": "invr.product_id",
							"linking_record_type": "invoice",
							"linking_table": "invoice_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "invr.product_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice_row"
							}
						],
						"linking_table": "invoice_row"
					},
					"purchase_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "poc.purchase_order_code_id",
							"linked_record_type": "purchase",
							"linked_table": "purchase_order_code",
							"linking_field": "pr.purchase_order_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "invr.product_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "invr.sales_order_code_id",
							"linking_record_type": "invoice",
							"linking_table": "invoice_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "invr.sales_order_code_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice_row"
							}
						],
						"linking_table": "invoice_row"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "pr.supplier_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "invr.product_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "pr.supplier_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "inv.terms_of_payment_id",
							"linking_record_type": "invoice",
							"linking_table": "invoice"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "inv.invoice_id",
								"linked_record_type": "invoice",
								"linked_table": "invoice",
								"linking_field": "invr.invoice_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "inv.terms_of_payment_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice"
							}
						],
						"linking_table": "invoice"
					},
					"work": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "w.work__position_num_id",
							"linked_record_type": "work",
							"linked_table": "work",
							"linking_field": "pr.work__position_num_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "invr.product_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "w.work__position_num_id",
								"linked_record_type": "work",
								"linked_table": "work",
								"linking_field": "pr.work__position_num_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					}
				},
				"product": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "poc.account_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order_code"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "poc.account_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_code"
							}
						],
						"linking_table": "purchase_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "pr.customer_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.customer_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "pr.currency_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "pr.currency_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"purchase_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "poc.purchase_order_code_id",
							"linked_record_type": "purchase",
							"linked_table": "purchase_order_code",
							"linking_field": "pr.purchase_order_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"info": "aga, check",
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "pr.foreign_sales_ord_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"info": "aga, check",
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "pr.foreign_sales_ord_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "pr.supplier_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "pr.supplier_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.customer_id",
								"linking_record_type": "product",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"work": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "w.work__position_num_id",
							"linked_record_type": "work",
							"linked_table": "work",
							"linking_field": "pr.work__position_num_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "w.work__position_num_id",
								"linked_record_type": "work",
								"linked_table": "work",
								"linking_field": "pr.work__position_num_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					}
				},
				"product_name": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "poc.account_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prna.product_name_id",
								"linking_record_type": "",
								"linking_table": "product_name"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "poc.account_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_code"
							}
						],
						"linking_table": "purchase_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "pr.customer_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prna.product_name_id",
								"linking_record_type": "",
								"linking_table": "product_name"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.customer_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "pr.currency_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prna.product_name_id",
								"linking_record_type": "",
								"linking_table": "product_name"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "pr.currency_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "product",
							"linked_table": "product",
							"linking_field": "prna.product_name_id",
							"linking_record_type": "",
							"linking_table": "product_name"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prna.product_name_id",
								"linking_record_type": "",
								"linking_table": "product_name"
							}
						],
						"linking_table": "product_name"
					},
					"purchase_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "poc.purchase_order_code_id",
							"linked_record_type": "purchase",
							"linked_table": "purchase_order_code",
							"linking_field": "pr.purchase_order_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prna.product_name_id",
								"linking_record_type": "",
								"linking_table": "product_name"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"info": "aga, check",
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "pr.foreign_sales_ord_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prna.product_name_id",
								"linking_record_type": "",
								"linking_table": "product_name"
							},
							{
								"default_link": true,
								"info": "aga, check",
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "pr.foreign_sales_ord_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "pr.supplier_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prna.product_name_id",
								"linking_record_type": "",
								"linking_table": "product_name"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "pr.supplier_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "su.terms_of_payment_id",
							"linking_record_type": "supplier",
							"linking_table": "supplier"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prna.product_name_id",
								"linking_record_type": "",
								"linking_table": "product_name"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "pr.supplier_id",
								"linking_record_type": "product",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "su.terms_of_payment_id",
								"linking_record_type": "supplier",
								"linking_table": "supplier"
							}
						],
						"linking_table": "supplier"
					},
					"work": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "w.work__position_num_id",
							"linked_record_type": "work",
							"linked_table": "work",
							"linking_field": "pr.work__position_num_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prna.product_name_id",
								"linking_record_type": "",
								"linking_table": "product_name"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "w.work__position_num_id",
								"linked_record_type": "work",
								"linked_table": "work",
								"linking_field": "pr.work__position_num_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					}
				},
				"product_price": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "poc.account_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prpr.product_id",
								"linking_record_type": "sales",
								"linking_table": "product_price"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "poc.account_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_code"
							}
						],
						"linking_table": "purchase_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "pr.customer_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prpr.product_id",
								"linking_record_type": "sales",
								"linking_table": "product_price"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.customer_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "prpr.currency_id",
							"linking_record_type": "sales",
							"linking_table": "product_price"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "prpr.currency_id",
								"linking_record_type": "sales",
								"linking_table": "product_price"
							}
						],
						"linking_table": "product_price"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "product",
							"linked_table": "product",
							"linking_field": "prpr.product_id",
							"linking_record_type": "sales",
							"linking_table": "product_price"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prpr.product_id",
								"linking_record_type": "sales",
								"linking_table": "product_price"
							}
						],
						"linking_table": "product_price"
					},
					"purchase_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "poc.purchase_order_code_id",
							"linked_record_type": "purchase",
							"linked_table": "purchase_order_code",
							"linking_field": "pr.purchase_order_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prpr.product_id",
								"linking_record_type": "sales",
								"linking_table": "product_price"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"info": "aga, check",
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "pr.foreign_sales_ord_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prpr.product_id",
								"linking_record_type": "sales",
								"linking_table": "product_price"
							},
							{
								"default_link": true,
								"info": "aga, check",
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "pr.foreign_sales_ord_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "pr.supplier_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prpr.product_id",
								"linking_record_type": "sales",
								"linking_table": "product_price"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "pr.supplier_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "su.terms_of_payment_id",
							"linking_record_type": "supplier",
							"linking_table": "supplier"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prpr.product_id",
								"linking_record_type": "sales",
								"linking_table": "product_price"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "pr.supplier_id",
								"linking_record_type": "product",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "su.terms_of_payment_id",
								"linking_record_type": "supplier",
								"linking_table": "supplier"
							}
						],
						"linking_table": "supplier"
					},
					"work": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "w.work__position_num_id",
							"linked_record_type": "work",
							"linked_table": "work",
							"linking_field": "pr.work__position_num_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prpr.product_id",
								"linking_record_type": "sales",
								"linking_table": "product_price"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "w.work__position_num_id",
								"linked_record_type": "work",
								"linked_table": "work",
								"linking_field": "pr.work__position_num_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					}
				},
				"product_supplier": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "poc.account_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prsu.product_id",
								"linking_record_type": "purchase",
								"linking_table": "product_supplier"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "poc.account_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_code"
							}
						],
						"linking_table": "purchase_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "pr.customer_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prsu.product_id",
								"linking_record_type": "purchase",
								"linking_table": "product_supplier"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.customer_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "prsu.currency_id",
							"linking_record_type": "purchase",
							"linking_table": "product_supplier"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "prsu.currency_id",
								"linking_record_type": "purchase",
								"linking_table": "product_supplier"
							}
						],
						"linking_table": "product_supplier"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "product",
							"linked_table": "product",
							"linking_field": "prsu.product_id",
							"linking_record_type": "purchase",
							"linking_table": "product_supplier"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prsu.product_id",
								"linking_record_type": "purchase",
								"linking_table": "product_supplier"
							}
						],
						"linking_table": "product_supplier"
					},
					"purchase_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "poc.purchase_order_code_id",
							"linked_record_type": "purchase",
							"linked_table": "purchase_order_code",
							"linking_field": "pr.purchase_order_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prsu.product_id",
								"linking_record_type": "purchase",
								"linking_table": "product_supplier"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"info": "aga, check",
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "pr.foreign_sales_ord_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prsu.product_id",
								"linking_record_type": "purchase",
								"linking_table": "product_supplier"
							},
							{
								"default_link": true,
								"info": "aga, check",
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "pr.foreign_sales_ord_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "prsu.supplier_id",
							"linking_record_type": "purchase",
							"linking_table": "product_supplier"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "prsu.supplier_id",
								"linking_record_type": "purchase",
								"linking_table": "product_supplier"
							}
						],
						"linking_table": "product_supplier"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "su.terms_of_payment_id",
							"linking_record_type": "supplier",
							"linking_table": "supplier"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prsu.product_id",
								"linking_record_type": "purchase",
								"linking_table": "product_supplier"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "pr.supplier_id",
								"linking_record_type": "product",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "su.terms_of_payment_id",
								"linking_record_type": "supplier",
								"linking_table": "supplier"
							}
						],
						"linking_table": "supplier"
					},
					"work": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "w.work__position_num_id",
							"linked_record_type": "work",
							"linked_table": "work",
							"linking_field": "pr.work__position_num_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "prsu.product_id",
								"linking_record_type": "purchase",
								"linking_table": "product_supplier"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "w.work__position_num_id",
								"linked_record_type": "work",
								"linked_table": "work",
								"linking_field": "pr.work__position_num_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					}
				},
				"project": {
					"employee": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "em.employee_id",
							"linked_record_type": "employee",
							"linked_table": "employee",
							"linking_field": "prj.employee_id",
							"linking_record_type": "project",
							"linking_table": "project"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "em.employee_id",
								"linked_record_type": "employee",
								"linked_table": "employee",
								"linking_field": "prj.employee_id",
								"linking_record_type": "project",
								"linking_table": "project"
							}
						],
						"linking_table": "project"
					}
				},
				"purchase_order": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "soc.ar_account_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "po.company_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "soc.ar_account_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_code"
							}
						],
						"linking_table": "sales_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "po.company_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "po.company_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order"
							}
						],
						"linking_table": "purchase_order"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "po.currency_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "po.currency_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order"
							}
						],
						"linking_table": "purchase_order"
					},
					"employee": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "em.employee_id",
							"linked_record_type": "employee",
							"linked_table": "employee",
							"linking_field": "po.orderer_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "em.employee_id",
								"linked_record_type": "employee",
								"linked_table": "employee",
								"linking_field": "po.orderer_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order"
							}
						],
						"linking_table": "purchase_order"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "co.sales_order_code_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "po.company_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "po.receiver_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "po.receiver_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order"
							}
						],
						"linking_table": "purchase_order"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "po.terms_of_payment_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "po.terms_of_payment_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order"
							}
						],
						"linking_table": "purchase_order"
					}
				},
				"purchase_order_code": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "poc.account_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order_code"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "poc.account_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_code"
							}
						],
						"linking_table": "purchase_order_code"
					}
				},
				"purchase_order_row": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "soc.ar_account_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "por.company_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "soc.ar_account_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_code"
							}
						],
						"linking_table": "sales_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "por.company_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "por.company_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_row"
							}
						],
						"linking_table": "purchase_order_row"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "po.currency_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "po.purchase_order_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order",
								"linking_field": "por.purchase_order_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "po.currency_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order"
							}
						],
						"linking_table": "purchase_order"
					},
					"employee": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "em.employee_id",
							"linked_record_type": "employee",
							"linked_table": "employee",
							"linking_field": "po.orderer_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "po.purchase_order_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order",
								"linking_field": "por.purchase_order_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "em.employee_id",
								"linked_record_type": "employee",
								"linked_table": "employee",
								"linking_field": "po.orderer_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order"
							}
						],
						"linking_table": "purchase_order"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "product",
							"linked_table": "product",
							"linking_field": "por.product_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "por.product_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_row"
							}
						],
						"linking_table": "purchase_order_row"
					},
					"purchase_order": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "po.purchase_order_id",
							"linked_record_type": "purchase",
							"linked_table": "purchase_order",
							"linking_field": "por.purchase_order_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "po.purchase_order_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order",
								"linking_field": "por.purchase_order_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_row"
							}
						],
						"linking_table": "purchase_order_row"
					},
					"purchase_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "poc.purchase_order_code_id",
							"linked_record_type": "purchase",
							"linked_table": "purchase_order_code",
							"linking_field": "por.purchase_order_code_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "por.purchase_order_code_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_row"
							}
						],
						"linking_table": "purchase_order_row"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "co.sales_order_code_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "por.company_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "po.receiver_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "po.purchase_order_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order",
								"linking_field": "por.purchase_order_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "po.receiver_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order"
							}
						],
						"linking_table": "purchase_order"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "po.terms_of_payment_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "po.purchase_order_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order",
								"linking_field": "por.purchase_order_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "po.terms_of_payment_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order"
							}
						],
						"linking_table": "purchase_order"
					},
					"work": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "w.work__position_num_id",
							"linked_record_type": "work",
							"linked_table": "work",
							"linking_field": "pr.work__position_num_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "por.product_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "w.work__position_num_id",
								"linked_record_type": "work",
								"linked_table": "work",
								"linking_field": "pr.work__position_num_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"work_order": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "wo.production_lot",
							"linked_record_type": "",
							"linked_table": "work_order",
							"linking_field": "por.production_lot",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wo.production_lot",
								"linked_record_type": "",
								"linked_table": "work_order",
								"linking_field": "por.production_lot",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_row"
							}
						],
						"linking_table": "purchase_order_row"
					}
				},
				"reclamation": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "soc.ar_account_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "rcl.customer_id",
								"linking_record_type": "",
								"linking_table": "reclamation"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "soc.ar_account_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_code"
							}
						],
						"linking_table": "sales_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "rcl.customer_id",
							"linking_record_type": "",
							"linking_table": "reclamation"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "rcl.customer_id",
								"linking_record_type": "",
								"linking_table": "reclamation"
							}
						],
						"linking_table": "reclamation"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "co.currency_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "rcl.customer_id",
								"linking_record_type": "",
								"linking_table": "reclamation"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "co.currency_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"employee": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "em.employee_id",
							"linked_record_type": "employee",
							"linked_table": "employee",
							"linking_field": "rcl.handler_id",
							"linking_record_type": "",
							"linking_table": "reclamation"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "em.employee_id",
								"linked_record_type": "employee",
								"linked_table": "employee",
								"linking_field": "rcl.handler_id",
								"linking_record_type": "",
								"linking_table": "reclamation"
							}
						],
						"linking_table": "reclamation"
					},
					"purchase_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "poc.purchase_order_code_id",
							"linked_record_type": "purchase",
							"linked_table": "purchase_order_code",
							"linking_field": "pr.purchase_order_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "rcl.product_id",
								"linking_record_type": "",
								"linking_table": "reclamation"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "co.sales_order_code_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "rcl.customer_id",
								"linking_record_type": "",
								"linking_table": "reclamation"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "rcl.supplier_id",
							"linking_record_type": "",
							"linking_table": "reclamation"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "rcl.supplier_id",
								"linking_record_type": "",
								"linking_table": "reclamation"
							}
						],
						"linking_table": "reclamation"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "rcl.customer_id",
								"linking_record_type": "",
								"linking_table": "reclamation"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"work": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "w.work__position_num_id",
							"linked_record_type": "work",
							"linked_table": "work",
							"linking_field": "pr.work__position_num_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "rcl.product_id",
								"linking_record_type": "",
								"linking_table": "reclamation"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "w.work__position_num_id",
								"linked_record_type": "work",
								"linked_table": "work",
								"linking_field": "pr.work__position_num_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"work_order": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "wo.production_lot",
							"linked_record_type": "",
							"linked_table": "work_order",
							"linking_field": "rcl.production_lot",
							"linking_record_type": "",
							"linking_table": "reclamation"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wo.production_lot",
								"linked_record_type": "",
								"linked_table": "work_order",
								"linking_field": "rcl.production_lot",
								"linking_record_type": "",
								"linking_table": "reclamation"
							}
						],
						"linking_table": "reclamation"
					}
				},
				"sales_order": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "soc.ar_account_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "so.company_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "soc.ar_account_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_code"
							}
						],
						"linking_table": "sales_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "so.company_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "so.company_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order"
							}
						],
						"linking_table": "sales_order"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "so.currency_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "so.currency_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order"
							}
						],
						"linking_table": "sales_order"
					},
					"employee": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "em.employee_id",
							"linked_record_type": "employee",
							"linked_table": "employee",
							"linking_field": "so.employee_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "em.employee_id",
								"linked_record_type": "employee",
								"linked_table": "employee",
								"linking_field": "so.employee_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order"
							}
						],
						"linking_table": "sales_order"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "co.sales_order_code_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "so.company_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "so.supplier_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "so.supplier_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order"
							}
						],
						"linking_table": "sales_order"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "so.terms_of_payment_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "so.terms_of_payment_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order"
							}
						],
						"linking_table": "sales_order"
					}
				},
				"sales_order_code": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "soc.ar_account_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order_code"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "soc.ar_account_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_code"
							}
						],
						"linking_table": "sales_order_code"
					}
				},
				"sales_order_code_account": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "soca.account_id",
							"linking_record_type": "sales_account",
							"linking_table": "sales_order_code_account"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "soca.account_id",
								"linking_record_type": "sales_account",
								"linking_table": "sales_order_code_account"
							}
						],
						"linking_table": "sales_order_code_account"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "soca.sales_order_code_id",
							"linking_record_type": "sales_account",
							"linking_table": "sales_order_code_account"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "soca.sales_order_code_id",
								"linking_record_type": "sales_account",
								"linking_table": "sales_order_code_account"
							}
						],
						"linking_table": "sales_order_code_account"
					}
				},
				"sales_order_row": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "poc.account_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "sor.product_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "poc.account_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_code"
							}
						],
						"linking_table": "purchase_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "so.company_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "so.sales_order_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order",
								"linking_field": "sor.sales_order_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "so.company_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order"
							}
						],
						"linking_table": "sales_order"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "so.currency_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "so.sales_order_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order",
								"linking_field": "sor.sales_order_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "so.currency_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order"
							}
						],
						"linking_table": "sales_order"
					},
					"dispatch_note": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "dn.dispatch_note_id",
							"linked_record_type": "dispatch_note",
							"linked_table": "dispatch_note",
							"linking_field": "sor.dispatch_note_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "dn.dispatch_note_id",
								"linked_record_type": "dispatch_note",
								"linked_table": "dispatch_note",
								"linking_field": "sor.dispatch_note_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_row"
							}
						],
						"linking_table": "sales_order_row"
					},
					"employee": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "em.employee_id",
							"linked_record_type": "employee",
							"linked_table": "employee",
							"linking_field": "so.employee_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "so.sales_order_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order",
								"linking_field": "sor.sales_order_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "em.employee_id",
								"linked_record_type": "employee",
								"linked_table": "employee",
								"linking_field": "so.employee_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order"
							}
						],
						"linking_table": "sales_order"
					},
					"invoice": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "inv.invoice_id",
							"linked_record_type": "invoice",
							"linked_table": "invoice",
							"linking_field": "sor.invoice_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "inv.invoice_id",
								"linked_record_type": "invoice",
								"linked_table": "invoice",
								"linking_field": "sor.invoice_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_row"
							}
						],
						"linking_table": "sales_order_row"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "product",
							"linked_table": "product",
							"linking_field": "sor.product_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "sor.product_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_row"
							}
						],
						"linking_table": "sales_order_row"
					},
					"purchase_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "poc.purchase_order_code_id",
							"linked_record_type": "purchase",
							"linked_table": "purchase_order_code",
							"linking_field": "pr.purchase_order_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "sor.product_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"sales_order": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "so.sales_order_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order",
							"linking_field": "sor.sales_order_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "so.sales_order_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order",
								"linking_field": "sor.sales_order_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_row"
							}
						],
						"linking_table": "sales_order_row"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "sor.sales_order_code_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "sor.sales_order_code_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_row"
							}
						],
						"linking_table": "sales_order_row"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "so.supplier_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "so.sales_order_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order",
								"linking_field": "sor.sales_order_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "so.supplier_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order"
							}
						],
						"linking_table": "sales_order"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "so.terms_of_payment_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "so.sales_order_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order",
								"linking_field": "sor.sales_order_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "so.terms_of_payment_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order"
							}
						],
						"linking_table": "sales_order"
					},
					"work": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "w.work__position_num_id",
							"linked_record_type": "work",
							"linked_table": "work",
							"linking_field": "pr.work__position_num_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "sor.product_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "w.work__position_num_id",
								"linked_record_type": "work",
								"linked_table": "work",
								"linking_field": "pr.work__position_num_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"work_order": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "wo.production_lot",
							"linked_record_type": "",
							"linked_table": "work_order",
							"linking_field": "sor.production_lot",
							"linking_record_type": "sales",
							"linking_table": "sales_order_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wo.production_lot",
								"linked_record_type": "",
								"linked_table": "work_order",
								"linking_field": "sor.production_lot",
								"linking_record_type": "sales",
								"linking_table": "sales_order_row"
							}
						],
						"linking_table": "sales_order_row"
					}
				},
				"stock_event": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "soc.ar_account_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "st.company_id",
								"linking_record_type": "",
								"linking_table": "stock_event"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "soc.ar_account_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_code"
							}
						],
						"linking_table": "sales_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "st.company_id",
							"linking_record_type": "",
							"linking_table": "stock_event"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "st.company_id",
								"linking_record_type": "",
								"linking_table": "stock_event"
							}
						],
						"linking_table": "stock_event"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "st.currency_id",
							"linking_record_type": "",
							"linking_table": "stock_event"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "st.currency_id",
								"linking_record_type": "",
								"linking_table": "stock_event"
							}
						],
						"linking_table": "stock_event"
					},
					"employee": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "em.employee_id",
							"linked_record_type": "employee",
							"linked_table": "employee",
							"linking_field": "st.event_maker_id",
							"linking_record_type": "",
							"linking_table": "stock_event"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "em.employee_id",
								"linked_record_type": "employee",
								"linked_table": "employee",
								"linking_field": "st.event_maker_id",
								"linking_record_type": "",
								"linking_table": "stock_event"
							}
						],
						"linking_table": "stock_event"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "product",
							"linked_table": "product",
							"linking_field": "st.product_id",
							"linking_record_type": "",
							"linking_table": "stock_event"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "st.product_id",
								"linking_record_type": "",
								"linking_table": "stock_event"
							}
						],
						"linking_table": "stock_event"
					},
					"purchase_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "poc.purchase_order_code_id",
							"linked_record_type": "purchase",
							"linked_table": "purchase_order_code",
							"linking_field": "pr.purchase_order_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "st.product_id",
								"linking_record_type": "",
								"linking_table": "stock_event"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "co.sales_order_code_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "st.company_id",
								"linking_record_type": "",
								"linking_table": "stock_event"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "st.supplier_id",
							"linking_record_type": "",
							"linking_table": "stock_event"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "st.supplier_id",
								"linking_record_type": "",
								"linking_table": "stock_event"
							}
						],
						"linking_table": "stock_event"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "st.company_id",
								"linking_record_type": "",
								"linking_table": "stock_event"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"work": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "w.work__position_num_id",
							"linked_record_type": "work",
							"linked_table": "work",
							"linking_field": "pr.work__position_num_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "st.product_id",
								"linking_record_type": "",
								"linking_table": "stock_event"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "w.work__position_num_id",
								"linked_record_type": "work",
								"linked_table": "work",
								"linking_field": "pr.work__position_num_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					}
				},
				"stock_parcel": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "poc.account_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "stpa.product_id",
								"linking_record_type": "product",
								"linking_table": "stock_parcel"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "poc.account_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_code"
							}
						],
						"linking_table": "purchase_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "pr.customer_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "stpa.product_id",
								"linking_record_type": "product",
								"linking_table": "stock_parcel"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.customer_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "pr.currency_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "stpa.product_id",
								"linking_record_type": "product",
								"linking_table": "stock_parcel"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "pr.currency_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "product",
							"linked_table": "product",
							"linking_field": "stpa.product_id",
							"linking_record_type": "product",
							"linking_table": "stock_parcel"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "stpa.product_id",
								"linking_record_type": "product",
								"linking_table": "stock_parcel"
							}
						],
						"linking_table": "stock_parcel"
					},
					"purchase_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "poc.purchase_order_code_id",
							"linked_record_type": "purchase",
							"linked_table": "purchase_order_code",
							"linking_field": "pr.purchase_order_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "stpa.product_id",
								"linking_record_type": "product",
								"linking_table": "stock_parcel"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"info": "aga, check",
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "pr.foreign_sales_ord_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "stpa.product_id",
								"linking_record_type": "product",
								"linking_table": "stock_parcel"
							},
							{
								"default_link": true,
								"info": "aga, check",
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "pr.foreign_sales_ord_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "stpa.supplier_id",
							"linking_record_type": "product",
							"linking_table": "stock_parcel"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "stpa.supplier_id",
								"linking_record_type": "product",
								"linking_table": "stock_parcel"
							}
						],
						"linking_table": "stock_parcel"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "stpa.product_id",
								"linking_record_type": "product",
								"linking_table": "stock_parcel"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.customer_id",
								"linking_record_type": "product",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"work": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "w.work__position_num_id",
							"linked_record_type": "work",
							"linked_table": "work",
							"linking_field": "pr.work__position_num_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "stpa.product_id",
								"linking_record_type": "product",
								"linking_table": "stock_parcel"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "w.work__position_num_id",
								"linked_record_type": "work",
								"linked_table": "work",
								"linking_field": "pr.work__position_num_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					}
				},
				"supplier": {
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "su.currency_id",
							"linking_record_type": "supplier",
							"linking_table": "supplier"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "su.currency_id",
								"linking_record_type": "supplier",
								"linking_table": "supplier"
							}
						],
						"linking_table": "supplier"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "su.terms_of_payment_id",
							"linking_record_type": "supplier",
							"linking_table": "supplier"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "su.terms_of_payment_id",
								"linking_record_type": "supplier",
								"linking_table": "supplier"
							}
						],
						"linking_table": "supplier"
					}
				},
				"supplier_address": {
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "su.currency_id",
							"linking_record_type": "supplier",
							"linking_table": "supplier"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "suad.supplier_id",
								"linking_record_type": "supplier",
								"linking_table": "supplier_address"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "su.currency_id",
								"linking_record_type": "supplier",
								"linking_table": "supplier"
							}
						],
						"linking_table": "supplier"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "suad.supplier_id",
							"linking_record_type": "supplier",
							"linking_table": "supplier_address"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "suad.supplier_id",
								"linking_record_type": "supplier",
								"linking_table": "supplier_address"
							}
						],
						"linking_table": "supplier_address"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "su.terms_of_payment_id",
							"linking_record_type": "supplier",
							"linking_table": "supplier"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "suad.supplier_id",
								"linking_record_type": "supplier",
								"linking_table": "supplier_address"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "su.terms_of_payment_id",
								"linking_record_type": "supplier",
								"linking_table": "supplier"
							}
						],
						"linking_table": "supplier"
					}
				},
				"supplier_person": {
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "su.currency_id",
							"linking_record_type": "supplier",
							"linking_table": "supplier"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "supe.supplier_id",
								"linking_record_type": "supplier",
								"linking_table": "supplier_person"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "su.currency_id",
								"linking_record_type": "supplier",
								"linking_table": "supplier"
							}
						],
						"linking_table": "supplier"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "supe.supplier_id",
							"linking_record_type": "supplier",
							"linking_table": "supplier_person"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "supe.supplier_id",
								"linking_record_type": "supplier",
								"linking_table": "supplier_person"
							}
						],
						"linking_table": "supplier_person"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "su.terms_of_payment_id",
							"linking_record_type": "supplier",
							"linking_table": "supplier"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "supe.supplier_id",
								"linking_record_type": "supplier",
								"linking_table": "supplier_person"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "su.terms_of_payment_id",
								"linking_record_type": "supplier",
								"linking_table": "supplier"
							}
						],
						"linking_table": "supplier"
					}
				},
				"to_do": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "soc.ar_account_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "todo.company_id",
								"linking_record_type": "",
								"linking_table": "to_do"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "soc.ar_account_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_code"
							}
						],
						"linking_table": "sales_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "todo.company_id",
							"linking_record_type": "",
							"linking_table": "to_do"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "todo.company_id",
								"linking_record_type": "",
								"linking_table": "to_do"
							}
						],
						"linking_table": "to_do"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "co.currency_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "todo.company_id",
								"linking_record_type": "",
								"linking_table": "to_do"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "co.currency_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"employee": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "em.employee_id",
							"linked_record_type": "employee",
							"linked_table": "employee",
							"linking_field": "todo.employee_id",
							"linking_record_type": "",
							"linking_table": "to_do"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "em.employee_id",
								"linked_record_type": "employee",
								"linked_table": "employee",
								"linking_field": "todo.employee_id",
								"linking_record_type": "",
								"linking_table": "to_do"
							}
						],
						"linking_table": "to_do"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "co.sales_order_code_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "todo.company_id",
								"linking_record_type": "",
								"linking_table": "to_do"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "todo.company_id",
								"linking_record_type": "",
								"linking_table": "to_do"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					}
				},
				"voucher": {
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "vo.currency_id",
							"linking_record_type": "voucher",
							"linking_table": "voucher"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "vo.currency_id",
								"linking_record_type": "voucher",
								"linking_table": "voucher"
							}
						],
						"linking_table": "voucher"
					}
				},
				"voucher_row": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "vor.account_id",
							"linking_record_type": "voucher",
							"linking_table": "voucher_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "vor.account_id",
								"linking_record_type": "voucher",
								"linking_table": "voucher_row"
							}
						],
						"linking_table": "voucher_row"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "inv.company_id",
							"linking_record_type": "invoice",
							"linking_table": "invoice"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "inv.invoice_id",
								"linked_record_type": "invoice",
								"linked_table": "invoice",
								"linking_field": "vor.invoice_id",
								"linking_record_type": "voucher",
								"linking_table": "voucher_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "inv.company_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice"
							}
						],
						"linking_table": "invoice"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "vo.currency_id",
							"linking_record_type": "voucher",
							"linking_table": "voucher"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "vo.voucher_id",
								"linked_record_type": "voucher",
								"linked_table": "voucher",
								"linking_field": "vor.voucher_id",
								"linking_record_type": "voucher",
								"linking_table": "voucher_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "vo.currency_id",
								"linking_record_type": "voucher",
								"linking_table": "voucher"
							}
						],
						"linking_table": "voucher"
					},
					"invoice": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "inv.invoice_id",
							"linked_record_type": "invoice",
							"linked_table": "invoice",
							"linking_field": "vor.invoice_id",
							"linking_record_type": "voucher",
							"linking_table": "voucher_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "inv.invoice_id",
								"linked_record_type": "invoice",
								"linked_table": "invoice",
								"linking_field": "vor.invoice_id",
								"linking_record_type": "voucher",
								"linking_table": "voucher_row"
							}
						],
						"linking_table": "voucher_row"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "co.sales_order_code_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "inv.invoice_id",
								"linked_record_type": "invoice",
								"linked_table": "invoice",
								"linking_field": "vor.invoice_id",
								"linking_record_type": "voucher",
								"linking_table": "voucher_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "inv.company_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "inv.terms_of_payment_id",
							"linking_record_type": "invoice",
							"linking_table": "invoice"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "inv.invoice_id",
								"linked_record_type": "invoice",
								"linked_table": "invoice",
								"linking_field": "vor.invoice_id",
								"linking_record_type": "voucher",
								"linking_table": "voucher_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "inv.terms_of_payment_id",
								"linking_record_type": "invoice",
								"linking_table": "invoice"
							}
						],
						"linking_table": "invoice"
					},
					"voucher": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "vo.voucher_id",
							"linked_record_type": "voucher",
							"linked_table": "voucher",
							"linking_field": "vor.voucher_id",
							"linking_record_type": "voucher",
							"linking_table": "voucher_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "vo.voucher_id",
								"linked_record_type": "voucher",
								"linked_table": "voucher",
								"linking_field": "vor.voucher_id",
								"linking_record_type": "voucher",
								"linking_table": "voucher_row"
							}
						],
						"linking_table": "voucher_row"
					}
				},
				"waybill": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "soc.ar_account_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "wbl.receiver_id",
								"linking_record_type": "waybill",
								"linking_table": "waybill"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "soc.ar_account_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_code"
							}
						],
						"linking_table": "sales_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "wbl.receiver_id",
							"linking_record_type": "waybill",
							"linking_table": "waybill"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "wbl.receiver_id",
								"linking_record_type": "waybill",
								"linking_table": "waybill"
							}
						],
						"linking_table": "waybill"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "wbl.currency_id",
							"linking_record_type": "waybill",
							"linking_table": "waybill"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "wbl.currency_id",
								"linking_record_type": "waybill",
								"linking_table": "waybill"
							}
						],
						"linking_table": "waybill"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "co.sales_order_code_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "wbl.receiver_id",
								"linking_record_type": "waybill",
								"linking_table": "waybill"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "wbl.receiver_id",
								"linking_record_type": "waybill",
								"linking_table": "waybill"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					}
				},
				"waybill_row": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "soc.ar_account_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order_code"
						},
						"length": 4,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wbl.waybill_id",
								"linked_record_type": "waybill",
								"linked_table": "waybill",
								"linking_field": "wblr.waybill_id",
								"linking_record_type": "waybill_row",
								"linking_table": "waybill_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "wbl.receiver_id",
								"linking_record_type": "waybill",
								"linking_table": "waybill"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "soc.ar_account_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_code"
							}
						],
						"linking_table": "sales_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "wbl.receiver_id",
							"linking_record_type": "waybill",
							"linking_table": "waybill"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wbl.waybill_id",
								"linked_record_type": "waybill",
								"linked_table": "waybill",
								"linking_field": "wblr.waybill_id",
								"linking_record_type": "waybill_row",
								"linking_table": "waybill_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "wbl.receiver_id",
								"linking_record_type": "waybill",
								"linking_table": "waybill"
							}
						],
						"linking_table": "waybill"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "wbl.currency_id",
							"linking_record_type": "waybill",
							"linking_table": "waybill"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wbl.waybill_id",
								"linked_record_type": "waybill",
								"linked_table": "waybill",
								"linking_field": "wblr.waybill_id",
								"linking_record_type": "waybill_row",
								"linking_table": "waybill_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "wbl.currency_id",
								"linking_record_type": "waybill",
								"linking_table": "waybill"
							}
						],
						"linking_table": "waybill"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "co.sales_order_code_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wbl.waybill_id",
								"linked_record_type": "waybill",
								"linked_table": "waybill",
								"linking_field": "wblr.waybill_id",
								"linking_record_type": "waybill_row",
								"linking_table": "waybill_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "wbl.receiver_id",
								"linking_record_type": "waybill",
								"linking_table": "waybill"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wbl.waybill_id",
								"linked_record_type": "waybill",
								"linked_table": "waybill",
								"linking_field": "wblr.waybill_id",
								"linking_record_type": "waybill_row",
								"linking_table": "waybill_row"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "wbl.receiver_id",
								"linking_record_type": "waybill",
								"linking_table": "waybill"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"waybill": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "wbl.waybill_id",
							"linked_record_type": "waybill",
							"linked_table": "waybill",
							"linking_field": "wblr.waybill_id",
							"linking_record_type": "waybill_row",
							"linking_table": "waybill_row"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wbl.waybill_id",
								"linked_record_type": "waybill",
								"linked_table": "waybill",
								"linking_field": "wblr.waybill_id",
								"linking_record_type": "waybill_row",
								"linking_table": "waybill_row"
							}
						],
						"linking_table": "waybill_row"
					}
				},
				"work": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "soc.ar_account_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "w.company_id",
								"linking_record_type": "work",
								"linking_table": "work"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "soc.ar_account_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_code"
							}
						],
						"linking_table": "sales_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "w.company_id",
							"linking_record_type": "work",
							"linking_table": "work"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "w.company_id",
								"linking_record_type": "work",
								"linking_table": "work"
							}
						],
						"linking_table": "work"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "co.currency_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "w.company_id",
								"linking_record_type": "work",
								"linking_table": "work"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "co.currency_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "product",
							"linked_table": "product",
							"linking_field": "w.product_id",
							"linking_record_type": "work",
							"linking_table": "work"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "w.product_id",
								"linking_record_type": "work",
								"linking_table": "work"
							}
						],
						"linking_table": "work"
					},
					"purchase_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "poc.purchase_order_code_id",
							"linked_record_type": "purchase",
							"linked_table": "purchase_order_code",
							"linking_field": "pr.purchase_order_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "w.product_id",
								"linking_record_type": "work",
								"linking_table": "work"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "co.sales_order_code_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "w.company_id",
								"linking_record_type": "work",
								"linking_table": "work"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "pr.supplier_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "w.product_id",
								"linking_record_type": "work",
								"linking_table": "work"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "pr.supplier_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "w.company_id",
								"linking_record_type": "work",
								"linking_table": "work"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					}
				},
				"work_efficiency": {
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "su.currency_id",
							"linking_record_type": "supplier",
							"linking_table": "supplier"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wlg.work_load_group_id",
								"linked_record_type": "resource",
								"linked_table": "work_load_group",
								"linking_field": "weff.work_load_group_id",
								"linking_record_type": "efficiency",
								"linking_table": "work_efficiency"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "wlg.supplier_id",
								"linking_record_type": "resource",
								"linking_table": "work_load_group"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "su.currency_id",
								"linking_record_type": "supplier",
								"linking_table": "supplier"
							}
						],
						"linking_table": "supplier"
					},
					"employee": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "em.employee_id",
							"linked_record_type": "employee",
							"linked_table": "employee",
							"linking_field": "weff.employee_id",
							"linking_record_type": "efficiency",
							"linking_table": "work_efficiency"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "em.employee_id",
								"linked_record_type": "employee",
								"linked_table": "employee",
								"linking_field": "weff.employee_id",
								"linking_record_type": "efficiency",
								"linking_table": "work_efficiency"
							}
						],
						"linking_table": "work_efficiency"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "wlg.supplier_id",
							"linking_record_type": "resource",
							"linking_table": "work_load_group"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wlg.work_load_group_id",
								"linked_record_type": "resource",
								"linked_table": "work_load_group",
								"linking_field": "weff.work_load_group_id",
								"linking_record_type": "efficiency",
								"linking_table": "work_efficiency"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "wlg.supplier_id",
								"linking_record_type": "resource",
								"linking_table": "work_load_group"
							}
						],
						"linking_table": "work_load_group"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "su.terms_of_payment_id",
							"linking_record_type": "supplier",
							"linking_table": "supplier"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wlg.work_load_group_id",
								"linked_record_type": "resource",
								"linked_table": "work_load_group",
								"linking_field": "weff.work_load_group_id",
								"linking_record_type": "efficiency",
								"linking_table": "work_efficiency"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "wlg.supplier_id",
								"linking_record_type": "resource",
								"linking_table": "work_load_group"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "su.terms_of_payment_id",
								"linking_record_type": "supplier",
								"linking_table": "supplier"
							}
						],
						"linking_table": "supplier"
					},
					"work_load_group": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "wlg.work_load_group_id",
							"linked_record_type": "resource",
							"linked_table": "work_load_group",
							"linking_field": "weff.work_load_group_id",
							"linking_record_type": "efficiency",
							"linking_table": "work_efficiency"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wlg.work_load_group_id",
								"linked_record_type": "resource",
								"linked_table": "work_load_group",
								"linking_field": "weff.work_load_group_id",
								"linking_record_type": "efficiency",
								"linking_table": "work_efficiency"
							}
						],
						"linking_table": "work_efficiency"
					}
				},
				"work_load_group": {
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "su.currency_id",
							"linking_record_type": "supplier",
							"linking_table": "supplier"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "wlg.supplier_id",
								"linking_record_type": "resource",
								"linking_table": "work_load_group"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "su.currency_id",
								"linking_record_type": "supplier",
								"linking_table": "supplier"
							}
						],
						"linking_table": "supplier"
					},
					"employee": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "em.employee_id",
							"linked_record_type": "employee",
							"linked_table": "employee",
							"linking_field": "wlg.foreman_id",
							"linking_record_type": "resource",
							"linking_table": "work_load_group"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "em.employee_id",
								"linked_record_type": "employee",
								"linked_table": "employee",
								"linking_field": "wlg.foreman_id",
								"linking_record_type": "resource",
								"linking_table": "work_load_group"
							}
						],
						"linking_table": "work_load_group"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "wlg.supplier_id",
							"linking_record_type": "resource",
							"linking_table": "work_load_group"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "wlg.supplier_id",
								"linking_record_type": "resource",
								"linking_table": "work_load_group"
							}
						],
						"linking_table": "work_load_group"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "su.terms_of_payment_id",
							"linking_record_type": "supplier",
							"linking_table": "supplier"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "wlg.supplier_id",
								"linking_record_type": "resource",
								"linking_table": "work_load_group"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "su.terms_of_payment_id",
								"linking_record_type": "supplier",
								"linking_table": "supplier"
							}
						],
						"linking_table": "supplier"
					}
				},
				"work_material_actual": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "poc.account_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wma.raw_material_id",
								"linking_record_type": "actual",
								"linking_table": "work_material_actual"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "poc.account_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_code"
							}
						],
						"linking_table": "purchase_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "pr.customer_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wma.raw_material_id",
								"linking_record_type": "actual",
								"linking_table": "work_material_actual"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.customer_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "pr.currency_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wma.raw_material_id",
								"linking_record_type": "actual",
								"linking_table": "work_material_actual"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "pr.currency_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "product",
							"linked_table": "product",
							"linking_field": "wma.raw_material_id",
							"linking_record_type": "actual",
							"linking_table": "work_material_actual"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wma.raw_material_id",
								"linking_record_type": "actual",
								"linking_table": "work_material_actual"
							}
						],
						"linking_table": "work_material_actual"
					},
					"purchase_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "poc.purchase_order_code_id",
							"linked_record_type": "purchase",
							"linked_table": "purchase_order_code",
							"linking_field": "pr.purchase_order_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wma.raw_material_id",
								"linking_record_type": "actual",
								"linking_table": "work_material_actual"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"info": "aga, check",
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "pr.foreign_sales_ord_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wma.raw_material_id",
								"linking_record_type": "actual",
								"linking_table": "work_material_actual"
							},
							{
								"default_link": true,
								"info": "aga, check",
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "pr.foreign_sales_ord_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "pr.supplier_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wma.raw_material_id",
								"linking_record_type": "actual",
								"linking_table": "work_material_actual"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "pr.supplier_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wma.raw_material_id",
								"linking_record_type": "actual",
								"linking_table": "work_material_actual"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.customer_id",
								"linking_record_type": "product",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"work": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "w.work__position_num_id",
							"linked_record_type": "work",
							"linked_table": "work",
							"linking_field": "wma.work__position_num_id",
							"linking_record_type": "actual",
							"linking_table": "work_material_actual"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "w.work__position_num_id",
								"linked_record_type": "work",
								"linked_table": "work",
								"linking_field": "wma.work__position_num_id",
								"linking_record_type": "actual",
								"linking_table": "work_material_actual"
							}
						],
						"linking_table": "work_material_actual"
					}
				},
				"work_material_estimated": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "poc.account_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wme.raw_material_id",
								"linking_record_type": "estimated",
								"linking_table": "work_material_estimated"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "poc.account_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_code"
							}
						],
						"linking_table": "purchase_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "pr.customer_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wme.raw_material_id",
								"linking_record_type": "estimated",
								"linking_table": "work_material_estimated"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.customer_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "pr.currency_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wme.raw_material_id",
								"linking_record_type": "estimated",
								"linking_table": "work_material_estimated"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "pr.currency_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "product",
							"linked_table": "product",
							"linking_field": "wme.raw_material_id",
							"linking_record_type": "estimated",
							"linking_table": "work_material_estimated"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wme.raw_material_id",
								"linking_record_type": "estimated",
								"linking_table": "work_material_estimated"
							}
						],
						"linking_table": "work_material_estimated"
					},
					"purchase_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "poc.purchase_order_code_id",
							"linked_record_type": "purchase",
							"linked_table": "purchase_order_code",
							"linking_field": "pr.purchase_order_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wme.raw_material_id",
								"linking_record_type": "estimated",
								"linking_table": "work_material_estimated"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"info": "aga, check",
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "pr.foreign_sales_ord_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wme.raw_material_id",
								"linking_record_type": "estimated",
								"linking_table": "work_material_estimated"
							},
							{
								"default_link": true,
								"info": "aga, check",
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "pr.foreign_sales_ord_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "pr.supplier_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wme.raw_material_id",
								"linking_record_type": "estimated",
								"linking_table": "work_material_estimated"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "pr.supplier_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wme.raw_material_id",
								"linking_record_type": "estimated",
								"linking_table": "work_material_estimated"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.customer_id",
								"linking_record_type": "product",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"work": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "w.work__position_num_id",
							"linked_record_type": "work",
							"linked_table": "work",
							"linking_field": "wme.work__position_num_id",
							"linking_record_type": "estimated",
							"linking_table": "work_material_estimated"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "w.work__position_num_id",
								"linked_record_type": "work",
								"linked_table": "work",
								"linking_field": "wme.work__position_num_id",
								"linking_record_type": "estimated",
								"linking_table": "work_material_estimated"
							}
						],
						"linking_table": "work_material_estimated"
					}
				},
				"work_order": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "soc.ar_account_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "wo.company_id",
								"linking_record_type": "",
								"linking_table": "work_order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "soc.ar_account_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_code"
							}
						],
						"linking_table": "sales_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "wo.company_id",
							"linking_record_type": "",
							"linking_table": "work_order"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "wo.company_id",
								"linking_record_type": "",
								"linking_table": "work_order"
							}
						],
						"linking_table": "work_order"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "co.currency_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "wo.company_id",
								"linking_record_type": "",
								"linking_table": "work_order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "co.currency_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "product",
							"linked_table": "product",
							"linking_field": "w.product_id",
							"linking_record_type": "work",
							"linking_table": "work"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"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": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "w.product_id",
								"linking_record_type": "work",
								"linking_table": "work"
							}
						],
						"linking_table": "work"
					},
					"purchase_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "poc.purchase_order_code_id",
							"linked_record_type": "purchase",
							"linked_table": "purchase_order_code",
							"linking_field": "pr.purchase_order_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"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": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "w.product_id",
								"linking_record_type": "work",
								"linking_table": "work"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "co.sales_order_code_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "wo.company_id",
								"linking_record_type": "",
								"linking_table": "work_order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "pr.supplier_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"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": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "w.product_id",
								"linking_record_type": "work",
								"linking_table": "work"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "pr.supplier_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "wo.company_id",
								"linking_record_type": "",
								"linking_table": "work_order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"work": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"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": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"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"
					}
				},
				"work_order_material": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "poc.account_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order_code"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wom.raw_material_id",
								"linking_record_type": "schedule",
								"linking_table": "work_order_material"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "poc.account_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_code"
							}
						],
						"linking_table": "purchase_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "pr.customer_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wom.raw_material_id",
								"linking_record_type": "schedule",
								"linking_table": "work_order_material"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.customer_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "pr.currency_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wom.raw_material_id",
								"linking_record_type": "schedule",
								"linking_table": "work_order_material"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "pr.currency_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "product",
							"linked_table": "product",
							"linking_field": "wom.raw_material_id",
							"linking_record_type": "schedule",
							"linking_table": "work_order_material"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wom.raw_material_id",
								"linking_record_type": "schedule",
								"linking_table": "work_order_material"
							}
						],
						"linking_table": "work_order_material"
					},
					"purchase_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "poc.purchase_order_code_id",
							"linked_record_type": "purchase",
							"linked_table": "purchase_order_code",
							"linking_field": "pr.purchase_order_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wom.raw_material_id",
								"linking_record_type": "schedule",
								"linking_table": "work_order_material"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"info": "aga, check",
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "pr.foreign_sales_ord_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wom.raw_material_id",
								"linking_record_type": "schedule",
								"linking_table": "work_order_material"
							},
							{
								"default_link": true,
								"info": "aga, check",
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "pr.foreign_sales_ord_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "pr.supplier_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wom.raw_material_id",
								"linking_record_type": "schedule",
								"linking_table": "work_order_material"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "pr.supplier_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "wom.raw_material_id",
								"linking_record_type": "schedule",
								"linking_table": "work_order_material"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "pr.customer_id",
								"linking_record_type": "product",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"work": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "w.work__position_num_id",
							"linked_record_type": "work",
							"linked_table": "work",
							"linking_field": "wom.work__position_num_id",
							"linking_record_type": "schedule",
							"linking_table": "work_order_material"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "w.work__position_num_id",
								"linked_record_type": "work",
								"linked_table": "work",
								"linking_field": "wom.work__position_num_id",
								"linking_record_type": "schedule",
								"linking_table": "work_order_material"
							}
						],
						"linking_table": "work_order_material"
					}
				},
				"work_order_schedule": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "soc.ar_account_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order_code"
						},
						"length": 4,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wo.production_lot",
								"linked_record_type": "",
								"linked_table": "work_order",
								"linking_field": "wos.production_lot",
								"linking_record_type": "schedule",
								"linking_table": "work_order_schedule"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "wo.company_id",
								"linking_record_type": "",
								"linking_table": "work_order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "soc.ar_account_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_code"
							}
						],
						"linking_table": "sales_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "wo.company_id",
							"linking_record_type": "",
							"linking_table": "work_order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wo.production_lot",
								"linked_record_type": "",
								"linked_table": "work_order",
								"linking_field": "wos.production_lot",
								"linking_record_type": "schedule",
								"linking_table": "work_order_schedule"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "wo.company_id",
								"linking_record_type": "",
								"linking_table": "work_order"
							}
						],
						"linking_table": "work_order"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "co.currency_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wo.production_lot",
								"linked_record_type": "",
								"linked_table": "work_order",
								"linking_field": "wos.production_lot",
								"linking_record_type": "schedule",
								"linking_table": "work_order_schedule"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "wo.company_id",
								"linking_record_type": "",
								"linking_table": "work_order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "co.currency_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"employee": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "em.employee_id",
							"linked_record_type": "employee",
							"linked_table": "employee",
							"linking_field": "wos.employee_id",
							"linking_record_type": "schedule",
							"linking_table": "work_order_schedule"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "em.employee_id",
								"linked_record_type": "employee",
								"linked_table": "employee",
								"linking_field": "wos.employee_id",
								"linking_record_type": "schedule",
								"linking_table": "work_order_schedule"
							}
						],
						"linking_table": "work_order_schedule"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "product",
							"linked_table": "product",
							"linking_field": "w.product_id",
							"linking_record_type": "work",
							"linking_table": "work"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wo.production_lot",
								"linked_record_type": "",
								"linked_table": "work_order",
								"linking_field": "wos.production_lot",
								"linking_record_type": "schedule",
								"linking_table": "work_order_schedule"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"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": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "w.product_id",
								"linking_record_type": "work",
								"linking_table": "work"
							}
						],
						"linking_table": "work"
					},
					"purchase_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "poc.purchase_order_code_id",
							"linked_record_type": "purchase",
							"linked_table": "purchase_order_code",
							"linking_field": "pr.purchase_order_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 4,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wo.production_lot",
								"linked_record_type": "",
								"linked_table": "work_order",
								"linking_field": "wos.production_lot",
								"linking_record_type": "schedule",
								"linking_table": "work_order_schedule"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"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": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "w.product_id",
								"linking_record_type": "work",
								"linking_table": "work"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "co.sales_order_code_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wo.production_lot",
								"linked_record_type": "",
								"linked_table": "work_order",
								"linking_field": "wos.production_lot",
								"linking_record_type": "schedule",
								"linking_table": "work_order_schedule"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "wo.company_id",
								"linking_record_type": "",
								"linking_table": "work_order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "wlg.supplier_id",
							"linking_record_type": "resource",
							"linking_table": "work_load_group"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"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": "schedule",
								"linking_table": "work_order_schedule"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "wlg.supplier_id",
								"linking_record_type": "resource",
								"linking_table": "work_load_group"
							}
						],
						"linking_table": "work_load_group"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wo.production_lot",
								"linked_record_type": "",
								"linked_table": "work_order",
								"linking_field": "wos.production_lot",
								"linking_record_type": "schedule",
								"linking_table": "work_order_schedule"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "wo.company_id",
								"linking_record_type": "",
								"linking_table": "work_order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"work": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"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": true,
								"link_type": "prevent delete",
								"linked_field": "wo.production_lot",
								"linked_record_type": "",
								"linked_table": "work_order",
								"linking_field": "wos.production_lot",
								"linking_record_type": "schedule",
								"linking_table": "work_order_schedule"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"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"
					},
					"work_load_group": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"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": "schedule",
							"linking_table": "work_order_schedule"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"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": "schedule",
								"linking_table": "work_order_schedule"
							}
						],
						"linking_table": "work_order_schedule"
					},
					"work_order": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "wo.production_lot",
							"linked_record_type": "",
							"linked_table": "work_order",
							"linking_field": "wos.production_lot",
							"linking_record_type": "schedule",
							"linking_table": "work_order_schedule"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wo.production_lot",
								"linked_record_type": "",
								"linked_table": "work_order",
								"linking_field": "wos.production_lot",
								"linking_record_type": "schedule",
								"linking_table": "work_order_schedule"
							}
						],
						"linking_table": "work_order_schedule"
					}
				},
				"work_phase_actual": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "soc.ar_account_id",
							"linking_record_type": "sales",
							"linking_table": "sales_order_code"
						},
						"length": 4,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wo.production_lot",
								"linked_record_type": "",
								"linked_table": "work_order",
								"linking_field": "wpa.production_lot",
								"linking_record_type": "actual",
								"linking_table": "work_phase_actual"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "wo.company_id",
								"linking_record_type": "",
								"linking_table": "work_order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "soc.ar_account_id",
								"linking_record_type": "sales",
								"linking_table": "sales_order_code"
							}
						],
						"linking_table": "sales_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "wo.company_id",
							"linking_record_type": "",
							"linking_table": "work_order"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wo.production_lot",
								"linked_record_type": "",
								"linked_table": "work_order",
								"linking_field": "wpa.production_lot",
								"linking_record_type": "actual",
								"linking_table": "work_phase_actual"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "wo.company_id",
								"linking_record_type": "",
								"linking_table": "work_order"
							}
						],
						"linking_table": "work_order"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "co.currency_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wo.production_lot",
								"linked_record_type": "",
								"linked_table": "work_order",
								"linking_field": "wpa.production_lot",
								"linking_record_type": "actual",
								"linking_table": "work_phase_actual"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "wo.company_id",
								"linking_record_type": "",
								"linking_table": "work_order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "co.currency_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"employee": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "em.employee_id",
							"linked_record_type": "employee",
							"linked_table": "employee",
							"linking_field": "wpa.employee_id",
							"linking_record_type": "actual",
							"linking_table": "work_phase_actual"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "em.employee_id",
								"linked_record_type": "employee",
								"linked_table": "employee",
								"linking_field": "wpa.employee_id",
								"linking_record_type": "actual",
								"linking_table": "work_phase_actual"
							}
						],
						"linking_table": "work_phase_actual"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "product",
							"linked_table": "product",
							"linking_field": "w.product_id",
							"linking_record_type": "work",
							"linking_table": "work"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wo.production_lot",
								"linked_record_type": "",
								"linked_table": "work_order",
								"linking_field": "wpa.production_lot",
								"linking_record_type": "actual",
								"linking_table": "work_phase_actual"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"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": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "w.product_id",
								"linking_record_type": "work",
								"linking_table": "work"
							}
						],
						"linking_table": "work"
					},
					"purchase_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "poc.purchase_order_code_id",
							"linked_record_type": "purchase",
							"linked_table": "purchase_order_code",
							"linking_field": "pr.purchase_order_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 4,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wo.production_lot",
								"linked_record_type": "",
								"linked_table": "work_order",
								"linking_field": "wpa.production_lot",
								"linking_record_type": "actual",
								"linking_table": "work_phase_actual"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"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": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "w.product_id",
								"linking_record_type": "work",
								"linking_table": "work"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "co.sales_order_code_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wo.production_lot",
								"linked_record_type": "",
								"linked_table": "work_order",
								"linking_field": "wpa.production_lot",
								"linking_record_type": "actual",
								"linking_table": "work_phase_actual"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "wo.company_id",
								"linking_record_type": "",
								"linking_table": "work_order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "co.sales_order_code_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "wpa.supplier_id",
							"linking_record_type": "actual",
							"linking_table": "work_phase_actual"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "wpa.supplier_id",
								"linking_record_type": "actual",
								"linking_table": "work_phase_actual"
							}
						],
						"linking_table": "work_phase_actual"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "co.terms_of_payment_id",
							"linking_record_type": "customer",
							"linking_table": "company"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wo.production_lot",
								"linked_record_type": "",
								"linked_table": "work_order",
								"linking_field": "wpa.production_lot",
								"linking_record_type": "actual",
								"linking_table": "work_phase_actual"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "wo.company_id",
								"linking_record_type": "",
								"linking_table": "work_order"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "co.terms_of_payment_id",
								"linking_record_type": "customer",
								"linking_table": "company"
							}
						],
						"linking_table": "company"
					},
					"work": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "w.work__position_num_id",
							"linked_record_type": "work",
							"linked_table": "work",
							"linking_field": "wpa.work__position_num_id",
							"linking_record_type": "actual",
							"linking_table": "work_phase_actual"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "w.work__position_num_id",
								"linked_record_type": "work",
								"linked_table": "work",
								"linking_field": "wpa.work__position_num_id",
								"linking_record_type": "actual",
								"linking_table": "work_phase_actual"
							}
						],
						"linking_table": "work_phase_actual"
					},
					"work_load_group": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"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": "actual",
							"linking_table": "work_phase_actual"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"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": "actual",
								"linking_table": "work_phase_actual"
							}
						],
						"linking_table": "work_phase_actual"
					},
					"work_order": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "wo.production_lot",
							"linked_record_type": "",
							"linked_table": "work_order",
							"linking_field": "wpa.production_lot",
							"linking_record_type": "actual",
							"linking_table": "work_phase_actual"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wo.production_lot",
								"linked_record_type": "",
								"linked_table": "work_order",
								"linking_field": "wpa.production_lot",
								"linking_record_type": "actual",
								"linking_table": "work_phase_actual"
							}
						],
						"linking_table": "work_phase_actual"
					},
					"work_order_schedule": {
						"last_link": {
							"default_link": false,
							"extra_join": "",
							"extra_link_field": [
								{
									"linked": "wos.work_phase",
									"linking": "wpa.work_phase_est_id"
								}
							],
							"info": "4D production_lot to work_order_schedule",
							"link_type": "",
							"linked_field": "wos.production_lot",
							"linked_record_type": "schedule",
							"linked_table": "work_order_schedule",
							"linking_field": "wpa.production_lot",
							"linking_record_type": "actual",
							"linking_table": "work_phase_actual"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": false,
								"extra_join": "",
								"extra_link_field": [
									{
										"linked": "wos.work_phase",
										"linking": "wpa.work_phase_est_id"
									}
								],
								"info": "4D production_lot to work_order_schedule",
								"link_type": "",
								"linked_field": "wos.production_lot",
								"linked_record_type": "schedule",
								"linked_table": "work_order_schedule",
								"linking_field": "wpa.production_lot",
								"linking_record_type": "actual",
								"linking_table": "work_phase_actual"
							}
						],
						"linking_table": "work_phase_actual"
					}
				},
				"work_phase_estimated": {
					"account": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "ac.account_id",
							"linked_record_type": "",
							"linked_table": "account",
							"linking_field": "poc.account_id",
							"linking_record_type": "purchase",
							"linking_table": "purchase_order_code"
						},
						"length": 4,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "w.work__position_num_id",
								"linked_record_type": "work",
								"linked_table": "work",
								"linking_field": "wpe.work__position_num_id",
								"linking_record_type": "estimated",
								"linking_table": "work_phase_estimated"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "w.product_id",
								"linking_record_type": "work",
								"linking_table": "work"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "ac.account_id",
								"linked_record_type": "",
								"linked_table": "account",
								"linking_field": "poc.account_id",
								"linking_record_type": "purchase",
								"linking_table": "purchase_order_code"
							}
						],
						"linking_table": "purchase_order_code"
					},
					"company": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "co.company_id",
							"linked_record_type": "customer",
							"linked_table": "company",
							"linking_field": "w.company_id",
							"linking_record_type": "work",
							"linking_table": "work"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "w.work__position_num_id",
								"linked_record_type": "work",
								"linked_table": "work",
								"linking_field": "wpe.work__position_num_id",
								"linking_record_type": "estimated",
								"linking_table": "work_phase_estimated"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "co.company_id",
								"linked_record_type": "customer",
								"linked_table": "company",
								"linking_field": "w.company_id",
								"linking_record_type": "work",
								"linking_table": "work"
							}
						],
						"linking_table": "work"
					},
					"currency": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "cur.currency_id",
							"linked_record_type": "",
							"linked_table": "currency",
							"linking_field": "su.currency_id",
							"linking_record_type": "supplier",
							"linking_table": "supplier"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "wpe.supplier_id",
								"linking_record_type": "estimated",
								"linking_table": "work_phase_estimated"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "cur.currency_id",
								"linked_record_type": "",
								"linked_table": "currency",
								"linking_field": "su.currency_id",
								"linking_record_type": "supplier",
								"linking_table": "supplier"
							}
						],
						"linking_table": "supplier"
					},
					"employee": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "em.employee_id",
							"linked_record_type": "employee",
							"linked_table": "employee",
							"linking_field": "wpe.employee_id",
							"linking_record_type": "estimated",
							"linking_table": "work_phase_estimated"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "em.employee_id",
								"linked_record_type": "employee",
								"linked_table": "employee",
								"linking_field": "wpe.employee_id",
								"linking_record_type": "estimated",
								"linking_table": "work_phase_estimated"
							}
						],
						"linking_table": "work_phase_estimated"
					},
					"product": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "pr.product_id",
							"linked_record_type": "product",
							"linked_table": "product",
							"linking_field": "w.product_id",
							"linking_record_type": "work",
							"linking_table": "work"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "w.work__position_num_id",
								"linked_record_type": "work",
								"linked_table": "work",
								"linking_field": "wpe.work__position_num_id",
								"linking_record_type": "estimated",
								"linking_table": "work_phase_estimated"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "w.product_id",
								"linking_record_type": "work",
								"linking_table": "work"
							}
						],
						"linking_table": "work"
					},
					"purchase_order_code": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "poc.purchase_order_code_id",
							"linked_record_type": "purchase",
							"linked_table": "purchase_order_code",
							"linking_field": "pr.purchase_order_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "w.work__position_num_id",
								"linked_record_type": "work",
								"linked_table": "work",
								"linking_field": "wpe.work__position_num_id",
								"linking_record_type": "estimated",
								"linking_table": "work_phase_estimated"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "w.product_id",
								"linking_record_type": "work",
								"linking_table": "work"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "poc.purchase_order_code_id",
								"linked_record_type": "purchase",
								"linked_table": "purchase_order_code",
								"linking_field": "pr.purchase_order_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"sales_order_code": {
						"last_link": {
							"default_link": true,
							"info": "aga, check",
							"link_type": "prevent delete",
							"linked_field": "soc.sales_order_code_id",
							"linked_record_type": "sales",
							"linked_table": "sales_order_code",
							"linking_field": "pr.foreign_sales_ord_code_id",
							"linking_record_type": "product",
							"linking_table": "product"
						},
						"length": 3,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "w.work__position_num_id",
								"linked_record_type": "work",
								"linked_table": "work",
								"linking_field": "wpe.work__position_num_id",
								"linking_record_type": "estimated",
								"linking_table": "work_phase_estimated"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "pr.product_id",
								"linked_record_type": "product",
								"linked_table": "product",
								"linking_field": "w.product_id",
								"linking_record_type": "work",
								"linking_table": "work"
							},
							{
								"default_link": true,
								"info": "aga, check",
								"link_type": "prevent delete",
								"linked_field": "soc.sales_order_code_id",
								"linked_record_type": "sales",
								"linked_table": "sales_order_code",
								"linking_field": "pr.foreign_sales_ord_code_id",
								"linking_record_type": "product",
								"linking_table": "product"
							}
						],
						"linking_table": "product"
					},
					"supplier": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "su.supplier_id",
							"linked_record_type": "supplier",
							"linked_table": "supplier",
							"linking_field": "wpe.supplier_id",
							"linking_record_type": "estimated",
							"linking_table": "work_phase_estimated"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "wpe.supplier_id",
								"linking_record_type": "estimated",
								"linking_table": "work_phase_estimated"
							}
						],
						"linking_table": "work_phase_estimated"
					},
					"terms_of_payment": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "top.terms_of_payment_id",
							"linked_record_type": "",
							"linked_table": "terms_of_payment",
							"linking_field": "su.terms_of_payment_id",
							"linking_record_type": "supplier",
							"linking_table": "supplier"
						},
						"length": 2,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "su.supplier_id",
								"linked_record_type": "supplier",
								"linked_table": "supplier",
								"linking_field": "wpe.supplier_id",
								"linking_record_type": "estimated",
								"linking_table": "work_phase_estimated"
							},
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "top.terms_of_payment_id",
								"linked_record_type": "",
								"linked_table": "terms_of_payment",
								"linking_field": "su.terms_of_payment_id",
								"linking_record_type": "supplier",
								"linking_table": "supplier"
							}
						],
						"linking_table": "supplier"
					},
					"work": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "w.work__position_num_id",
							"linked_record_type": "work",
							"linked_table": "work",
							"linking_field": "wpe.work__position_num_id",
							"linking_record_type": "estimated",
							"linking_table": "work_phase_estimated"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "w.work__position_num_id",
								"linked_record_type": "work",
								"linked_table": "work",
								"linking_field": "wpe.work__position_num_id",
								"linking_record_type": "estimated",
								"linking_table": "work_phase_estimated"
							}
						],
						"linking_table": "work_phase_estimated"
					},
					"work_load_group": {
						"last_link": {
							"default_link": true,
							"link_type": "prevent delete",
							"linked_field": "wlg.work_load_group_id",
							"linked_record_type": "resource",
							"linked_table": "work_load_group",
							"linking_field": "wpe.work_load_group_id",
							"linking_record_type": "estimated",
							"linking_table": "work_phase_estimated"
						},
						"length": 1,
						"link_array": [
							{
								"default_link": true,
								"link_type": "prevent delete",
								"linked_field": "wlg.work_load_group_id",
								"linked_record_type": "resource",
								"linked_table": "work_load_group",
								"linking_field": "wpe.work_load_group_id",
								"linking_record_type": "estimated",
								"linking_table": "work_phase_estimated"
							}
						],
						"linking_table": "work_phase_estimated"
					}
				}
			},
			"link_count": 291
		}
	},
	"total_link_count": 531
}