Backend ordered item search


https://forum.kartris.com/Topic1854.aspx
Print Topic | Close Window

By Neil - Thu 14 Mar 2013
When processing suppliers deliveries to fulfil orders we have to match items to orders awaiting dispatch. We use a query in the backend like this,


SELECT [IR_OrderNumberID],[IR_VersionCode],[IR_VersionName],[IR_Quantity]
FROM [DB_NAME].[dbo].[tblKartrisInvoiceRows]
WHERE [IR_VersionCode] like '%VERSION_CODE%'
ORDER BY [IR_OrderNumberID]


This returns a list of all orders placed that include the specified version. This means we can easily match deliveries and orders up if no other references have been used with the supplier.

A 'built in' system would be great (with a hyperlinked results table), with the ability to search open/closed orders, between specified dates etc.
By Paul - Mon 18 Mar 2013
That's interesting... i had a support issue last couple of days with an order on a particular item but from the details provided by the customer on the item could not find which order it was.

As well as integrating it into the existing orders search functionlity, it might be useful in the general search too if we could keep the performance ok.

Will add to the 'to do' list, we've improved the cross linking between customers and support tickets, and I think linking up products with orders that they appear in is a natural extension of this.