Hi Guys,
I am facing one query.
I know on warehouse shipment there is no G/L line ,but we need to do this customization.
I have one sales order ,and on that sales order line we have some G/L lines.so i need to insert only this G/L line into warehouse shipment line.
actually on warehouse shipment,we have one report ,and on that report we need to show G/L lines for that associated sales order.=> report layout is working fine.
So i am writing the below code on Warehouse shipment Header->Onafttergetrecord trigger of dataitem. As per my below code, line is inserted for item.but i want only G/L line record to be inserted into warehouse shipment line.
Below is the my sales order: which have 3 lines: i.e. 2 items line & 1 G/L line.
ANd below is the warehouse shipment,which i have created from that sales order.