Hey everyone.
We have done a customisation where we extended the Opening Balances to the Customer screen.
Here are the fields in DAC:
public class MAKLCustomerBalanceSummaryExt : PXCacheExtension<CustomerMaint.CustomerBalanceSummary>
{
#region UsrMAKLCurrentBalance
[PXBaseCury(null, typeof(Customer.baseCuryID))]
[CurySymbol(null, typeof(Customer.baseCuryID), null, null)]
[PXUIField(DisplayName = "Current Balance", Visible = true, Enabled = false)]
public virtual decimal? UsrMAKLCurrentBalance { get; set; }
public abstract class usrMAKLCurrentBalance : BqlType<IBqlDecimal, decimal>.Field<usrMAKLCurrentBalance> { }
#endregion
}We have then extended this field to the Web Service Endpoint, but it returns 0 every time even though the customer has a balance.
I have then added the RowSelected event handler and populated the field in there as well, but to no avail.
How can I get this field to display in the Web Service?