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


カラム情報
No 論理名 物理名 データ型 Not Null デフォルト 備考
1 ad_client_id numeric(10)  
2 ad_org_id numeric(10)  
3 movementdate timestamp without time zone  
4 movementqty numeric  
5 m_product_id numeric(10)  
6 m_locator_id numeric(10)  
7 m_attributesetinstance_id numeric(10)  
8 m_product_category_id numeric(10)  
9 value character varying(40)  
10 c_bpartner_id numeric(10)  
11 pricepo numeric  
12 pricelastpo numeric  
13 pricelist numeric  
14 c_projectissue_id numeric(10)  
15 m_transaction_created timestamp without time zone  
16 m_transaction_createdby numeric(10)  
17 m_transaction_isactive character(1)  
18 m_inoutline_id numeric(10)  
19 movementtype character(2)  
20 m_productionline_id numeric(10)  
21 m_transaction_id numeric(10)  
22 pp_cost_collector_id numeric(10)  
23 m_transation_updated timestamp without time zone  
24 m_transation_updatedby numeric(10)  
25 m_product_ad_org_id numeric(10)  
26 classification character varying(12)  
27 m_product_copyfrom character(1)  
28 m_product_created timestamp without time zone  
29 m_product_createdby numeric(10)  
30 c_revenuerecognition_id numeric(10)  
31 c_subscriptiontype_id numeric(10)  
32 c_taxcategory_id numeric(10)  
33 m_product_c_uom_id numeric(10)  
34 m_product_description character varying(255)  
35 descriptionurl character varying(120)  
36 m_product_discontinued character(1)  
37 m_product_discontinuedat timestamp without time zone  
38 documentnote character varying(2000)  
39 group1 character varying(255)  
40 group2 character varying(255)  
41 guaranteedays numeric(10)  
42 guaranteedaysmin numeric(10)  
43 help character varying(2000)  
44 imageurl character varying(120)  
45 m_product_isactive character(1)  
46 isdropship character(1)  
47 isexcludeautodelivery character(1)  
48 isinvoiceprintdetails character(1)  
49 ispicklistprintdetails character(1)  
50 ispurchased character(1)  
51 isselfservice character(1)  
52 issold character(1)  
53 isstocked character(1)  
54 m_product_issummary character(1)  
55 isverified character(1)  
56 iswebstorefeatured character(1)  
57 lowlevel numeric(10)  
58 m_product_m_attributeset_id numeric(10)  
59 m_product_m_asi_id numeric(10)  
60 m_freightcategory_id numeric(10)  
61 m_product_m_locator_id numeric(10)  
62 m_product_name character varying(255)  
63 m_product_processing character(1)  
64 producttype character(1)  
65 r_mailtext_id numeric(10)  
66 m_product_salesrep_id numeric(10)  
67 s_expensetype_id numeric(10)  
68 shelfdepth numeric(10)  
69 shelfheight numeric  
70 shelfwidth numeric(10)  
71 sku character varying(30)  
72 s_resource_id numeric(10)  
73 unitsperpack numeric(10)  
74 unitsperpallet numeric  
75 m_product_upc character varying(30)  
76 m_product_updated timestamp without time zone  
77 m_product_updatedby numeric(10)  
78 versionno character varying(20)  
79 volume numeric  
80 weight numeric  
81 m_product_po_ad_org_id numeric(10)  
82 m_product_po_c_currency_id numeric(10)  
83 costperorder numeric  
84 m_product_po_created timestamp without time zone  
85 m_product_po_createdby numeric(10)  
86 m_product_po_c_uom_id numeric(10)  
87 deliverytime_actual numeric(10)  
88 deliverytime_promised numeric(10)  
89 m_product_po_discontinued character(1)  
90 m_product_po_discontinuedat timestamp without time zone  
91 m_product_po_isactive character(1)  
92 iscurrentvendor character(1)  
93 manufacturer character(30)  
94 m_product_po_m_product_id numeric(10)  
95 order_min numeric  
96 order_pack numeric  
97 priceeffective timestamp without time zone  
98 pricelastinv numeric  
99 qualityrating numeric  
100 royaltyamt numeric  
101 m_product_po_upc character varying(20)  
102 m_product_po_updated timestamp without time zone  
103 m_product_po_updatedby numeric(10)  
104 vendorcategory character(30)  
105 vendorproductno character varying(40)  


ソース
ソース
 SELECT t.ad_client_id,
t.ad_org_id,
t.movementdate,
t.movementqty,
t.m_product_id,
t.m_locator_id,
t.m_attributesetinstance_id,
p.m_product_category_id,
p.value,
po.c_bpartner_id,
po.pricepo,
po.pricelastpo,
po.pricelist,
t.c_projectissue_id,
t.created AS m_transaction_created,
t.createdby AS m_transaction_createdby,
t.isactive AS m_transaction_isactive,
t.m_inoutline_id,
t.movementtype,
t.m_productionline_id,
t.m_transaction_id,
t.pp_cost_collector_id,
t.updated AS m_transation_updated,
t.updatedby AS m_transation_updatedby,
p.ad_org_id AS m_product_ad_org_id,
p.classification,
p.copyfrom AS m_product_copyfrom,
p.created AS m_product_created,
p.createdby AS m_product_createdby,
p.c_revenuerecognition_id,
p.c_subscriptiontype_id,
p.c_taxcategory_id,
p.c_uom_id AS m_product_c_uom_id,
p.description AS m_product_description,
p.descriptionurl,
p.discontinued AS m_product_discontinued,
p.discontinuedat AS m_product_discontinuedat,
p.documentnote,
p.group1,
p.group2,
p.guaranteedays,
p.guaranteedaysmin,
p.help,
p.imageurl,
p.isactive AS m_product_isactive,
p.isdropship,
p.isexcludeautodelivery,
p.isinvoiceprintdetails,
p.ispicklistprintdetails,
p.ispurchased,
p.isselfservice,
p.issold,
p.isstocked,
p.issummary AS m_product_issummary,
p.isverified,
p.iswebstorefeatured,
p.lowlevel,
p.m_attributeset_id AS m_product_m_attributeset_id,
p.m_attributesetinstance_id AS m_product_m_asi_id,
p.m_freightcategory_id,
p.m_locator_id AS m_product_m_locator_id,
p.name AS m_product_name,
p.processing AS m_product_processing,
p.producttype,
p.r_mailtext_id,
p.salesrep_id AS m_product_salesrep_id,
p.s_expensetype_id,
p.shelfdepth,
p.shelfheight,
p.shelfwidth,
p.sku,
p.s_resource_id,
p.unitsperpack,
p.unitsperpallet,
p.upc AS m_product_upc,
p.updated AS m_product_updated,
p.updatedby AS m_product_updatedby,
p.versionno,
p.volume,
p.weight,
po.ad_org_id AS m_product_po_ad_org_id,
po.c_currency_id AS m_product_po_c_currency_id,
po.costperorder,
po.created AS m_product_po_created,
po.createdby AS m_product_po_createdby,
po.c_uom_id AS m_product_po_c_uom_id,
po.deliverytime_actual,
po.deliverytime_promised,
po.discontinued AS m_product_po_discontinued,
po.discontinuedat AS m_product_po_discontinuedat,
po.isactive AS m_product_po_isactive,
po.iscurrentvendor,
po.manufacturer,
po.m_product_id AS m_product_po_m_product_id,
po.order_min,
po.order_pack,
po.priceeffective,
po.pricelastinv,
po.qualityrating,
po.royaltyamt,
po.upc AS m_product_po_upc,
po.updated AS m_product_po_updated,
po.updatedby AS m_product_po_updatedby,
po.vendorcategory,
po.vendorproductno
FROM ((m_transaction t
JOIN m_product p ON ((t.m_product_id = p.m_product_id)))
JOIN m_product_po po ON ((t.m_product_id = po.m_product_id)))
WHERE (po.iscurrentvendor = 'Y'::bpchar);


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


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


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


RDBMS固有の情報
No プロパティ名 プロパティ値
1 schemaname adempiere
2 viewname rv_m_transaction
3 viewowner adempiere
4 definition SELECT t.ad_client_id,
t.ad_org_id,
t.movementdate,
t.movementqty,
t.m_product_id,
t.m_locator_id,
t.m_attributesetinstance_id,
p.m_product_category_id,
p.value,
po.c_bpartner_id,
po.pricepo,
po.pricelastpo,
po.pricelist,
t.c_projectissue_id,
t.created AS m_transaction_created,
t.createdby AS m_transaction_createdby,
t.isactive AS m_transaction_isactive,
t.m_inoutline_id,
t.movementtype,
t.m_productionline_id,
t.m_transaction_id,
t.pp_cost_collector_id,
t.updated AS m_transation_updated,
t.updatedby AS m_transation_updatedby,
p.ad_org_id AS m_product_ad_org_id,
p.classification,
p.copyfrom AS m_product_copyfrom,
p.created AS m_product_created,
p.createdby AS m_product_createdby,
p.c_revenuerecognition_id,
p.c_subscriptiontype_id,
p.c_taxcategory_id,
p.c_uom_id AS m_product_c_uom_id,
p.description AS m_product_description,
p.descriptionurl,
p.discontinued AS m_product_discontinued,
p.discontinuedat AS m_product_discontinuedat,
p.documentnote,
p.group1,
p.group2,
p.guaranteedays,
p.guaranteedaysmin,
p.help,
p.imageurl,
p.isactive AS m_product_isactive,
p.isdropship,
p.isexcludeautodelivery,
p.isinvoiceprintdetails,
p.ispicklistprintdetails,
p.ispurchased,
p.isselfservice,
p.issold,
p.isstocked,
p.issummary AS m_product_issummary,
p.isverified,
p.iswebstorefeatured,
p.lowlevel,
p.m_attributeset_id AS m_product_m_attributeset_id,
p.m_attributesetinstance_id AS m_product_m_asi_id,
p.m_freightcategory_id,
p.m_locator_id AS m_product_m_locator_id,
p.name AS m_product_name,
p.processing AS m_product_processing,
p.producttype,
p.r_mailtext_id,
p.salesrep_id AS m_product_salesrep_id,
p.s_expensetype_id,
p.shelfdepth,
p.shelfheight,
p.shelfwidth,
p.sku,
p.s_resource_id,
p.unitsperpack,
p.unitsperpallet,
p.upc AS m_product_upc,
p.updated AS m_product_updated,
p.updatedby AS m_product_updatedby,
p.versionno,
p.volume,
p.weight,
po.ad_org_id AS m_product_po_ad_org_id,
po.c_currency_id AS m_product_po_c_currency_id,
po.costperorder,
po.created AS m_product_po_created,
po.createdby AS m_product_po_createdby,
po.c_uom_id AS m_product_po_c_uom_id,
po.deliverytime_actual,
po.deliverytime_promised,
po.discontinued AS m_product_po_discontinued,
po.discontinuedat AS m_product_po_discontinuedat,
po.isactive AS m_product_po_isactive,
po.iscurrentvendor,
po.manufacturer,
po.m_product_id AS m_product_po_m_product_id,
po.order_min,
po.order_pack,
po.priceeffective,
po.pricelastinv,
po.qualityrating,
po.royaltyamt,
po.upc AS m_product_po_upc,
po.updated AS m_product_po_updated,
po.updatedby AS m_product_po_updatedby,
po.vendorcategory,
po.vendorproductno
FROM ((m_transaction t
JOIN m_product p ON ((t.m_product_id = p.m_product_id)))
JOIN m_product_po po ON ((t.m_product_id = po.m_product_id)))
WHERE (po.iscurrentvendor = 'Y'::bpchar);