case 4341
This commit is contained in:
@@ -9,7 +9,7 @@ namespace AyaNova.DataList
|
||||
{
|
||||
public CustomerDataList(long translationId)
|
||||
{
|
||||
DefaultListAType = AyaType.Customer;
|
||||
DefaultListAType = AyaType.Customer;
|
||||
SQLFrom = @"FROM ACUSTOMER
|
||||
LEFT JOIN AHEADOFFICE ON (ACUSTOMER.HEADOFFICEID = AHEADOFFICE.ID)
|
||||
LEFT JOIN ACONTRACT ON (ACUSTOMER.CONTRACTID = ACONTRACT.ID)
|
||||
@@ -282,6 +282,14 @@ LEFT JOIN LATERAL
|
||||
SqlValueColumnName = "acustomer.country"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AddressPostal",
|
||||
FieldKey = "customeraddresspostal",
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlValueColumnName = "acustomer.postcodestreet"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AddressLatitude",
|
||||
|
||||
@@ -215,6 +215,14 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "aheadoffice.country"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AddressPostal",
|
||||
FieldKey = "headofficeaddresspostal",
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlValueColumnName = "aheadoffice.postcodestreet"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AddressLatitude",
|
||||
|
||||
@@ -233,6 +233,14 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "apm.country"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AddressPostal",
|
||||
FieldKey = "workorderaddresspostal",
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlValueColumnName = "apm.postcodestreet"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AddressLatitude",
|
||||
|
||||
@@ -372,6 +372,14 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "apm.country"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AddressPostal",
|
||||
FieldKey = "workorderaddresspostal",
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlValueColumnName = "apm.postcodestreet"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AddressLatitude",
|
||||
|
||||
@@ -476,6 +476,14 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "apm.country"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AddressPostal",
|
||||
FieldKey = "workorderaddresspostal",
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlValueColumnName = "apm.postcodestreet"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AddressLatitude",
|
||||
|
||||
@@ -492,6 +492,14 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "apm.country"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AddressPostal",
|
||||
FieldKey = "workorderaddresspostal",
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlValueColumnName = "apm.postcodestreet"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AddressLatitude",
|
||||
|
||||
@@ -481,6 +481,14 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "apm.country"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AddressPostal",
|
||||
FieldKey = "workorderaddresspostal",
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlValueColumnName = "apm.postcodestreet"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AddressLatitude",
|
||||
|
||||
@@ -496,6 +496,14 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "apm.country"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AddressPostal",
|
||||
FieldKey = "workorderaddresspostal",
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlValueColumnName = "apm.postcodestreet"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AddressLatitude",
|
||||
|
||||
@@ -490,6 +490,14 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "apm.country"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AddressPostal",
|
||||
FieldKey = "workorderaddresspostal",
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlValueColumnName = "apm.postcodestreet"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AddressLatitude",
|
||||
|
||||
@@ -463,6 +463,14 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "apm.country"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AddressPostal",
|
||||
FieldKey = "workorderaddresspostal",
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlValueColumnName = "apm.postcodestreet"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AddressLatitude",
|
||||
|
||||
@@ -450,6 +450,14 @@ namespace AyaNova.DataList
|
||||
SqlValueColumnName = "apm.country"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AddressPostal",
|
||||
FieldKey = "workorderaddresspostal",
|
||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||
SqlValueColumnName = "apm.postcodestreet"
|
||||
});
|
||||
|
||||
FieldDefinitions.Add(new DataListFieldDefinition
|
||||
{
|
||||
TKey = "AddressLatitude",
|
||||
|
||||
Reference in New Issue
Block a user