| システム名 | 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_commissionrundetail | ||
| 備考 |
|||
| 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_commissionrun_id | numeric(10) | ||||
| 9 | documentno | character varying(30) | ||||
| 10 | description | character varying(255) | ||||
| 11 | startdate | timestamp without time zone | ||||
| 12 | grandtotal | numeric | ||||
| 13 | processed | character(1) | ||||
| 14 | c_commission_id | numeric(10) | ||||
| 15 | commission_bpartner_id | numeric(10) | ||||
| 16 | c_commissionamt_id | numeric(10) | ||||
| 17 | commissionconvertedamt | numeric | ||||
| 18 | commissionqty | numeric | ||||
| 19 | commissionamt | numeric | ||||
| 20 | c_commissiondetail_id | numeric(10) | ||||
| 21 | reference | character varying(60) | ||||
| 22 | c_orderline_id | numeric(10) | ||||
| 23 | c_invoiceline_id | numeric(10) | ||||
| 24 | info | character varying(60) | ||||
| 25 | c_currency_id | numeric(10) | ||||
| 26 | actualamt | numeric | ||||
| 27 | convertedamt | numeric | ||||
| 28 | actualqty | numeric | ||||
| 29 | invoicedocumentno | character varying(30) | ||||
| 30 | datedoc | timestamp without time zone | ||||
| 31 | m_product_id | numeric(10) | ||||
| 32 | c_bpartner_id | numeric(10) | ||||
| 33 | c_bpartner_location_id | numeric(10) | ||||
| 34 | ad_user_id | numeric(10) | ||||
| 35 | c_doctype_id | numeric(10) | ||||
| 36 | c_commisionrun_processing | character(1) | ||||
| 37 | c_commission_ad_org_id | numeric(10) | ||||
| 38 | c_commission_c_currency_id | numeric(10) | ||||
| 39 | c_commission_created | timestamp without time zone | ||||
| 40 | c_commission_createdby | numeric(10) | ||||
| 41 | createfrom | character(1) | ||||
| 42 | datelastrun | timestamp without time zone | ||||
| 43 | c_commission_description | character varying(255) | ||||
| 44 | docbasistype | character(1) | ||||
| 45 | frequencytype | character(1) | ||||
| 46 | c_commission_isactive | character(1) | ||||
| 47 | listdetails | character(1) | ||||
| 48 | c_commission_name | character varying(60) | ||||
| 49 | c_commission_updated | timestamp without time zone | ||||
| 50 | c_commission_updatedby | numeric(10) | ||||
| 51 | c_commissionamt_ad_org_id | numeric(10) | ||||
| 52 | c_commissionline_id | numeric(10) | ||||
| 53 | c_commmissionamt_created | timestamp without time zone | ||||
| 54 | c_commmissionamt_createdby | numeric(10) | ||||
| 55 | c_commmissionamt_isactive | character(1) | ||||
| 56 | c_commmissionamt_updated | timestamp without time zone | ||||
| 57 | c_commssionamt_updatedby | numeric(10) | ||||
| 58 | c_commissiondetail_ad_org_id | numeric(10) | ||||
| 59 | c_commissiondetail_created | timestamp without time zone | ||||
| 60 | c_commissiondetail_createdby | numeric(10) | ||||
| 61 | c_commossiondetail_isactive | character(1) | ||||
| 62 | c_commissiondetail_updated | timestamp without time zone | ||||
| 63 | c_commissiondetail_updatedby | numeric(10) | ||||
| 64 | c_orderline_ad_org_id | numeric(10) | ||||
| 65 | c_orderline_ad_orgtrx_id | numeric(10) | ||||
| 66 | c_orderline_c_activity_id | numeric(10) | ||||
| 67 | c_orderline_c_bpartner_id | numeric(10) | ||||
| 68 | c_orderline_c_bp_location_id | numeric(10) | ||||
| 69 | c_orderline_c_campaign_id | numeric(10) | ||||
| 70 | c_orderline_c_charge_id | numeric(10) | ||||
| 71 | c_orderline_c_currency_id | numeric(10) | ||||
| 72 | c_orderline_c_order_id | numeric(10) | ||||
| 73 | c_orderline_c_project_id | numeric(10) | ||||
| 74 | c_orderline_c_projectphase_id | numeric(10) | ||||
| 75 | c_orderline_c_projecttask_id | numeric(10) | ||||
| 76 | c_orderline_created | timestamp without time zone | ||||
| 77 | c_orderline_createdby | numeric(10) | ||||
| 78 | c_orderline_c_tax_id | numeric(10) | ||||
| 79 | c_orderline_c_uom_id | numeric(10) | ||||
| 80 | datedelivered | timestamp without time zone | ||||
| 81 | dateinvoiced | timestamp without time zone | ||||
| 82 | dateordered | timestamp without time zone | ||||
| 83 | datepromised | timestamp without time zone | ||||
| 84 | c_orderline_description | character varying(255) | ||||
| 85 | discount | numeric | ||||
| 86 | freightamt | numeric | ||||
| 87 | c_orderline_isactive | character(1) | ||||
| 88 | isdescription | character(1) | ||||
| 89 | c_orderline_line | numeric(10) | ||||
| 90 | c_orderline_linenetamt | numeric | ||||
| 91 | link_orderline_id | numeric(10) | ||||
| 92 | c_orderline_m_asi_id | numeric(10) | ||||
| 93 | m_promotion_id | numeric(10) | ||||
| 94 | c_orderline_m_shipper_id | numeric(10) | ||||
| 95 | c_orderline_m_warehouse_id | numeric(10) | ||||
| 96 | c_orderline_priceactual | numeric | ||||
| 97 | pricecost | numeric | ||||
| 98 | c_orderline_priceentered | numeric | ||||
| 99 | c_orderline_pricelist | numeric | ||||
| 100 | c_orderline_processed | character(1) | ||||
| 101 | qtydelivered | numeric | ||||
| 102 | qtyentered | numeric | ||||
| 103 | c_orderline_qtyinvoiced | numeric | ||||
| 104 | qtylostsales | numeric | ||||
| 105 | qtyordered | numeric | ||||
| 106 | qtyreserved | numeric | ||||
| 107 | c_orderline_ref_orderline_id | numeric(10) | ||||
| 108 | c_orderline_rramt | numeric | ||||
| 109 | c_orderline_rrstartsate | timestamp without time zone | ||||
| 110 | c_orderline_s_rassignment_id | numeric(10) | ||||
| 111 | c_orderline_updated | timestamp without time zone | ||||
| 112 | c_orderline_updatedby | numeric(10) | ||||
| 113 | c_orderline_user1_id | numeric(10) | ||||
| 114 | c_orderline_user2_id | numeric(10) | ||||
| 115 | c_inviceline_ad_org_id | numeric(10) | ||||
| 116 | c_invoiceline_ad_orgtrx_id | numeric(10) | ||||
| 117 | a_processed | character(1) | ||||
| 118 | c_invoiceline_c_activity_id | numeric(10) | ||||
| 119 | c_invoiceline_c_campaign_id | numeric(10) | ||||
| 120 | c_invoiceline_c_charge_id | numeric(10) | ||||
| 121 | c_invoice_id | numeric(10) | ||||
| 122 | c_invoiceline_c_orderline_id | numeric(10) | ||||
| 123 | c_invoiceline_c_project_id | numeric(10) | ||||
| 124 | c_invoiceline_c_projphase_id | numeric(10) | ||||
| 125 | c_invoiceline_c_projecttask_id | numeric(10) | ||||
| 126 | c_invoiceline_created | timestamp without time zone | ||||
| 127 | c_invoiceline_createdby | numeric(10) | ||||
| 128 | c_invoiceline_c_tax_id | numeric(10) | ||||
| 129 | c_invoiceline_c_uom_id | numeric(10) | ||||
| 130 | c_invoiceline_description | character varying(255) | ||||
| 131 | c_invoiceline_isactive | character(1) | ||||
| 132 | c_invoiceline_isdescription | character(1) | ||||
| 133 | isprinted | character(1) | ||||
| 134 | c_invoiceline_line | numeric(10) | ||||
| 135 | c_invoiceline_linenetamt | numeric | ||||
| 136 | c_invoiceline_linetotalamt | numeric | ||||
| 137 | c_invoiceline_m_asi_id | numeric(10) | ||||
| 138 | m_inoutline_id | numeric(10) | ||||
| 139 | c_invoiceline_m_rmaline_id | numeric(10) | ||||
| 140 | c_invoiceline_priceactual | numeric | ||||
| 141 | c_invoiceline_priceentered | numeric | ||||
| 142 | c_invoiceline_pricelimit | numeric | ||||
| 143 | c_invoiceline_pricelist | numeric | ||||
| 144 | c_invoiceline_processed | character(1) | ||||
| 145 | c_invoiceline_qtyentered | numeric | ||||
| 146 | c_invoiceline_qtyinvoiced | numeric | ||||
| 147 | c_invoiceline_ref_invline_id | numeric(10) | ||||
| 148 | c_invoiceline_rramt | numeric | ||||
| 149 | c_invoiceline_rrstartdate | timestamp without time zone | ||||
| 150 | c_invoiceline_s_rassignment_id | numeric(10) | ||||
| 151 | c_invoiceline_taxamt | numeric | ||||
| 152 | c_invoiceline_updated | timestamp without time zone | ||||
| 153 | c_invoiceline_updatedby | numeric(10) | ||||
| 154 | c_invoiceline_user1_id | numeric(10) | ||||
| 155 | c_invoiceline_user2_id | numeric(10) | ||||
| 156 | c_order_ad_org_id | numeric(10) | ||||
| 157 | c_order_ad_orgtrx_id | numeric(10) | ||||
| 158 | c_order_ad_user_id | numeric(10) | ||||
| 159 | amountrefunded | numeric(22, 2) | ||||
| 160 | amounttendered | numeric(22, 2) | ||||
| 161 | bill_bpartner_id | numeric(10) | ||||
| 162 | bill_location_id | numeric(10) | ||||
| 163 | bill_user_id | numeric(10) | ||||
| 164 | c_activity_id | numeric(10) | ||||
| 165 | c_order_c_campaign_id | numeric(10) | ||||
| 166 | c_cashline_id | numeric(10) | ||||
| 167 | c_cashplanline_id | numeric(10) | ||||
| 168 | c_charge_id | numeric(10) | ||||
| 169 | c_conversiontype_id | numeric(10) | ||||
| 170 | c_order_c_currency_id | numeric(10) | ||||
| 171 | c_doctypetarget_id | numeric(10) | ||||
| 172 | c_order_chargeamt | numeric | ||||
| 173 | c_order_copyfrom | character(1) | ||||
| 174 | c_order_c_order_id | numeric(10) | ||||
| 175 | c_order_c_payment_id | numeric(10) | ||||
| 176 | c_order_paymentterm_id | numeric(10) | ||||
| 177 | c_pos_id | numeric(10) | ||||
| 178 | c_order_c_project_id | numeric(10) | ||||
| 179 | c_order_created | timestamp without time zone | ||||
| 180 | c_order_createdby | numeric(10) | ||||
| 181 | c_order_dateacct | timestamp without time zone | ||||
| 182 | c_order_dateprinted | timestamp without time zone | ||||
| 183 | c_order_datepromised | timestamp without time zone | ||||
| 184 | c_order_deliveryrule | character(1) | ||||
| 185 | c_order_deliveryviarule | character(1) | ||||
| 186 | c_order_description | character varying(255) | ||||
| 187 | c_order_docaction | character(2) | ||||
| 188 | c_order_docstatus | character(2) | ||||
| 189 | c_order_documentno | character varying(30) | ||||
| 190 | dropship_bpartner_id | numeric(10) | ||||
| 191 | dropship_location_id | numeric(10) | ||||
| 192 | dropship_user_id | numeric(10) | ||||
| 193 | c_order_freightamt | numeric | ||||
| 194 | c_order_freightcostrule | character(1) | ||||
| 195 | c_order_grandtotal | numeric | ||||
| 196 | invoicerule | character(1) | ||||
| 197 | c_order_isactive | character(1) | ||||
| 198 | isapproved | character(1) | ||||
| 199 | iscreditapproved | character(1) | ||||
| 200 | isdelivered | character(1) | ||||
| 201 | isdiscountprinted | character(1) | ||||
| 202 | isdropship | character(1) | ||||
| 203 | isinvoiced | character(1) | ||||
| 204 | ispayschedulevalid | character(1) | ||||
| 205 | c_order_isprinted | character(1) | ||||
| 206 | c_order_isselected | character(1) | ||||
| 207 | c_order_isselfservice | character(1) | ||||
| 208 | c_order_issotrx | character(1) | ||||
| 209 | c_order_istaxincluded | character(1) | ||||
| 210 | istransferred | character(1) | ||||
| 211 | link_order_id | numeric(10) | ||||
| 212 | m_freightcategory_id | numeric(10) | ||||
| 213 | m_pricelist_id | numeric(10) | ||||
| 214 | c_order_m_shipper_id | numeric(10) | ||||
| 215 | c_order_m_warehouse_id | numeric(10) | ||||
| 216 | ordertype | character varying(510) | ||||
| 217 | pay_bpartner_id | numeric(10) | ||||
| 218 | pay_location_id | numeric(10) | ||||
| 219 | paymentrule | character(1) | ||||
| 220 | poreference | character varying(20) | ||||
| 221 | c_order_posted | character(1) | ||||
| 222 | priorityrule | character(1) | ||||
| 223 | c_order_processed | character(1) | ||||
| 224 | c_order_processedon | numeric | ||||
| 225 | promotioncode | character varying(30) | ||||
| 226 | c_order_ref_order_id | numeric(10) | ||||
| 227 | c_order_sendemail | character(1) | ||||
| 228 | c_order_totallines | numeric | ||||
| 229 | c_order_user1_id | numeric(10) | ||||
| 230 | c_order_user2_id | numeric(10) | ||||
| 231 | c_invoice_ad_org_id | numeric(10) | ||||
| 232 | c_invoice_ad_orgtrx_id | numeric(10) | ||||
| 233 | c_invoice_c_activity_id | numeric(10) | ||||
| 234 | c_invoice_c_campaign_id | numeric(10) | ||||
| 235 | c_invoice_c_charge_id | numeric(10) | ||||
| 236 | c_invoice_c_conversiontype_id | numeric(10) | ||||
| 237 | c_invoice_c_currency_id | numeric(10) | ||||
| 238 | c_invoice_c_doctypetarget_id | numeric(10) | ||||
| 239 | c_dunninglevel_id | numeric(10) | ||||
| 240 | c_invoice_chargeamt | numeric | ||||
| 241 | c_invoice_c_invoice_id | numeric(10) | ||||
| 242 | c_invoice_c_order_id | numeric(10) | ||||
| 243 | c_invoice_c_payment_id | numeric(10) | ||||
| 244 | c_invoice_c_paymentterm_id | numeric(10) | ||||
| 245 | c_invoice_c_project_id | numeric(10) | ||||
| 246 | c_invoice_created | timestamp without time zone | ||||
| 247 | c_invoice_createdby | numeric(10) | ||||
| 248 | c_invoice_dateacct | timestamp without time zone | ||||
| 249 | c_invoice_dateordered | timestamp without time zone | ||||
| 250 | c_invoice_dateprinted | timestamp without time zone | ||||
| 251 | c_invoice_description | character varying(255) | ||||
| 252 | c_invoice_docaction | character(2) | ||||
| 253 | c_invoice_docstatus | character(2) | ||||
| 254 | c_invoice_dunninggrace | date | ||||
| 255 | generateto | character(1) | ||||
| 256 | c_invoice_grandtotal | numeric | ||||
| 257 | invoicecollectiontype | character(1) | ||||
| 258 | c_invoice_isactive | character(1) | ||||
| 259 | c_invoice_isapproved | character(1) | ||||
| 260 | c_invoice_isdiscountprinted | character(1) | ||||
| 261 | c_invoice_isindispute | character(1) | ||||
| 262 | c_invoice_ispayschedulevalid | character(1) | ||||
| 263 | c_invoice_isprinted | character(1) | ||||
| 264 | c_invoice_isselfservice | character(1) | ||||
| 265 | c_invoice_issotrx | character(1) | ||||
| 266 | c_invoice_istaxincluded | character(1) | ||||
| 267 | c_invoice_istransferred | character(1) | ||||
| 268 | c_invoice_m_pricelist_id | numeric(10) | ||||
| 269 | c_invoice_m_rma_id | numeric(10) | ||||
| 270 | c_invoice_paymentrule | character(1) | ||||
| 271 | c_invoice_poreference | character varying(20) | ||||
| 272 | c_invoice_posted | character(1) | ||||
| 273 | c_invoice_processedon | numeric | ||||
| 274 | c_invoice_processing | character(1) | ||||
| 275 | ref_invoice_id | numeric(10) | ||||
| 276 | reversal_id | numeric(10) | ||||
| 277 | c_invoice_salesrep_id | numeric(10) | ||||
| 278 | c_invoice_sendemail | character(1) | ||||
| 279 | c_invoice_totallines | numeric | ||||
| 280 | c_invoice_updated | timestamp without time zone | ||||
| 281 | c_invoice_updatedby | numeric(10) | ||||
| 282 | c_invoice_user1_id | numeric(10) | ||||
| 283 | c_invoice_user2_id | numeric(10) |
| ソース |
|---|
SELECT cr.ad_client_id, |
| No | インデックス名 | カラムリスト | ユニーク | 備考 |
|---|
| No | 外部キー名 | カラムリスト | 参照先 | 参照先カラムリスト |
|---|
| No | 外部キー名 | カラムリスト | 参照元 | 参照元カラムリスト |
|---|
| No | プロパティ名 | プロパティ値 |
|---|---|---|
| 1 | schemaname | adempiere |
| 2 | viewname | rv_commissionrundetail |
| 3 | viewowner | adempiere |
| 4 | definition | SELECT cr.ad_client_id, cr.ad_org_id, cr.isactive, cr.created, cr.createdby, cr.updated, cr.updatedby, cr.c_commissionrun_id, cr.documentno, cr.description, cr.startdate, cr.grandtotal, cr.processed, c.c_commission_id, c.c_bpartner_id AS commission_bpartner_id, ca.c_commissionamt_id, ca.convertedamt AS commissionconvertedamt, ca.actualqty AS commissionqty, ca.commissionamt, cd.c_commissiondetail_id, cd.reference, cd.c_orderline_id, cd.c_invoiceline_id, cd.info, cd.c_currency_id, cd.actualamt, cd.convertedamt, cd.actualqty, i.documentno AS invoicedocumentno, COALESCE(i.dateinvoiced, o.dateordered) AS datedoc, COALESCE(il.m_product_id, ol.m_product_id) AS m_product_id, COALESCE(i.c_bpartner_id, o.c_bpartner_id) AS c_bpartner_id, COALESCE(i.c_bpartner_location_id, o.c_bpartner_location_id) AS c_bpartner_location_id, COALESCE(i.ad_user_id, o.ad_user_id) AS ad_user_id, COALESCE(i.c_doctype_id, o.c_doctype_id) AS c_doctype_id, cr.processing AS c_commisionrun_processing, c.ad_org_id AS c_commission_ad_org_id, c.c_currency_id AS c_commission_c_currency_id, c.created AS c_commission_created, c.createdby AS c_commission_createdby, c.createfrom, c.datelastrun, c.description AS c_commission_description, c.docbasistype, c.frequencytype, c.isactive AS c_commission_isactive, c.listdetails, c.name AS c_commission_name, c.updated AS c_commission_updated, c.updatedby AS c_commission_updatedby, ca.ad_org_id AS c_commissionamt_ad_org_id, ca.c_commissionline_id, ca.created AS c_commmissionamt_created, ca.createdby AS c_commmissionamt_createdby, ca.isactive AS c_commmissionamt_isactive, ca.updated AS c_commmissionamt_updated, ca.updatedby AS c_commssionamt_updatedby, cd.ad_org_id AS c_commissiondetail_ad_org_id, cd.created AS c_commissiondetail_created, cd.createdby AS c_commissiondetail_createdby, cd.isactive AS c_commossiondetail_isactive, cd.updated AS c_commissiondetail_updated, cd.updatedby AS c_commissiondetail_updatedby, ol.ad_org_id AS c_orderline_ad_org_id, ol.ad_orgtrx_id AS c_orderline_ad_orgtrx_id, ol.c_activity_id AS c_orderline_c_activity_id, ol.c_bpartner_id AS c_orderline_c_bpartner_id, ol.c_bpartner_location_id AS c_orderline_c_bp_location_id, ol.c_campaign_id AS c_orderline_c_campaign_id, ol.c_charge_id AS c_orderline_c_charge_id, ol.c_currency_id AS c_orderline_c_currency_id, ol.c_order_id AS c_orderline_c_order_id, ol.c_project_id AS c_orderline_c_project_id, ol.c_projectphase_id AS c_orderline_c_projectphase_id, ol.c_projecttask_id AS c_orderline_c_projecttask_id, ol.created AS c_orderline_created, ol.createdby AS c_orderline_createdby, ol.c_tax_id AS c_orderline_c_tax_id, ol.c_uom_id AS c_orderline_c_uom_id, ol.datedelivered, ol.dateinvoiced, ol.dateordered, ol.datepromised, ol.description AS c_orderline_description, ol.discount, ol.freightamt, ol.isactive AS c_orderline_isactive, ol.isdescription, ol.line AS c_orderline_line, ol.linenetamt AS c_orderline_linenetamt, ol.link_orderline_id, ol.m_attributesetinstance_id AS c_orderline_m_asi_id, ol.m_promotion_id, ol.m_shipper_id AS c_orderline_m_shipper_id, ol.m_warehouse_id AS c_orderline_m_warehouse_id, ol.priceactual AS c_orderline_priceactual, ol.pricecost, ol.priceentered AS c_orderline_priceentered, ol.pricelist AS c_orderline_pricelist, ol.processed AS c_orderline_processed, ol.qtydelivered, ol.qtyentered, ol.qtyinvoiced AS c_orderline_qtyinvoiced, ol.qtylostsales, ol.qtyordered, ol.qtyreserved, ol.ref_orderline_id AS c_orderline_ref_orderline_id, ol.rramt AS c_orderline_rramt, ol.rrstartdate AS c_orderline_rrstartsate, ol.s_resourceassignment_id AS c_orderline_s_rassignment_id, ol.updated AS c_orderline_updated, ol.updatedby AS c_orderline_updatedby, ol.user1_id AS c_orderline_user1_id, ol.user2_id AS c_orderline_user2_id, il.ad_org_id AS c_inviceline_ad_org_id, il.ad_orgtrx_id AS c_invoiceline_ad_orgtrx_id, il.a_processed, il.c_activity_id AS c_invoiceline_c_activity_id, il.c_campaign_id AS c_invoiceline_c_campaign_id, il.c_charge_id AS c_invoiceline_c_charge_id, il.c_invoice_id, il.c_orderline_id AS c_invoiceline_c_orderline_id, il.c_project_id AS c_invoiceline_c_project_id, il.c_projectphase_id AS c_invoiceline_c_projphase_id, il.c_projecttask_id AS c_invoiceline_c_projecttask_id, il.created AS c_invoiceline_created, il.createdby AS c_invoiceline_createdby, il.c_tax_id AS c_invoiceline_c_tax_id, il.c_uom_id AS c_invoiceline_c_uom_id, il.description AS c_invoiceline_description, il.isactive AS c_invoiceline_isactive, il.isdescription AS c_invoiceline_isdescription, il.isprinted, il.line AS c_invoiceline_line, il.linenetamt AS c_invoiceline_linenetamt, il.linetotalamt AS c_invoiceline_linetotalamt, il.m_attributesetinstance_id AS c_invoiceline_m_asi_id, il.m_inoutline_id, il.m_rmaline_id AS c_invoiceline_m_rmaline_id, il.priceactual AS c_invoiceline_priceactual, il.priceentered AS c_invoiceline_priceentered, il.pricelimit AS c_invoiceline_pricelimit, il.pricelist AS c_invoiceline_pricelist, il.processed AS c_invoiceline_processed, il.qtyentered AS c_invoiceline_qtyentered, il.qtyinvoiced AS c_invoiceline_qtyinvoiced, il.ref_invoiceline_id AS c_invoiceline_ref_invline_id, il.rramt AS c_invoiceline_rramt, il.rrstartdate AS c_invoiceline_rrstartdate, il.s_resourceassignment_id AS c_invoiceline_s_rassignment_id, il.taxamt AS c_invoiceline_taxamt, il.updated AS c_invoiceline_updated, il.updatedby AS c_invoiceline_updatedby, il.user1_id AS c_invoiceline_user1_id, il.user2_id AS c_invoiceline_user2_id, o.ad_org_id AS c_order_ad_org_id, o.ad_orgtrx_id AS c_order_ad_orgtrx_id, o.ad_user_id AS c_order_ad_user_id, o.amountrefunded, o.amounttendered, o.bill_bpartner_id, o.bill_location_id, o.bill_user_id, o.c_activity_id, o.c_campaign_id AS c_order_c_campaign_id, o.c_cashline_id, o.c_cashplanline_id, o.c_charge_id, o.c_conversiontype_id, o.c_currency_id AS c_order_c_currency_id, o.c_doctypetarget_id, o.chargeamt AS c_order_chargeamt, o.copyfrom AS c_order_copyfrom, o.c_order_id AS c_order_c_order_id, o.c_payment_id AS c_order_c_payment_id, o.c_paymentterm_id AS c_order_paymentterm_id, o.c_pos_id, o.c_project_id AS c_order_c_project_id, o.created AS c_order_created, o.createdby AS c_order_createdby, o.dateacct AS c_order_dateacct, o.dateprinted AS c_order_dateprinted, o.datepromised AS c_order_datepromised, o.deliveryrule AS c_order_deliveryrule, o.deliveryviarule AS c_order_deliveryviarule, o.description AS c_order_description, o.docaction AS c_order_docaction, o.docstatus AS c_order_docstatus, o.documentno AS c_order_documentno, o.dropship_bpartner_id, o.dropship_location_id, o.dropship_user_id, o.freightamt AS c_order_freightamt, o.freightcostrule AS c_order_freightcostrule, o.grandtotal AS c_order_grandtotal, o.invoicerule, o.isactive AS c_order_isactive, o.isapproved, o.iscreditapproved, o.isdelivered, o.isdiscountprinted, o.isdropship, o.isinvoiced, o.ispayschedulevalid, o.isprinted AS c_order_isprinted, o.isselected AS c_order_isselected, o.isselfservice AS c_order_isselfservice, o.issotrx AS c_order_issotrx, o.istaxincluded AS c_order_istaxincluded, o.istransferred, o.link_order_id, o.m_freightcategory_id, o.m_pricelist_id, o.m_shipper_id AS c_order_m_shipper_id, o.m_warehouse_id AS c_order_m_warehouse_id, o.ordertype, o.pay_bpartner_id, o.pay_location_id, o.paymentrule, o.poreference, o.posted AS c_order_posted, o.priorityrule, o.processed AS c_order_processed, o.processedon AS c_order_processedon, o.promotioncode, o.ref_order_id AS c_order_ref_order_id, o.sendemail AS c_order_sendemail, o.totallines AS c_order_totallines, o.user1_id AS c_order_user1_id, o.user2_id AS c_order_user2_id, i.ad_org_id AS c_invoice_ad_org_id, i.ad_orgtrx_id AS c_invoice_ad_orgtrx_id, i.c_activity_id AS c_invoice_c_activity_id, i.c_campaign_id AS c_invoice_c_campaign_id, i.c_charge_id AS c_invoice_c_charge_id, i.c_conversiontype_id AS c_invoice_c_conversiontype_id, i.c_currency_id AS c_invoice_c_currency_id, i.c_doctypetarget_id AS c_invoice_c_doctypetarget_id, i.c_dunninglevel_id, i.chargeamt AS c_invoice_chargeamt, i.c_invoice_id AS c_invoice_c_invoice_id, i.c_order_id AS c_invoice_c_order_id, i.c_payment_id AS c_invoice_c_payment_id, i.c_paymentterm_id AS c_invoice_c_paymentterm_id, i.c_project_id AS c_invoice_c_project_id, i.created AS c_invoice_created, i.createdby AS c_invoice_createdby, i.dateacct AS c_invoice_dateacct, i.dateordered AS c_invoice_dateordered, i.dateprinted AS c_invoice_dateprinted, i.description AS c_invoice_description, i.docaction AS c_invoice_docaction, i.docstatus AS c_invoice_docstatus, i.dunninggrace AS c_invoice_dunninggrace, i.generateto, i.grandtotal AS c_invoice_grandtotal, i.invoicecollectiontype, i.isactive AS c_invoice_isactive, i.isapproved AS c_invoice_isapproved, i.isdiscountprinted AS c_invoice_isdiscountprinted, i.isindispute AS c_invoice_isindispute, i.ispayschedulevalid AS c_invoice_ispayschedulevalid, i.isprinted AS c_invoice_isprinted, i.isselfservice AS c_invoice_isselfservice, i.issotrx AS c_invoice_issotrx, i.istaxincluded AS c_invoice_istaxincluded, i.istransferred AS c_invoice_istransferred, i.m_pricelist_id AS c_invoice_m_pricelist_id, i.m_rma_id AS c_invoice_m_rma_id, i.paymentrule AS c_invoice_paymentrule, i.poreference AS c_invoice_poreference, i.posted AS c_invoice_posted, i.processedon AS c_invoice_processedon, i.processing AS c_invoice_processing, i.ref_invoice_id, i.reversal_id, i.salesrep_id AS c_invoice_salesrep_id, i.sendemail AS c_invoice_sendemail, i.totallines AS c_invoice_totallines, i.updated AS c_invoice_updated, i.updatedby AS c_invoice_updatedby, i.user1_id AS c_invoice_user1_id, i.user2_id AS c_invoice_user2_id FROM (((((((c_commissionrun cr JOIN c_commission c ON ((cr.c_commission_id = c.c_commission_id))) JOIN c_commissionamt ca ON ((cr.c_commissionrun_id = ca.c_commissionrun_id))) JOIN c_commissiondetail cd ON ((ca.c_commissionamt_id = cd.c_commissionamt_id))) LEFT JOIN c_orderline ol ON ((cd.c_orderline_id = ol.c_orderline_id))) LEFT JOIN c_invoiceline il ON ((cd.c_invoiceline_id = il.c_invoiceline_id))) LEFT JOIN c_order o ON ((ol.c_order_id = o.c_order_id))) LEFT JOIN c_invoice i ON ((il.c_invoice_id = i.c_invoice_id))); |