Hi fellow developers,
I am trying to Post warehouse shipment lines by warehouse shipment line systemId field but my extension code SetFilter is not returning any result.
Below is the code I used
var
whseShipLine: Record "Warehouse Shipment Line";
begin
whseShipLine.SetFilter(SystemId, 'input system ID string');
//rest of the posting code...
end;
I have tried many combinations of SetFilter fields and checked the input system ID against the warehouse shipment line table multiple times but I kept getting empty field from the SetFilter. Can someone please help let me know what is the reason for not filtering properly? Thanks a lot!