C/AL Help

MAJB1969MAJB1969 Member Posts: 44
On my pick report against each line what I would like to do is set two variable the first to hold reservations againts the Item on the Sales Order linked to the Pick. The first would hold Item Ledger Entry Reservations and the second to hold Production Order Reservations.

I have got this far. Please could you give me som guidence on how to finish. I think I will require 2 block of code to fullfill each reservation type.


recResEntry.GET("Warehouse Shipment Line"."Item No.");

recResEntry.SETRANGE(recResEntry."Source ID","Warehouse Shipment Line"."Source No.");
recResEntry.SETRANGE(recResEntry."Source Ref. No.","Warehouse Shipment Line"."Source Line No.");
recResEntry.SETRANGE(recResEntry."Source Type","Warehouse Shipment Line"."Source Type");
recResEntry.SETRANGE(recResEntry."Source Subtype","Warehouse Shipment Line"."Source Subtype");

IF recResEntry.FIND('-') THEN

?????????????????????????????

Thanks
Sign In or Register to comment.