Table idempiere11.adempiere.m_discountschema
Schema to calculate the trade discount percentage

Generated by
Quality Systems & Solutions
Legend:
Primary key columns
Columns with indexes
Implied relationships
Excluded column relationships
< n > number of related tables
 
Column Type Size Nulls Auto Default Children Parents Comments
m_discountschema_id numeric 10
c_bpartner.m_discountschema_id mdiscounts_cbpartner R
c_bpartner.po_discountschema_id mdiscountspo_cbpartner R
m_discountschemabreak.m_discountschema_id mdiscounts_mdsbreak C
m_discountschemaline.m_discountschema_id mdiscountschema_mdsline C
m_pricelist_version.m_discountschema_id mdiscounts_mplversion R
Schema to calculate the trade discount percentage
ad_client_id numeric 10 Tenant for this installation.
ad_org_id numeric 10 Organizational entity within tenant
isactive bpchar 1 'Y'::bpchar The record is active in the system
created timestamp 29,6 now() Date this record was created
createdby numeric 10 User who created this records
updated timestamp 29,6 now() Date this record was updated
updatedby numeric 10 User who updated this records
name varchar 60 Alphanumeric identifier of the entity
description varchar 255  √  null Optional short description of the record
validfrom timestamp 29,6 Valid from including this date (first day)
discounttype bpchar 1 Type of trade discount calculation
script varchar 2000  √  null Dynamic Java Language Script to calculate result
flatdiscount numeric 0  √  null Flat discount percentage
isquantitybased bpchar 1 'Y'::bpchar Trade discount break level based on Quantity (not value)
cumulativelevel bpchar 1  √  null Level for accumulative calculations
processing bpchar 1  √  null Process Now
isbpartnerflatdiscount bpchar 1 'N'::bpchar Use flat discount defined on Business Partner Level
m_discountschema_uu varchar 36  √  NULL::character varying M_DiscountSchema_UU

Table contained 3 rows at 2024-01-03 13:54 +0100

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

Close relationships  within of separation: