Hi everyone,
I’m facing a discrepancy between the Acumatica Browser UI and the Mobile App regarding a DateTime field.
The Setup: I have a field defined in my DAC as follows:
#region StartDate
public abstract class startDate : PX.Data.BQL.BqlDateTime.Field<startDate> { }
[PXDBDateAndTime(DisplayNameDate = "Date", DisplayNameTime = "Time", UseTimeZone = false)]
[PXUIField(DisplayName = "Start Date", Enabled = false)]
public virtual DateTime? StartDate { get; set; }
#endregion
In the Browser: The field displays the exact value stored in the database, which is the desired behavior because UseTimeZone = false.
In the Mobile App: The field appears to be converted to Universal Time (UTC) or adjusted based on the device's time zone, even though it should display the "raw" database value.
How can I force the Mobile App to display the "Wall Clock Time" (the exact value from the DB) without any time zone transformations, keeping it consistent with the browser's behavior? Is there a specific MSDL (Mobile Screen DSL) property or a DAC attribute adjustment that ensures the API sends the date as a "naive" timestamp?