I have created a Form and added Generic Inquiry as an Entry Screen. When ever I am Adding new record I am navigated to the main form screen From GI
Problem :-- I have defined Account CD as Selector, But it is still a text box appearing on the screen



I have created a Form and added Generic Inquiry as an Entry Screen. When ever I am Adding new record I am navigated to the main form screen From GI
Problem :-- I have defined Account CD as Selector, But it is still a text box appearing on the screen
Best answer by Ankita Tayana
Hi
I noticed that the Account CD field in the Customer Material Allocation screen is appearing as a text box instead of a selector. After reviewing the implementation, I believe the issue is due to the field being added to the UI before the PXSelector attribute was applied in the DAC.
To resolve this, please follow these steps:
Save and Publish the customization.
Ensure the PXSelector Attribute is Defined in the DAC:
[PXDBString(30, IsUnicode = true, InputMask = "")]
[PXUIField(DisplayName = "Account CD")]
[PXSelector(typeof(Search<BAccount.acctCD>),
typeof(BAccount.acctCD),
typeof(BAccount.acctName),
SubstituteKey = typeof(BAccount.acctCD),
DescriptionField = typeof(BAccount.acctName))]
public virtual string Acctcd { get; set; }
Re-add the Field to the UI:
This should correctly display the Account CD field as a selector in the UI. Let me know if you need any further assistance!
Regards,
Ankita Tayana
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.