Contents tagged with PXDependsOnFields

  • How to make calculated field available in Generic Inquiry screen of Acumatica and Starship

    Hello everybody,

    today I want to describe interesting case. 

    I was asked to add on Acumatica screen Date field, which calculates according to some business logic rules. Task was pretty simple initially to do, so I've jumped, and added that field like this:

    public abstract class usrExpectedByDate : IBqlField

    {

    }

    [PXDBDate()]

    [PXUIField(DisplayName = "Expect Date", IsReadOnly = true)]

    [PXDefault(PersistingCheck = PXPersistingCheck.Nothing)]

    public virtual DateTime? UsrExpectedByDate { get; set; }

    I provided this customization to customer and had expectation that I can enjoy from my life. 

    But with time, customer notified me, that shiping didn't work as expected. Why, because in … more