Hi,
I have created a custom field "Location" in InventTransaferTable. The user can add the field manually when creating a new Transfer order. If a user add the Location value in InventTransferTable, this value should overwrite the default value for Location field i.e. InventDim.WMSLocationId that is present in the Transfer order lines. If the user does not add any value then show the default value for InventDim.WMSLocationId.
I am using the following code change, but doesn't seem to working
public boolean validateWrite()
{
boolean ret;
ret = super();
if(InventTransferTable.RegisterLocation != "")
{
InventTransferLine.Location = InventTransferTable.RegisterLocation;
}
else
{
InventTransferLine.Location = InventDim.wmsLocationId;
}
return ret;
}
Here below, I have creation a Location column and added value as "NewLocationValue_800". Now this should update/change all the location for the three lines with item numbers 02132, 03577, 00740 as "NewLocationValue_800" instead of A271,A540,A430.

*This post is locked for comments
I have the same question (0)