UDS - InvokeChange Method Causes Screen Corruption
A simple Column Post-Validate UDS assigned to the QuantityOrdered field of ""SO_SalesOrderDetail_bus"" demonstrates this issue.
A successful InvokeChange method on the UnitPrice field causes screen corruption when the down arrow is used to move directly from a modified Ordered field to the next line.
The corruption is that the ItemCode, Ordered and Unit Price fields from the initial line are copied to the following line. There are no screen customizations. The InvokeChange method was used because SetValue causes the panel's Total Amount field to go wonkie.
This occurs on Standard versions 5.30.0.0 (2016), 5.20.4.0 and 5.20.2.0 (2015).
I've included a simple script that recreates the issue. If anyone has any ideas to avoid this (other than not using the down arrow), I am all ears.
nPrice = 1.2345
set myUIObj = oSession.AsObject(oScript.UIObj)
retVal = myUIObj.InvokeChange(""UnitPrice"",nPrice,""GD_Lines"")
Set myUIObj = Nothing
The issue can be recreated in the ABC company by creating a new order, entering an item code such as 6655 and an order quantity of 1 then press the down arrow.