Hello!
I'm doing some changes in PurchReqCreate form (WebControl in EP), where I've cleaned one date field for example and it's ok. I'm doing that throught the DataSet --> initValue() method.
In this webcotrol, there are two lookups (company and project).
As I can see in PurchReqCreate form (Ax client), I write the same in the DataSet, to initialized the first lookup:
purchReqTable.CompanyInfoDefault = CompanyInfo::find().RecId;
Now, I see the company in the lookup but the second lookup is hidden. I don't know how or where I have to "call" the event that load this project lookup.
I've tried:
purchReqTable_ds.object(fieldNum(PurchReqTable, ProjId)).enabled(true); purchReqTable.ProjId = ""; purchReqTable_ds.object(fieldNum(PurchReqTable, CompanyInfoDefault)).modified();
but no result is successful.
If I go to the ax client everything is working perfectly.
Any help will be wellcome... Thanksss!!