Quantcast
Channel: Microsoft Dynamics GP Forum - Recent Threads
Viewing all articles
Browse latest Browse all 32807

Web services error creating SalesInvoice with negative commission amount

$
0
0

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?


Viewing all articles
Browse latest Browse all 32807

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>