Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AuctionNewTicketWizard exception if Number of Tickets = 0 #114

Closed
davidhabib opened this issue Jun 15, 2016 · 1 comment
Closed

AuctionNewTicketWizard exception if Number of Tickets = 0 #114

davidhabib opened this issue Jun 15, 2016 · 1 comment
Labels

Comments

@davidhabib
Copy link
Owner

https://powerofus.force.com/0D58000002lIlLb

divide by zero from line 56 when number of tickets = 0.

        // set the per ticket deductible FMV
        if (opp.Number_Of_Tickets__c != null && opp.Auction_Non_Deductible_Amount__c != null)
            decTicketFMV = opp.Auction_Non_Deductible_Amount__c / opp.Number_Of_Tickets__c;
        else
            decTicketFMV = AUC_AuctionMaintenance.TicketNonDeductibleAmountOfAuctionId(auctionId);
@davidhabib
Copy link
Owner Author

Fixed in release 4.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant