t3chguy
asked on
Early Payment Discounts
I'm looking for some advice on how to store early payment discounts in a database table.
Some customers offer 10 net 30 2% some offer 10 net 21 5%, etc.
I was thinking about creating a discounts table, but structuring it is where I'm lost at.
I have a vendors table which would store the ID of the discount, but exactly how would I structure the discounts table to hold all of these different possibilities?
Some customers offer 10 net 30 2% some offer 10 net 21 5%, etc.
I was thinking about creating a discounts table, but structuring it is where I'm lost at.
I have a vendors table which would store the ID of the discount, but exactly how would I structure the discounts table to hold all of these different possibilities?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You would then determine whether the payment is early and what discount applies to populate the discount column while entering the amount paid into the ament column.