Page 1 of 1

Stock Item history

Posted: Fri Aug 09, 2024 4:29 pm
by Grace
Hi,
I am looking for an endpoint that would allow us to get a history of Stock Item, like assignments to jobs from a storage device with the date and a link to purchase order and a receipt. Basically something that can programmatically deliver data from History tab available to GUI user via staff/stockItem.php?stockItemID={ID}
We need to build a report where we link every stock item used for a job to their receipts within specified time period as it's contractually required by our client.
Is there anything like that available already?
What I tried so far:
I can get information about stock Items assigned to a job/{job_id}/sections/{section_id}/costCenters/{cost_Centre_ID}/stock/, but no the date it was assigned or a reference to the original purchase order.
I can also get receipts details from vendorOrders/{vendor_order_id}/receipts/ containing the storage device and sometimes jobs, but `AssignedTo` field in the response seems to be only populated when the purchase order was made for the job, and it's not populated when a stock item is moved from storage to a job.

Any pointers would be greatly appreciated

Thanks in advance

Grace

Re: Stock Item history

Posted: Mon Aug 12, 2024 12:25 am
by SimproAPITeam
Hi Grace,

Unfortunately the history of a stock item is unavailable via the API endpoints. Our team will consider your request and evaluate if to implement it in the future.

Regards

Re: Stock Item history

Posted: Tue Aug 13, 2024 8:52 am
by Grace
Hi @SimproAPITeam.

Thank you for a quick reply.

I would greatly appreciate if this feature was implemented as even your BI reports do not allow me to join stock items assigned to jobs with their purchase orders, receipts and invoices.
With hundreds or thousands items in a large project clicking on every individual stock item history is extremely time consuming and error prone for a GUI user.

Kind regards,

Grace

Re: Stock Item history

Posted: Tue Aug 13, 2024 11:30 pm
by SimproAPITeam
Hi Grace,

Thanks for posting the request and an internal ticket has been raised to evaluate.

Regards