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


カラム情報
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 r_request_id numeric(10)  
9 ad_user_id numeric(10)  
10 isselfservice character  
11 r_group_id numeric  
12 r_requesttype_id numeric  
13 r_category_id numeric  


ソース
ソース
 SELECT r_requestupdates.ad_client_id,
r_requestupdates.ad_org_id,
r_requestupdates.isactive,
r_requestupdates.created,
r_requestupdates.createdby,
r_requestupdates.updated,
r_requestupdates.updatedby,
r_requestupdates.r_request_id,
r_requestupdates.ad_user_id,
r_requestupdates.isselfservice,
NULL::numeric AS r_group_id,
NULL::numeric AS r_requesttype_id,
NULL::numeric AS r_category_id
FROM r_requestupdates
UNION
SELECT u.ad_client_id,
u.ad_org_id,
u.isactive,
u.created,
u.createdby,
u.updated,
u.updatedby,
r.r_request_id,
u.ad_user_id,
u.isselfservice,
r.r_group_id,
NULL::numeric AS r_requesttype_id,
NULL::numeric AS r_category_id
FROM (r_groupupdates u
JOIN r_request r ON ((u.r_group_id = r.r_group_id)))
UNION
SELECT u.ad_client_id,
u.ad_org_id,
u.isactive,
u.created,
u.createdby,
u.updated,
u.updatedby,
r.r_request_id,
u.ad_user_id,
u.isselfservice,
NULL::numeric AS r_group_id,
r.r_requesttype_id,
NULL::numeric AS r_category_id
FROM (r_requesttypeupdates u
JOIN r_request r ON ((u.r_requesttype_id = r.r_requesttype_id)))
UNION
SELECT u.ad_client_id,
u.ad_org_id,
u.isactive,
u.created,
u.createdby,
u.updated,
u.updatedby,
r.r_request_id,
u.ad_user_id,
u.isselfservice,
NULL::numeric AS r_group_id,
NULL::numeric AS r_requesttype_id,
r.r_category_id
FROM (r_categoryupdates u
JOIN r_request r ON ((u.r_category_id = r.r_category_id)))
UNION
SELECT r_request.ad_client_id,
r_request.ad_org_id,
r_request.isactive,
r_request.created,
r_request.createdby,
r_request.updated,
r_request.updatedby,
r_request.r_request_id,
r_request.ad_user_id,
r_request.isselfservice,
NULL::numeric AS r_group_id,
NULL::numeric AS r_requesttype_id,
NULL::numeric AS r_category_id
FROM r_request
WHERE (r_request.ad_user_id IS NOT NULL)
UNION
SELECT u.ad_client_id,
u.ad_org_id,
u.isactive,
u.created,
u.createdby,
u.updated,
u.updatedby,
r.r_request_id,
u.ad_user_id,
NULL::bpchar AS isselfservice,
NULL::numeric AS r_group_id,
NULL::numeric AS r_requesttype_id,
r.r_category_id
FROM (ad_user u
JOIN r_request r ON ((u.ad_user_id = r.salesrep_id)))
UNION
SELECT r.ad_client_id,
r.ad_org_id,
u.isactive,
r.created,
r.createdby,
r.updated,
r.updatedby,
r.r_request_id,
u.ad_user_id,
NULL::bpchar AS isselfservice,
NULL::numeric AS r_group_id,
NULL::numeric AS r_requesttype_id,
NULL::numeric AS r_category_id
FROM (r_request r
JOIN ad_user_roles u ON ((u.ad_role_id = r.ad_role_id)));


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


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


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


RDBMS固有の情報
No プロパティ名 プロパティ値
1 schemaname adempiere
2 viewname rv_requestupdates
3 viewowner adempiere
4 definition SELECT r_requestupdates.ad_client_id,
r_requestupdates.ad_org_id,
r_requestupdates.isactive,
r_requestupdates.created,
r_requestupdates.createdby,
r_requestupdates.updated,
r_requestupdates.updatedby,
r_requestupdates.r_request_id,
r_requestupdates.ad_user_id,
r_requestupdates.isselfservice,
NULL::numeric AS r_group_id,
NULL::numeric AS r_requesttype_id,
NULL::numeric AS r_category_id
FROM r_requestupdates
UNION
SELECT u.ad_client_id,
u.ad_org_id,
u.isactive,
u.created,
u.createdby,
u.updated,
u.updatedby,
r.r_request_id,
u.ad_user_id,
u.isselfservice,
r.r_group_id,
NULL::numeric AS r_requesttype_id,
NULL::numeric AS r_category_id
FROM (r_groupupdates u
JOIN r_request r ON ((u.r_group_id = r.r_group_id)))
UNION
SELECT u.ad_client_id,
u.ad_org_id,
u.isactive,
u.created,
u.createdby,
u.updated,
u.updatedby,
r.r_request_id,
u.ad_user_id,
u.isselfservice,
NULL::numeric AS r_group_id,
r.r_requesttype_id,
NULL::numeric AS r_category_id
FROM (r_requesttypeupdates u
JOIN r_request r ON ((u.r_requesttype_id = r.r_requesttype_id)))
UNION
SELECT u.ad_client_id,
u.ad_org_id,
u.isactive,
u.created,
u.createdby,
u.updated,
u.updatedby,
r.r_request_id,
u.ad_user_id,
u.isselfservice,
NULL::numeric AS r_group_id,
NULL::numeric AS r_requesttype_id,
r.r_category_id
FROM (r_categoryupdates u
JOIN r_request r ON ((u.r_category_id = r.r_category_id)))
UNION
SELECT r_request.ad_client_id,
r_request.ad_org_id,
r_request.isactive,
r_request.created,
r_request.createdby,
r_request.updated,
r_request.updatedby,
r_request.r_request_id,
r_request.ad_user_id,
r_request.isselfservice,
NULL::numeric AS r_group_id,
NULL::numeric AS r_requesttype_id,
NULL::numeric AS r_category_id
FROM r_request
WHERE (r_request.ad_user_id IS NOT NULL)
UNION
SELECT u.ad_client_id,
u.ad_org_id,
u.isactive,
u.created,
u.createdby,
u.updated,
u.updatedby,
r.r_request_id,
u.ad_user_id,
NULL::bpchar AS isselfservice,
NULL::numeric AS r_group_id,
NULL::numeric AS r_requesttype_id,
r.r_category_id
FROM (ad_user u
JOIN r_request r ON ((u.ad_user_id = r.salesrep_id)))
UNION
SELECT r.ad_client_id,
r.ad_org_id,
u.isactive,
r.created,
r.createdby,
r.updated,
r.updatedby,
r.r_request_id,
u.ad_user_id,
NULL::bpchar AS isselfservice,
NULL::numeric AS r_group_id,
NULL::numeric AS r_requesttype_id,
NULL::numeric AS r_category_id
FROM (r_request r
JOIN ad_user_roles u ON ((u.ad_role_id = r.ad_role_id)));