This commit is contained in:
@@ -152,42 +152,16 @@ namespace AyaNova.DataList
|
|||||||
SqlValueColumnName = "aloanunit.defaultrate"
|
SqlValueColumnName = "aloanunit.defaultrate"
|
||||||
});
|
});
|
||||||
|
|
||||||
//------------
|
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||||
|
|
||||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
|
||||||
{
|
{
|
||||||
TKey = "LoanUnitAccountNumber",
|
FieldKey = "LoanUnitShadowUnit",
|
||||||
FieldKey = "LoanUnitAccountNumber",
|
TKey = "LoanUnitShadowUnit",
|
||||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
SqlValueColumnName = "aloanunit.accountnumber"
|
AyaObjectType = (int)AyaType.Unit,
|
||||||
|
SqlIdColumnName = "shadowunit.id",
|
||||||
|
SqlValueColumnName = "shadowunit.serial"
|
||||||
});
|
});
|
||||||
|
|
||||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
|
||||||
{
|
|
||||||
FieldKey = "LoanUnitLoanUnitOverseerID",
|
|
||||||
TKey = "LoanUnitLoanUnitOverseerID",
|
|
||||||
UiFieldDataType = (int)UiFieldDataType.Text,
|
|
||||||
AyaObjectType = (int)AyaType.User,
|
|
||||||
SqlIdColumnName = "auser.id",
|
|
||||||
SqlValueColumnName = "auser.name"
|
|
||||||
});
|
|
||||||
|
|
||||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
|
||||||
{
|
|
||||||
TKey = "LoanUnitDateStarted",
|
|
||||||
FieldKey = "LoanUnitDateStarted",
|
|
||||||
UiFieldDataType = (int)UiFieldDataType.DateTime,
|
|
||||||
SqlValueColumnName = "aloanunit.datestarted"
|
|
||||||
});
|
|
||||||
|
|
||||||
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
|
||||||
{
|
|
||||||
TKey = "LoanUnitDateCompleted",
|
|
||||||
FieldKey = "LoanUnitDateCompleted",
|
|
||||||
UiFieldDataType = (int)UiFieldDataType.DateTime,
|
|
||||||
SqlValueColumnName = "aloanunit.datecompleted"
|
|
||||||
});
|
|
||||||
//-----------
|
|
||||||
|
|
||||||
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "LoanUnitCustom1", FieldKey = "loanunitcustom1", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aloanunit.customfields" });
|
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "LoanUnitCustom1", FieldKey = "loanunitcustom1", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aloanunit.customfields" });
|
||||||
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "LoanUnitCustom2", FieldKey = "loanunitcustom2", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aloanunit.customfields" });
|
FieldDefinitions.Add(new AyaDataListFieldDefinition { TKey = "LoanUnitCustom2", FieldKey = "loanunitcustom2", IsCustomField = true, IsFilterable = false, IsSortable = false, SqlValueColumnName = "aloanunit.customfields" });
|
||||||
|
|||||||
Reference in New Issue
Block a user