some others may chime in but here is my take:
the main driving documents (entity) is Agreements.
that covers a lot of other entities.
and so you would have an agreement with a partyrelation type of
supplier(or some other type)
the Agreement type would be either Sales or Purchase
this eventually gets down to the Agreement Terms with a type Fincaical
terms.
in the Agreement Terms you would setup the discount
https://demo-trunk.ofbiz.apache.org/webtools/control/FindGeneric?entityName=AgreementTerm&find=true&VIEW_SIZE=50&VIEW_INDEX=0
This is agreements are discussed in the data model book vol 1 starting
page 145.
=========================
BJ Freeman <http://bjfreeman.elance.com>
Strategic Power Office with Supplier Automation
<http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist
Chat Y! messenger: bjfr33man
aray sent the following on 8/31/2010 8:44 AM:
Hello Group,
I have a requirement to discount invoices if paid within the specified days.
I could see the term type for the same (see below) but no implementation
and therefore looking to confirm.
<TermType description="Payment (discounted if paid within specified days)"
hasTable="N" parentTypeId="FINANCIAL_TERM" termTypeId="FIN_PAYMENT_DISC"/>
If the implementation does not exist, then I would be interested in working
on it. Would appreciate pointers on best way of doing this. My approach is
to recalculate invoice total after applying the term if there is a match for
the term period. To apply the discount, will create a payment Discount
ledger and post the amount with no change to actual invoice.
- Aray