テーブル情報
システム名 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 
物理テーブル名 rv_projectlineissue     
備考


カラム情報
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 c_project_id numeric(10)  
9 m_product_id numeric(10)  
10 c_projectline_id numeric(10)  
11 line numeric(10)  
12 description character varying(255)  
13 plannedqty numeric  
14 plannedprice numeric  
15 plannedamt numeric  
16 plannedmarginamt numeric  
17 committedqty numeric  
18 c_projectissue_id numeric(10)  
19 m_locator_id numeric(10)  
20 movementqty numeric  
21 movementdate timestamp without time zone  
22 issueline numeric(10)  
23 issuedescription character varying(255)  
24 m_inoutline_id numeric(10)  
25 s_timeexpenseline_id numeric(10)  
26 c_acctschema_id numeric(10)  
27 account_id numeric(10)  
28 amtsourcedr numeric  
29 amtsourcecr numeric  
30 amtacctdr numeric  
31 amtacctcr numeric  
32 linemargin numeric  


ソース
ソース
 SELECT COALESCE(l.ad_client_id, i.ad_client_id) AS ad_client_id,
COALESCE(l.ad_org_id, i.ad_org_id) AS ad_org_id,
COALESCE(l.isactive, i.isactive) AS isactive,
COALESCE(l.created, i.created) AS created,
COALESCE(l.createdby, i.createdby) AS createdby,
COALESCE(l.updated, i.updated) AS updated,
COALESCE(l.updatedby, i.updatedby) AS updatedby,
COALESCE(l.c_project_id, i.c_project_id) AS c_project_id,
COALESCE(l.m_product_id, i.m_product_id) AS m_product_id,
l.c_projectline_id,
l.line,
l.description,
l.plannedqty,
l.plannedprice,
l.plannedamt,
l.plannedmarginamt,
l.committedqty,
i.c_projectissue_id,
i.m_locator_id,
i.movementqty,
i.movementdate,
i.line AS issueline,
i.description AS issuedescription,
i.m_inoutline_id,
i.s_timeexpenseline_id,
fa.c_acctschema_id,
fa.account_id,
fa.amtsourcedr,
fa.amtsourcecr,
fa.amtacctdr,
fa.amtacctcr,
((l.plannedamt - fa.amtsourcedr) + fa.amtsourcecr) AS linemargin
FROM ((c_projectline l
FULL JOIN c_projectissue i ON (((i.c_project_id = l.c_project_id) AND (i.c_projectissue_id = l.c_projectissue_id))))
LEFT JOIN fact_acct fa ON ((((fa.ad_table_id = (623)::numeric) AND (fa.record_id = i.c_projectissue_id)) AND (fa.m_locator_id IS NULL))));


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


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


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


RDBMS固有の情報
No プロパティ名 プロパティ値
1 schemaname adempiere
2 viewname rv_projectlineissue
3 viewowner adempiere
4 definition SELECT COALESCE(l.ad_client_id, i.ad_client_id) AS ad_client_id,
COALESCE(l.ad_org_id, i.ad_org_id) AS ad_org_id,
COALESCE(l.isactive, i.isactive) AS isactive,
COALESCE(l.created, i.created) AS created,
COALESCE(l.createdby, i.createdby) AS createdby,
COALESCE(l.updated, i.updated) AS updated,
COALESCE(l.updatedby, i.updatedby) AS updatedby,
COALESCE(l.c_project_id, i.c_project_id) AS c_project_id,
COALESCE(l.m_product_id, i.m_product_id) AS m_product_id,
l.c_projectline_id,
l.line,
l.description,
l.plannedqty,
l.plannedprice,
l.plannedamt,
l.plannedmarginamt,
l.committedqty,
i.c_projectissue_id,
i.m_locator_id,
i.movementqty,
i.movementdate,
i.line AS issueline,
i.description AS issuedescription,
i.m_inoutline_id,
i.s_timeexpenseline_id,
fa.c_acctschema_id,
fa.account_id,
fa.amtsourcedr,
fa.amtsourcecr,
fa.amtacctdr,
fa.amtacctcr,
((l.plannedamt - fa.amtsourcedr) + fa.amtsourcecr) AS linemargin
FROM ((c_projectline l
FULL JOIN c_projectissue i ON (((i.c_project_id = l.c_project_id) AND (i.c_projectissue_id = l.c_projectissue_id))))
LEFT JOIN fact_acct fa ON ((((fa.ad_table_id = (623)::numeric) AND (fa.record_id = i.c_projectissue_id)) AND (fa.m_locator_id IS NULL))));