テーブル情報
システム名 http://www.as-link.com/  作成者 秦 松甫 
サブシステム名 ERPlus@iDempiere3.1_daily  作成日 2016/3/7 
スキーマ名 adempiere  更新日  
論理テーブル名   RDBMS  PostgreSQL 9.4.5 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.8.3 20140911 (Red Hat 4.8.3-9), 64-bit 9.4.5 
物理テーブル名 pp_order_workflow_header_vt     
備考


カラム情報
No 論理名 物理名 データ型 Not Null デフォルト 備考
1 ad_client_id numeric(10)  
2 ad_org_id numeric(10)  
3 isactive character(1)  
4 created timestamp without time zone  
5 createdby numeric(10)  
6 updated timestamp without time zone  
7 updatedby numeric(10)  
8 ad_language character varying(6)  
9 pp_order_id numeric(10)  
10 docstatus character(2)  
11 c_doctype_id numeric(10)  
12 org_location_id numeric(10)  
13 taxid character varying(20)  
14 m_warehouse_id numeric(10)  
15 warehouse_location_id numeric(10)  
16 documenttype character varying(60)  
17 documenttypenote character varying(2000)  
18 planner_id numeric(10)  
19 salesrep_name character varying(60)  
20 datestart timestamp without time zone  
21 datestartschedule timestamp without time zone  
22 floatafter numeric  
23 floatbefored numeric  
24 line numeric(10)  
25 lot character varying(20)  
26 serno character varying(20)  
27 c_uom_id numeric(10)  
28 pp_product_bom_id numeric(10)  
29 assay numeric  
30 c_orderline_id numeric(10)  
31 priorityrule character(1)  
32 qtybatchsize numeric  
33 qtybatchs numeric  
34 qtydelivered numeric  
35 qtyentered numeric  
36 qtyordered numeric  
37 dateconfirm timestamp without time zone  
38 datedelivered timestamp without time zone  
39 datefinish timestamp without time zone  
40 datefinishschedule timestamp without time zone  
41 dateordered timestamp without time zone  
42 datepromised timestamp without time zone  
43 qtyreject numeric  
44 qtyreserved numeric  
45 qtyscrap numeric  
46 s_resource_id numeric(10)  
47 c_campaign_id numeric(10)  
48 c_project_id numeric(10)  
49 c_activity_id numeric(10)  
50 name character varying(60)  
51 description character varying(255)  
52 help character varying(2000)  
53 author character varying(20)  
54 cost numeric  
55 documentno character varying(32)  
56 duration numeric(10)  
57 durationunit character(1)  
58 version numeric(10)  
59 validfrom timestamp without time zone  
60 validto timestamp without time zone  
61 movingtime numeric(10)  
62 overlapunits numeric  
63 ad_workflow_id numeric(10)  
64 publishstatus character(1)  
65 queuingtime numeric(10)  
66 setuptime numeric(10)  
67 unitscycles numeric  
68 waitingtime numeric(10)  
69 workflowtype character(1)  
70 workingtime numeric(10)  
71 yield numeric(10)  
72 logo_id numeric(10)  


ソース
ソース
 SELECT o.ad_client_id,
o.ad_org_id,
o.isactive,
o.created,
o.createdby,
o.updated,
o.updatedby,
owt.ad_language,
o.pp_order_id,
o.docstatus,
o.c_doctype_id,
oi.c_location_id AS org_location_id,
oi.taxid,
o.m_warehouse_id,
wh.c_location_id AS warehouse_location_id,
dt.printname AS documenttype,
dt.documentnote AS documenttypenote,
o.planner_id,
u.name AS salesrep_name,
o.datestart,
o.datestartschedule,
o.floatafter,
o.floatbefored,
o.line,
o.lot,
o.serno,
o.c_uom_id,
o.pp_product_bom_id,
o.assay,
o.c_orderline_id,
o.priorityrule,
o.qtybatchsize,
o.qtybatchs,
o.qtydelivered,
o.qtyentered,
o.qtyordered,
o.dateconfirm,
o.datedelivered,
o.datefinish,
o.datefinishschedule,
o.dateordered,
o.datepromised,
o.qtyreject,
o.qtyreserved,
o.qtyscrap,
o.s_resource_id,
o.c_campaign_id,
o.c_project_id,
o.c_activity_id,
owt.name,
owt.description,
owt.help,
ow.author,
ow.cost,
ow.documentno,
ow.duration,
ow.durationunit,
ow.version,
ow.validfrom,
ow.validto,
ow.movingtime,
ow.overlapunits,
ow.ad_workflow_id,
ow.publishstatus,
ow.queuingtime,
ow.setuptime,
ow.unitscycles,
ow.waitingtime,
ow.workflowtype,
ow.workingtime,
ow.yield,
COALESCE(oi.logo_id, ci.logo_id) AS logo_id
FROM (((((((pp_order o
JOIN pp_order_workflow ow ON ((ow.pp_order_id = o.pp_order_id)))
JOIN pp_order_workflow_trl owt ON ((owt.pp_order_workflow_id = ow.pp_order_workflow_id)))
JOIN c_doctype dt ON ((o.c_doctype_id = dt.c_doctype_id)))
JOIN m_warehouse wh ON ((o.m_warehouse_id = wh.m_warehouse_id)))
JOIN ad_orginfo oi ON ((o.ad_org_id = oi.ad_org_id)))
JOIN ad_clientinfo ci ON ((o.ad_client_id = ci.ad_client_id)))
LEFT JOIN ad_user u ON ((o.planner_id = u.ad_user_id)));


インデックス情報
No インデックス名 カラムリスト ユニーク 備考


外部キー情報
No 外部キー名 カラムリスト 参照先 参照先カラムリスト


外部キー情報(PK側)
No 外部キー名 カラムリスト 参照元 参照元カラムリスト


RDBMS固有の情報
No プロパティ名 プロパティ値
1 schemaname adempiere
2 viewname pp_order_workflow_header_vt
3 viewowner adempiere
4 definition SELECT o.ad_client_id,
o.ad_org_id,
o.isactive,
o.created,
o.createdby,
o.updated,
o.updatedby,
owt.ad_language,
o.pp_order_id,
o.docstatus,
o.c_doctype_id,
oi.c_location_id AS org_location_id,
oi.taxid,
o.m_warehouse_id,
wh.c_location_id AS warehouse_location_id,
dt.printname AS documenttype,
dt.documentnote AS documenttypenote,
o.planner_id,
u.name AS salesrep_name,
o.datestart,
o.datestartschedule,
o.floatafter,
o.floatbefored,
o.line,
o.lot,
o.serno,
o.c_uom_id,
o.pp_product_bom_id,
o.assay,
o.c_orderline_id,
o.priorityrule,
o.qtybatchsize,
o.qtybatchs,
o.qtydelivered,
o.qtyentered,
o.qtyordered,
o.dateconfirm,
o.datedelivered,
o.datefinish,
o.datefinishschedule,
o.dateordered,
o.datepromised,
o.qtyreject,
o.qtyreserved,
o.qtyscrap,
o.s_resource_id,
o.c_campaign_id,
o.c_project_id,
o.c_activity_id,
owt.name,
owt.description,
owt.help,
ow.author,
ow.cost,
ow.documentno,
ow.duration,
ow.durationunit,
ow.version,
ow.validfrom,
ow.validto,
ow.movingtime,
ow.overlapunits,
ow.ad_workflow_id,
ow.publishstatus,
ow.queuingtime,
ow.setuptime,
ow.unitscycles,
ow.waitingtime,
ow.workflowtype,
ow.workingtime,
ow.yield,
COALESCE(oi.logo_id, ci.logo_id) AS logo_id
FROM (((((((pp_order o
JOIN pp_order_workflow ow ON ((ow.pp_order_id = o.pp_order_id)))
JOIN pp_order_workflow_trl owt ON ((owt.pp_order_workflow_id = ow.pp_order_workflow_id)))
JOIN c_doctype dt ON ((o.c_doctype_id = dt.c_doctype_id)))
JOIN m_warehouse wh ON ((o.m_warehouse_id = wh.m_warehouse_id)))
JOIN ad_orginfo oi ON ((o.ad_org_id = oi.ad_org_id)))
JOIN ad_clientinfo ci ON ((o.ad_client_id = ci.ad_client_id)))
LEFT JOIN ad_user u ON ((o.planner_id = u.ad_user_id)));