I am using web services to create an invoice in Dynamics GP. I can successfully create an invoice with a negative amount for an invoice line, but if I try to assign commissions to the invoice, I get the error "Input variable contains a negative value". According to the documentation for SalesCommission, the CommissionAmount can be negative if the extended price and unit price on a sales line are negative amounts; I have both fields set as negative amounts but still get this error.
In the CreateSalesInvoice policy, I am providing commissions and distributions.
Any ideas what's going wrong?
*This post is locked for comments
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156