+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_dberp_finance_payable:/tablelist/okayapi_dberp_finance_payable.html


-- MySQL Table okayapi_dberp_finance_payable
-- From: OkayAPI.com
CREATE TABLE `okayapi_dberp_finance_payable` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `warehouse_order_id` int(11) NOT NULL COMMENT '入库单号',
    `p_order_id` int(11) NOT NULL COMMENT '采购订单id',
    `p_order_sn` varchar(50) NOT NULL COMMENT '采购订单号',
    `supplier_id` int(11) NOT NULL COMMENT '',
    `supplier_name` varchar(100) NOT NULL COMMENT '',
    `payment_code` varchar(20) NOT NULL COMMENT '支付方式code',
    `payment_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 '管理员id',
    KEY `warehouse_order_id` (`warehouse_order_id`),
    KEY `p_order_id` (`p_order_id`),
    KEY `p_order_sn` (`p_order_sn`),
    KEY `supplier_id` (`supplier_id`),
    KEY `supplier_name` (`supplier_name`),
    KEY `payment_code` (`payment_code`),
    KEY `payment_amount` (`payment_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-9 of 9 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
warehouse_order_idint(11)入库单号
p_order_idint(11)采购订单id
p_order_snvarchar(50)采购订单号
supplier_idint(11)
supplier_namevarchar(100)
payment_codevarchar(20)支付方式code
payment_amountdecimal(19,4)0.0000采购支付金额0.0000
finish_amountdecimal(19,4)0.0000采购已经支付金额0.0000
admin_idint(11)管理员id

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

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

TOP ↑