MSCA/MWA custom field not able to generate LOV using SQL query - "Unsuccessful row construction"
Hi ,
I am new to MSCA/MWA development environment.My client has a requirement where he wants to generate LOV for a field using SQL query.I had added the code for this requirement but I am getting "Unsuccessful row construction" error message.Below is the code that I had added.
LOVFieldBean mAsnLabel;
//The variable is instantiated and set its properties
this.mAsnLabel = new LOVFieldBean();
this.mAsnLabel.setName("LoadTruckPage.ASNLabel");
this.mAsnLabel.addListener(this);
this.mAsnLabel.setPrompt("ASN Label");
addFieldBean(this.mAsnLabel);
//In FieldEntered Listener,a method is called to execute the query and generate LOV