davidhabib / Auctions-for-Salesforce

DJH Consulting's Auctions for Salesforce managed package
http://djhconsulting.com/auctions-for-salesforce/
7 stars 14 forks source link

Support different ticket FMV's #47

Closed davidhabib closed 11 years ago

davidhabib commented 12 years ago

From a customer:

Our event has Three Levels of Admission:

  1. Comps
  2. Grand Event $125.00 ticket where $75 is tax deductible
  3. Patron Dinner $250 per ticket where $125 is tax deductible.

How can we support different tax deductible amounts?


Unfortunately, Auctions doesn't currently support this. I tried adding the Opportunity Deductible Amount and Non-Deductible Amount fields to the AuctionNewTicketWizardFS fieldset, but whenever we save the ticket opp, Auctions overwrites the opp's FMV based on the number of tickets. The fix to support this would be to change our trigger to only set FMV if it wasn't already set, and to add Deductible Amount to the field set. We'd need to be smart enough, however, to detect when the number of tickets or amount had changed, in order to allow FMV to be recalculated.