diff --git a/codbex-partners/codbex-partners.edm b/codbex-partners/codbex-partners.edm index b2e1f78..4a5f962 100644 --- a/codbex-partners/codbex-partners.edm +++ b/codbex-partners/codbex-partners.edm @@ -18,6 +18,9 @@ + + + @@ -31,11 +34,18 @@ + + + + + + + @@ -43,6 +53,10 @@ + + + + @@ -50,6 +64,10 @@ + + + + @@ -75,6 +93,9 @@ + + + @@ -85,6 +106,8 @@ + + @@ -95,6 +118,8 @@ + + @@ -105,6 +130,8 @@ + + @@ -137,5 +164,5 @@ - + \ No newline at end of file diff --git a/codbex-partners/codbex-partners.gen b/codbex-partners/codbex-partners.gen index d657cfd..ff2e2f3 100644 --- a/codbex-partners/codbex-partners.gen +++ b/codbex-partners/codbex-partners.gen @@ -4,13 +4,51 @@ "brandUrl": "https://www.codbex.com/", "title": "Partners Management Module", "description": "Managing Partners Data", + "fileName": "codbex-partners", + "genFolderName": "codbex-partners", + "dataSource": "DefaultDB", + "roles": [ + { + "entityName": "Customer", + "roleRead": "codbex-partners.Customers.CustomerReadOnly", + "roleWrite": "codbex-partners.Customers.CustomerFullAccess" + }, + { + "entityName": "Supplier", + "roleRead": "codbex-partners.Suppliers.SupplierReadOnly", + "roleWrite": "codbex-partners.Suppliers.SupplierFullAccess" + }, + { + "entityName": "CustomerNote", + "roleRead": "codbex-partners.Customers.CustomerNoteReadOnly", + "roleWrite": "codbex-partners.Customers.CustomerNoteFullAccess" + }, + { + "entityName": "SupplierNote", + "roleRead": "codbex-partners.Suppliers.SupplierNoteReadOnly", + "roleWrite": "codbex-partners.Suppliers.SupplierNoteFullAccess" + }, + { + "entityName": "ManufacturerNote", + "roleRead": "codbex-partners.Manufacturers.ManufacturerNoteReadOnly", + "roleWrite": "codbex-partners.Manufacturers.ManufacturerNoteFullAccess" + }, + { + "entityName": "Manufacturer", + "roleRead": "codbex-partners.Manufacturers.ManufacturerReadOnly", + "roleWrite": "codbex-partners.Manufacturers.ManufacturerFullAccess" + }, + { + "entityName": "CustomerContact", + "roleRead": "codbex-partners.Customers.CustomerContactReadOnly", + "roleWrite": "codbex-partners.Customers.CustomerContactFullAccess" + } + ], + "tprefix": "codbex-partners-model", "projectName": "codbex-partners", "workspaceName": "workspace", "filePath": "codbex-partners.model", "templateId": "template-application-angular-v2/template/template.js", - "fileName": "codbex-partners", - "genFolderName": "codbex-partners", - "dataSource": "DefaultDB", "perspectives": { "Customers": { "views": [ @@ -137,44 +175,6 @@ "role": "" } }, - "roles": [ - { - "entityName": "Customer", - "roleRead": "codbex-partners.Customers.CustomerReadOnly", - "roleWrite": "codbex-partners.Customers.CustomerFullAccess" - }, - { - "entityName": "Supplier", - "roleRead": "codbex-partners.Suppliers.SupplierReadOnly", - "roleWrite": "codbex-partners.Suppliers.SupplierFullAccess" - }, - { - "entityName": "CustomerNote", - "roleRead": "codbex-partners.Customers.CustomerNoteReadOnly", - "roleWrite": "codbex-partners.Customers.CustomerNoteFullAccess" - }, - { - "entityName": "SupplierNote", - "roleRead": "codbex-partners.Suppliers.SupplierNoteReadOnly", - "roleWrite": "codbex-partners.Suppliers.SupplierNoteFullAccess" - }, - { - "entityName": "ManufacturerNote", - "roleRead": "codbex-partners.Manufacturers.ManufacturerNoteReadOnly", - "roleWrite": "codbex-partners.Manufacturers.ManufacturerNoteFullAccess" - }, - { - "entityName": "Manufacturer", - "roleRead": "codbex-partners.Manufacturers.ManufacturerReadOnly", - "roleWrite": "codbex-partners.Manufacturers.ManufacturerFullAccess" - }, - { - "entityName": "CustomerContact", - "roleRead": "codbex-partners.Customers.CustomerContactReadOnly", - "roleWrite": "codbex-partners.Customers.CustomerContactFullAccess" - } - ], - "tprefix": "codbex-partners-model", "models": [ { "properties": [ @@ -678,6 +678,91 @@ "dataTypeTypescript": "Date", "isDateType": true, "inputRule": "" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "CUSTOMER_CREATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": true, + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "CreatedBy", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, + "inputRule": "" + }, + { + "auditType": "UPDATED_AT", + "dataName": "CUSTOMER_UPDATEDAT", + "dataNullable": true, + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": true, + "name": "UpdatedAt", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "UpdatedAt", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "timestamp", + "dataTypeTypescript": "Date", + "isDateType": true, + "inputRule": "" + }, + { + "auditType": "UPDATED_BY", + "dataLength": "20", + "dataName": "CUSTOMER_UPDATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": true, + "name": "UpdatedBy", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "UpdatedBy", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, + "inputRule": "" } ], "caption": "Manage entity Customer", @@ -1204,6 +1289,91 @@ "dataTypeTypescript": "Date", "isDateType": true, "inputRule": "" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "CUSTOMER_CREATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": true, + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "CreatedBy", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, + "inputRule": "" + }, + { + "auditType": "UPDATED_AT", + "dataName": "CUSTOMER_UPDATEDAT", + "dataNullable": true, + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": true, + "name": "UpdatedAt", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "UpdatedAt", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "timestamp", + "dataTypeTypescript": "Date", + "isDateType": true, + "inputRule": "" + }, + { + "auditType": "UPDATED_BY", + "dataLength": "20", + "dataName": "CUSTOMER_UPDATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": true, + "name": "UpdatedBy", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "UpdatedBy", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, + "inputRule": "" } ] }, @@ -1528,40 +1698,125 @@ "dataTypeTypescript": "Date", "isDateType": true, "inputRule": "" - } - ], - "caption": "Manage entity Supplier", - "dataCount": "SELECT COUNT(*) AS COUNT FROM \"CODBEX__SUPPLIER\"", - "dataName": "SUPPLIER", - "dataQuery": "", - "description": "Manage entity Supplier", - "generateDefaultRoles": "true", - "generateReport": "false", - "icon": "/services/web/resources/unicons/file.svg", - "layoutType": "MANAGE_MASTER", - "menuIndex": "100", - "menuKey": "supplier", - "menuLabel": "Supplier", - "multilingual": "false", - "name": "Supplier", - "perspectiveHeader": "", - "perspectiveIcon": "/services/web/resources/unicons/user-minus.svg", - "perspectiveLabel": "Suppliers", - "perspectiveName": "Suppliers", - "perspectiveNavId": "partners-navigation-group", - "perspectiveOrder": "200", - "perspectiveRole": "", - "roleRead": "codbex-partners.Suppliers.SupplierReadOnly", - "roleWrite": "codbex-partners.Suppliers.SupplierFullAccess", - "title": "Supplier", - "tooltip": "Supplier", - "type": "PRIMARY", - "dataSource": "DefaultDB", - "referencedProjections": [], - "primaryKeys": [ - "Id" - ], - "primaryKeysString": "Id", + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "SUPPLIER_CREATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": true, + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "CreatedBy", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, + "inputRule": "" + }, + { + "auditType": "UPDATED_AT", + "dataName": "SUPPLIER_UPDATEDAT", + "dataNullable": true, + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": true, + "name": "UpdatedAt", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "UpdatedAt", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "timestamp", + "dataTypeTypescript": "Date", + "isDateType": true, + "inputRule": "" + }, + { + "auditType": "UPDATED_BY", + "dataLength": "20", + "dataName": "SUPPLIER_UPDATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": true, + "name": "UpdatedBy", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "UpdatedBy", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, + "inputRule": "" + } + ], + "caption": "Manage entity Supplier", + "dataCount": "SELECT COUNT(*) AS COUNT FROM \"CODBEX__SUPPLIER\"", + "dataName": "SUPPLIER", + "dataQuery": "", + "description": "Manage entity Supplier", + "generateDefaultRoles": "true", + "generateReport": "false", + "icon": "/services/web/resources/unicons/file.svg", + "layoutType": "MANAGE_MASTER", + "menuIndex": "100", + "menuKey": "supplier", + "menuLabel": "Supplier", + "multilingual": "false", + "name": "Supplier", + "perspectiveHeader": "", + "perspectiveIcon": "/services/web/resources/unicons/user-minus.svg", + "perspectiveLabel": "Suppliers", + "perspectiveName": "Suppliers", + "perspectiveNavId": "partners-navigation-group", + "perspectiveOrder": "200", + "perspectiveRole": "", + "roleRead": "codbex-partners.Suppliers.SupplierReadOnly", + "roleWrite": "codbex-partners.Suppliers.SupplierFullAccess", + "title": "Supplier", + "tooltip": "Supplier", + "type": "PRIMARY", + "dataSource": "DefaultDB", + "referencedProjections": [], + "primaryKeys": [ + "Id" + ], + "primaryKeysString": "Id", "masterProperties": { "title": { "auditType": "NONE", @@ -1854,6 +2109,91 @@ "dataTypeTypescript": "Date", "isDateType": true, "inputRule": "" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "SUPPLIER_CREATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": true, + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "CreatedBy", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, + "inputRule": "" + }, + { + "auditType": "UPDATED_AT", + "dataName": "SUPPLIER_UPDATEDAT", + "dataNullable": true, + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": true, + "name": "UpdatedAt", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "UpdatedAt", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "timestamp", + "dataTypeTypescript": "Date", + "isDateType": true, + "inputRule": "" + }, + { + "auditType": "UPDATED_BY", + "dataLength": "20", + "dataName": "SUPPLIER_UPDATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": true, + "name": "UpdatedBy", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "UpdatedBy", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, + "inputRule": "" } ] }, @@ -1930,22 +2270,134 @@ "name": "Note", "tooltip": "", "widgetIsMajor": true, - "widgetLength": "5000", + "widgetLength": "5000", + "widgetSize": "", + "widgetType": "TEXTAREA", + "dataNotNull": true, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isCalculatedProperty": false, + "isReadOnlyProperty": false, + "widgetLabel": "Note", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 5000, + "inputRule": "" + }, + { + "auditType": "CREATED_AT", + "dataName": "CUSTOMERNOTE_CREATEDAT", + "dataNullable": true, + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": true, + "name": "CreatedAt", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "CreatedAt", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "timestamp", + "dataTypeTypescript": "Date", + "isDateType": true, + "inputRule": "" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "CUSTOMERNOTE_CREATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": true, + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "CreatedBy", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, + "inputRule": "" + }, + { + "auditType": "UPDATED_AT", + "dataName": "CUSTOMERNOTE_UPDATEDAT", + "dataNullable": true, + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": true, + "name": "UpdatedAt", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "UpdatedAt", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "timestamp", + "dataTypeTypescript": "Date", + "isDateType": true, + "inputRule": "" + }, + { + "auditType": "UPDATED_BY", + "dataLength": "20", + "dataName": "CUSTOMERNOTE_UPDATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": true, + "name": "UpdatedBy", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", "widgetSize": "", - "widgetType": "TEXTAREA", - "dataNotNull": true, + "widgetType": "TEXTBOX", + "dataNotNull": false, "dataAutoIncrement": false, "dataPrimaryKey": false, "dataUnique": false, + "isRequiredProperty": false, "isCalculatedProperty": false, - "isReadOnlyProperty": false, - "widgetLabel": "Note", + "widgetLabel": "UpdatedBy", "widgetDropdownUrl": "", "widgetDropdownControllerUrl": "", "dataTypeJava": "string", "dataTypeTypescript": "string", "minLength": 0, - "maxLength": 5000, + "maxLength": 20, "inputRule": "" } ], @@ -1982,7 +2434,8 @@ ], "primaryKeysString": "Id", "masterEntity": "Customer", - "masterEntityId": "Customer" + "masterEntityId": "Customer", + "hasDates": true }, { "properties": [ @@ -2072,6 +2525,118 @@ "minLength": 0, "maxLength": 5000, "inputRule": "" + }, + { + "auditType": "CREATED_AT", + "dataName": "SUPPLIERNOTE_CREATEDAT", + "dataNullable": true, + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": true, + "name": "CreatedAt", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "CreatedAt", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "timestamp", + "dataTypeTypescript": "Date", + "isDateType": true, + "inputRule": "" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "SUPPLIERNOTE_CREATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": true, + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "CreatedBy", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, + "inputRule": "" + }, + { + "auditType": "UPDATED_AT", + "dataName": "SUPPLIERNOTE_UPDATEDAT", + "dataNullable": true, + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": true, + "name": "UpdatedAt", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "UpdatedAt", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "timestamp", + "dataTypeTypescript": "Date", + "isDateType": true, + "inputRule": "" + }, + { + "auditType": "UPDATED_BY", + "dataLength": "20", + "dataName": "SUPPLIERNOTE_UPDATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": true, + "name": "UpdatedBy", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "UpdatedBy", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, + "inputRule": "" } ], "caption": "Manage entity SupplierNote", @@ -2107,7 +2672,8 @@ ], "primaryKeysString": "Id", "masterEntity": "Supplier", - "masterEntityId": "Supplier" + "masterEntityId": "Supplier", + "hasDates": true }, { "properties": [ @@ -2197,6 +2763,118 @@ "minLength": 0, "maxLength": 5000, "inputRule": "" + }, + { + "auditType": "CREATED_AT", + "dataName": "MANUFACTURERNOTE_CREATEDAT", + "dataNullable": true, + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": true, + "name": "CreatedAt", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "CreatedAt", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "timestamp", + "dataTypeTypescript": "Date", + "isDateType": true, + "inputRule": "" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "MANUFACTURERNOTE_CREATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": true, + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "CreatedBy", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, + "inputRule": "" + }, + { + "auditType": "UPDATED_AT", + "dataName": "MANUFACTURERNOTE_UPDATEDAT", + "dataNullable": true, + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": true, + "name": "UpdatedAt", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "UpdatedAt", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "timestamp", + "dataTypeTypescript": "Date", + "isDateType": true, + "inputRule": "" + }, + { + "auditType": "UPDATED_BY", + "dataLength": "20", + "dataName": "MANUFACTURERNOTE_UPDATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": true, + "name": "UpdatedBy", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "UpdatedBy", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, + "inputRule": "" } ], "caption": "Manage entity ManufacturerNote", @@ -2232,7 +2910,8 @@ ], "primaryKeysString": "Id", "masterEntity": "Manufacturer", - "masterEntityId": "Manufacturer" + "masterEntityId": "Manufacturer", + "hasDates": true }, { "properties": [ @@ -2826,23 +3505,80 @@ "dataAutoIncrement": false, "dataPrimaryKey": false, "isCalculatedProperty": false, - "isReadOnlyProperty": false, - "widgetLabel": "IBAN", + "isReadOnlyProperty": false, + "widgetLabel": "IBAN", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 34, + "inputRule": "^[A-Z]{2}[0-9]{2}[A-Z0-9]{11,30}$" + }, + { + "auditType": "CREATED_AT", + "dataName": "MANUFACTURER_CREATEDAT", + "dataNullable": true, + "dataType": "TIMESTAMP", + "description": "", + "name": "CreatedAt", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "isReadOnlyProperty": false, + "widgetLabel": "CreatedAt", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "timestamp", + "dataTypeTypescript": "Date", + "isDateType": true, + "inputRule": "" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "MANUFACTURER_CREATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": true, + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "CreatedBy", "widgetDropdownUrl": "", "widgetDropdownControllerUrl": "", "dataTypeJava": "string", "dataTypeTypescript": "string", "minLength": 0, - "maxLength": 34, - "inputRule": "^[A-Z]{2}[0-9]{2}[A-Z0-9]{11,30}$" + "maxLength": 20, + "inputRule": "" }, { - "auditType": "CREATED_AT", - "dataName": "MANUFACTURER_CREATEDAT", + "auditType": "UPDATED_AT", + "dataName": "MANUFACTURER_UPDATEDAT", "dataNullable": true, "dataType": "TIMESTAMP", "description": "", - "name": "CreatedAt", + "isReadOnlyProperty": true, + "name": "UpdatedAt", "tooltip": "", "widgetIsMajor": true, "widgetLength": "20", @@ -2854,14 +3590,42 @@ "dataUnique": false, "isRequiredProperty": false, "isCalculatedProperty": false, - "isReadOnlyProperty": false, - "widgetLabel": "CreatedAt", + "widgetLabel": "UpdatedAt", "widgetDropdownUrl": "", "widgetDropdownControllerUrl": "", "dataTypeJava": "timestamp", "dataTypeTypescript": "Date", "isDateType": true, "inputRule": "" + }, + { + "auditType": "UPDATED_BY", + "dataLength": "20", + "dataName": "MANUFACTURER_UPDATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": true, + "name": "UpdatedBy", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "UpdatedBy", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, + "inputRule": "" } ], "caption": "Manage entity Manufacturer", @@ -3188,6 +3952,91 @@ "dataTypeTypescript": "Date", "isDateType": true, "inputRule": "" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "MANUFACTURER_CREATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": true, + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "CreatedBy", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, + "inputRule": "" + }, + { + "auditType": "UPDATED_AT", + "dataName": "MANUFACTURER_UPDATEDAT", + "dataNullable": true, + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": true, + "name": "UpdatedAt", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "UpdatedAt", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "timestamp", + "dataTypeTypescript": "Date", + "isDateType": true, + "inputRule": "" + }, + { + "auditType": "UPDATED_BY", + "dataLength": "20", + "dataName": "MANUFACTURER_UPDATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": true, + "name": "UpdatedBy", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "UpdatedBy", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, + "inputRule": "" } ] }, @@ -3370,6 +4219,62 @@ "minLength": 0, "maxLength": 15, "inputRule": "" + }, + { + "auditType": "CREATED_AT", + "dataName": "CUSTOMERCONTACT_CREATEDAT", + "dataNullable": true, + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": true, + "name": "CreatedAt", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "CreatedAt", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "timestamp", + "dataTypeTypescript": "Date", + "isDateType": true, + "inputRule": "" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "CUSTOMERCONTACT_CREATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": true, + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "CreatedBy", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, + "inputRule": "" } ], "caption": "Manage entity CustomerContact", @@ -3407,7 +4312,8 @@ ], "primaryKeysString": "Id", "masterEntity": "Customer", - "masterEntityId": "Customer" + "masterEntityId": "Customer", + "hasDates": true }, { "properties": [ @@ -3584,6 +4490,62 @@ "minLength": 0, "maxLength": 15, "inputRule": "" + }, + { + "auditType": "CREATED_AT", + "dataName": "SUPPLIERCONTACT_CREATEDAT", + "dataNullable": true, + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": true, + "name": "CreatedAt", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "CreatedAt", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "timestamp", + "dataTypeTypescript": "Date", + "isDateType": true, + "inputRule": "" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "SUPPLIERCONTACT_CREATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": true, + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "CreatedBy", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, + "inputRule": "" } ], "caption": "Manage entity SupplierContact", @@ -3617,7 +4579,8 @@ ], "primaryKeysString": "Id", "masterEntity": "Supplier", - "masterEntityId": "Supplier" + "masterEntityId": "Supplier", + "hasDates": true }, { "properties": [ @@ -3794,6 +4757,62 @@ "minLength": 0, "maxLength": 15, "inputRule": "" + }, + { + "auditType": "CREATED_AT", + "dataName": "MANUFACTURERCONTACT_CREATEDAT", + "dataNullable": true, + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": true, + "name": "CreatedAt", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "CreatedAt", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "timestamp", + "dataTypeTypescript": "Date", + "isDateType": true, + "inputRule": "" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "MANUFACTURERCONTACT_CREATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": true, + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "widgetLabel": "CreatedBy", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, + "inputRule": "" } ], "caption": "Manage entity ManufacturerContact", @@ -3827,7 +4846,8 @@ ], "primaryKeysString": "Id", "masterEntity": "Manufacturer", - "masterEntityId": "Manufacturer" + "masterEntityId": "Manufacturer", + "hasDates": true }, { "properties": [ diff --git a/codbex-partners/codbex-partners.model b/codbex-partners/codbex-partners.model index 0ae6a1c..a0f16c6 100644 --- a/codbex-partners/codbex-partners.model +++ b/codbex-partners/codbex-partners.model @@ -274,6 +274,50 @@ "widgetLength": "20", "widgetSize": "", "widgetType": "DATETIME-LOCAL" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "CUSTOMER_CREATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "UPDATED_AT", + "dataName": "CUSTOMER_UPDATEDAT", + "dataNullable": "true", + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": "true", + "name": "UpdatedAt", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "UPDATED_BY", + "dataLength": "20", + "dataName": "CUSTOMER_UPDATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "UpdatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" } ], "caption": "Manage entity Customer", @@ -470,6 +514,50 @@ "widgetLength": "20", "widgetSize": "", "widgetType": "TEXTBOX" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "SUPPLIER_CREATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "UPDATED_AT", + "dataName": "SUPPLIER_UPDATEDAT", + "dataNullable": "true", + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": "true", + "name": "UpdatedAt", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "UPDATED_BY", + "dataLength": "20", + "dataName": "SUPPLIER_UPDATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "UpdatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" } ], "caption": "Manage entity Supplier", @@ -549,6 +637,64 @@ "widgetLength": "5000", "widgetSize": "", "widgetType": "TEXTAREA" + }, + { + "auditType": "CREATED_AT", + "dataName": "CUSTOMERNOTE_CREATEDAT", + "dataNullable": "true", + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedAt", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "CUSTOMERNOTE_CREATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "UPDATED_AT", + "dataName": "CUSTOMERNOTE_UPDATEDAT", + "dataNullable": "true", + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": "true", + "name": "UpdatedAt", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "UPDATED_BY", + "dataLength": "20", + "dataName": "CUSTOMERNOTE_UPDATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "UpdatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" } ], "caption": "Manage entity CustomerNote", @@ -628,6 +774,64 @@ "widgetLength": "5000", "widgetSize": "", "widgetType": "TEXTAREA" + }, + { + "auditType": "CREATED_AT", + "dataName": "SUPPLIERNOTE_CREATEDAT", + "dataNullable": "true", + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedAt", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "SUPPLIERNOTE_CREATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "UPDATED_AT", + "dataName": "SUPPLIERNOTE_UPDATEDAT", + "dataNullable": "true", + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": "true", + "name": "UpdatedAt", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "UPDATED_BY", + "dataLength": "20", + "dataName": "SUPPLIERNOTE_UPDATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "UpdatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" } ], "caption": "Manage entity SupplierNote", @@ -707,6 +911,64 @@ "widgetLength": "5000", "widgetSize": "", "widgetType": "TEXTAREA" + }, + { + "auditType": "CREATED_AT", + "dataName": "MANUFACTURERNOTE_CREATEDAT", + "dataNullable": "true", + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedAt", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "MANUFACTURERNOTE_CREATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "UPDATED_AT", + "dataName": "MANUFACTURERNOTE_UPDATEDAT", + "dataNullable": "true", + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": "true", + "name": "UpdatedAt", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "UPDATED_BY", + "dataLength": "20", + "dataName": "MANUFACTURERNOTE_UPDATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "UpdatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" } ], "caption": "Manage entity ManufacturerNote", @@ -1094,6 +1356,50 @@ "widgetLength": "20", "widgetSize": "", "widgetType": "TEXTBOX" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "MANUFACTURER_CREATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "UPDATED_AT", + "dataName": "MANUFACTURER_UPDATEDAT", + "dataNullable": "true", + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": "true", + "name": "UpdatedAt", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "UPDATED_BY", + "dataLength": "20", + "dataName": "MANUFACTURER_UPDATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "UpdatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" } ], "caption": "Manage entity Manufacturer", @@ -1221,6 +1527,35 @@ "widgetLength": "15", "widgetSize": "", "widgetType": "TEL" + }, + { + "auditType": "CREATED_AT", + "dataName": "CUSTOMERCONTACT_CREATEDAT", + "dataNullable": "true", + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedAt", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "CUSTOMERCONTACT_CREATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" } ], "caption": "Manage entity CustomerContact", @@ -1348,6 +1683,35 @@ "widgetLength": "15", "widgetSize": "", "widgetType": "TEL" + }, + { + "auditType": "CREATED_AT", + "dataName": "SUPPLIERCONTACT_CREATEDAT", + "dataNullable": "true", + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedAt", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "SUPPLIERCONTACT_CREATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" } ], "caption": "Manage entity SupplierContact", @@ -1471,6 +1835,35 @@ "widgetLength": "15", "widgetSize": "", "widgetType": "TEL" + }, + { + "auditType": "CREATED_AT", + "dataName": "MANUFACTURERCONTACT_CREATEDAT", + "dataNullable": "true", + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedAt", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "MANUFACTURERCONTACT_CREATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" } ], "caption": "Manage entity ManufacturerContact", diff --git a/codbex-partners/gen/codbex-partners/api/Customers/CustomerContactController.ts b/codbex-partners/gen/codbex-partners/api/Customers/CustomerContactController.ts index 6d7c495..782ce2e 100644 --- a/codbex-partners/gen/codbex-partners/api/Customers/CustomerContactController.ts +++ b/codbex-partners/gen/codbex-partners/api/Customers/CustomerContactController.ts @@ -199,6 +199,9 @@ class CustomerContactController { if (entity.Phone?.length > 15) { throw new ValidationError(`The 'Phone' exceeds the maximum length of [15] characters`); } + if (entity.CreatedBy?.length > 20) { + throw new ValidationError(`The 'CreatedBy' exceeds the maximum length of [20] characters`); + } for (const next of validationModules) { next.validate(entity); } diff --git a/codbex-partners/gen/codbex-partners/api/Customers/CustomerController.ts b/codbex-partners/gen/codbex-partners/api/Customers/CustomerController.ts index f0b7bde..ec74676 100644 --- a/codbex-partners/gen/codbex-partners/api/Customers/CustomerController.ts +++ b/codbex-partners/gen/codbex-partners/api/Customers/CustomerController.ts @@ -233,6 +233,12 @@ class CustomerController { if (entity.Identifier?.length > 36) { throw new ValidationError(`The 'Identifier' exceeds the maximum length of [36] characters`); } + if (entity.CreatedBy?.length > 20) { + throw new ValidationError(`The 'CreatedBy' exceeds the maximum length of [20] characters`); + } + if (entity.UpdatedBy?.length > 20) { + throw new ValidationError(`The 'UpdatedBy' exceeds the maximum length of [20] characters`); + } for (const next of validationModules) { next.validate(entity); } diff --git a/codbex-partners/gen/codbex-partners/api/Customers/CustomerNoteController.ts b/codbex-partners/gen/codbex-partners/api/Customers/CustomerNoteController.ts index cad8582..b3ccdbb 100644 --- a/codbex-partners/gen/codbex-partners/api/Customers/CustomerNoteController.ts +++ b/codbex-partners/gen/codbex-partners/api/Customers/CustomerNoteController.ts @@ -181,6 +181,12 @@ class CustomerNoteController { if (entity.Note?.length > 5000) { throw new ValidationError(`The 'Note' exceeds the maximum length of [5000] characters`); } + if (entity.CreatedBy?.length > 20) { + throw new ValidationError(`The 'CreatedBy' exceeds the maximum length of [20] characters`); + } + if (entity.UpdatedBy?.length > 20) { + throw new ValidationError(`The 'UpdatedBy' exceeds the maximum length of [20] characters`); + } for (const next of validationModules) { next.validate(entity); } diff --git a/codbex-partners/gen/codbex-partners/api/Manufacturers/ManufacturerContactController.ts b/codbex-partners/gen/codbex-partners/api/Manufacturers/ManufacturerContactController.ts index 8be3a53..00088d0 100644 --- a/codbex-partners/gen/codbex-partners/api/Manufacturers/ManufacturerContactController.ts +++ b/codbex-partners/gen/codbex-partners/api/Manufacturers/ManufacturerContactController.ts @@ -180,6 +180,9 @@ class ManufacturerContactController { if (entity.Phone?.length > 15) { throw new ValidationError(`The 'Phone' exceeds the maximum length of [15] characters`); } + if (entity.CreatedBy?.length > 20) { + throw new ValidationError(`The 'CreatedBy' exceeds the maximum length of [20] characters`); + } for (const next of validationModules) { next.validate(entity); } diff --git a/codbex-partners/gen/codbex-partners/api/Manufacturers/ManufacturerController.ts b/codbex-partners/gen/codbex-partners/api/Manufacturers/ManufacturerController.ts index f177a44..571fc31 100644 --- a/codbex-partners/gen/codbex-partners/api/Manufacturers/ManufacturerController.ts +++ b/codbex-partners/gen/codbex-partners/api/Manufacturers/ManufacturerController.ts @@ -209,6 +209,12 @@ class ManufacturerController { if (!RegExp(/^[A-Z]{2}[0-9]{2}[A-Z0-9]{11,30}$/).test(entity.IBAN)) { throw new ValidationError(`The value provided for the 'IBAN' property ('[${entity.IBAN}]') doesn't match the required pattern '^[A-Z]{2}[0-9]{2}[A-Z0-9]{11,30}$'`); } + if (entity.CreatedBy?.length > 20) { + throw new ValidationError(`The 'CreatedBy' exceeds the maximum length of [20] characters`); + } + if (entity.UpdatedBy?.length > 20) { + throw new ValidationError(`The 'UpdatedBy' exceeds the maximum length of [20] characters`); + } for (const next of validationModules) { next.validate(entity); } diff --git a/codbex-partners/gen/codbex-partners/api/Manufacturers/ManufacturerNoteController.ts b/codbex-partners/gen/codbex-partners/api/Manufacturers/ManufacturerNoteController.ts index e45ca77..57fe063 100644 --- a/codbex-partners/gen/codbex-partners/api/Manufacturers/ManufacturerNoteController.ts +++ b/codbex-partners/gen/codbex-partners/api/Manufacturers/ManufacturerNoteController.ts @@ -170,6 +170,12 @@ class ManufacturerNoteController { if (entity.Note?.length > 5000) { throw new ValidationError(`The 'Note' exceeds the maximum length of [5000] characters`); } + if (entity.CreatedBy?.length > 20) { + throw new ValidationError(`The 'CreatedBy' exceeds the maximum length of [20] characters`); + } + if (entity.UpdatedBy?.length > 20) { + throw new ValidationError(`The 'UpdatedBy' exceeds the maximum length of [20] characters`); + } for (const next of validationModules) { next.validate(entity); } diff --git a/codbex-partners/gen/codbex-partners/api/Suppliers/SupplierContactController.ts b/codbex-partners/gen/codbex-partners/api/Suppliers/SupplierContactController.ts index 4c8a378..0908a5a 100644 --- a/codbex-partners/gen/codbex-partners/api/Suppliers/SupplierContactController.ts +++ b/codbex-partners/gen/codbex-partners/api/Suppliers/SupplierContactController.ts @@ -180,6 +180,9 @@ class SupplierContactController { if (entity.Phone?.length > 15) { throw new ValidationError(`The 'Phone' exceeds the maximum length of [15] characters`); } + if (entity.CreatedBy?.length > 20) { + throw new ValidationError(`The 'CreatedBy' exceeds the maximum length of [20] characters`); + } for (const next of validationModules) { next.validate(entity); } diff --git a/codbex-partners/gen/codbex-partners/api/Suppliers/SupplierController.ts b/codbex-partners/gen/codbex-partners/api/Suppliers/SupplierController.ts index d7f8f46..113df47 100644 --- a/codbex-partners/gen/codbex-partners/api/Suppliers/SupplierController.ts +++ b/codbex-partners/gen/codbex-partners/api/Suppliers/SupplierController.ts @@ -209,6 +209,12 @@ class SupplierController { if (!RegExp(/^[A-Z]{2}[0-9]{2}[A-Z0-9]{11,30}$/).test(entity.IBAN)) { throw new ValidationError(`The value provided for the 'IBAN' property ('[${entity.IBAN}]') doesn't match the required pattern '^[A-Z]{2}[0-9]{2}[A-Z0-9]{11,30}$'`); } + if (entity.CreatedBy?.length > 20) { + throw new ValidationError(`The 'CreatedBy' exceeds the maximum length of [20] characters`); + } + if (entity.UpdatedBy?.length > 20) { + throw new ValidationError(`The 'UpdatedBy' exceeds the maximum length of [20] characters`); + } for (const next of validationModules) { next.validate(entity); } diff --git a/codbex-partners/gen/codbex-partners/api/Suppliers/SupplierNoteController.ts b/codbex-partners/gen/codbex-partners/api/Suppliers/SupplierNoteController.ts index ed3c8ea..c16ba2b 100644 --- a/codbex-partners/gen/codbex-partners/api/Suppliers/SupplierNoteController.ts +++ b/codbex-partners/gen/codbex-partners/api/Suppliers/SupplierNoteController.ts @@ -181,6 +181,12 @@ class SupplierNoteController { if (entity.Note?.length > 5000) { throw new ValidationError(`The 'Note' exceeds the maximum length of [5000] characters`); } + if (entity.CreatedBy?.length > 20) { + throw new ValidationError(`The 'CreatedBy' exceeds the maximum length of [20] characters`); + } + if (entity.UpdatedBy?.length > 20) { + throw new ValidationError(`The 'UpdatedBy' exceeds the maximum length of [20] characters`); + } for (const next of validationModules) { next.validate(entity); } diff --git a/codbex-partners/gen/codbex-partners/data/Customers/CustomerContactEntity.ts b/codbex-partners/gen/codbex-partners/data/Customers/CustomerContactEntity.ts index a74794e..ba62359 100644 --- a/codbex-partners/gen/codbex-partners/data/Customers/CustomerContactEntity.ts +++ b/codbex-partners/gen/codbex-partners/data/Customers/CustomerContactEntity.ts @@ -54,6 +54,25 @@ export class CustomerContactEntity { }) public Phone!: string; + @Documentation('CreatedAt') + @Column({ + name: 'CUSTOMERCONTACT_CREATEDAT', + type: 'timestamp', + nullable: true, + }) + @CreatedAt() + public CreatedAt?: Date; + + @Documentation('CreatedBy') + @Column({ + name: 'CUSTOMERCONTACT_CREATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @CreatedBy() + public CreatedBy?: string; + } (new CustomerContactEntity()); diff --git a/codbex-partners/gen/codbex-partners/data/Customers/CustomerContactRepository.ts b/codbex-partners/gen/codbex-partners/data/Customers/CustomerContactRepository.ts index d6e7856..49e8017 100644 --- a/codbex-partners/gen/codbex-partners/data/Customers/CustomerContactRepository.ts +++ b/codbex-partners/gen/codbex-partners/data/Customers/CustomerContactRepository.ts @@ -11,6 +11,22 @@ export class CustomerContactRepository extends Repository super((CustomerContactEntity as EntityConstructor)); } + public override findById(id: string | number, options?: Options): CustomerContactEntity | undefined { + const entity = super.findById(id, options); + if (entity) { + entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + } + return entity; + } + + public override findAll(options?: Options): CustomerContactEntity[] { + const entities = super.findAll(options); + entities.forEach(entity => { + entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + }); + return entities; + } + protected override async triggerEvent(data: EntityEvent): Promise { const triggerExtensions = await Extensions.loadExtensionModules('codbex-partners-Customers-CustomerContact', ['trigger']); triggerExtensions.forEach(triggerExtension => { diff --git a/codbex-partners/gen/codbex-partners/data/Customers/CustomerEntity.ts b/codbex-partners/gen/codbex-partners/data/Customers/CustomerEntity.ts index 0bb3960..026721b 100644 --- a/codbex-partners/gen/codbex-partners/data/Customers/CustomerEntity.ts +++ b/codbex-partners/gen/codbex-partners/data/Customers/CustomerEntity.ts @@ -145,6 +145,35 @@ export class CustomerEntity { @CreatedAt() public CreatedAt?: Date; + @Documentation('CreatedBy') + @Column({ + name: 'CUSTOMER_CREATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @CreatedBy() + public CreatedBy?: string; + + @Documentation('UpdatedAt') + @Column({ + name: 'CUSTOMER_UPDATEDAT', + type: 'timestamp', + nullable: true, + }) + @UpdatedAt() + public UpdatedAt?: Date; + + @Documentation('UpdatedBy') + @Column({ + name: 'CUSTOMER_UPDATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @UpdatedBy() + public UpdatedBy?: string; + } (new CustomerEntity()); diff --git a/codbex-partners/gen/codbex-partners/data/Customers/CustomerNoteEntity.ts b/codbex-partners/gen/codbex-partners/data/Customers/CustomerNoteEntity.ts index e438c22..4487db3 100644 --- a/codbex-partners/gen/codbex-partners/data/Customers/CustomerNoteEntity.ts +++ b/codbex-partners/gen/codbex-partners/data/Customers/CustomerNoteEntity.ts @@ -30,6 +30,44 @@ export class CustomerNoteEntity { }) public Note!: string; + @Documentation('CreatedAt') + @Column({ + name: 'CUSTOMERNOTE_CREATEDAT', + type: 'timestamp', + nullable: true, + }) + @CreatedAt() + public CreatedAt?: Date; + + @Documentation('CreatedBy') + @Column({ + name: 'CUSTOMERNOTE_CREATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @CreatedBy() + public CreatedBy?: string; + + @Documentation('UpdatedAt') + @Column({ + name: 'CUSTOMERNOTE_UPDATEDAT', + type: 'timestamp', + nullable: true, + }) + @UpdatedAt() + public UpdatedAt?: Date; + + @Documentation('UpdatedBy') + @Column({ + name: 'CUSTOMERNOTE_UPDATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @UpdatedBy() + public UpdatedBy?: string; + } (new CustomerNoteEntity()); diff --git a/codbex-partners/gen/codbex-partners/data/Customers/CustomerNoteRepository.ts b/codbex-partners/gen/codbex-partners/data/Customers/CustomerNoteRepository.ts index 3c2b8a5..e949dfc 100644 --- a/codbex-partners/gen/codbex-partners/data/Customers/CustomerNoteRepository.ts +++ b/codbex-partners/gen/codbex-partners/data/Customers/CustomerNoteRepository.ts @@ -11,6 +11,24 @@ export class CustomerNoteRepository extends Repository { super((CustomerNoteEntity as EntityConstructor)); } + public override findById(id: string | number, options?: Options): CustomerNoteEntity | undefined { + const entity = super.findById(id, options); + if (entity) { + entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + entity.UpdatedAt = entity.UpdatedAt ? new Date(entity.UpdatedAt) : undefined; + } + return entity; + } + + public override findAll(options?: Options): CustomerNoteEntity[] { + const entities = super.findAll(options); + entities.forEach(entity => { + entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + entity.UpdatedAt = entity.UpdatedAt ? new Date(entity.UpdatedAt) : undefined; + }); + return entities; + } + protected override async triggerEvent(data: EntityEvent): Promise { const triggerExtensions = await Extensions.loadExtensionModules('codbex-partners-Customers-CustomerNote', ['trigger']); triggerExtensions.forEach(triggerExtension => { diff --git a/codbex-partners/gen/codbex-partners/data/Customers/CustomerRepository.ts b/codbex-partners/gen/codbex-partners/data/Customers/CustomerRepository.ts index 445ec96..877ef56 100644 --- a/codbex-partners/gen/codbex-partners/data/Customers/CustomerRepository.ts +++ b/codbex-partners/gen/codbex-partners/data/Customers/CustomerRepository.ts @@ -15,6 +15,7 @@ export class CustomerRepository extends Repository { const entity = super.findById(id, options); if (entity) { entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + entity.UpdatedAt = entity.UpdatedAt ? new Date(entity.UpdatedAt) : undefined; } return entity; } @@ -23,6 +24,7 @@ export class CustomerRepository extends Repository { const entities = super.findAll(options); entities.forEach(entity => { entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + entity.UpdatedAt = entity.UpdatedAt ? new Date(entity.UpdatedAt) : undefined; }); return entities; } diff --git a/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerContactEntity.ts b/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerContactEntity.ts index 1c63ec0..c130669 100644 --- a/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerContactEntity.ts +++ b/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerContactEntity.ts @@ -54,6 +54,25 @@ export class ManufacturerContactEntity { }) public Phone!: string; + @Documentation('CreatedAt') + @Column({ + name: 'MANUFACTURERCONTACT_CREATEDAT', + type: 'timestamp', + nullable: true, + }) + @CreatedAt() + public CreatedAt?: Date; + + @Documentation('CreatedBy') + @Column({ + name: 'MANUFACTURERCONTACT_CREATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @CreatedBy() + public CreatedBy?: string; + } (new ManufacturerContactEntity()); diff --git a/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerContactRepository.ts b/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerContactRepository.ts index 7b4a05b..74e94f9 100644 --- a/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerContactRepository.ts +++ b/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerContactRepository.ts @@ -11,6 +11,22 @@ export class ManufacturerContactRepository extends Repository { + entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + }); + return entities; + } + protected override async triggerEvent(data: EntityEvent): Promise { const triggerExtensions = await Extensions.loadExtensionModules('codbex-partners-Manufacturers-ManufacturerContact', ['trigger']); triggerExtensions.forEach(triggerExtension => { diff --git a/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerEntity.ts b/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerEntity.ts index c94ea3e..6e75d83 100644 --- a/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerEntity.ts +++ b/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerEntity.ts @@ -99,6 +99,35 @@ export class ManufacturerEntity { @CreatedAt() public CreatedAt?: Date; + @Documentation('CreatedBy') + @Column({ + name: 'MANUFACTURER_CREATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @CreatedBy() + public CreatedBy?: string; + + @Documentation('UpdatedAt') + @Column({ + name: 'MANUFACTURER_UPDATEDAT', + type: 'timestamp', + nullable: true, + }) + @UpdatedAt() + public UpdatedAt?: Date; + + @Documentation('UpdatedBy') + @Column({ + name: 'MANUFACTURER_UPDATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @UpdatedBy() + public UpdatedBy?: string; + } (new ManufacturerEntity()); diff --git a/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerNoteEntity.ts b/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerNoteEntity.ts index 2103d34..4dbdd2b 100644 --- a/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerNoteEntity.ts +++ b/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerNoteEntity.ts @@ -30,6 +30,44 @@ export class ManufacturerNoteEntity { }) public Note!: string; + @Documentation('CreatedAt') + @Column({ + name: 'MANUFACTURERNOTE_CREATEDAT', + type: 'timestamp', + nullable: true, + }) + @CreatedAt() + public CreatedAt?: Date; + + @Documentation('CreatedBy') + @Column({ + name: 'MANUFACTURERNOTE_CREATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @CreatedBy() + public CreatedBy?: string; + + @Documentation('UpdatedAt') + @Column({ + name: 'MANUFACTURERNOTE_UPDATEDAT', + type: 'timestamp', + nullable: true, + }) + @UpdatedAt() + public UpdatedAt?: Date; + + @Documentation('UpdatedBy') + @Column({ + name: 'MANUFACTURERNOTE_UPDATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @UpdatedBy() + public UpdatedBy?: string; + } (new ManufacturerNoteEntity()); diff --git a/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerNoteRepository.ts b/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerNoteRepository.ts index b4d5a0c..987fb0f 100644 --- a/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerNoteRepository.ts +++ b/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerNoteRepository.ts @@ -11,6 +11,24 @@ export class ManufacturerNoteRepository extends Repository { + entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + entity.UpdatedAt = entity.UpdatedAt ? new Date(entity.UpdatedAt) : undefined; + }); + return entities; + } + protected override async triggerEvent(data: EntityEvent): Promise { const triggerExtensions = await Extensions.loadExtensionModules('codbex-partners-Manufacturers-ManufacturerNote', ['trigger']); triggerExtensions.forEach(triggerExtension => { diff --git a/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerRepository.ts b/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerRepository.ts index 471ccaa..7896b91 100644 --- a/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerRepository.ts +++ b/codbex-partners/gen/codbex-partners/data/Manufacturers/ManufacturerRepository.ts @@ -15,6 +15,7 @@ export class ManufacturerRepository extends Repository { const entity = super.findById(id, options); if (entity) { entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + entity.UpdatedAt = entity.UpdatedAt ? new Date(entity.UpdatedAt) : undefined; } return entity; } @@ -23,6 +24,7 @@ export class ManufacturerRepository extends Repository { const entities = super.findAll(options); entities.forEach(entity => { entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + entity.UpdatedAt = entity.UpdatedAt ? new Date(entity.UpdatedAt) : undefined; }); return entities; } diff --git a/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierContactEntity.ts b/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierContactEntity.ts index 7da730b..8cd38cb 100644 --- a/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierContactEntity.ts +++ b/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierContactEntity.ts @@ -54,6 +54,25 @@ export class SupplierContactEntity { }) public Phone!: string; + @Documentation('CreatedAt') + @Column({ + name: 'SUPPLIERCONTACT_CREATEDAT', + type: 'timestamp', + nullable: true, + }) + @CreatedAt() + public CreatedAt?: Date; + + @Documentation('CreatedBy') + @Column({ + name: 'SUPPLIERCONTACT_CREATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @CreatedBy() + public CreatedBy?: string; + } (new SupplierContactEntity()); diff --git a/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierContactRepository.ts b/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierContactRepository.ts index 9b75bcb..f9c333c 100644 --- a/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierContactRepository.ts +++ b/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierContactRepository.ts @@ -11,6 +11,22 @@ export class SupplierContactRepository extends Repository super((SupplierContactEntity as EntityConstructor)); } + public override findById(id: string | number, options?: Options): SupplierContactEntity | undefined { + const entity = super.findById(id, options); + if (entity) { + entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + } + return entity; + } + + public override findAll(options?: Options): SupplierContactEntity[] { + const entities = super.findAll(options); + entities.forEach(entity => { + entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + }); + return entities; + } + protected override async triggerEvent(data: EntityEvent): Promise { const triggerExtensions = await Extensions.loadExtensionModules('codbex-partners-Suppliers-SupplierContact', ['trigger']); triggerExtensions.forEach(triggerExtension => { diff --git a/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierEntity.ts b/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierEntity.ts index bf15ef6..145b489 100644 --- a/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierEntity.ts +++ b/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierEntity.ts @@ -99,6 +99,35 @@ export class SupplierEntity { @CreatedAt() public CreatedAt?: Date; + @Documentation('CreatedBy') + @Column({ + name: 'SUPPLIER_CREATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @CreatedBy() + public CreatedBy?: string; + + @Documentation('UpdatedAt') + @Column({ + name: 'SUPPLIER_UPDATEDAT', + type: 'timestamp', + nullable: true, + }) + @UpdatedAt() + public UpdatedAt?: Date; + + @Documentation('UpdatedBy') + @Column({ + name: 'SUPPLIER_UPDATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @UpdatedBy() + public UpdatedBy?: string; + } (new SupplierEntity()); diff --git a/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierNoteEntity.ts b/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierNoteEntity.ts index 5b3b52a..197c323 100644 --- a/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierNoteEntity.ts +++ b/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierNoteEntity.ts @@ -30,6 +30,44 @@ export class SupplierNoteEntity { }) public Note!: string; + @Documentation('CreatedAt') + @Column({ + name: 'SUPPLIERNOTE_CREATEDAT', + type: 'timestamp', + nullable: true, + }) + @CreatedAt() + public CreatedAt?: Date; + + @Documentation('CreatedBy') + @Column({ + name: 'SUPPLIERNOTE_CREATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @CreatedBy() + public CreatedBy?: string; + + @Documentation('UpdatedAt') + @Column({ + name: 'SUPPLIERNOTE_UPDATEDAT', + type: 'timestamp', + nullable: true, + }) + @UpdatedAt() + public UpdatedAt?: Date; + + @Documentation('UpdatedBy') + @Column({ + name: 'SUPPLIERNOTE_UPDATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @UpdatedBy() + public UpdatedBy?: string; + } (new SupplierNoteEntity()); diff --git a/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierNoteRepository.ts b/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierNoteRepository.ts index 336a7bd..df16b24 100644 --- a/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierNoteRepository.ts +++ b/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierNoteRepository.ts @@ -11,6 +11,24 @@ export class SupplierNoteRepository extends Repository { super((SupplierNoteEntity as EntityConstructor)); } + public override findById(id: string | number, options?: Options): SupplierNoteEntity | undefined { + const entity = super.findById(id, options); + if (entity) { + entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + entity.UpdatedAt = entity.UpdatedAt ? new Date(entity.UpdatedAt) : undefined; + } + return entity; + } + + public override findAll(options?: Options): SupplierNoteEntity[] { + const entities = super.findAll(options); + entities.forEach(entity => { + entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + entity.UpdatedAt = entity.UpdatedAt ? new Date(entity.UpdatedAt) : undefined; + }); + return entities; + } + protected override async triggerEvent(data: EntityEvent): Promise { const triggerExtensions = await Extensions.loadExtensionModules('codbex-partners-Suppliers-SupplierNote', ['trigger']); triggerExtensions.forEach(triggerExtension => { diff --git a/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierRepository.ts b/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierRepository.ts index f3ac250..1a12b4e 100644 --- a/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierRepository.ts +++ b/codbex-partners/gen/codbex-partners/data/Suppliers/SupplierRepository.ts @@ -15,6 +15,7 @@ export class SupplierRepository extends Repository { const entity = super.findById(id, options); if (entity) { entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + entity.UpdatedAt = entity.UpdatedAt ? new Date(entity.UpdatedAt) : undefined; } return entity; } @@ -23,6 +24,7 @@ export class SupplierRepository extends Repository { const entities = super.findAll(options); entities.forEach(entity => { entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + entity.UpdatedAt = entity.UpdatedAt ? new Date(entity.UpdatedAt) : undefined; }); return entities; } diff --git a/codbex-partners/gen/codbex-partners/schema/codbex-partners.schema b/codbex-partners/gen/codbex-partners/schema/codbex-partners.schema index 8a2f7b8..25ea6fd 100644 --- a/codbex-partners/gen/codbex-partners/schema/codbex-partners.schema +++ b/codbex-partners/gen/codbex-partners/schema/codbex-partners.schema @@ -97,6 +97,23 @@ "type": "TIMESTAMP", "nullable": true, "name": "CUSTOMER_CREATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "CUSTOMER_CREATEDBY" + }, + { + "type": "TIMESTAMP", + "nullable": true, + "name": "CUSTOMER_UPDATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "CUSTOMER_UPDATEDBY" } ] }, @@ -167,6 +184,23 @@ "type": "TIMESTAMP", "nullable": true, "name": "SUPPLIER_CREATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "SUPPLIER_CREATEDBY" + }, + { + "type": "TIMESTAMP", + "nullable": true, + "name": "SUPPLIER_UPDATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "SUPPLIER_UPDATEDBY" } ] }, @@ -190,6 +224,28 @@ "type": "VARCHAR", "length": 5000, "name": "CUSTOMERNOTE_NOTE" + }, + { + "type": "TIMESTAMP", + "nullable": true, + "name": "CUSTOMERNOTE_CREATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "CUSTOMERNOTE_CREATEDBY" + }, + { + "type": "TIMESTAMP", + "nullable": true, + "name": "CUSTOMERNOTE_UPDATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "CUSTOMERNOTE_UPDATEDBY" } ] }, @@ -213,6 +269,28 @@ "type": "VARCHAR", "length": 5000, "name": "SUPPLIERNOTE_NOTE" + }, + { + "type": "TIMESTAMP", + "nullable": true, + "name": "SUPPLIERNOTE_CREATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "SUPPLIERNOTE_CREATEDBY" + }, + { + "type": "TIMESTAMP", + "nullable": true, + "name": "SUPPLIERNOTE_UPDATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "SUPPLIERNOTE_UPDATEDBY" } ] }, @@ -236,6 +314,28 @@ "type": "VARCHAR", "length": 5000, "name": "MANUFACTURERNOTE_NOTE" + }, + { + "type": "TIMESTAMP", + "nullable": true, + "name": "MANUFACTURERNOTE_CREATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "MANUFACTURERNOTE_CREATEDBY" + }, + { + "type": "TIMESTAMP", + "nullable": true, + "name": "MANUFACTURERNOTE_UPDATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "MANUFACTURERNOTE_UPDATEDBY" } ] }, @@ -306,6 +406,23 @@ "type": "TIMESTAMP", "nullable": true, "name": "MANUFACTURER_CREATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "MANUFACTURER_CREATEDBY" + }, + { + "type": "TIMESTAMP", + "nullable": true, + "name": "MANUFACTURER_UPDATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "MANUFACTURER_UPDATEDBY" } ] }, @@ -345,6 +462,17 @@ "type": "VARCHAR", "length": 15, "name": "CUSTOMERCONTACT_PHONE" + }, + { + "type": "TIMESTAMP", + "nullable": true, + "name": "CUSTOMERCONTACT_CREATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "CUSTOMERCONTACT_CREATEDBY" } ] }, @@ -384,6 +512,17 @@ "type": "VARCHAR", "length": 15, "name": "SUPPLIERCONTACT_PHONE" + }, + { + "type": "TIMESTAMP", + "nullable": true, + "name": "SUPPLIERCONTACT_CREATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "SUPPLIERCONTACT_CREATEDBY" } ] }, @@ -423,6 +562,17 @@ "type": "VARCHAR", "length": 15, "name": "MANUFACTURERCONTACT_PHONE" + }, + { + "type": "TIMESTAMP", + "nullable": true, + "name": "MANUFACTURERCONTACT_CREATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "MANUFACTURERCONTACT_CREATEDBY" } ] }, diff --git a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/controller.js b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/controller.js index 6c936e1..02fb752 100644 --- a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/controller.js @@ -114,6 +114,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer filter.$filter.offset = (pageNumber - 1) * $scope.dataLimit; filter.$filter.limit = $scope.dataLimit; EntityService.search(filter).then((response) => { + response.data.forEach(e => { + if (e.CreatedAt) { + e.CreatedAt = new Date(e.CreatedAt); + } + }); + $scope.data = response.data; }, (error) => { const message = error.data ? error.data.message : ''; diff --git a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/dialog-filter/controller.js b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/dialog-filter/controller.js index 077759b..713eb74 100644 --- a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/dialog-filter/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/dialog-filter/controller.js @@ -7,6 +7,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle let params = ViewParameters.get(); if (Object.keys(params).length) { + if (params?.entity?.CreatedAtFrom) { + params.entity.CreatedAtFrom = new Date(params.entity.CreatedAtFrom); + } + if (params?.entity?.CreatedAtTo) { + params.entity.CreatedAtTo = new Date(params.entity.CreatedAtTo); + } $scope.entity = params.entity ?? {}; $scope.selectedMainEntityKey = params.selectedMainEntityKey; $scope.selectedMainEntityId = params.selectedMainEntityId; @@ -46,6 +52,18 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle const condition = { propertyName: 'Phone', operator: 'LIKE', value: `%${entity.Phone}%` }; filter.$filter.conditions.push(condition); } + if (entity.CreatedAtFrom) { + const condition = { propertyName: 'CreatedAt', operator: 'GE', value: entity.CreatedAtFrom }; + filter.$filter.conditions.push(condition); + } + if (entity.CreatedAtTo) { + const condition = { propertyName: 'CreatedAt', operator: 'LE', value: entity.CreatedAtTo }; + filter.$filter.conditions.push(condition); + } + if (entity.CreatedBy) { + const condition = { propertyName: 'CreatedBy', operator: 'LIKE', value: `%${entity.CreatedBy}%` }; + filter.$filter.conditions.push(condition); + } Dialogs.postMessage({ topic: 'codbex-partners.Customers.CustomerContact.entitySearch', data: { entity: entity, filter: filter diff --git a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/dialog-filter/index.html b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/dialog-filter/index.html index 23480cc..aa50fea 100644 --- a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/dialog-filter/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/dialog-filter/index.html @@ -85,6 +85,39 @@ + +
+ {{ 'codbex-partners:codbex-partners-model.t.CUSTOMERCONTACT_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.CUSTOMERCONTACT_CREATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/dialog-window/controller.js b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/dialog-window/controller.js index 5af2ad4..89ef587 100644 --- a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/dialog-window/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/dialog-window/controller.js @@ -31,6 +31,10 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer let params = ViewParameters.get(); if (Object.keys(params).length) { $scope.action = params.action; + + if (params.entity.CreatedAt) { + params.entity.CreatedAt = new Date(params.entity.CreatedAt); + } $scope.entity = params.entity; $scope.selectedMainEntityKey = params.selectedMainEntityKey; $scope.selectedMainEntityId = params.selectedMainEntityId; diff --git a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/dialog-window/index.html b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/dialog-window/index.html index 2c5751a..edd14c7 100644 --- a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/dialog-window/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/dialog-window/index.html @@ -105,6 +105,47 @@ + +
+ {{ 'codbex-partners:codbex-partners-model.t.CUSTOMERCONTACT_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.CUSTOMERCONTACT_CREATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/index.html b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/index.html index 48c8f36..0b8522e 100644 --- a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerContact/index.html @@ -32,6 +32,8 @@ {{ 'codbex-partners:codbex-partners-model.t.CUSTOMERCONTACT_DESIGNATION' | t:'Designation' }} {{ 'codbex-partners:codbex-partners-model.t.CUSTOMERCONTACT_EMAIL' | t:'Email' }} {{ 'codbex-partners:codbex-partners-model.t.CUSTOMERCONTACT_PHONE' | t:'Phone' }} + {{ 'codbex-partners:codbex-partners-model.t.CUSTOMERCONTACT_CREATEDAT' | t:'CreatedAt' }} + {{ 'codbex-partners:codbex-partners-model.t.CUSTOMERCONTACT_CREATEDBY' | t:'CreatedBy' }} @@ -48,6 +50,8 @@ {{next.Phone}} + {{next.CreatedAt}} + {{next.CreatedBy}} diff --git a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/controller.js b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/controller.js index 9e41e10..b20bca3 100644 --- a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/controller.js @@ -114,6 +114,15 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer filter.$filter.offset = (pageNumber - 1) * $scope.dataLimit; filter.$filter.limit = $scope.dataLimit; EntityService.search(filter).then((response) => { + response.data.forEach(e => { + if (e.CreatedAt) { + e.CreatedAt = new Date(e.CreatedAt); + } + if (e.UpdatedAt) { + e.UpdatedAt = new Date(e.UpdatedAt); + } + }); + $scope.data = response.data; }, (error) => { const message = error.data ? error.data.message : ''; diff --git a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/dialog-filter/controller.js b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/dialog-filter/controller.js index 26bac34..1a7e644 100644 --- a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/dialog-filter/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/dialog-filter/controller.js @@ -7,6 +7,18 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle let params = ViewParameters.get(); if (Object.keys(params).length) { + if (params?.entity?.CreatedAtFrom) { + params.entity.CreatedAtFrom = new Date(params.entity.CreatedAtFrom); + } + if (params?.entity?.CreatedAtTo) { + params.entity.CreatedAtTo = new Date(params.entity.CreatedAtTo); + } + if (params?.entity?.UpdatedAtFrom) { + params.entity.UpdatedAtFrom = new Date(params.entity.UpdatedAtFrom); + } + if (params?.entity?.UpdatedAtTo) { + params.entity.UpdatedAtTo = new Date(params.entity.UpdatedAtTo); + } $scope.entity = params.entity ?? {}; $scope.selectedMainEntityKey = params.selectedMainEntityKey; $scope.selectedMainEntityId = params.selectedMainEntityId; @@ -34,6 +46,30 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle const condition = { propertyName: 'Note', operator: 'LIKE', value: `%${entity.Note}%` }; filter.$filter.conditions.push(condition); } + if (entity.CreatedAtFrom) { + const condition = { propertyName: 'CreatedAt', operator: 'GE', value: entity.CreatedAtFrom }; + filter.$filter.conditions.push(condition); + } + if (entity.CreatedAtTo) { + const condition = { propertyName: 'CreatedAt', operator: 'LE', value: entity.CreatedAtTo }; + filter.$filter.conditions.push(condition); + } + if (entity.CreatedBy) { + const condition = { propertyName: 'CreatedBy', operator: 'LIKE', value: `%${entity.CreatedBy}%` }; + filter.$filter.conditions.push(condition); + } + if (entity.UpdatedAtFrom) { + const condition = { propertyName: 'UpdatedAt', operator: 'GE', value: entity.UpdatedAtFrom }; + filter.$filter.conditions.push(condition); + } + if (entity.UpdatedAtTo) { + const condition = { propertyName: 'UpdatedAt', operator: 'LE', value: entity.UpdatedAtTo }; + filter.$filter.conditions.push(condition); + } + if (entity.UpdatedBy) { + const condition = { propertyName: 'UpdatedBy', operator: 'LIKE', value: `%${entity.UpdatedBy}%` }; + filter.$filter.conditions.push(condition); + } Dialogs.postMessage({ topic: 'codbex-partners.Customers.CustomerNote.entitySearch', data: { entity: entity, filter: filter diff --git a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/dialog-filter/index.html b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/dialog-filter/index.html index 0901d8d..1567c05 100644 --- a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/dialog-filter/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/dialog-filter/index.html @@ -33,6 +33,72 @@ + +
+ {{ 'codbex-partners:codbex-partners-model.t.CUSTOMERNOTE_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.CUSTOMERNOTE_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.CUSTOMERNOTE_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.CUSTOMERNOTE_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/dialog-window/controller.js b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/dialog-window/controller.js index b404962..c914a31 100644 --- a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/dialog-window/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/dialog-window/controller.js @@ -31,6 +31,13 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer let params = ViewParameters.get(); if (Object.keys(params).length) { $scope.action = params.action; + + if (params.entity.CreatedAt) { + params.entity.CreatedAt = new Date(params.entity.CreatedAt); + } + if (params.entity.UpdatedAt) { + params.entity.UpdatedAt = new Date(params.entity.UpdatedAt); + } $scope.entity = params.entity; $scope.selectedMainEntityKey = params.selectedMainEntityKey; $scope.selectedMainEntityId = params.selectedMainEntityId; diff --git a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/dialog-window/index.html b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/dialog-window/index.html index 852211f..a1d1702 100644 --- a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/dialog-window/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/dialog-window/index.html @@ -36,6 +36,88 @@ + +
+ {{ 'codbex-partners:codbex-partners-model.t.CUSTOMERNOTE_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.CUSTOMERNOTE_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.CUSTOMERNOTE_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.CUSTOMERNOTE_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/index.html b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/index.html index fd6962f..473b4b6 100644 --- a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/CustomerNote/index.html @@ -29,6 +29,10 @@ {{ 'codbex-partners:codbex-partners-model.t.CUSTOMERNOTE_NOTE' | t:'Note' }} + {{ 'codbex-partners:codbex-partners-model.t.CUSTOMERNOTE_CREATEDAT' | t:'CreatedAt' }} + {{ 'codbex-partners:codbex-partners-model.t.CUSTOMERNOTE_CREATEDBY' | t:'CreatedBy' }} + {{ 'codbex-partners:codbex-partners-model.t.CUSTOMERNOTE_UPDATEDAT' | t:'UpdatedAt' }} + {{ 'codbex-partners:codbex-partners-model.t.CUSTOMERNOTE_UPDATEDBY' | t:'UpdatedBy' }} @@ -38,6 +42,10 @@ {{next.Note}} + {{next.CreatedAt}} + {{next.CreatedBy}} + {{next.UpdatedAt}} + {{next.UpdatedBy}} diff --git a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/controller.js b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/controller.js index 5e8dbc5..b9822a1 100644 --- a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/controller.js @@ -106,6 +106,9 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (e.CreatedAt) { e.CreatedAt = new Date(e.CreatedAt); } + if (e.UpdatedAt) { + e.UpdatedAt = new Date(e.UpdatedAt); + } }); $scope.data = $scope.data.concat(response.data); diff --git a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/dialog-filter/controller.js b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/dialog-filter/controller.js index 8ac21b6..070c8f3 100644 --- a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/dialog-filter/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/dialog-filter/controller.js @@ -13,6 +13,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle if (params?.entity?.CreatedAtTo) { params.entity.CreatedAtTo = new Date(params.entity.CreatedAtTo); } + if (params?.entity?.UpdatedAtFrom) { + params.entity.UpdatedAtFrom = new Date(params.entity.UpdatedAtFrom); + } + if (params?.entity?.UpdatedAtTo) { + params.entity.UpdatedAtTo = new Date(params.entity.UpdatedAtTo); + } $scope.entity = params.entity ?? {}; $scope.selectedMainEntityKey = params.selectedMainEntityKey; $scope.selectedMainEntityId = params.selectedMainEntityId; @@ -103,6 +109,22 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle const condition = { propertyName: 'CreatedAt', operator: 'LE', value: entity.CreatedAtTo }; filter.$filter.conditions.push(condition); } + if (entity.CreatedBy) { + const condition = { propertyName: 'CreatedBy', operator: 'LIKE', value: `%${entity.CreatedBy}%` }; + filter.$filter.conditions.push(condition); + } + if (entity.UpdatedAtFrom) { + const condition = { propertyName: 'UpdatedAt', operator: 'GE', value: entity.UpdatedAtFrom }; + filter.$filter.conditions.push(condition); + } + if (entity.UpdatedAtTo) { + const condition = { propertyName: 'UpdatedAt', operator: 'LE', value: entity.UpdatedAtTo }; + filter.$filter.conditions.push(condition); + } + if (entity.UpdatedBy) { + const condition = { propertyName: 'UpdatedBy', operator: 'LIKE', value: `%${entity.UpdatedBy}%` }; + filter.$filter.conditions.push(condition); + } Dialogs.postMessage({ topic: 'codbex-partners.Customers.Customer.entitySearch', data: { entity: entity, filter: filter diff --git a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/dialog-filter/index.html b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/dialog-filter/index.html index 0c05970..0cbf7b7 100644 --- a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/dialog-filter/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/dialog-filter/index.html @@ -294,6 +294,56 @@ + +
+ {{ 'codbex-partners:codbex-partners-model.t.CUSTOMER_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.CUSTOMER_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.CUSTOMER_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/dialog-window/controller.js b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/dialog-window/controller.js index 10302f3..212ba18 100644 --- a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/dialog-window/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/dialog-window/controller.js @@ -34,6 +34,9 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (params.entity.CreatedAt) { params.entity.CreatedAt = new Date(params.entity.CreatedAt); } + if (params.entity.UpdatedAt) { + params.entity.UpdatedAt = new Date(params.entity.UpdatedAt); + } $scope.entity = params.entity; $scope.selectedMainEntityKey = params.selectedMainEntityKey; $scope.selectedMainEntityId = params.selectedMainEntityId; diff --git a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/dialog-window/index.html b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/dialog-window/index.html index 60ae915..8fa40b5 100644 --- a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/dialog-window/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/dialog-window/index.html @@ -337,6 +337,68 @@ + +
+ {{ 'codbex-partners:codbex-partners-model.t.CUSTOMER_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.CUSTOMER_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.CUSTOMER_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/index.html b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/index.html index 5c16745..67a2e55 100644 --- a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/index.html @@ -54,7 +54,10 @@ {{next.IBAN}} | {{optionsResponsiblePersonValue(next.ResponsiblePerson)}} | {{next.Identifier}} | - {{next.CreatedAt | date: "dd/MMM/yyyy HH:MM"}} + {{next.CreatedAt | date: "dd/MMM/yyyy HH:MM"}} | + {{next.CreatedBy}} | + {{next.UpdatedAt}} | + {{next.UpdatedBy}} diff --git a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/main-details/controller.js b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/main-details/controller.js index 8dd76e1..57cc449 100644 --- a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/main-details/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/main-details/controller.js @@ -61,6 +61,9 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (data.entity.CreatedAt) { data.entity.CreatedAt = new Date(data.entity.CreatedAt); } + if (data.entity.UpdatedAt) { + data.entity.UpdatedAt = new Date(data.entity.UpdatedAt); + } $scope.entity = data.entity; $scope.optionsCountry = data.optionsCountry; $scope.optionsCity = data.optionsCity; @@ -82,6 +85,9 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (data.entity.CreatedAt) { data.entity.CreatedAt = new Date(data.entity.CreatedAt); } + if (data.entity.UpdatedAt) { + data.entity.UpdatedAt = new Date(data.entity.UpdatedAt); + } $scope.entity = data.entity; $scope.optionsCountry = data.optionsCountry; $scope.optionsCity = data.optionsCity; diff --git a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/main-details/index.html b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/main-details/index.html index aaaddc6..631f484 100644 --- a/codbex-partners/gen/codbex-partners/ui/Customers/Customer/main-details/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Customers/Customer/main-details/index.html @@ -347,6 +347,68 @@ + +
+ {{ 'codbex-partners:codbex-partners-model.t.CUSTOMER_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.CUSTOMER_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.CUSTOMER_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/controller.js b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/controller.js index d62e177..13b7765 100644 --- a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/controller.js @@ -114,6 +114,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer filter.$filter.offset = (pageNumber - 1) * $scope.dataLimit; filter.$filter.limit = $scope.dataLimit; EntityService.search(filter).then((response) => { + response.data.forEach(e => { + if (e.CreatedAt) { + e.CreatedAt = new Date(e.CreatedAt); + } + }); + $scope.data = response.data; }, (error) => { const message = error.data ? error.data.message : ''; diff --git a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/dialog-filter/controller.js b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/dialog-filter/controller.js index c04493d..a6e53b5 100644 --- a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/dialog-filter/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/dialog-filter/controller.js @@ -7,6 +7,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle let params = ViewParameters.get(); if (Object.keys(params).length) { + if (params?.entity?.CreatedAtFrom) { + params.entity.CreatedAtFrom = new Date(params.entity.CreatedAtFrom); + } + if (params?.entity?.CreatedAtTo) { + params.entity.CreatedAtTo = new Date(params.entity.CreatedAtTo); + } $scope.entity = params.entity ?? {}; $scope.selectedMainEntityKey = params.selectedMainEntityKey; $scope.selectedMainEntityId = params.selectedMainEntityId; @@ -46,6 +52,18 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle const condition = { propertyName: 'Phone', operator: 'LIKE', value: `%${entity.Phone}%` }; filter.$filter.conditions.push(condition); } + if (entity.CreatedAtFrom) { + const condition = { propertyName: 'CreatedAt', operator: 'GE', value: entity.CreatedAtFrom }; + filter.$filter.conditions.push(condition); + } + if (entity.CreatedAtTo) { + const condition = { propertyName: 'CreatedAt', operator: 'LE', value: entity.CreatedAtTo }; + filter.$filter.conditions.push(condition); + } + if (entity.CreatedBy) { + const condition = { propertyName: 'CreatedBy', operator: 'LIKE', value: `%${entity.CreatedBy}%` }; + filter.$filter.conditions.push(condition); + } Dialogs.postMessage({ topic: 'codbex-partners.Manufacturers.ManufacturerContact.entitySearch', data: { entity: entity, filter: filter diff --git a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/dialog-filter/index.html b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/dialog-filter/index.html index 3a3fc96..d9b8d18 100644 --- a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/dialog-filter/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/dialog-filter/index.html @@ -85,6 +85,39 @@ + +
+ {{ 'codbex-partners:codbex-partners-model.t.MANUFACTURERCONTACT_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.MANUFACTURERCONTACT_CREATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/dialog-window/controller.js b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/dialog-window/controller.js index adf16c1..f8da0d9 100644 --- a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/dialog-window/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/dialog-window/controller.js @@ -31,6 +31,10 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer let params = ViewParameters.get(); if (Object.keys(params).length) { $scope.action = params.action; + + if (params.entity.CreatedAt) { + params.entity.CreatedAt = new Date(params.entity.CreatedAt); + } $scope.entity = params.entity; $scope.selectedMainEntityKey = params.selectedMainEntityKey; $scope.selectedMainEntityId = params.selectedMainEntityId; diff --git a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/dialog-window/index.html b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/dialog-window/index.html index 8ab85bb..1d9850d 100644 --- a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/dialog-window/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/dialog-window/index.html @@ -105,6 +105,47 @@ + +
+ {{ 'codbex-partners:codbex-partners-model.t.MANUFACTURERCONTACT_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.MANUFACTURERCONTACT_CREATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/index.html b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/index.html index 3241a67..15f806a 100644 --- a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/ManufacturerContact/index.html @@ -32,6 +32,8 @@ {{ 'codbex-partners:codbex-partners-model.t.MANUFACTURERCONTACT_DESIGNATION' | t:'Designation' }} {{ 'codbex-partners:codbex-partners-model.t.MANUFACTURERCONTACT_EMAIL' | t:'Email' }} {{ 'codbex-partners:codbex-partners-model.t.MANUFACTURERCONTACT_PHONE' | t:'Phone' }} + {{ 'codbex-partners:codbex-partners-model.t.MANUFACTURERCONTACT_CREATEDAT' | t:'CreatedAt' }} + {{ 'codbex-partners:codbex-partners-model.t.MANUFACTURERCONTACT_CREATEDBY' | t:'CreatedBy' }} @@ -48,6 +50,8 @@ {{next.Phone}} + {{next.CreatedAt}} + {{next.CreatedBy}} diff --git a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/controller.js b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/controller.js index 13d18c3..da5c058 100644 --- a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/controller.js @@ -106,6 +106,9 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (e.CreatedAt) { e.CreatedAt = new Date(e.CreatedAt); } + if (e.UpdatedAt) { + e.UpdatedAt = new Date(e.UpdatedAt); + } }); $scope.data = $scope.data.concat(response.data); diff --git a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/dialog-filter/controller.js b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/dialog-filter/controller.js index 46e34b9..42a80f1 100644 --- a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/dialog-filter/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/dialog-filter/controller.js @@ -13,6 +13,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle if (params?.entity?.CreatedAtTo) { params.entity.CreatedAtTo = new Date(params.entity.CreatedAtTo); } + if (params?.entity?.UpdatedAtFrom) { + params.entity.UpdatedAtFrom = new Date(params.entity.UpdatedAtFrom); + } + if (params?.entity?.UpdatedAtTo) { + params.entity.UpdatedAtTo = new Date(params.entity.UpdatedAtTo); + } $scope.entity = params.entity ?? {}; $scope.selectedMainEntityKey = params.selectedMainEntityKey; $scope.selectedMainEntityId = params.selectedMainEntityId; @@ -76,6 +82,22 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle const condition = { propertyName: 'CreatedAt', operator: 'LE', value: entity.CreatedAtTo }; filter.$filter.conditions.push(condition); } + if (entity.CreatedBy) { + const condition = { propertyName: 'CreatedBy', operator: 'LIKE', value: `%${entity.CreatedBy}%` }; + filter.$filter.conditions.push(condition); + } + if (entity.UpdatedAtFrom) { + const condition = { propertyName: 'UpdatedAt', operator: 'GE', value: entity.UpdatedAtFrom }; + filter.$filter.conditions.push(condition); + } + if (entity.UpdatedAtTo) { + const condition = { propertyName: 'UpdatedAt', operator: 'LE', value: entity.UpdatedAtTo }; + filter.$filter.conditions.push(condition); + } + if (entity.UpdatedBy) { + const condition = { propertyName: 'UpdatedBy', operator: 'LIKE', value: `%${entity.UpdatedBy}%` }; + filter.$filter.conditions.push(condition); + } Dialogs.postMessage({ topic: 'codbex-partners.Manufacturers.Manufacturer.entitySearch', data: { entity: entity, filter: filter diff --git a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/dialog-filter/index.html b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/dialog-filter/index.html index 9942c49..3788cb6 100644 --- a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/dialog-filter/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/dialog-filter/index.html @@ -186,6 +186,56 @@ + +
+ {{ 'codbex-partners:codbex-partners-model.t.MANUFACTURER_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.MANUFACTURER_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.MANUFACTURER_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/dialog-window/controller.js b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/dialog-window/controller.js index fc1e7fb..820f5c1 100644 --- a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/dialog-window/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/dialog-window/controller.js @@ -34,6 +34,9 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (params.entity.CreatedAt) { params.entity.CreatedAt = new Date(params.entity.CreatedAt); } + if (params.entity.UpdatedAt) { + params.entity.UpdatedAt = new Date(params.entity.UpdatedAt); + } $scope.entity = params.entity; $scope.selectedMainEntityKey = params.selectedMainEntityKey; $scope.selectedMainEntityId = params.selectedMainEntityId; diff --git a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/dialog-window/index.html b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/dialog-window/index.html index 8bb39ed..f3b096e 100644 --- a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/dialog-window/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/dialog-window/index.html @@ -226,6 +226,68 @@ + +
+ {{ 'codbex-partners:codbex-partners-model.t.MANUFACTURER_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.MANUFACTURER_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.MANUFACTURER_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/index.html b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/index.html index 8fa56ec..787b1da 100644 --- a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/index.html @@ -48,7 +48,10 @@ {{next.Fax}} | {{next.TIN}} | {{next.IBAN}} | - {{next.CreatedAt}} + {{next.CreatedAt}} | + {{next.CreatedBy}} | + {{next.UpdatedAt}} | + {{next.UpdatedBy}} diff --git a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/main-details/controller.js b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/main-details/controller.js index 1bc8e73..507b22c 100644 --- a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/main-details/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/main-details/controller.js @@ -58,6 +58,9 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (data.entity.CreatedAt) { data.entity.CreatedAt = new Date(data.entity.CreatedAt); } + if (data.entity.UpdatedAt) { + data.entity.UpdatedAt = new Date(data.entity.UpdatedAt); + } $scope.entity = data.entity; $scope.action = 'select'; }); @@ -73,6 +76,9 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (data.entity.CreatedAt) { data.entity.CreatedAt = new Date(data.entity.CreatedAt); } + if (data.entity.UpdatedAt) { + data.entity.UpdatedAt = new Date(data.entity.UpdatedAt); + } $scope.entity = data.entity; $scope.action = 'update'; }); diff --git a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/main-details/index.html b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/main-details/index.html index 1b9f83f..e78b6ce 100644 --- a/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/main-details/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Manufacturers/Manufacturer/main-details/index.html @@ -224,6 +224,68 @@ + +
+ {{ 'codbex-partners:codbex-partners-model.t.MANUFACTURER_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.MANUFACTURER_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.MANUFACTURER_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/controller.js b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/controller.js index f23616d..a78023a 100644 --- a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/controller.js @@ -114,6 +114,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer filter.$filter.offset = (pageNumber - 1) * $scope.dataLimit; filter.$filter.limit = $scope.dataLimit; EntityService.search(filter).then((response) => { + response.data.forEach(e => { + if (e.CreatedAt) { + e.CreatedAt = new Date(e.CreatedAt); + } + }); + $scope.data = response.data; }, (error) => { const message = error.data ? error.data.message : ''; diff --git a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/dialog-filter/controller.js b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/dialog-filter/controller.js index 34ba6e4..4c39214 100644 --- a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/dialog-filter/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/dialog-filter/controller.js @@ -7,6 +7,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle let params = ViewParameters.get(); if (Object.keys(params).length) { + if (params?.entity?.CreatedAtFrom) { + params.entity.CreatedAtFrom = new Date(params.entity.CreatedAtFrom); + } + if (params?.entity?.CreatedAtTo) { + params.entity.CreatedAtTo = new Date(params.entity.CreatedAtTo); + } $scope.entity = params.entity ?? {}; $scope.selectedMainEntityKey = params.selectedMainEntityKey; $scope.selectedMainEntityId = params.selectedMainEntityId; @@ -46,6 +52,18 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle const condition = { propertyName: 'Phone', operator: 'LIKE', value: `%${entity.Phone}%` }; filter.$filter.conditions.push(condition); } + if (entity.CreatedAtFrom) { + const condition = { propertyName: 'CreatedAt', operator: 'GE', value: entity.CreatedAtFrom }; + filter.$filter.conditions.push(condition); + } + if (entity.CreatedAtTo) { + const condition = { propertyName: 'CreatedAt', operator: 'LE', value: entity.CreatedAtTo }; + filter.$filter.conditions.push(condition); + } + if (entity.CreatedBy) { + const condition = { propertyName: 'CreatedBy', operator: 'LIKE', value: `%${entity.CreatedBy}%` }; + filter.$filter.conditions.push(condition); + } Dialogs.postMessage({ topic: 'codbex-partners.Suppliers.SupplierContact.entitySearch', data: { entity: entity, filter: filter diff --git a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/dialog-filter/index.html b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/dialog-filter/index.html index af82b50..42081e9 100644 --- a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/dialog-filter/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/dialog-filter/index.html @@ -85,6 +85,39 @@ + +
+ {{ 'codbex-partners:codbex-partners-model.t.SUPPLIERCONTACT_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.SUPPLIERCONTACT_CREATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/dialog-window/controller.js b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/dialog-window/controller.js index 0b1d6cc..3da8de8 100644 --- a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/dialog-window/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/dialog-window/controller.js @@ -31,6 +31,10 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer let params = ViewParameters.get(); if (Object.keys(params).length) { $scope.action = params.action; + + if (params.entity.CreatedAt) { + params.entity.CreatedAt = new Date(params.entity.CreatedAt); + } $scope.entity = params.entity; $scope.selectedMainEntityKey = params.selectedMainEntityKey; $scope.selectedMainEntityId = params.selectedMainEntityId; diff --git a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/dialog-window/index.html b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/dialog-window/index.html index 8f49837..74bbe30 100644 --- a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/dialog-window/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/dialog-window/index.html @@ -105,6 +105,47 @@ + +
+ {{ 'codbex-partners:codbex-partners-model.t.SUPPLIERCONTACT_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.SUPPLIERCONTACT_CREATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/index.html b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/index.html index fd90f53..f078484 100644 --- a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierContact/index.html @@ -32,6 +32,8 @@ {{ 'codbex-partners:codbex-partners-model.t.SUPPLIERCONTACT_DESIGNATION' | t:'Designation' }} {{ 'codbex-partners:codbex-partners-model.t.SUPPLIERCONTACT_EMAIL' | t:'Email' }} {{ 'codbex-partners:codbex-partners-model.t.SUPPLIERCONTACT_PHONE' | t:'Phone' }} + {{ 'codbex-partners:codbex-partners-model.t.SUPPLIERCONTACT_CREATEDAT' | t:'CreatedAt' }} + {{ 'codbex-partners:codbex-partners-model.t.SUPPLIERCONTACT_CREATEDBY' | t:'CreatedBy' }} @@ -48,6 +50,8 @@ {{next.Phone}} + {{next.CreatedAt}} + {{next.CreatedBy}} diff --git a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/controller.js b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/controller.js index 0a12c34..81a244f 100644 --- a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/controller.js @@ -114,6 +114,15 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer filter.$filter.offset = (pageNumber - 1) * $scope.dataLimit; filter.$filter.limit = $scope.dataLimit; EntityService.search(filter).then((response) => { + response.data.forEach(e => { + if (e.CreatedAt) { + e.CreatedAt = new Date(e.CreatedAt); + } + if (e.UpdatedAt) { + e.UpdatedAt = new Date(e.UpdatedAt); + } + }); + $scope.data = response.data; }, (error) => { const message = error.data ? error.data.message : ''; diff --git a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/dialog-filter/controller.js b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/dialog-filter/controller.js index e791062..f0a452f 100644 --- a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/dialog-filter/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/dialog-filter/controller.js @@ -7,6 +7,18 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle let params = ViewParameters.get(); if (Object.keys(params).length) { + if (params?.entity?.CreatedAtFrom) { + params.entity.CreatedAtFrom = new Date(params.entity.CreatedAtFrom); + } + if (params?.entity?.CreatedAtTo) { + params.entity.CreatedAtTo = new Date(params.entity.CreatedAtTo); + } + if (params?.entity?.UpdatedAtFrom) { + params.entity.UpdatedAtFrom = new Date(params.entity.UpdatedAtFrom); + } + if (params?.entity?.UpdatedAtTo) { + params.entity.UpdatedAtTo = new Date(params.entity.UpdatedAtTo); + } $scope.entity = params.entity ?? {}; $scope.selectedMainEntityKey = params.selectedMainEntityKey; $scope.selectedMainEntityId = params.selectedMainEntityId; @@ -34,6 +46,30 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle const condition = { propertyName: 'Note', operator: 'LIKE', value: `%${entity.Note}%` }; filter.$filter.conditions.push(condition); } + if (entity.CreatedAtFrom) { + const condition = { propertyName: 'CreatedAt', operator: 'GE', value: entity.CreatedAtFrom }; + filter.$filter.conditions.push(condition); + } + if (entity.CreatedAtTo) { + const condition = { propertyName: 'CreatedAt', operator: 'LE', value: entity.CreatedAtTo }; + filter.$filter.conditions.push(condition); + } + if (entity.CreatedBy) { + const condition = { propertyName: 'CreatedBy', operator: 'LIKE', value: `%${entity.CreatedBy}%` }; + filter.$filter.conditions.push(condition); + } + if (entity.UpdatedAtFrom) { + const condition = { propertyName: 'UpdatedAt', operator: 'GE', value: entity.UpdatedAtFrom }; + filter.$filter.conditions.push(condition); + } + if (entity.UpdatedAtTo) { + const condition = { propertyName: 'UpdatedAt', operator: 'LE', value: entity.UpdatedAtTo }; + filter.$filter.conditions.push(condition); + } + if (entity.UpdatedBy) { + const condition = { propertyName: 'UpdatedBy', operator: 'LIKE', value: `%${entity.UpdatedBy}%` }; + filter.$filter.conditions.push(condition); + } Dialogs.postMessage({ topic: 'codbex-partners.Suppliers.SupplierNote.entitySearch', data: { entity: entity, filter: filter diff --git a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/dialog-filter/index.html b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/dialog-filter/index.html index 290e4f2..609ab08 100644 --- a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/dialog-filter/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/dialog-filter/index.html @@ -33,6 +33,72 @@ + +
+ {{ 'codbex-partners:codbex-partners-model.t.SUPPLIERNOTE_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.SUPPLIERNOTE_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.SUPPLIERNOTE_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.SUPPLIERNOTE_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/dialog-window/controller.js b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/dialog-window/controller.js index b307194..bfcaf1c 100644 --- a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/dialog-window/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/dialog-window/controller.js @@ -31,6 +31,13 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer let params = ViewParameters.get(); if (Object.keys(params).length) { $scope.action = params.action; + + if (params.entity.CreatedAt) { + params.entity.CreatedAt = new Date(params.entity.CreatedAt); + } + if (params.entity.UpdatedAt) { + params.entity.UpdatedAt = new Date(params.entity.UpdatedAt); + } $scope.entity = params.entity; $scope.selectedMainEntityKey = params.selectedMainEntityKey; $scope.selectedMainEntityId = params.selectedMainEntityId; diff --git a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/dialog-window/index.html b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/dialog-window/index.html index 797613d..ca132be 100644 --- a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/dialog-window/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/dialog-window/index.html @@ -36,6 +36,88 @@ + +
+ {{ 'codbex-partners:codbex-partners-model.t.SUPPLIERNOTE_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.SUPPLIERNOTE_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.SUPPLIERNOTE_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.SUPPLIERNOTE_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/index.html b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/index.html index 488bf01..a0250b1 100644 --- a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/SupplierNote/index.html @@ -29,6 +29,10 @@ {{ 'codbex-partners:codbex-partners-model.t.SUPPLIERNOTE_NOTE' | t:'Note' }} + {{ 'codbex-partners:codbex-partners-model.t.SUPPLIERNOTE_CREATEDAT' | t:'CreatedAt' }} + {{ 'codbex-partners:codbex-partners-model.t.SUPPLIERNOTE_CREATEDBY' | t:'CreatedBy' }} + {{ 'codbex-partners:codbex-partners-model.t.SUPPLIERNOTE_UPDATEDAT' | t:'UpdatedAt' }} + {{ 'codbex-partners:codbex-partners-model.t.SUPPLIERNOTE_UPDATEDBY' | t:'UpdatedBy' }} @@ -38,6 +42,10 @@ {{next.Note}} + {{next.CreatedAt}} + {{next.CreatedBy}} + {{next.UpdatedAt}} + {{next.UpdatedBy}} diff --git a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/controller.js b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/controller.js index 26b1bdf..aac1d13 100644 --- a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/controller.js @@ -106,6 +106,9 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (e.CreatedAt) { e.CreatedAt = new Date(e.CreatedAt); } + if (e.UpdatedAt) { + e.UpdatedAt = new Date(e.UpdatedAt); + } }); $scope.data = $scope.data.concat(response.data); diff --git a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/dialog-filter/controller.js b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/dialog-filter/controller.js index 046ab9d..47ac724 100644 --- a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/dialog-filter/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/dialog-filter/controller.js @@ -13,6 +13,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle if (params?.entity?.CreatedAtTo) { params.entity.CreatedAtTo = new Date(params.entity.CreatedAtTo); } + if (params?.entity?.UpdatedAtFrom) { + params.entity.UpdatedAtFrom = new Date(params.entity.UpdatedAtFrom); + } + if (params?.entity?.UpdatedAtTo) { + params.entity.UpdatedAtTo = new Date(params.entity.UpdatedAtTo); + } $scope.entity = params.entity ?? {}; $scope.selectedMainEntityKey = params.selectedMainEntityKey; $scope.selectedMainEntityId = params.selectedMainEntityId; @@ -76,6 +82,22 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle const condition = { propertyName: 'CreatedAt', operator: 'LE', value: entity.CreatedAtTo }; filter.$filter.conditions.push(condition); } + if (entity.CreatedBy) { + const condition = { propertyName: 'CreatedBy', operator: 'LIKE', value: `%${entity.CreatedBy}%` }; + filter.$filter.conditions.push(condition); + } + if (entity.UpdatedAtFrom) { + const condition = { propertyName: 'UpdatedAt', operator: 'GE', value: entity.UpdatedAtFrom }; + filter.$filter.conditions.push(condition); + } + if (entity.UpdatedAtTo) { + const condition = { propertyName: 'UpdatedAt', operator: 'LE', value: entity.UpdatedAtTo }; + filter.$filter.conditions.push(condition); + } + if (entity.UpdatedBy) { + const condition = { propertyName: 'UpdatedBy', operator: 'LIKE', value: `%${entity.UpdatedBy}%` }; + filter.$filter.conditions.push(condition); + } Dialogs.postMessage({ topic: 'codbex-partners.Suppliers.Supplier.entitySearch', data: { entity: entity, filter: filter diff --git a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/dialog-filter/index.html b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/dialog-filter/index.html index e1a7eb6..6c38157 100644 --- a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/dialog-filter/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/dialog-filter/index.html @@ -186,6 +186,56 @@ + +
+ {{ 'codbex-partners:codbex-partners-model.t.SUPPLIER_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.SUPPLIER_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.SUPPLIER_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/dialog-window/controller.js b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/dialog-window/controller.js index 2ad112d..a900c2a 100644 --- a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/dialog-window/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/dialog-window/controller.js @@ -34,6 +34,9 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (params.entity.CreatedAt) { params.entity.CreatedAt = new Date(params.entity.CreatedAt); } + if (params.entity.UpdatedAt) { + params.entity.UpdatedAt = new Date(params.entity.UpdatedAt); + } $scope.entity = params.entity; $scope.selectedMainEntityKey = params.selectedMainEntityKey; $scope.selectedMainEntityId = params.selectedMainEntityId; diff --git a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/dialog-window/index.html b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/dialog-window/index.html index 31d8957..82a58a3 100644 --- a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/dialog-window/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/dialog-window/index.html @@ -226,6 +226,68 @@ + +
+ {{ 'codbex-partners:codbex-partners-model.t.SUPPLIER_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.SUPPLIER_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.SUPPLIER_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/index.html b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/index.html index 8fa56ec..787b1da 100644 --- a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/index.html @@ -48,7 +48,10 @@ {{next.Fax}} | {{next.TIN}} | {{next.IBAN}} | - {{next.CreatedAt}} + {{next.CreatedAt}} | + {{next.CreatedBy}} | + {{next.UpdatedAt}} | + {{next.UpdatedBy}} diff --git a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/main-details/controller.js b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/main-details/controller.js index 52cabf3..27d6b5d 100644 --- a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/main-details/controller.js +++ b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/main-details/controller.js @@ -58,6 +58,9 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (data.entity.CreatedAt) { data.entity.CreatedAt = new Date(data.entity.CreatedAt); } + if (data.entity.UpdatedAt) { + data.entity.UpdatedAt = new Date(data.entity.UpdatedAt); + } $scope.entity = data.entity; $scope.action = 'select'; }); @@ -73,6 +76,9 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (data.entity.CreatedAt) { data.entity.CreatedAt = new Date(data.entity.CreatedAt); } + if (data.entity.UpdatedAt) { + data.entity.UpdatedAt = new Date(data.entity.UpdatedAt); + } $scope.entity = data.entity; $scope.action = 'update'; }); diff --git a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/main-details/index.html b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/main-details/index.html index 849ffa0..29e5a97 100644 --- a/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/main-details/index.html +++ b/codbex-partners/gen/codbex-partners/ui/Suppliers/Supplier/main-details/index.html @@ -224,6 +224,68 @@ + +
+ {{ 'codbex-partners:codbex-partners-model.t.SUPPLIER_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.SUPPLIER_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-partners:codbex-partners-model.t.SUPPLIER_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-partners/translations/en-US/codbex-partners.model.json b/codbex-partners/translations/en-US/codbex-partners.model.json index 87a2c8a..61cc30d 100644 --- a/codbex-partners/translations/en-US/codbex-partners.model.json +++ b/codbex-partners/translations/en-US/codbex-partners.model.json @@ -84,6 +84,9 @@ "CUSTOMER_RESPONSIBLEPERSON": "ResponsiblePerson", "CUSTOMER_IDENTIFIER": "Identifier", "CUSTOMER_CREATEDAT": "CreatedAt", + "CUSTOMER_CREATEDBY": "CreatedBy", + "CUSTOMER_UPDATEDAT": "UpdatedAt", + "CUSTOMER_UPDATEDBY": "UpdatedBy", "SUPPLIER": "Supplier", "SUPPLIER_ID": "Id", "SUPPLIER_FIRSTNAME": "FirstName", @@ -96,18 +99,33 @@ "SUPPLIER_TIN": "TIN", "SUPPLIER_IBAN": "IBAN", "SUPPLIER_CREATEDAT": "CreatedAt", + "SUPPLIER_CREATEDBY": "CreatedBy", + "SUPPLIER_UPDATEDAT": "UpdatedAt", + "SUPPLIER_UPDATEDBY": "UpdatedBy", "CUSTOMERNOTE": "CustomerNote", "CUSTOMERNOTE_ID": "Id", "CUSTOMERNOTE_CUSTOMER": "Customer", "CUSTOMERNOTE_NOTE": "Note", + "CUSTOMERNOTE_CREATEDAT": "CreatedAt", + "CUSTOMERNOTE_CREATEDBY": "CreatedBy", + "CUSTOMERNOTE_UPDATEDAT": "UpdatedAt", + "CUSTOMERNOTE_UPDATEDBY": "UpdatedBy", "SUPPLIERNOTE": "SupplierNote", "SUPPLIERNOTE_ID": "Id", "SUPPLIERNOTE_SUPPLIER": "Supplier", "SUPPLIERNOTE_NOTE": "Note", + "SUPPLIERNOTE_CREATEDAT": "CreatedAt", + "SUPPLIERNOTE_CREATEDBY": "CreatedBy", + "SUPPLIERNOTE_UPDATEDAT": "UpdatedAt", + "SUPPLIERNOTE_UPDATEDBY": "UpdatedBy", "MANUFACTURERNOTE": "ManufacturerNote", "MANUFACTURERNOTE_ID": "Id", "MANUFACTURERNOTE_MANUFACTURER": "Manufacturer", "MANUFACTURERNOTE_NOTE": "Note", + "MANUFACTURERNOTE_CREATEDAT": "CreatedAt", + "MANUFACTURERNOTE_CREATEDBY": "CreatedBy", + "MANUFACTURERNOTE_UPDATEDAT": "UpdatedAt", + "MANUFACTURERNOTE_UPDATEDBY": "UpdatedBy", "CITY": "City", "CITY_ID": "Id", "CITY_NAME": "Name", @@ -130,6 +148,9 @@ "MANUFACTURER_TIN": "TIN", "MANUFACTURER_IBAN": "IBAN", "MANUFACTURER_CREATEDAT": "CreatedAt", + "MANUFACTURER_CREATEDBY": "CreatedBy", + "MANUFACTURER_UPDATEDAT": "UpdatedAt", + "MANUFACTURER_UPDATEDBY": "UpdatedBy", "CUSTOMERCONTACT": "CustomerContact", "CUSTOMERCONTACT_ID": "Id", "CUSTOMERCONTACT_CUSTOMER": "Customer", @@ -137,6 +158,8 @@ "CUSTOMERCONTACT_DESIGNATION": "Designation", "CUSTOMERCONTACT_EMAIL": "Email", "CUSTOMERCONTACT_PHONE": "Phone", + "CUSTOMERCONTACT_CREATEDAT": "CreatedAt", + "CUSTOMERCONTACT_CREATEDBY": "CreatedBy", "SUPPLIERCONTACT": "SupplierContact", "SUPPLIERCONTACT_ID": "Id", "SUPPLIERCONTACT_SUPPLIER": "Supplier", @@ -144,6 +167,8 @@ "SUPPLIERCONTACT_DESIGNATION": "Designation", "SUPPLIERCONTACT_EMAIL": "Email", "SUPPLIERCONTACT_PHONE": "Phone", + "SUPPLIERCONTACT_CREATEDAT": "CreatedAt", + "SUPPLIERCONTACT_CREATEDBY": "CreatedBy", "MANUFACTURERCONTACT": "ManufacturerContact", "MANUFACTURERCONTACT_ID": "Id", "MANUFACTURERCONTACT_MANUFACTURER": "Manufacturer", @@ -151,6 +176,8 @@ "MANUFACTURERCONTACT_DESIGNATION": "Designation", "MANUFACTURERCONTACT_EMAIL": "Email", "MANUFACTURERCONTACT_PHONE": "Phone", + "MANUFACTURERCONTACT_CREATEDAT": "CreatedAt", + "MANUFACTURERCONTACT_CREATEDBY": "CreatedBy", "EMPLOYEE": "Employee", "EMPLOYEE_ID": "Id", "EMPLOYEE_FIRSTNAME": "First Name",