Hello,
I am trying to add the customer class to the GL301000 Journal transaction form. As you can see from the code, I have created a DAC extension for GLTran, I have also added a database column to the GLTran table called “UsrMissionCustomerClassID” as an int. So, Currently I am just trying to get the refenceID to show up.
So far I have been unable to get anything to show up, and when I run the debugger in Visual Studio
value is always set to null.
I have read through the T series dev guides but I am unsure what to apply to this DAC extension.
Any guidance would be greatly appreciated!
Thank you in advance.
namespace PX.Objects.GL
{
public class GLTranExt : PXCacheExtension<PX.Objects.GL.GLTran>
{
public abstract class usrMissionCustomerClassID : PX.Data.BQL.BqlInt.Field<usrMissionCustomerClassID> { }
public Int32? _UsrMissionCustomerClassID;
PXDBInt()]
PXUIField(DisplayName = "Customer Account Class", Enabled = false)]
PXSelector(typeof(Search<BAccountR.bAccountID>), SubstituteKey = typeof(BAccountR.acctCD))]
public virtual Int32? UsrMissionCustomerClassID
{
get { return this._UsrMissionCustomerClassID; }
set { this._UsrMissionCustomerClassID = value; }
}
}
}