@Naveen B its a grid column, and it seems to be not working with grids.
@Irina No, the customization doesn't have AgileDotNetRT64.
BQL in Attribute fields is not needed [CRAttributesField(typeof(VCContract.contractClassCD), typeof(VCContract.noteID))] public virtual string[] Attributes { get; set; }This will work as everything is connected to Note ID
@Doug Johnson For example,I have a Class Screen with ClassID and Description I have a Setup Preference Screen With ClassID and an attribute grid with default values. Then I have VCContract Screen with the attribute values ”Answers”I am trying to replicated what Acumatica does with is Vendor Screen. My Setup Graph looks like this. public class VCContractPrefMaint : PXGraph<VCContractPrefMaint, VCSetup> { [PXViewName(PX.Objects.CR.Messages.Attributes)] public CSAttributeGroupList<VCSetup, VCContract> Mapping; }My Contract Graph looks like this: public class VCSVVendorContractMaint : PXGraph<VCSVVendorContractMaint, VCContract> { [PXViewName("Vendor Contract Answer")] public CRAttributeList<VCContract> Answers; }In my Contract DAC I have: #region UsrAttributes public abstract class usrAttributes : IBqlField { } [CRAttributesField(typeof(VCContract.contractClassID))] public virtual str
@pandachan48 Hello , Can you please add how did you manage to add attribute?
Create a Set Pop Up Note like this : public static void SetPopupNote(PXCache sender, object data, string note) { if (PXNoteAttribute.GetPopupNote(sender, data) != note) sender.SetValueExt(data, PXNoteAttribute.NotePopupTextField, note); }And use it at any event or action : CustomerMaint customerGraph = PXGraph.CreateInstance<CustomerMaint>(); customerGraph.BAccount.Current = customerGraph.BAccount.Search<BAccount.bAccountID>(Base.Document.Current.CustomerID); //GetNote attached for that Customer string noteFromCustomerScreen = PXNoteAttribute.GetNote(customerGraph.BAccount.Cache, customerGraph.BAccount.Current); //Set pop-up note in the SalesOrder Screen SetPopupNote(Base.Document.Cache, Base.Document.Current, noteFromCustomerScreen); Base.Save.Press();
Hello I was able to add the Add PopUp note using Merge but I need to make it true and get the PopUp note from the Customer screen to my Note WindowI am getting a separate Window with the PopUp Note, I don’t want it.My Code looks like:SOOrderExt #region NoteID [PXUniqueNote( DescriptionField = typeof(SOOrder.customerID), Selector = typeof(Search<BAccount.acctCD, Where<BAccount.bAccountID, Equal<SOOrder.customerID>>>), ActivitiesCountByParent = true, ShowInReferenceSelector = true, PopupTextEnabled = true)] public Guid? NoteID { get; set; } public new abstract class noteID : PX.Data.BQL.BqlGuid.Field<noteID> { } #endregion Graph Extension: public class SOOrderEntry_Extension : PXGraphExtension<SOOrderEntry> { [PXMergeAttributes(Method = MergeMethod.Merge)] [PXCustomizeBaseAttribute(typeof(PXNoteAttribute), "PopupTe
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.