Stock Item history
Posted: Fri Aug 09, 2024 4:29 pm
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
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