Contents tagged with UseTimeZone

  • LastModifiedDateTime has wrong datetime information

    Hello everybody,

    today I want to share interesting use case which raised recently when dealt with syncrhonization of records between Magento and Acumatica.

    I had following declaration:

    #region LastModifiedDateTime

    [PXDBDateAndTime()]

    [PXUIField(DisplayName = "Last Modified Date Time")]

    public virtual DateTime? LastModifiedDateTime { get; set; }

    public abstract class lastModifiedDateTime : PX.Data.BQL.BqlDateTime.Field<lastModifiedDateTime> { }

    #endregion

    and for my disappointment as well as disappointment of Magento developers we had to add some hours shift to each call, in order to filter out properly by Last modified Date time.

    One of the solutions was to add one more flag to … more