+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_dberp_accounts_receivable:/tablelist/okayapi_dberp_accounts_receivable.html


-- MySQL Table okayapi_dberp_accounts_receivable
-- From: OkayAPI.com
CREATE TABLE `okayapi_dberp_accounts_receivable` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `sales_order_id` int(11) NOT NULL COMMENT '',
    `sales_order_sn` varchar(50) NOT NULL COMMENT '',
    `send_order_id` int(11) NOT NULL COMMENT '',
    `send_order_sn` varchar(50) NOT NULL COMMENT '',
    `customer_id` int(11) NOT NULL COMMENT '',
    `customer_name` varchar(100) NOT NULL COMMENT '',
    `receivable_code` varchar(20) NOT NULL COMMENT '',
    `receivable_amount` decimal(19,4) NOT NULL DEFAULT '0.0000' COMMENT '',
    `finish_amount` decimal(19,4) NOT NULL DEFAULT '0.0000' COMMENT '',
    `admin_id` int(11) NOT NULL COMMENT '',
    KEY `sales_order_id` (`sales_order_id`),
    KEY `sales_order_sn` (`sales_order_sn`),
    KEY `send_order_id` (`send_order_id`),
    KEY `send_order_sn` (`send_order_sn`),
    KEY `customer_id` (`customer_id`),
    KEY `customer_name` (`customer_name`),
    KEY `receivable_code` (`receivable_code`),
    KEY `receivable_amount` (`receivable_amount`),
    KEY `finish_amount` (`finish_amount`),
    KEY `admin_id` (`admin_id`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'DBErp进销存-应收账款表';

After replication, you can go to the database to create the database table.


MySQL database table structure design

Displaying 1-10 of 10 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
sales_order_idint(11)
sales_order_snvarchar(50)
send_order_idint(11)
send_order_snvarchar(50)
customer_idint(11)
customer_namevarchar(100)
receivable_codevarchar(20)
receivable_amountdecimal(19,4)0.00000.0000
finish_amountdecimal(19,4)0.00000.0000
admin_idint(11)

Guess You Like

MySQL Table Design okayapi_smpss_admin

MySQL Table Design okayapi_smpss_category

MySQL Table Design okayapi_smpss_goods

MySQL Table Design okayapi_smpss_group

MySQL Table Design okayapi_smpss_log

MySQL Table Design okayapi_smpss_mbgroup

MySQL Table Design okayapi_smpss_member

MySQL Table Design okayapi_smpss_purchase

MySQL Table Design okayapi_smpss_region

MySQL Table Design okayapi_smpss_sales

MySQL Table Design okayapi_smpss_system

MySQL Table Design okayapi_smpss_tempsales

MySQL Table Design okayapi_dberp_accounts_receivable_log

MySQL Table Design okayapi_dberp_admin

MySQL Table Design okayapi_dberp_admin_group

MySQL Table Design okayapi_dberp_app

MySQL Table Design okayapi_dberp_brand

MySQL Table Design okayapi_dberp_customer

MySQL Table Design okayapi_dberp_customer_category

MySQL Table Design okayapi_dberp_finance_payable

TOP ↑