Skip to Content
0
Former Member
Jul 25, 2016 at 05:38 PM

cfl for Warehouse pops up even after value is selected

16 Views

Hello Experts,

I have a program which works on validate event of warehouse field on Sales Order. It changes a udf value based on warehouse selection.

But a strange thing is happening for few users when they select warehouse, the warehouse cfl pops up again. This happens only when the add-on is running and it doesn't happen for all the users.

Any suggestion would help.

Below is the piece of code :

if (pVal.EventType == SAPbouiCOM.BoEventTypes.et_VALIDATE && pVal.FormTypeEx == "139" && pVal.Action_Success == true && (oForm.Mode == SAPbouiCOM.BoFormMode.fm_ADD_MODE || oForm.Mode == SAPbouiCOM.BoFormMode.fm_UPDATE_MODE))

{

if (pVal.ItemUID == "38" && (pVal.ColUID == "11") && pVal.InnerEvent == false)

{

if (mAltUm.GetCellSpecific("U_ActComm", pVal.Row).value != Details[0][3].ToString())

{

mAltUm.SetCellWithoutValidation(pVal.Row, "U_ActComm", Details[0][3]);

}

}

}

Thanks

Shiv