If you want to get total of reserved quantity Sales line wise then you can do the following way. First you need to create view as per below picture. Then you can try below code in job to get reserved quantity for sales line item. GOD_InventTransView GOD_InventTransView; select sum(Qty) from GOD_InventTransView where GOD_InventTransView.ReferenceId==_salesline1.SalesId && GOD_InventTransView.ItemId==_salesline1.ItemId && GOD_InventTransView.InventTransId==_salesline1.InventTransId && GOD_InventTransView.StatusIssue == StatusIssue::ReservPhysical;
Technical Tutorials x++,tips on issues or troubleshooting On Ax ERP ,Microsoft Dynamics 365,Ax 2012,Microsoft , U.S.,Business Software solution.