Hi,
I am using the below mentioned in the modifiedField method of InventTransferLine to create a Invent tranfer line as soon as the value is changed in a particular field.
However, the values are getting updated in all fields except inventory dimensions. Despite updating value in the inventory dimensions it is still taking blank values.
I am posting the code for reference. Kindly let me know if there is any issue in the code snippet:
case fieldNum(InventTransferLine, PwCItemBarCode):
this.initValue();
this.ItemId = "XYZ";
this.initFromInventTable("XYZ");
this.initFromInventTransferTable(inventTransferTable false);
this.InventDimId = inventDimLocal.inventDimId;
this.RemainStatus = InventTransferRemainStatus::Shipping;
this.ShipDate = systemDateGet();
this.ReceiveDate = systemDateGet();
this.LineNum = InventTransferLine::lastLineNum(this.TransferId) + 1;
*This post is locked for comments