could someone show me how to add attribute in Employees?
could someone show me how to add attribute in Employees?
Thank you all
I found where can add the Attribute.
I am trying to replicated what Acumatica does with is Vendor Screen.
My Setup Graph looks like this.
public class VCContractPrefMaint : PXGraph<VCContractPrefMaint, VCSetup>
{
bPXViewName(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 { }
sCRAttributesField(typeof(VCContract.contractClassID))]
public virtual stringo] UsrAttributes { get; set; }
public virtual stringr] Attributes { get; set; }
#endregion
I am not sure if I have used the CSAttributeGroupList in a right way(What should be the EntityClass and Entity), my Mapping grid is always null in this case.
Please Advice!
BQL in Attribute fields is not needed
CRAttributesField(typeof(VCContract.contractClassCD), typeof(VCContract.noteID))]
public virtual stringg] Attributes { get; set; }
This will work as everything is connected to Note ID
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.