If you have done a query in a form and you you want to clean previouslu query filter you have to follo w this code public void executeQuery() { // Get the filter value from the filter control. date firstYearOfMonth; str monthStr; str yearStr; MonthsOfYear monthEnum; int monthEnumToInt; TransDate tmpDate; TransDate dateInMonth; TransDate firstDateOfMonth; TransDate … Continue reading AX – D365FO – Clear a value of a previously query set filter