Order API - 15.1.3 - processing an order via API

We have done some testing and are trying to determine if it is possible to process an order thru the API that results in a complete order in iMIS with full Transactional entery (order, order_lines, Invoice, Trans and Activity) without walking thru the order stages in the desktop.

At this point the only order we can get with the API is a proforma and we are seeing missing DIST lines in Trans.  We are working in 15.1.3 and need to determine if the API can do this as part of the design, if we are calling it correctly or if there is a bug in the version we are working with.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Hi Derrick, As far as I

Hi Derrick,

As far as I know, the API does not support anything other than proforma based orders. I don't know if ASI has any plans on improving the interface for full orders. We would certainly be interested in it for internal automation applcations as well as a programmably accessible Service Center for multiple processing via a single payment.

Sean Irish
Association of Surgical Technologists, Inc.

Order stage fix

Derrek,

Have you tried looking for the the orders under Orders -> Process Orders -> Print Quotes or Convert Quotes at all? When I was testing our shop online, I was finding the orders were being placed in there, but found to have them bypass this step and go into Invoice Orders.

All I had to do was update ORDERS.ORDER_TYPE_CODE from 'PF' to 'INV', and ORDERS.STAGE from 'PRINTQUOTE' to 'INVOICE', for any orders done from the internet batch. That neartly placed them into the Invoice orders section, and once they were processed, the DIST lines showed as if they were done through IMIS.

I would recommend still having this step done, so that staff can certainly see what is being ordered through the API. We have a inhouse developed software suit that inserts orders into IMIS, and we still have staff go through this step to see what has been done.  And this is how I worked out to update the orders records. But if you are dead set wanting to bypass this section, I would run a trace to see what is actually happening.