m_discountschema

2 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
m_discountschema_id numeric 10 null
c_bp_group.m_discountschema_id mdiscountschema_cbpgroup N
c_bp_group.po_discountschema_id mdiscountschemapo_cbpgroup N
c_bpartner.m_discountschema_id mdiscounts_cbpartner R
c_bpartner.po_discountschema_id mdiscountspo_cbpartner R
c_dunning_header_v.c_bpartner_m_discountschema_id Implied Constraint R
c_dunning_header_vt.c_bpartner_m_discountschema_id Implied Constraint R
c_invoice_header_v.bp_m_discountschema_id Implied Constraint R
c_invoice_header_v.bpartner_m_discountschema_id Implied Constraint R
c_invoice_header_vt.bp_m_discountschema_id Implied Constraint R
c_invoice_header_vt.bpartner_m_discountschema_id Implied Constraint R
c_order_header_v.bill_bp_m_discountschema_id Implied Constraint R
c_order_header_v.bp_m_discountschema_id Implied Constraint R
c_order_header_vt.bill_bp_m_discountschema_id Implied Constraint R
c_order_header_vt.bp_m_discountschema_id Implied Constraint R
c_payselection_check_v.c_bp_m_discountschema_id Implied Constraint R
c_payselection_check_vt.c_bp_m_discountschema_id Implied Constraint R
c_project_header_v.c_bp_m_discountschema_id Implied Constraint R
c_project_header_vt.c_bp_m_discountschema_id Implied Constraint R
m_discountschemabreak.m_discountschema_id mdiscounts_mdsbreak C
m_discountschemaline.m_discountschema_id mdiscountschema_mdsline C
m_inout_header_v.c_bp_m_discountschema_id Implied Constraint R
m_inout_header_vt.c_bp_m_discountschema_id Implied Constraint R
m_pricelist_version.m_discountschema_id mdiscounts_mplversion R
rv_bpartner.m_discountschema_id Implied Constraint R
rv_c_invoice.c_bp_m_discountschema_id Implied Constraint R
rv_c_invoicetax.m_discountschema_id Implied Constraint R
rv_fact_acct.c_bp_m_discountschema_id Implied Constraint R
t_rv_reconciliation.c_bp_m_discountschema_id Implied Constraint R
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
name varchar 60 null
description varchar 255 null
validfrom timestamp 29,6 null
discounttype bpchar 1 null
script varchar 2000 null
flatdiscount numeric 0 null
isquantitybased bpchar 1 'Y'::bpchar
cumulativelevel bpchar 1 null
processing bpchar 1 null
isbpartnerflatdiscount bpchar 1 'N'::bpchar
m_discountschema_uu varchar 36 NULL::character varying

Indexes

Constraint Name Type Sort Column(s)
m_discountschema_pkey Primary key Asc m_discountschema_id
m_discountschema_uu_idx Must be unique Asc m_discountschema_uu

Check Constraints

Constraint Name Constraint
m_discountschema_isquantitybased_check ((isquantitybased = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])))
m_discountschema_isactive_check ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])))

Relationships