Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
m_product_id | numeric | 10 | null |
|
|
||||||
c_acctschema_id | numeric | 10 | null |
|
|
||||||
ad_client_id | numeric | 10 | null |
|
|
||||||
ad_org_id | numeric | 10 | null |
|
|
||||||
isactive | bpchar | 1 | 'Y'::bpchar |
|
|
||||||
created | timestamp | 29,6 | now() |
|
|
||||||
createdby | numeric | 10 | null |
|
|
||||||
updated | timestamp | 29,6 | now() |
|
|
||||||
updatedby | numeric | 10 | null |
|
|
||||||
p_revenue_acct | numeric | 10 | null |
|
|
||||||
p_expense_acct | numeric | 10 | null |
|
|
||||||
p_asset_acct | numeric | 10 | null |
|
|
||||||
p_purchasepricevariance_acct | numeric | 10 | null |
|
|
||||||
p_invoicepricevariance_acct | numeric | 10 | null |
|
|
||||||
p_cogs_acct | numeric | 10 | null |
|
|
||||||
p_tradediscountrec_acct | numeric | 10 | null |
|
|
||||||
p_tradediscountgrant_acct | numeric | 10 | null |
|
|
||||||
p_inventoryclearing_acct | numeric | 10 | √ | null |
|
|
|||||
p_costadjustment_acct | numeric | 10 | √ | null |
|
|
|||||
p_wip_acct | numeric | 10 | √ | null |
|
|
|||||
p_methodchangevariance_acct | numeric | 10 | √ | null |
|
|
|||||
p_usagevariance_acct | numeric | 10 | √ | null |
|
|
|||||
p_ratevariance_acct | numeric | 10 | √ | null |
|
|
|||||
p_mixvariance_acct | numeric | 10 | √ | null |
|
|
|||||
p_floorstock_acct | numeric | 10 | √ | null |
|
|
|||||
p_costofproduction_acct | numeric | 10 | √ | null |
|
|
|||||
p_labor_acct | numeric | 10 | √ | null |
|
|
|||||
p_burden_acct | numeric | 10 | √ | null |
|
|
|||||
p_outsideprocessing_acct | numeric | 10 | √ | null |
|
|
|||||
p_overhead_acct | numeric | 10 | √ | null |
|
|
|||||
p_scrap_acct | numeric | 10 | √ | null |
|
|
|||||
p_averagecostvariance_acct | numeric | 10 | √ | NULL::numeric |
|
|
|||||
m_product_acct_uu | varchar | 36 | √ | NULL::character varying |
|
|
|||||
p_landedcostclearing_acct | numeric | 10 | √ | NULL::numeric |
|
|
|||||
cof_p_inventoryclearing_acct | numeric | 10 | √ | NULL::numeric |
|
|
|||||
cof_p_estoqueemterceiro_acct | numeric | 10 | √ | NULL::numeric |
|
|
|||||
cof_p_estoqueterceiro_acct | numeric | 10 | √ | null |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
m_product_acct_pkey | Primary key | Asc/Asc | m_product_id + c_acctschema_id |
m_product_acct_uu_idx | Must be unique | Asc | m_product_acct_uu |
Check Constraints
Constraint Name | Constraint |
---|---|
m_product_acct_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |