esci
Submitted by Matt Young on Wed, 06/05/2015 - 22:39
I'm trying to setup ESCI with Lyppard and have successfully connected. When I check the inbox I get the following error message:
The following errors were encountered checking Inboxes: ESCIA-0700: Failed to process Invoice 0001944081 for supplier Lyppard Australia Ltd. (1508) and stock location On The Shelf (56): ESCIA-0100: Required element: Invoice/OrderReference missing in Invoice: 0001944081
This was a phone order so there was no order matching in OpenVPMS. Should the Invoice/OrderReference be required here?
Matt Y.
Re: esci
If the invoice doesn't reference an existing order submitted via OpenVPMS, there must be no OrderReference. If there is an OrderReference, the nested ID element must be present.
I'd say you've received an Invoice with an OrderReference but no ID, which is incorrect as per section 7.3 of the ESCI specification.
For the non-existing order, you should get an invoice like:
If an order exists, it should look like:
(namespaces removed for brevity)
You've probably received this:
in which case your supplier will need to fix the invoice.
Re: esci
Matt you can use the ESCI tools to retrieve the faulty invoice and post its actual content here to confirm if you wish
The esci tools are available as part of the ESCI download here
The pdf outlining the format for the invoices and orders is here
There is a inbox.bat which can be used to download without acknowledging the invoice...thise means its still in the inbox...and will still cause the error you can then review it ..check it
Out of interest is this a new ESCI setup OR an existing setup that just started causing issues and which version of OpenVPMS are you running.
Re: esci
Thanks Tim and Ben,
I will use the tool to check the invoice and then report to Lyppard. It will take me a bit to setup the environment to be able to do so as I don't use windows so can't run bat files. I do have 1 windows laptop at work that I can use to do it though.
This is a new ESCI setup using OpenVPMS Version: 1.8-beta-2-SNAPSHOT (6525).
Thanks,
Matt.
Re: esci
you were correct Tim: