Hi @Naveen B,I have tried the below approach with Id and Description field. it is working fine,LINK:====https://stackoverflow.com/questions/37053983/dynamically-changing-pxselector-in-acumatica But to get all the fields (approximately 30 fields from the base selectors), I need to declare 30 fields and need to pass 30 fields in the attribute constructor. Instead of the declaring 30 fields, I am looking another approach. Currently approach:===============As you suggested taking them from the respective DAC, Do I need to create 2 unbound properties for the 2 selectors (Opportunity & Service Orders)? or Can we have 2 Selector attributes under the single DAC field (here my DAC field is : RefNbr which is string type).or How can I write the condition inside the DAC? any basic syntax example… would be helpful to me. ThanksMoulali Shaik.
Hi @Naveen B ,I need to show them in the dynamic selector based on the dropdown value. Thanks,Moulali Shaik.
Hi @Naveen B & @jinin ,Good Morning.I have resolved it. It is a DataView issue.Thanks a lot for your replies to assist me. Really, you guys are doing good job, keep going on.Have a great day!. Thanks,Moulali Shaik.
Hi @Naveen B , I have tried with your code snippet. But still facing the same issue. I have used existing numbering seq with the below one :[AutoNumber(typeof(CRSetup.quoteNumberingID), typeof(AccessInfo.businessDate))]Ex:#region AgreeNbr protected String _AgreeNbr; [PXDBString(15, IsUnicode = true, IsKey = true, InputMask = "")] [PXDefault()] [PXUIField(DisplayName = "Agreement", Visibility = PXUIVisibility.SelectorVisible)] [AutoNumber(typeof(CRSetup.quoteNumberingID), typeof(AccessInfo.businessDate))] [PXSelector(typeof(agreeNbr),SubstituteKey = typeof(agreeNbr))] public virtual String AgreeNbr { get { return this._AgreeNbr; } set { this._AgreeNbr = value; } } #endregionStill facing the same issue.Note: I am using Acumatica Build 21.202.0054.Thanks,Moulali Shaik.
Hi @vivekm and @Naveen B Thanks a lot both of you. Now I am able to save it. Thanks,Moulali Shaik.
Hi @Naveen B ,Actually, Section ID is a primary key. I have renamed SectionCode UI field with “Section ID” label.Please see the below DAC details. Thanks,Moulali Shaik.
Hi @vivekm,Hope you are doing good, please find the attachment. Thanks,Moulali Shaik.
@MoulaliShaik79 Hope you have done with your requirement @Naveen B, Yes, I did it.
Thanks a lot both of you.
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.