Skip to Content
0

Supplier Invoice Upload Via ABSL Not Working

Apr 13 at 08:43 AM

34

avatar image
supplierinvoiceuploader-aftermodify-absl.txt supplierinvoiceuploader-aftermodify-debug-log.txt

Hi,

I'm working on creating a supplier invoice uploader for Indian companies that doesn't use product IDs. I've previously made XML-based uploaders for supplier invoices for other customers, but this one isn't working. My code is attached in a .txt file. As far as I can tell, all errors shown in the debugger log are resolved by the time the script reaches the end, but the invoice isn't created.

At first I thought it might be due to the fact that I can't write to the HSN code field, which is mandatory for Indian supplier invoices (and is normally pulled from the product record, but I'm not using product IDs) --- but I tried it for a different company, not based in India, and it still didn't work, so I don't know what the issue could be. If you assume I'm entering correct data --- I get the feeling it's something I'm missing, or perhaps some system configuration, rather than putting the wrong org unit etc. in.

Basically how it works is: I create an XML file by exporting in Excel. The .pid XML File Input object in the SDK allows me to create that XML interface. I upload the XML file against the interface and run a file input run, which inputs the data to a custom BO. A mass-enabled AfterModify script then takes that data, works out which rows should be amalgamated into invoices, and creates them. This is a setup I've used for a few uploaders in the past.

Debugger log also attached.

10 |10000 characters needed characters left characters exceeded

Bumping for a response.

0

Bumping for a response.

0
* Please Login or Register to Answer, Follow or Comment.

0 Answers