case 4381

This commit is contained in:
2023-03-08 21:53:58 +00:00
parent eeeba3d3ca
commit cf99788b59
2 changed files with 57 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ See the [upgrade instructions](ops-upgrade.md) section of this manual for detail
### Added ### Added
- Server: Unit and Customer report data added two new fields `LastWorkOrderCompletedViz` and `LastServiceDateCompletedViz` which indicate the most recent work order set to a _Completed_ Status - Server: Unit and Customer report data added two new fields `LastWorkOrderCompletedViz` and `LastServiceDateCompletedViz` which indicate the most recent work order set to a _Completed_ Status
- Server, App: Customer [Autocomplete list template](adm-global-autocomplete-templates.md) added all 5 phone numbers, email address and account number as options in addition to existing Tags and Name
### AyaNova 8.0.36 (2023-03-06) ### AyaNova 8.0.36 (2023-03-06)

View File

@@ -53,6 +53,62 @@ namespace AyaNova.PickList
SqlValueColumnName = "acustomer.tags" SqlValueColumnName = "acustomer.tags"
}); });
ColumnDefinitions.Add(new AyaPickListFieldDefinition
{
TKey = "CustomerPhone1",
FieldKey = "CustomerPhone1",
ColumnDataType = UiFieldDataType.PhoneNumber,
SqlValueColumnName = "acustomer.phone1"
});
ColumnDefinitions.Add(new AyaPickListFieldDefinition
{
TKey = "CustomerPhone2",
FieldKey = "CustomerPhone2",
ColumnDataType = UiFieldDataType.PhoneNumber,
SqlValueColumnName = "acustomer.phone2"
});
ColumnDefinitions.Add(new AyaPickListFieldDefinition
{
TKey = "CustomerPhone3",
FieldKey = "CustomerPhone3",
ColumnDataType = UiFieldDataType.PhoneNumber,
SqlValueColumnName = "acustomer.phone3"
});
ColumnDefinitions.Add(new AyaPickListFieldDefinition
{
TKey = "CustomerPhone4",
FieldKey = "CustomerPhone4",
ColumnDataType = UiFieldDataType.PhoneNumber,
SqlValueColumnName = "acustomer.phone4"
});
ColumnDefinitions.Add(new AyaPickListFieldDefinition
{
TKey = "CustomerPhone5",
FieldKey = "CustomerPhone5",
ColumnDataType = UiFieldDataType.PhoneNumber,
SqlValueColumnName = "acustomer.phone5"
});
ColumnDefinitions.Add(new AyaPickListFieldDefinition
{
TKey = "CustomerAccountNumber",
FieldKey = "CustomerAccountNumber",
ColumnDataType = UiFieldDataType.Text,
SqlValueColumnName = "acustomer.accountnumber"
});
ColumnDefinitions.Add(new AyaPickListFieldDefinition
{
TKey = "CustomerEmail",
FieldKey = "CustomerEmail",
ColumnDataType = UiFieldDataType.EmailAddress,
SqlValueColumnName = "acustomer.emailaddress"
});
} }
public string GetVariantCriteria(string variant) public string GetVariantCriteria(string variant)
{ {