非常复杂而多的Table,求一存贮过程,我是初学者,着急在线等!
coaddr: cust_num cust_seq name state curr_code
D000182 0 Vendor_name ECSH CNY
artran:
cust_num inv_num inv_seq type co_num acct amount exch_rate sales_tax tax_code1 ref do_num
D000182 176 0 I D070000046 11311000 9958.12 1 1692.88 ARI176
D000182 211 0 I D070000046 11311000 9958.12 1 1692.88 ARI211
CO:
co_num cust_num cust_seq cust_po order_date price stat cost sales_tax_t tax_code1 matl_cost_t exch_rate
D070046 D000182 0 FS000114 2007-4-26 61640.76 O 32899.42 3385.76 17% 32899.42 1
serial:
ser_num item inv_num trans_num ref_num ref_line ref_release
701110 06A1-0066 0 1795 D070046 1 0
701113 06A1-0066 176 1795 D070046 1 0
701114 06A1-0066 211 1795 D070046 1 0
journal:
seq acct dom_amount ref vend_num ref_num ref_line_suf ref_release curr_code exch_rate for_amount
205 54011 6630.93 IC D070046 D000182 D070046
1 0 CNY 1 6630.93
206 12433 -6630.93 IC D070046 D000182 D070046
1 0 CNY 1 -6630.93
coitem:
co_num co_line co_release item qty_ordered qty_ready qty_shipped price due_date u_m price_conv co_cust_num
D070046 1 0 06A1-0066 5 2 3 11651 5-28 PCS 11651 D000182
CO_ship:
co_num co_line co_release qty_invoiced ship_date qty_shipped qty_returned price
D070046 1 0 1 6-14 1
0 11651
D070046 1 0 1 7-9 1
0 11651
D070046 1 0 0 8-7 &n