Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Credit debit note programmatically

Status
Not open for further replies.

harduslom

Programmer
Nov 24, 2010
4
ZA
Is it possible to credit a debit note programmatic? I tried to do this, but I get the following Accpac error: "Invalid input. Tax class 0 is not in the range of 1 through 10." My tax class is specified as 1 but I still get the error.
 
I've done what you've said, but I still get the same error.
 
Just to add to Tuba's response - select another tax group, save, select the original tax group, save.
 
I'm facing the same problem as harduslom and I was wondering if anybody has a solution yet.
It would be greatly appreciated if somebody could let me know the solution.

By the way, I'm only having this problem when I'm creating a CREDIT NOTE; I do not have a problem creating an Invoice programmatically.
 
yes I am, I did not specify any tax class at all in the details - the interesting things is that I do not get this issue when I create an INVOICE, that works fine
 
I have found the cause of the problem. It is very important that you specify the details for AR0032 in the right order.
That is, ensure you specify the customer number first and then specify the document type (i.e. Invoice, Debit Note or Credit Note) is specified.

The solution is as simple as that.
 
It is important to follow the order of the fields as they appear on the UI screens, that way you will not fall into the same trap.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top