{
	"name": "table/external/4d/manager/company/company.json",
	"table_name": "company",
	"table_prefix": "co",
	"record_type": ["customer"],
	"local_table": "company",
	"local_record_type": "customer",
	"table_number": 10,
	"field": [
		{
			"field_length": 40,
			"field_name": "abc_class",
			"field_number": 31,
			"local_field": "json_data.abc_class"
		},
		{
			"field_length": 24,
			"field_name": "accountable_person_id",
			"field_number": 72,
			"local_field": "json_data.accountable_person_id"
		},
		{
			"field_name": "add_packing_cost",
			"field_number": 78,
			"local_field": "json_data.add_packing_cost"
		},
		{
			"field_name": "add_packing_material",
			"field_number": 77,
			"local_field": "json_data.add_packing_material"
		},
		{
			"field_length": 132,
			"field_name": "address",
			"field_number": 6,
			"local_field": "address"
		},
		{
			"field_name": "allowed_delivery_advance",
			"field_number": 58,
			"local_field": "json_data.allowed_delivery_advance"
		},
		{
			"field_name": "allowed_delivery_delay",
			"field_number": 59,
			"local_field": "json_data.allowed_delivery_delay"
		},
		{
			"field_length": 80,
			"field_name": "area",
			"field_number": 75,
			"local_field": "json_data.area"
		},
		{
			"field_length": 80,
			"field_name": "bank_account",
			"field_number": 44,
			"local_field": "json_data.bank_account"
		},
		{
			"field_name": "capacity_multiplier",
			"field_number": 62,
			"local_field": "json_data.capacity_multiplier"
		},
		{
			"field_length": 90,
			"field_name": "change_id",
			"field_number": 3,
			"local_field": "modify_id"
		},
		{
			"constraint": ["unique"],
			"field_length": 24,
			"field_name": "company_id",
			"field_number": 1,
			"local_field": "company_id"
		},
		{
			"field_length": 24,
			"field_name": "company_number",
			"field_number": 4,
			"local_field": "company_number"
		},
		{
			"field_length": 160,
			"field_name": "cost_center",
			"field_number": 57,
			"local_field": "json_data.cost_center"
		},
		{
			"field_length": 70,
			"field_name": "country",
			"field_number": 15,
			"local_field": "country"
		},
		{
			"field_length": 160,
			"field_name": "covenant",
			"field_number": 70,
			"local_field": "json_data.covenant"
		},
		{
			"field_name": "creation_date",
			"field_number": 37,
			"field_type": "date",
			"local_field": "create_time"
		},
		{
			"field_length": 40,
			"field_name": "creator_id",
			"field_number": 68,
			"local_field": "create_user"
		},
		{
			"field_name": "credit_limit",
			"field_number": 56,
			"local_field": "json_data.credit_limit"
		},
		{
			"field_name": "cumulative_sales",
			"field_number": 40,
			"local_field": "json_data.cumulative_sales"
		},
		{
			"field_length": 12,
			"field_name": "currency_id",
			"field_number": 17,
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "currency_id",
					"linked_table": "currency"
				}
			],
			"local_field": "currency_id",
			"nullable": true
		},
		{
			"field_length": 80,
			"field_name": "customer_project",
			"field_number": 65,
			"local_field": "json_data.customer_project"
		},
		{
			"field_length": 24,
			"field_name": "default_sales_person_id",
			"field_number": 21,
			"local_field": "json_data.default_sales_person_id"
		},
		{
			"field_length": 24,
			"field_name": "delivery_company_id",
			"field_number": 22,
			"local_field": "delivery_company_id"
		},
		{
			"field_length": 160,
			"field_name": "electronic_invoice_address",
			"field_number": 60,
			"local_field": "json_data.electronic_invoice_address"
		},
		{
			"field_length": 160,
			"field_name": "email",
			"field_number": 39,
			"local_field": "email"
		},
		{
			"field_name": "employee_count",
			"field_number": 61,
			"local_field": "json_data.employee_count"
		},
		{
			"field_name": "extra_cost_to_invoice",
			"field_number": 53,
			"local_field": "json_data.extra_cost_to_invoice"
		},
		{
			"field_name": "extra_time_multiplier",
			"field_number": 63,
			"local_field": "json_data.extra_time_multiplier"
		},
		{
			"field_length": 20,
			"field_name": "fax_area_code",
			"field_number": 11,
			"local_field": "json_data.fax_area_code"
		},
		{
			"field_length": 40,
			"field_name": "fax_number",
			"field_number": 12,
			"local_field": "json_data.fax_number"
		},
		{
			"field_name": "firm_id",
			"field_number": 48,
			"local_field": "json_data.firm_id"
		},
		{
			"field_name": "foreign_company",
			"field_number": 18,
			"local_field": "json_data.foreign_company"
		},
		{
			"field_name": "foreign_sales_price_in_use",
			"field_number": 45,
			"local_field": "json_data.foreign_sales_price_in_use"
		},
		{
			"field_length": 160,
			"field_name": "freight_charges_payer",
			"field_number": 67,
			"local_field": "json_data.freight_charges_payer"
		},
		{
			"field_length": 24,
			"field_name": "group_1",
			"field_number": 23,
			"local_field": "json_data.group_1"
		},
		{
			"field_length": 24,
			"field_name": "group_2",
			"field_number": 35,
			"local_field": "json_data.group_2"
		},
		{
			"field_length": 24,
			"field_name": "group_3",
			"field_number": 36,
			"local_field": "json_data.group_3"
		},
		{
			"field_name": "info",
			"field_type": "text",
			"field_number": 5,
			"local_field": "info"
		},
		{
			"field_length": 24,
			"field_name": "invoice_company_id",
			"field_number": 20,
			"local_field": "invoicing_company_id"
		},
		{
			"field_length": 20,
			"field_name": "invoice_number_serie",
			"field_number": 28,
			"local_field": "json_data.invoice_number_serie"
		},
		{
			"field_name": "is_collection_invoice",
			"field_number": 34,
			"local_field": "json_data.is_collection_invoice"
		},
		{
			"field_length": 40,
			"field_name": "language",
			"field_number": 16,
			"local_field": "language"
		},
		{
			"field_name": "last_modification_date",
			"field_number": 38,
			"field_type": "date",
			"local_field": "modify_time"
		},
		{
			"field_length": 40,
			"field_name": "modifier_id",
			"field_number": 69,
			"local_field": "modify_user"
		},
		{
			"field_length": 160,
			"field_name": "name",
			"field_number": 2,
			"local_field": "name"
		},
		{
			"field_length": 160,
			"field_name": "name_2",
			"field_number": 13,
			"local_field": "name_2"
		},
		{
			"field_name": "notes",
			"field_number": 76
		},
		{
			"field_name": "order_discount_percentage",
			"field_number": 24,
			"local_field": "json_data.order_discount_percentage"
		},
		{
			"field_name": "payment_delay",
			"field_number": 25,
			"local_field": "json_data.payment_delay"
		},
		{
			"field_length": 20,
			"field_name": "post_code",
			"field_number": 7,
			"local_field": "post_code"
		},
		{
			"field_length": 60,
			"field_name": "post_office",
			"field_number": 8,
			"local_field": "post_office"
		},
		{
			"field_length": 160,
			"field_name": "price_group",
			"field_number": 49,
			"local_field": "json_data.price_group"
		},
		{
			"field_length": 80,
			"field_name": "project_id",
			"field_number": 66,
			"local_field": "json_data.project_id"
		},
		{
			"constraint": ["unique"],
			"field_length": 90,
			"field_name": "record_id",
			"field_number": 55,
			"local_field": "record_id"
		},
		{
			"field_name": "row_discount_percentage",
			"field_number": 29,
			"local_field": "json_data.row_discount_percentage"
		},
		{
			"field_length": 12,
			"field_name": "sales_order_code_id",
			"field_number": 52,
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "sales_order_code_id",
					"linked_table": "sales_order_code"
				}
			],
			"local_field": "order_code_id",
			"nullable": true
		},
		{
			"field_length": 80,
			"field_name": "send_type",
			"field_number": 42,
			"local_field": "json_data.send_type"
		},
		{
			"field_name": "state",
			"field_number": 51,
			"local_field": "company_state"
		},
		{
			"field_length": 60,
			"field_name": "stock_position",
			"field_number": 41,
			"local_field": "json_data.stock_position"
		},
		{
			"field_length": 30,
			"field_name": "supplier_number",
			"field_number": 30,
			"local_field": "json_data.supplier_number"
		},
		{
			"field_length": 80,
			"field_name": "swift_code",
			"field_number": 47,
			"local_field": "json_data.intermediator"
		},
		{
			"field_length": 20,
			"field_name": "telephone_area_code",
			"field_number": 9,
			"local_field": "json_data.telephone_area_code"
		},
		{
			"field_length": 40,
			"field_name": "telephone_number",
			"field_number": 10,
			"local_field": "json_data.telephone_number"
		},
		{
			"field_length": 60,
			"field_name": "term_of_delivery",
			"field_number": 33,
			"local_field": "term_of_delivery"
		},
		{
			"field_length": 24,
			"field_name": "terms_of_payment_id",
			"field_number": 14,
			"foreign_key": [
				{
					"link_type": "prevent delete",
					"linked_field": "terms_of_payment_id",
					"linked_table": "terms_of_payment"
				}
			],
			"local_field": "terms_of_payment_id",
			"nullable": true
		},
		{
			"field_name": "text_address",
			"field_number": 19,
			"local_field": "text_address"
		},
		{
			"field_length": 34,
			"field_name": "trade_registry_number",
			"field_number": 43,
			"local_field": "json_data.trade_registry_number"
		},
		{
			"field_length": 120,
			"field_name": "transfer_id",
			"field_number": 64,
			"local_field": "json_data.transfer_id"
		},
		{
			"field_name": "transfer_state",
			"field_number": 71,
			"local_field": "json_data.transfer_state"
		},
		{
			"field_name": "type_",
			"field_number": 50,
			"local_field": "company_type"
		},
		{
			"field_length": 50,
			"field_name": "vat_number",
			"field_number": 32,
			"local_field": "json_data.vat_number"
		},
		{
			"field_length": 70,
			"field_name": "way_of_delivery",
			"field_number": 27,
			"local_field": "way_of_delivery"
		},
		{
			"field_length": 80,
			"field_name": "waybill_customer_number",
			"field_number": 73,
			"local_field": "json_data.waybill_customer_number"
		},
		{
			"field_length": 80,
			"field_name": "waybill_deal_number",
			"field_number": 74,
			"local_field": "json_data.waybill_deal_number"
		},
		{
			"field_name": "work_advance_days",
			"field_number": 54,
			"local_field": "json_data.work_advance_days"
		},
		{
			"field_length": 160,
			"field_name": "www",
			"field_number": 46,
			"local_field": "www"
		},
		{
			"field_length": 70,
			"field_name": "your_reference",
			"field_number": 26,
			"local_field": "your_reference"
		}
	],
	"default_field": "table/default_field.json"
}
