{
	"table_name_local": "order",
	"table_number": 28,
	"name": "table/external/4d/manager/order/accounts_payable.json",
	"table_name": "accounts_payable",
	"field": [
		{
			"field_number": 26,
			"name": "accounts_ledger",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 30
		},
		{
			"field_number": 23,
			"name": "approval_state",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 2
		},
		{
			"field_number": 11,
			"name": "cash_discount_due_date",
			"constraint": [
				"index"
			],
			"type": "date"
		},
		{
			"field_number": 37,
			"name": "change_id",
			"type": "varchar",
			"length": 45
		},
		{
			"field_number": 8,
			"name": "code_id",
			"constraint": [
				"unique"
			],
			"type": "varchar",
			"length": 10
		},
		{
			"field_number": 38,
			"name": "creator_id",
			"type": "varchar",
			"length": 20
		},
		{
			"constraint": [
				"index"
			],
			"field_number": 21,
			"name": "currency_id",
			"nullable": true,
			"foreign_key": {
				"table": "currency",
				"field": "currency_id"
			},
			"type": "varchar",
			"length": 6
		},
		{
			"field_number": 35,
			"name": "customer_project",
			"type": "varchar",
			"length": 40
		},
		{
			"field_number": 14,
			"type": "double",
			"name": "debet_total"
		},
		{
			"field_number": 28,
			"name": "destination_date",
			"constraint": [
				"index"
			],
			"type": "date"
		},
		{
			"field_number": 3,
			"name": "due_date",
			"constraint": [
				"index"
			],
			"type": "date"
		},
		{
			"field_number": 22,
			"type": "double",
			"name": "exchange_rate"
		},
		{
			"field_number": 31,
			"name": "firm_id",
			"constraint": [
				"index"
			],
			"type": "integer"
		},
		{
			"field_number": 10,
			"name": "handler",
			"type": "varchar",
			"length": 20
		},
		{
			"field_number": 7,
			"type": "text",
			"name": "info"
		},
		{
			"field_number": 2,
			"name": "invoice_date",
			"constraint": [
				"index"
			],
			"type": "date"
		},
		{
			"field_number": 5,
			"name": "invoice_number",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 20
		},
		{
			"field_number": 15,
			"type": "double",
			"name": "kredit_total"
		},
		{
			"field_number": 4,
			"name": "method_of_payment",
			"type": "varchar",
			"length": 25
		},
		{
			"field_number": 39,
			"name": "modifier_id",
			"type": "varchar",
			"length": 20
		},
		{
			"field_number": 27,
			"name": "no_bank_program",
			"constraint": [
				"index"
			],
			"type": "boolean"
		},
		{
			"field_number": 18,
			"name": "note",
			"type": "varchar",
			"length": 60
		},
		{
			"field_number": 19,
			"name": "note_type",
			"type": "varchar",
			"length": 15
		},
		{
			"field_number": 9,
			"type": "double",
			"name": "payable_amount"
		},
		{
			"field_number": 12,
			"name": "payment_date",
			"constraint": [
				"index"
			],
			"type": "date"
		},
		{
			"field_number": 33,
			"type": "integer",
			"name": "priority"
		},
		{
			"field_number": 36,
			"name": "project_id",
			"type": "varchar",
			"length": 40
		},
		{
			"constraint": [
				"index"
			],
			"field_number": 17,
			"name": "purchase_debt_account_id",
			"nullable": true,
			"foreign_key": {
				"table": "account",
				"field": "account_id"
			},
			"type": "varchar",
			"length": 12
		},
		{
			"field_number": 1,
			"name": "purchase_order_id",
			"type": "varchar",
			"length": 80
		},
		{
			"field_number": 25,
			"name": "receiver_bank_account",
			"type": "varchar",
			"length": 40
		},
		{
			"constraint": [
				"index"
			],
			"field_number": 6,
			"name": "receiver_id",
			"nullable": true,
			"foreign_key": {
				"table": "supplier",
				"field": "supplier_id"
			},
			"type": "varchar",
			"length": 12
		},
		{
			"field_number": 32,
			"name": "record_id",
			"constraint": [
				"unique"
			],
			"type": "varchar",
			"length": 45
		},
		{
			"field_number": 16,
			"name": "reference_number",
			"type": "varchar",
			"length": 80
		},
		{
			"field_number": 30,
			"type": "double",
			"name": "sum_of_payable"
		},
		{
			"field_number": 29,
			"type": "double",
			"name": "sum_of_payment"
		},
		{
			"constraint": [
				"index"
			],
			"field_number": 13,
			"name": "supplier_id",
			"nullable": true,
			"foreign_key": {
				"table": "supplier",
				"field": "supplier_id"
			},
			"type": "varchar",
			"length": 12
		},
		{
			"field_number": 41,
			"name": "swift_code",
			"type": "varchar",
			"length": 40
		},
		{
			"constraint": [
				"index"
			],
			"field_number": 24,
			"name": "terms_of_payment_id",
			"nullable": true,
			"foreign_key": {
				"table": "terms_of_payment",
				"field": "terms_of_payment_id"
			},
			"type": "varchar",
			"length": 12
		},
		{
			"field_number": 34,
			"name": "transfer_id",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 60
		},
		{
			"field_number": 40,
			"type": "integer",
			"name": "transfer_state"
		},
		{
			"field_number": 20,
			"name": "voucher_number",
			"constraint": [
				"index"
			],
			"type": "varchar",
			"length": 20
		}
	],
	"table_prefix": "ap",
	"record_type_local": "accounts_payable"
}