mirror of
https://github.com/Karaka-Management/oms-Billing.git
synced 2026-01-21 11:58:41 +00:00
416 lines
14 KiB
JSON
416 lines
14 KiB
JSON
{
|
|
"billing_type": {
|
|
"name": "billing_type",
|
|
"fields": {
|
|
"billing_type_id": {
|
|
"name": "billing_type_id",
|
|
"type": "INT",
|
|
"null": false,
|
|
"primary": true,
|
|
"autoincrement": true
|
|
}
|
|
}
|
|
},
|
|
"billing_type_l11n": {
|
|
"name": "billing_type_l11n",
|
|
"fields": {
|
|
"billing_type_l11n_id": {
|
|
"name": "billing_type_l11n_id",
|
|
"type": "INT",
|
|
"null": false,
|
|
"primary": true,
|
|
"autoincrement": true
|
|
},
|
|
"billing_type_l11n_name": {
|
|
"name": "billing_type_l11n_name",
|
|
"type": "VARCHAR(255)",
|
|
"null": false
|
|
},
|
|
"billing_type_l11n_type": {
|
|
"name": "billing_type_l11n_type",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "billing_type",
|
|
"foreignKey": "billing_type_id"
|
|
},
|
|
"billing_type_l11n_language": {
|
|
"name": "billing_type_l11n_language",
|
|
"type": "VARCHAR(2)",
|
|
"default": null,
|
|
"null": true,
|
|
"foreignTable": "language",
|
|
"foreignKey": "language_639_1"
|
|
}
|
|
}
|
|
},
|
|
"billing_out": {
|
|
"name": "billing_out",
|
|
"fields": {
|
|
"billing_out_id": {
|
|
"name": "billing_out_id",
|
|
"type": "INT",
|
|
"null": false,
|
|
"primary": true,
|
|
"autoincrement": true
|
|
},
|
|
"billing_out_number": {
|
|
"name": "billing_out_number",
|
|
"type": "VARCHAR(255)",
|
|
"null": false
|
|
},
|
|
"billing_out_info": {
|
|
"name": "billing_out_info",
|
|
"type": "TEXT",
|
|
"default": null,
|
|
"null": true
|
|
},
|
|
"billing_out_status": {
|
|
"name": "billing_out_status",
|
|
"type": "TINYINT",
|
|
"null": false
|
|
},
|
|
"billing_out_type": {
|
|
"name": "billing_out_type",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "billing_type",
|
|
"foreignKey": "billing_type_id"
|
|
},
|
|
"billing_out_client": {
|
|
"name": "billing_out_client",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "clientmgmt_client",
|
|
"foreignKey": "clientmgmt_client_id"
|
|
},
|
|
"billing_out_shipTo": {
|
|
"name": "billing_out_shipTo",
|
|
"type": "VARCHAR(255)",
|
|
"null": false
|
|
},
|
|
"billing_out_shipFAO": {
|
|
"name": "billing_out_shipFAO",
|
|
"type": "VARCHAR(255)",
|
|
"default": null,
|
|
"null": true
|
|
},
|
|
"billing_out_shipAddr": {
|
|
"name": "billing_out_shipAddr",
|
|
"type": "VARCHAR(255)",
|
|
"default": null,
|
|
"null": true
|
|
},
|
|
"billing_out_shipCity": {
|
|
"name": "billing_out_shipCity",
|
|
"type": "VARCHAR(255)",
|
|
"default": null,
|
|
"null": true
|
|
},
|
|
"billing_out_shipZip": {
|
|
"name": "billing_out_shipZip",
|
|
"type": "VARCHAR(255)",
|
|
"default": null,
|
|
"null": true
|
|
},
|
|
"billing_out_shipCountry": {
|
|
"name": "billing_out_shipCountry",
|
|
"type": "VARCHAR(3)",
|
|
"default": null,
|
|
"null": true
|
|
},
|
|
"billing_out_billTo": {
|
|
"name": "billing_out_billTo",
|
|
"type": "VARCHAR(255)",
|
|
"null": false
|
|
},
|
|
"billing_out_billFAO": {
|
|
"name": "billing_out_billFAO",
|
|
"type": "VARCHAR(255)",
|
|
"default": null,
|
|
"null": true
|
|
},
|
|
"billing_out_billAddr": {
|
|
"name": "billing_out_billAddr",
|
|
"type": "VARCHAR(255)",
|
|
"default": null,
|
|
"null": true
|
|
},
|
|
"billing_out_billCity": {
|
|
"name": "billing_out_billCity",
|
|
"type": "VARCHAR(255)",
|
|
"default": null,
|
|
"null": true
|
|
},
|
|
"billing_out_billZip": {
|
|
"name": "billing_out_billZip",
|
|
"type": "VARCHAR(255)",
|
|
"default": null,
|
|
"null": true
|
|
},
|
|
"billing_out_billCountry": {
|
|
"name": "billing_out_billCountry",
|
|
"type": "VARCHAR(3)",
|
|
"default": null,
|
|
"null": true
|
|
},
|
|
"billing_out_created_at": {
|
|
"name": "billing_out_created_at",
|
|
"type": "DATETIME",
|
|
"null": false
|
|
},
|
|
"billing_out_performance_date": {
|
|
"name": "billing_out_performance_date",
|
|
"type": "DATETIME",
|
|
"null": false
|
|
},
|
|
"billing_out_created_by": {
|
|
"name": "billing_out_created_by",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "account",
|
|
"foreignKey": "account_id"
|
|
},
|
|
"billing_out_gross": {
|
|
"name": "billing_out_gross",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"billing_out_net": {
|
|
"name": "billing_out_net",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"billing_out_costs": {
|
|
"name": "billing_out_costs",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"billing_out_profit": {
|
|
"name": "billing_out_profit",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"billing_out_currency": {
|
|
"name": "billing_out_currency",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"billing_out_referral": {
|
|
"name": "billing_out_referral",
|
|
"type": "INT",
|
|
"null": true,
|
|
"default": null,
|
|
"foreignTable": "account",
|
|
"foreignKey": "account_id"
|
|
},
|
|
"billing_out_referral_name": {
|
|
"name": "billing_out_referral_name",
|
|
"type": "VARCHAR(255)",
|
|
"default": null,
|
|
"null": true
|
|
},
|
|
"billing_out_reference": {
|
|
"name": "billing_out_reference",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"billing_out_payment": {
|
|
"name": "billing_out_payment",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"billing_out_payment_text": {
|
|
"name": "billing_out_payment_text",
|
|
"type": "VARCHAR(255)",
|
|
"default": null,
|
|
"null": true
|
|
},
|
|
"billing_out_paymentterms": {
|
|
"name": "billing_out_paymentterms",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"billing_out_paymentterms_text": {
|
|
"name": "billing_out_paymentterms_text",
|
|
"type": "VARCHAR(255)",
|
|
"default": null,
|
|
"null": true
|
|
},
|
|
"billing_out_ship_type": {
|
|
"name": "billing_out_ship_type",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"billing_out_ship_text": {
|
|
"name": "billing_bill_ship_text",
|
|
"type": "VARCHAR(255)",
|
|
"default": null,
|
|
"null": true
|
|
}
|
|
}
|
|
},
|
|
"billing_out_element": {
|
|
"name": "billing_out_element",
|
|
"fields": {
|
|
"billing_out_element_id": {
|
|
"name": "billing_out_element_id",
|
|
"type": "INT",
|
|
"null": false,
|
|
"primary": true,
|
|
"autoincrement": true
|
|
},
|
|
"billing_out_element_order": {
|
|
"name": "billing_out_element_order",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"billing_out_element_item": {
|
|
"name": "billing_out_element_item",
|
|
"type": "INT",
|
|
"null": true,
|
|
"default": null
|
|
},
|
|
"billing_out_element_item_segment": {
|
|
"name": "billing_out_element_item_segment",
|
|
"type": "INT",
|
|
"default": null,
|
|
"null": true
|
|
},
|
|
"billing_out_element_item_number": {
|
|
"name": "billing_out_element_item_number",
|
|
"type": "VARCHAR(255)",
|
|
"null": false
|
|
},
|
|
"billing_out_element_item_name": {
|
|
"name": "billing_out_element_item_name",
|
|
"type": "VARCHAR(255)",
|
|
"null": false
|
|
},
|
|
"billing_out_element_item_desc": {
|
|
"name": "billing_out_element_item_desc",
|
|
"type": "VARCHAR(255)",
|
|
"null": false
|
|
},
|
|
"billing_out_element_quantity": {
|
|
"name": "billing_out_element_quantity",
|
|
"type": "INT",
|
|
"null": false
|
|
},
|
|
"billing_out_element_single_salesprice_net": {
|
|
"name": "billing_out_element_single_salesprice_net",
|
|
"type": "BIGINT",
|
|
"null": true,
|
|
"default": null
|
|
},
|
|
"billing_out_element_single_purchaseprice_net": {
|
|
"name": "billing_out_element_single_purchaseprice_net",
|
|
"type": "BIGINT",
|
|
"null": true,
|
|
"default": null
|
|
},
|
|
"billing_out_element_total_salesprice_net": {
|
|
"name": "billing_out_element_total_salesprice_net",
|
|
"type": "BIGINT",
|
|
"null": true,
|
|
"default": null
|
|
},
|
|
"billing_out_element_total_purchaseprice_net": {
|
|
"name": "billing_out_element_total_purchaseprice_net",
|
|
"type": "BIGINT",
|
|
"null": true,
|
|
"default": null
|
|
},
|
|
"billing_out_element_price_discount_single": {
|
|
"name": "billing_out_element_price_discount_single",
|
|
"type": "INT",
|
|
"null": true,
|
|
"default": null
|
|
},
|
|
"billing_out_element_price_discount_total": {
|
|
"name": "billing_out_element_price_discount_total",
|
|
"type": "INT",
|
|
"null": true,
|
|
"default": null
|
|
},
|
|
"billing_out_element_percentage_discount_single": {
|
|
"name": "billing_out_element_percentage_discount_single",
|
|
"type": "INT",
|
|
"null": true,
|
|
"default": null
|
|
},
|
|
"billing_out_element_percentage_discount_total": {
|
|
"name": "billing_out_element_percentage_discount_total",
|
|
"type": "INT",
|
|
"null": true,
|
|
"default": null
|
|
},
|
|
"billing_out_element_quantity_discount": {
|
|
"name": "billing_out_element_quantity_discount",
|
|
"type": "INT",
|
|
"null": true,
|
|
"default": null
|
|
},
|
|
"billing_out_element_price_single_net": {
|
|
"name": "billing_out_element_price_single_net",
|
|
"type": "INT",
|
|
"null": true,
|
|
"default": null
|
|
},
|
|
"billing_out_element_price_total_net": {
|
|
"name": "billing_out_element_price_total_net",
|
|
"type": "INT",
|
|
"null": true,
|
|
"default": null
|
|
},
|
|
"billing_out_element_tax_price": {
|
|
"name": "billing_out_element_tax_price",
|
|
"type": "INT",
|
|
"null": true,
|
|
"default": null
|
|
},
|
|
"billing_out_element_tax_type": {
|
|
"name": "billing_out_element_tax_type",
|
|
"type": "INT",
|
|
"null": true,
|
|
"default": null
|
|
},
|
|
"billing_out_element_tax_percentage": {
|
|
"name": "billing_out_element_tax_percentage",
|
|
"type": "INT",
|
|
"null": true,
|
|
"default": null
|
|
},
|
|
"billing_out_element_price_single_gross": {
|
|
"name": "billing_out_element_price_single_gross",
|
|
"type": "INT",
|
|
"null": true,
|
|
"default": null
|
|
},
|
|
"billing_out_element_price_total_gross": {
|
|
"name": "billing_out_element_price_total_gross",
|
|
"type": "INT",
|
|
"null": true,
|
|
"default": null
|
|
},
|
|
"billing_out_element_bill": {
|
|
"name": "billing_out_element_bill",
|
|
"type": "INT",
|
|
"null": false,
|
|
"foreignTable": "billing_out",
|
|
"foreignKey": "billing_out_id"
|
|
},
|
|
"billing_out_element_promotion": {
|
|
"name": "billing_out_element_promotion",
|
|
"type": "INT",
|
|
"default": null,
|
|
"null": true
|
|
},
|
|
"billing_out_element_event": {
|
|
"name": "billing_out_element_event",
|
|
"type": "INT",
|
|
"default": null,
|
|
"null": true
|
|
}
|
|
}
|
|
}
|
|
} |