Hi,
I added a section filters on status in Order screen. But When i click on status filter i can see the user name option along with the "select status"&"Clear" options. For what reason is the username visible in Status filters ? I have not given any such conditions there. Can you help me out to remove it.
The code snippet in OrderSectionV2 is given below
define("OrderSectionV2", [], function() {
return {
entitySchemaName: "Order",
details: /**SCHEMA_DETAILS*/{}/**SCHEMA_DETAILS*/,
diff: /**SCHEMA_DIFF*/[]/**SCHEMA_DIFF*/,
methods: {
initFixedFiltersConfig: function() {
var fixedFilterConfig = {
entitySchema: this.entitySchema,
filters: [
{
name: "PeriodFilter",
caption: this.get("Resources.Strings.PeriodFilterCaption"),
dataValueType: this.Terrasoft.DataValueType.DATE,
startDate: {
columnName: "StartDate",
defValue: this.Terrasoft.startOfWeek(new Date())
},
dueDate: {
columnName: "StartDate",
defValue: this.Terrasoft.endOfWeek(new Date())
}
},
{
name: "Owner",
caption: this.get("Resources.Strings.OwnerFilterCaption"),
columnName: "Owner",
defValue: this.Terrasoft.SysValue.CURRENT_USER_CONTACT,
dataValueType: this.Terrasoft.DataValueType.LOOKUP,
},
{
name: "Status",
columnName: "Status",
caption: this.get("Resources.Strings.StatusFilterCaption"),
appendCurrentOrderMenuItem: false,
dataValueType: this.Terrasoft.DataValueType.LOOKUP,
addNewFilterCaption: this.get("Resources.Strings.SelectStatusCaption"),
hint: this.get("Resources.Strings.SelectStatusCaption"),
buttonImageConfig: this.get("Resources.Images.SortIcon"),
}
]
};
this.set("FixedFilterConfig", fixedFilterConfig);
}
}
};
});
Please find the below screen shot.