diff --git a/codbex-payments/codbex-payments.edm b/codbex-payments/codbex-payments.edm index 5759155..5fb2315 100644 --- a/codbex-payments/codbex-payments.edm +++ b/codbex-payments/codbex-payments.edm @@ -17,6 +17,10 @@ + + + + @@ -35,6 +39,10 @@ + + + + @@ -53,6 +61,10 @@ + + + + @@ -73,6 +85,10 @@ + + + + @@ -148,6 +164,10 @@ + + + + @@ -205,5 +225,5 @@ - + \ No newline at end of file diff --git a/codbex-payments/codbex-payments.gen b/codbex-payments/codbex-payments.gen index 21e0ed6..3e0b24e 100644 --- a/codbex-payments/codbex-payments.gen +++ b/codbex-payments/codbex-payments.gen @@ -740,6 +740,118 @@ "dataTypeJava": "int", "dataTypeTypescript": "number", "inputRule": "" + }, + { + "auditType": "CREATED_AT", + "dataName": "CUSTOMERPAYMENT_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": "CUSTOMERPAYMENT_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": "CUSTOMERPAYMENT_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": "CUSTOMERPAYMENT_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 CustomerPayment", @@ -1190,6 +1302,118 @@ "dataTypeJava": "int", "dataTypeTypescript": "number", "inputRule": "" + }, + { + "auditType": "CREATED_AT", + "dataName": "CUSTOMERPAYMENT_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": "CUSTOMERPAYMENT_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": "CUSTOMERPAYMENT_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": "CUSTOMERPAYMENT_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": "" } ] }, @@ -1669,6 +1893,118 @@ "dataTypeJava": "int", "dataTypeTypescript": "number", "inputRule": "" + }, + { + "auditType": "CREATED_AT", + "dataName": "SUPPLIERPAYMENT_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": "SUPPLIERPAYMENT_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": "SUPPLIERPAYMENT_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": "SUPPLIERPAYMENT_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 SupplierPayment", @@ -2089,27 +2425,142 @@ "inputRule": "" }, { - "auditType": "NONE", - "calculatedPropertyExpressionCreate": "require(\"sdk/utils/uuid\").random()", - "dataLength": "36", - "dataName": "SUPPLIERPAYMENT_UUID", - "dataNullable": false, + "auditType": "NONE", + "calculatedPropertyExpressionCreate": "require(\"sdk/utils/uuid\").random()", + "dataLength": "36", + "dataName": "SUPPLIERPAYMENT_UUID", + "dataNullable": false, + "dataType": "VARCHAR", + "dataUnique": true, + "description": "", + "isCalculatedProperty": true, + "name": "UUID", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": true, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "isRequiredProperty": false, + "isReadOnlyProperty": false, + "widgetLabel": "UUID", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, + "inputRule": "" + }, + { + "auditType": "NONE", + "dataLength": "36", + "dataName": "SUPPLIERPAYMENT_REFERENCE", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "name": "Reference", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "isReadOnlyProperty": false, + "widgetLabel": "Reference", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, + "inputRule": "" + }, + { + "auditType": "NONE", + "dataName": "SUPPLIERPAYMENT_PAYMENTMETHOD", + "dataNullable": false, + "dataType": "INTEGER", + "description": "", + "isRequiredProperty": true, + "name": "PaymentMethod", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "relationshipName": "SupplierPayment_PaymentMethod", + "relationshipEntityName": "PaymentMethod", + "relationshipEntityPerspectiveName": "Settings", + "relationshipEntityPerspectiveLabel": "methods", + "dataNotNull": true, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isCalculatedProperty": false, + "isReadOnlyProperty": false, + "widgetLabel": "PaymentMethod", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "int", + "dataTypeTypescript": "number", + "inputRule": "" + }, + { + "auditType": "CREATED_AT", + "dataName": "SUPPLIERPAYMENT_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": "SUPPLIERPAYMENT_CREATEDBY", + "dataNullable": true, "dataType": "VARCHAR", - "dataUnique": true, "description": "", - "isCalculatedProperty": true, - "name": "UUID", + "isReadOnlyProperty": true, + "name": "CreatedBy", "tooltip": "", "widgetIsMajor": true, "widgetLength": "20", "widgetSize": "", "widgetType": "TEXTBOX", - "dataNotNull": true, + "dataNotNull": false, "dataAutoIncrement": false, "dataPrimaryKey": false, + "dataUnique": false, "isRequiredProperty": false, - "isReadOnlyProperty": false, - "widgetLabel": "UUID", + "isCalculatedProperty": false, + "widgetLabel": "CreatedBy", "widgetDropdownUrl": "", "widgetDropdownControllerUrl": "", "dataTypeJava": "string", @@ -2119,13 +2570,13 @@ "inputRule": "" }, { - "auditType": "NONE", - "dataLength": "36", - "dataName": "SUPPLIERPAYMENT_REFERENCE", + "auditType": "UPDATED_AT", + "dataName": "SUPPLIERPAYMENT_UPDATEDAT", "dataNullable": true, - "dataType": "VARCHAR", + "dataType": "TIMESTAMP", "description": "", - "name": "Reference", + "isReadOnlyProperty": true, + "name": "UpdatedAt", "tooltip": "", "widgetIsMajor": true, "widgetLength": "20", @@ -2137,44 +2588,41 @@ "dataUnique": false, "isRequiredProperty": false, "isCalculatedProperty": false, - "isReadOnlyProperty": false, - "widgetLabel": "Reference", + "widgetLabel": "UpdatedAt", "widgetDropdownUrl": "", "widgetDropdownControllerUrl": "", - "dataTypeJava": "string", - "dataTypeTypescript": "string", - "minLength": 0, - "maxLength": 20, + "dataTypeJava": "timestamp", + "dataTypeTypescript": "Date", + "isDateType": true, "inputRule": "" }, { - "auditType": "NONE", - "dataName": "SUPPLIERPAYMENT_PAYMENTMETHOD", - "dataNullable": false, - "dataType": "INTEGER", + "auditType": "UPDATED_BY", + "dataLength": "20", + "dataName": "SUPPLIERPAYMENT_UPDATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", "description": "", - "isRequiredProperty": true, - "name": "PaymentMethod", + "isReadOnlyProperty": true, + "name": "UpdatedBy", "tooltip": "", "widgetIsMajor": true, "widgetLength": "20", "widgetSize": "", "widgetType": "TEXTBOX", - "relationshipName": "SupplierPayment_PaymentMethod", - "relationshipEntityName": "PaymentMethod", - "relationshipEntityPerspectiveName": "Settings", - "relationshipEntityPerspectiveLabel": "methods", - "dataNotNull": true, + "dataNotNull": false, "dataAutoIncrement": false, "dataPrimaryKey": false, "dataUnique": false, + "isRequiredProperty": false, "isCalculatedProperty": false, - "isReadOnlyProperty": false, - "widgetLabel": "PaymentMethod", + "widgetLabel": "UpdatedBy", "widgetDropdownUrl": "", "widgetDropdownControllerUrl": "", - "dataTypeJava": "int", - "dataTypeTypescript": "number", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, "inputRule": "" } ] @@ -2655,6 +3103,118 @@ "dataTypeJava": "int", "dataTypeTypescript": "number", "inputRule": "" + }, + { + "auditType": "CREATED_AT", + "dataName": "EMPLOYEEPAYMENT_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": "EMPLOYEEPAYMENT_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": "EMPLOYEEPAYMENT_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": "EMPLOYEEPAYMENT_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 EmployeePayment", @@ -3081,21 +3641,136 @@ "dataName": "EMPLOYEEPAYMENT_UUID", "dataNullable": false, "dataType": "VARCHAR", - "dataUnique": true, + "dataUnique": true, + "description": "", + "isCalculatedProperty": true, + "name": "UUID", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": true, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "isRequiredProperty": false, + "isReadOnlyProperty": false, + "widgetLabel": "UUID", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, + "inputRule": "" + }, + { + "auditType": "NONE", + "dataLength": "36", + "dataName": "EMPLOYEEPAYMENT_REFERENCE", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "name": "Reference", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "36", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "isReadOnlyProperty": false, + "widgetLabel": "Reference", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 36, + "inputRule": "" + }, + { + "auditType": "NONE", + "dataName": "EMPLOYEEPAYMENT_PAYMENTMETHOD", + "dataNullable": false, + "dataType": "INTEGER", + "description": "", + "isRequiredProperty": true, + "name": "PaymentMethod", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "relationshipName": "EmployeePayment_PaymentMethod", + "relationshipEntityName": "PaymentMethod", + "relationshipEntityPerspectiveName": "Settings", + "relationshipEntityPerspectiveLabel": "methods", + "dataNotNull": true, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isCalculatedProperty": false, + "isReadOnlyProperty": false, + "widgetLabel": "PaymentMethod", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "int", + "dataTypeTypescript": "number", + "inputRule": "" + }, + { + "auditType": "CREATED_AT", + "dataName": "EMPLOYEEPAYMENT_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": "EMPLOYEEPAYMENT_CREATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", "description": "", - "isCalculatedProperty": true, - "name": "UUID", + "isReadOnlyProperty": true, + "name": "CreatedBy", "tooltip": "", "widgetIsMajor": true, "widgetLength": "20", "widgetSize": "", "widgetType": "TEXTBOX", - "dataNotNull": true, + "dataNotNull": false, "dataAutoIncrement": false, "dataPrimaryKey": false, + "dataUnique": false, "isRequiredProperty": false, - "isReadOnlyProperty": false, - "widgetLabel": "UUID", + "isCalculatedProperty": false, + "widgetLabel": "CreatedBy", "widgetDropdownUrl": "", "widgetDropdownControllerUrl": "", "dataTypeJava": "string", @@ -3105,16 +3780,16 @@ "inputRule": "" }, { - "auditType": "NONE", - "dataLength": "36", - "dataName": "EMPLOYEEPAYMENT_REFERENCE", + "auditType": "UPDATED_AT", + "dataName": "EMPLOYEEPAYMENT_UPDATEDAT", "dataNullable": true, - "dataType": "VARCHAR", + "dataType": "TIMESTAMP", "description": "", - "name": "Reference", + "isReadOnlyProperty": true, + "name": "UpdatedAt", "tooltip": "", "widgetIsMajor": true, - "widgetLength": "36", + "widgetLength": "20", "widgetSize": "", "widgetType": "TEXTBOX", "dataNotNull": false, @@ -3123,44 +3798,41 @@ "dataUnique": false, "isRequiredProperty": false, "isCalculatedProperty": false, - "isReadOnlyProperty": false, - "widgetLabel": "Reference", + "widgetLabel": "UpdatedAt", "widgetDropdownUrl": "", "widgetDropdownControllerUrl": "", - "dataTypeJava": "string", - "dataTypeTypescript": "string", - "minLength": 0, - "maxLength": 36, + "dataTypeJava": "timestamp", + "dataTypeTypescript": "Date", + "isDateType": true, "inputRule": "" }, { - "auditType": "NONE", - "dataName": "EMPLOYEEPAYMENT_PAYMENTMETHOD", - "dataNullable": false, - "dataType": "INTEGER", + "auditType": "UPDATED_BY", + "dataLength": "20", + "dataName": "EMPLOYEEPAYMENT_UPDATEDBY", + "dataNullable": true, + "dataType": "VARCHAR", "description": "", - "isRequiredProperty": true, - "name": "PaymentMethod", + "isReadOnlyProperty": true, + "name": "UpdatedBy", "tooltip": "", "widgetIsMajor": true, "widgetLength": "20", "widgetSize": "", "widgetType": "TEXTBOX", - "relationshipName": "EmployeePayment_PaymentMethod", - "relationshipEntityName": "PaymentMethod", - "relationshipEntityPerspectiveName": "Settings", - "relationshipEntityPerspectiveLabel": "methods", - "dataNotNull": true, + "dataNotNull": false, "dataAutoIncrement": false, "dataPrimaryKey": false, "dataUnique": false, + "isRequiredProperty": false, "isCalculatedProperty": false, - "isReadOnlyProperty": false, - "widgetLabel": "PaymentMethod", + "widgetLabel": "UpdatedBy", "widgetDropdownUrl": "", "widgetDropdownControllerUrl": "", - "dataTypeJava": "int", - "dataTypeTypescript": "number", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, "inputRule": "" } ] @@ -3695,6 +4367,118 @@ "minLength": 0, "maxLength": 255, "inputRule": "" + }, + { + "auditType": "CREATED_AT", + "dataName": "PAYMENTRECORD_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": "PAYMENTRECORD_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": "PAYMENTRECORD_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": "PAYMENTRECORD_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 PaymentRecord", @@ -4112,40 +4896,151 @@ "dataName": "PAYMENTRECORD_UUID", "dataNullable": false, "dataType": "VARCHAR", - "dataUnique": true, + "dataUnique": true, + "description": "", + "isCalculatedProperty": true, + "name": "UUID", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": true, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "isRequiredProperty": false, + "isReadOnlyProperty": false, + "widgetLabel": "UUID", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, + "inputRule": "" + }, + { + "auditType": "NONE", + "dataLength": "36", + "dataName": "PAYMENTRECORD_REFERENCE", + "dataNullable": true, + "dataType": "VARCHAR", + "description": "", + "name": "Reference", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "36", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "isReadOnlyProperty": false, + "widgetLabel": "Reference", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 36, + "inputRule": "" + }, + { + "auditType": "NONE", + "dataName": "PAYMENTRECORD_DELETED", + "dataNullable": true, + "dataType": "BOOLEAN", + "description": "", + "name": "Deleted", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "CHECKBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "isReadOnlyProperty": false, + "widgetLabel": "Deleted", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "boolean", + "dataTypeTypescript": "boolean", + "inputRule": "" + }, + { + "auditType": "NONE", + "dataName": "PAYMENTRECORD_DELETEDAT", + "dataNullable": true, + "dataType": "TIMESTAMP", + "description": "", + "name": "DeletedAt", + "tooltip": "", + "widgetIsMajor": true, + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX", + "dataNotNull": false, + "dataAutoIncrement": false, + "dataPrimaryKey": false, + "dataUnique": false, + "isRequiredProperty": false, + "isCalculatedProperty": false, + "isReadOnlyProperty": false, + "widgetLabel": "DeletedAt", + "widgetDropdownUrl": "", + "widgetDropdownControllerUrl": "", + "dataTypeJava": "timestamp", + "dataTypeTypescript": "Date", + "isDateType": true, + "inputRule": "" + }, + { + "auditType": "NONE", + "dataLength": "255", + "dataName": "PAYMENTRECORD_DELETEDREASON", + "dataNullable": true, + "dataType": "VARCHAR", "description": "", - "isCalculatedProperty": true, - "name": "UUID", + "name": "DeletedReason", "tooltip": "", "widgetIsMajor": true, - "widgetLength": "20", + "widgetLength": "255", "widgetSize": "", "widgetType": "TEXTBOX", - "dataNotNull": true, + "dataNotNull": false, "dataAutoIncrement": false, "dataPrimaryKey": false, + "dataUnique": false, "isRequiredProperty": false, + "isCalculatedProperty": false, "isReadOnlyProperty": false, - "widgetLabel": "UUID", + "widgetLabel": "DeletedReason", "widgetDropdownUrl": "", "widgetDropdownControllerUrl": "", "dataTypeJava": "string", "dataTypeTypescript": "string", "minLength": 0, - "maxLength": 20, + "maxLength": 255, "inputRule": "" }, { - "auditType": "NONE", - "dataLength": "36", - "dataName": "PAYMENTRECORD_REFERENCE", + "auditType": "CREATED_AT", + "dataName": "PAYMENTRECORD_CREATEDAT", "dataNullable": true, - "dataType": "VARCHAR", + "dataType": "TIMESTAMP", "description": "", - "name": "Reference", + "isReadOnlyProperty": true, + "name": "CreatedAt", "tooltip": "", "widgetIsMajor": true, - "widgetLength": "36", + "widgetLength": "20", "widgetSize": "", "widgetType": "TEXTBOX", "dataNotNull": false, @@ -4154,49 +5049,51 @@ "dataUnique": false, "isRequiredProperty": false, "isCalculatedProperty": false, - "isReadOnlyProperty": false, - "widgetLabel": "Reference", + "widgetLabel": "CreatedAt", "widgetDropdownUrl": "", "widgetDropdownControllerUrl": "", - "dataTypeJava": "string", - "dataTypeTypescript": "string", - "minLength": 0, - "maxLength": 36, + "dataTypeJava": "timestamp", + "dataTypeTypescript": "Date", + "isDateType": true, "inputRule": "" }, { - "auditType": "NONE", - "dataName": "PAYMENTRECORD_DELETED", + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "PAYMENTRECORD_CREATEDBY", "dataNullable": true, - "dataType": "BOOLEAN", + "dataType": "VARCHAR", "description": "", - "name": "Deleted", + "isReadOnlyProperty": true, + "name": "CreatedBy", "tooltip": "", "widgetIsMajor": true, "widgetLength": "20", "widgetSize": "", - "widgetType": "CHECKBOX", + "widgetType": "TEXTBOX", "dataNotNull": false, "dataAutoIncrement": false, "dataPrimaryKey": false, "dataUnique": false, "isRequiredProperty": false, "isCalculatedProperty": false, - "isReadOnlyProperty": false, - "widgetLabel": "Deleted", + "widgetLabel": "CreatedBy", "widgetDropdownUrl": "", "widgetDropdownControllerUrl": "", - "dataTypeJava": "boolean", - "dataTypeTypescript": "boolean", + "dataTypeJava": "string", + "dataTypeTypescript": "string", + "minLength": 0, + "maxLength": 20, "inputRule": "" }, { - "auditType": "NONE", - "dataName": "PAYMENTRECORD_DELETEDAT", + "auditType": "UPDATED_AT", + "dataName": "PAYMENTRECORD_UPDATEDAT", "dataNullable": true, "dataType": "TIMESTAMP", "description": "", - "name": "DeletedAt", + "isReadOnlyProperty": true, + "name": "UpdatedAt", "tooltip": "", "widgetIsMajor": true, "widgetLength": "20", @@ -4208,8 +5105,7 @@ "dataUnique": false, "isRequiredProperty": false, "isCalculatedProperty": false, - "isReadOnlyProperty": false, - "widgetLabel": "DeletedAt", + "widgetLabel": "UpdatedAt", "widgetDropdownUrl": "", "widgetDropdownControllerUrl": "", "dataTypeJava": "timestamp", @@ -4218,16 +5114,17 @@ "inputRule": "" }, { - "auditType": "NONE", - "dataLength": "255", - "dataName": "PAYMENTRECORD_DELETEDREASON", + "auditType": "UPDATED_BY", + "dataLength": "20", + "dataName": "PAYMENTRECORD_UPDATEDBY", "dataNullable": true, "dataType": "VARCHAR", "description": "", - "name": "DeletedReason", + "isReadOnlyProperty": true, + "name": "UpdatedBy", "tooltip": "", "widgetIsMajor": true, - "widgetLength": "255", + "widgetLength": "20", "widgetSize": "", "widgetType": "TEXTBOX", "dataNotNull": false, @@ -4236,14 +5133,13 @@ "dataUnique": false, "isRequiredProperty": false, "isCalculatedProperty": false, - "isReadOnlyProperty": false, - "widgetLabel": "DeletedReason", + "widgetLabel": "UpdatedBy", "widgetDropdownUrl": "", "widgetDropdownControllerUrl": "", "dataTypeJava": "string", "dataTypeTypescript": "string", "minLength": 0, - "maxLength": 255, + "maxLength": 20, "inputRule": "" } ] @@ -5641,6 +6537,118 @@ "minLength": 0, "maxLength": 20, "inputRule": "" + }, + { + "auditType": "CREATED_AT", + "dataName": "PAYMENTADJUSTMENT_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": "PAYMENTADJUSTMENT_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": "PAYMENTADJUSTMENT_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": "PAYMENTADJUSTMENT_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 PaymentAdjustment", @@ -5895,6 +6903,118 @@ "minLength": 0, "maxLength": 20, "inputRule": "" + }, + { + "auditType": "CREATED_AT", + "dataName": "PAYMENTADJUSTMENT_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": "PAYMENTADJUSTMENT_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": "PAYMENTADJUSTMENT_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": "PAYMENTADJUSTMENT_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": "" } ] }, diff --git a/codbex-payments/codbex-payments.model b/codbex-payments/codbex-payments.model index a310069..8452712 100644 --- a/codbex-payments/codbex-payments.model +++ b/codbex-payments/codbex-payments.model @@ -264,6 +264,64 @@ "relationshipEntityName": "PaymentMethod", "relationshipEntityPerspectiveName": "Settings", "relationshipEntityPerspectiveLabel": "methods" + }, + { + "auditType": "CREATED_AT", + "dataName": "CUSTOMERPAYMENT_CREATEDAT", + "dataNullable": "true", + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedAt", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "CUSTOMERPAYMENT_CREATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "UPDATED_AT", + "dataName": "CUSTOMERPAYMENT_UPDATEDAT", + "dataNullable": "true", + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": "true", + "name": "UpdatedAt", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "UPDATED_BY", + "dataLength": "20", + "dataName": "CUSTOMERPAYMENT_UPDATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "UpdatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" } ], "caption": "Manage entity CustomerPayment", @@ -557,6 +615,64 @@ "relationshipEntityName": "PaymentMethod", "relationshipEntityPerspectiveName": "Settings", "relationshipEntityPerspectiveLabel": "methods" + }, + { + "auditType": "CREATED_AT", + "dataName": "SUPPLIERPAYMENT_CREATEDAT", + "dataNullable": "true", + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedAt", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "SUPPLIERPAYMENT_CREATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "UPDATED_AT", + "dataName": "SUPPLIERPAYMENT_UPDATEDAT", + "dataNullable": "true", + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": "true", + "name": "UpdatedAt", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "UPDATED_BY", + "dataLength": "20", + "dataName": "SUPPLIERPAYMENT_UPDATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "UpdatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" } ], "caption": "Manage entity SupplierPayment", @@ -850,6 +966,64 @@ "relationshipEntityName": "PaymentMethod", "relationshipEntityPerspectiveName": "Settings", "relationshipEntityPerspectiveLabel": "methods" + }, + { + "auditType": "CREATED_AT", + "dataName": "EMPLOYEEPAYMENT_CREATEDAT", + "dataNullable": "true", + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedAt", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "EMPLOYEEPAYMENT_CREATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "UPDATED_AT", + "dataName": "EMPLOYEEPAYMENT_UPDATEDAT", + "dataNullable": "true", + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": "true", + "name": "UpdatedAt", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "UPDATED_BY", + "dataLength": "20", + "dataName": "EMPLOYEEPAYMENT_UPDATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "UpdatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" } ], "caption": "Manage entity EmployeePayment", @@ -1168,6 +1342,64 @@ "widgetLength": "255", "widgetSize": "", "widgetType": "TEXTBOX" + }, + { + "auditType": "CREATED_AT", + "dataName": "PAYMENTRECORD_CREATEDAT", + "dataNullable": "true", + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedAt", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "PAYMENTRECORD_CREATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "UPDATED_AT", + "dataName": "PAYMENTRECORD_UPDATEDAT", + "dataNullable": "true", + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": "true", + "name": "UpdatedAt", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "UPDATED_BY", + "dataLength": "20", + "dataName": "PAYMENTRECORD_UPDATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "UpdatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" } ], "caption": "Manage entity PaymentRecord", @@ -2009,6 +2241,64 @@ "widgetLength": "20", "widgetSize": "", "widgetType": "TEXTBOX" + }, + { + "auditType": "CREATED_AT", + "dataName": "PAYMENTADJUSTMENT_CREATEDAT", + "dataNullable": "true", + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedAt", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "CREATED_BY", + "dataLength": "20", + "dataName": "PAYMENTADJUSTMENT_CREATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "CreatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "UPDATED_AT", + "dataName": "PAYMENTADJUSTMENT_UPDATEDAT", + "dataNullable": "true", + "dataType": "TIMESTAMP", + "description": "", + "isReadOnlyProperty": "true", + "name": "UpdatedAt", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" + }, + { + "auditType": "UPDATED_BY", + "dataLength": "20", + "dataName": "PAYMENTADJUSTMENT_UPDATEDBY", + "dataNullable": "true", + "dataType": "VARCHAR", + "description": "", + "isReadOnlyProperty": "true", + "name": "UpdatedBy", + "tooltip": "", + "widgetIsMajor": "true", + "widgetLength": "20", + "widgetSize": "", + "widgetType": "TEXTBOX" } ], "caption": "Manage entity PaymentAdjustment", diff --git a/codbex-payments/gen/codbex-payments/api/CustomerPayment/CustomerPaymentController.ts b/codbex-payments/gen/codbex-payments/api/CustomerPayment/CustomerPaymentController.ts index 3f6e86e..5260a1a 100644 --- a/codbex-payments/gen/codbex-payments/api/CustomerPayment/CustomerPaymentController.ts +++ b/codbex-payments/gen/codbex-payments/api/CustomerPayment/CustomerPaymentController.ts @@ -223,6 +223,12 @@ class CustomerPaymentController { if (entity.PaymentMethod === null || entity.PaymentMethod === undefined) { throw new ValidationError(`The 'PaymentMethod' property is required, provide a valid value`); } + 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-payments/gen/codbex-payments/api/EmployeePayment/EmployeePaymentController.ts b/codbex-payments/gen/codbex-payments/api/EmployeePayment/EmployeePaymentController.ts index f7a62d4..1c68b4c 100644 --- a/codbex-payments/gen/codbex-payments/api/EmployeePayment/EmployeePaymentController.ts +++ b/codbex-payments/gen/codbex-payments/api/EmployeePayment/EmployeePaymentController.ts @@ -223,6 +223,12 @@ class EmployeePaymentController { if (entity.PaymentMethod === null || entity.PaymentMethod === undefined) { throw new ValidationError(`The 'PaymentMethod' property is required, provide a valid value`); } + 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-payments/gen/codbex-payments/api/PaymentAdjustment/PaymentAdjustmentController.ts b/codbex-payments/gen/codbex-payments/api/PaymentAdjustment/PaymentAdjustmentController.ts index 54baa9d..3a3590b 100644 --- a/codbex-payments/gen/codbex-payments/api/PaymentAdjustment/PaymentAdjustmentController.ts +++ b/codbex-payments/gen/codbex-payments/api/PaymentAdjustment/PaymentAdjustmentController.ts @@ -185,6 +185,12 @@ class PaymentAdjustmentController { if (entity.UUID?.length > 36) { throw new ValidationError(`The 'UUID' 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-payments/gen/codbex-payments/api/PaymentRecord/PaymentRecordController.ts b/codbex-payments/gen/codbex-payments/api/PaymentRecord/PaymentRecordController.ts index 5646025..fb125f7 100644 --- a/codbex-payments/gen/codbex-payments/api/PaymentRecord/PaymentRecordController.ts +++ b/codbex-payments/gen/codbex-payments/api/PaymentRecord/PaymentRecordController.ts @@ -218,6 +218,12 @@ class PaymentRecordController { if (entity.DeletedReason?.length > 255) { throw new ValidationError(`The 'DeletedReason' exceeds the maximum length of [255] 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-payments/gen/codbex-payments/api/SupplierPayment/SupplierPaymentController.ts b/codbex-payments/gen/codbex-payments/api/SupplierPayment/SupplierPaymentController.ts index 48a6b39..f208a68 100644 --- a/codbex-payments/gen/codbex-payments/api/SupplierPayment/SupplierPaymentController.ts +++ b/codbex-payments/gen/codbex-payments/api/SupplierPayment/SupplierPaymentController.ts @@ -223,6 +223,12 @@ class SupplierPaymentController { if (entity.PaymentMethod === null || entity.PaymentMethod === undefined) { throw new ValidationError(`The 'PaymentMethod' property is required, provide a valid value`); } + 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-payments/gen/codbex-payments/data/CustomerPayment/CustomerPaymentEntity.ts b/codbex-payments/gen/codbex-payments/data/CustomerPayment/CustomerPaymentEntity.ts index ffcccc5..d866fbd 100644 --- a/codbex-payments/gen/codbex-payments/data/CustomerPayment/CustomerPaymentEntity.ts +++ b/codbex-payments/gen/codbex-payments/data/CustomerPayment/CustomerPaymentEntity.ts @@ -134,6 +134,44 @@ export class CustomerPaymentEntity { }) public PaymentMethod!: number; + @Documentation('CreatedAt') + @Column({ + name: 'CUSTOMERPAYMENT_CREATEDAT', + type: 'timestamp', + nullable: true, + }) + @CreatedAt() + public CreatedAt?: Date; + + @Documentation('CreatedBy') + @Column({ + name: 'CUSTOMERPAYMENT_CREATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @CreatedBy() + public CreatedBy?: string; + + @Documentation('UpdatedAt') + @Column({ + name: 'CUSTOMERPAYMENT_UPDATEDAT', + type: 'timestamp', + nullable: true, + }) + @UpdatedAt() + public UpdatedAt?: Date; + + @Documentation('UpdatedBy') + @Column({ + name: 'CUSTOMERPAYMENT_UPDATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @UpdatedBy() + public UpdatedBy?: string; + } (new CustomerPaymentEntity()); diff --git a/codbex-payments/gen/codbex-payments/data/CustomerPayment/CustomerPaymentRepository.ts b/codbex-payments/gen/codbex-payments/data/CustomerPayment/CustomerPaymentRepository.ts index aac6864..b1a3ab7 100644 --- a/codbex-payments/gen/codbex-payments/data/CustomerPayment/CustomerPaymentRepository.ts +++ b/codbex-payments/gen/codbex-payments/data/CustomerPayment/CustomerPaymentRepository.ts @@ -18,6 +18,8 @@ export class CustomerPaymentRepository extends Repository if (entity) { entity.Date = entity.Date ? new Date(entity.Date) : undefined; entity.Valor = entity.Valor ? new Date(entity.Valor) : undefined; + entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + entity.UpdatedAt = entity.UpdatedAt ? new Date(entity.UpdatedAt) : undefined; } return entity; } @@ -27,6 +29,8 @@ export class CustomerPaymentRepository extends Repository entities.forEach(entity => { entity.Date = entity.Date ? new Date(entity.Date) : undefined; entity.Valor = entity.Valor ? new Date(entity.Valor) : undefined; + entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + entity.UpdatedAt = entity.UpdatedAt ? new Date(entity.UpdatedAt) : undefined; }); return entities; } diff --git a/codbex-payments/gen/codbex-payments/data/EmployeePayment/EmployeePaymentEntity.ts b/codbex-payments/gen/codbex-payments/data/EmployeePayment/EmployeePaymentEntity.ts index c78a7be..2437e5d 100644 --- a/codbex-payments/gen/codbex-payments/data/EmployeePayment/EmployeePaymentEntity.ts +++ b/codbex-payments/gen/codbex-payments/data/EmployeePayment/EmployeePaymentEntity.ts @@ -134,6 +134,44 @@ export class EmployeePaymentEntity { }) public PaymentMethod!: number; + @Documentation('CreatedAt') + @Column({ + name: 'EMPLOYEEPAYMENT_CREATEDAT', + type: 'timestamp', + nullable: true, + }) + @CreatedAt() + public CreatedAt?: Date; + + @Documentation('CreatedBy') + @Column({ + name: 'EMPLOYEEPAYMENT_CREATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @CreatedBy() + public CreatedBy?: string; + + @Documentation('UpdatedAt') + @Column({ + name: 'EMPLOYEEPAYMENT_UPDATEDAT', + type: 'timestamp', + nullable: true, + }) + @UpdatedAt() + public UpdatedAt?: Date; + + @Documentation('UpdatedBy') + @Column({ + name: 'EMPLOYEEPAYMENT_UPDATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @UpdatedBy() + public UpdatedBy?: string; + } (new EmployeePaymentEntity()); diff --git a/codbex-payments/gen/codbex-payments/data/EmployeePayment/EmployeePaymentRepository.ts b/codbex-payments/gen/codbex-payments/data/EmployeePayment/EmployeePaymentRepository.ts index 93e2db5..256efb2 100644 --- a/codbex-payments/gen/codbex-payments/data/EmployeePayment/EmployeePaymentRepository.ts +++ b/codbex-payments/gen/codbex-payments/data/EmployeePayment/EmployeePaymentRepository.ts @@ -18,6 +18,8 @@ export class EmployeePaymentRepository extends Repository if (entity) { entity.Date = entity.Date ? new Date(entity.Date) : undefined; entity.Valor = entity.Valor ? new Date(entity.Valor) : undefined; + entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + entity.UpdatedAt = entity.UpdatedAt ? new Date(entity.UpdatedAt) : undefined; } return entity; } @@ -27,6 +29,8 @@ export class EmployeePaymentRepository extends Repository entities.forEach(entity => { entity.Date = entity.Date ? new Date(entity.Date) : undefined; entity.Valor = entity.Valor ? new Date(entity.Valor) : undefined; + entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + entity.UpdatedAt = entity.UpdatedAt ? new Date(entity.UpdatedAt) : undefined; }); return entities; } diff --git a/codbex-payments/gen/codbex-payments/data/PaymentAdjustment/PaymentAdjustmentEntity.ts b/codbex-payments/gen/codbex-payments/data/PaymentAdjustment/PaymentAdjustmentEntity.ts index 5a02de0..47fe29e 100644 --- a/codbex-payments/gen/codbex-payments/data/PaymentAdjustment/PaymentAdjustmentEntity.ts +++ b/codbex-payments/gen/codbex-payments/data/PaymentAdjustment/PaymentAdjustmentEntity.ts @@ -69,6 +69,44 @@ export class PaymentAdjustmentEntity { }) public UUID?: string; + @Documentation('CreatedAt') + @Column({ + name: 'PAYMENTADJUSTMENT_CREATEDAT', + type: 'timestamp', + nullable: true, + }) + @CreatedAt() + public CreatedAt?: Date; + + @Documentation('CreatedBy') + @Column({ + name: 'PAYMENTADJUSTMENT_CREATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @CreatedBy() + public CreatedBy?: string; + + @Documentation('UpdatedAt') + @Column({ + name: 'PAYMENTADJUSTMENT_UPDATEDAT', + type: 'timestamp', + nullable: true, + }) + @UpdatedAt() + public UpdatedAt?: Date; + + @Documentation('UpdatedBy') + @Column({ + name: 'PAYMENTADJUSTMENT_UPDATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @UpdatedBy() + public UpdatedBy?: string; + } (new PaymentAdjustmentEntity()); diff --git a/codbex-payments/gen/codbex-payments/data/PaymentAdjustment/PaymentAdjustmentRepository.ts b/codbex-payments/gen/codbex-payments/data/PaymentAdjustment/PaymentAdjustmentRepository.ts index 1f1ea96..f05af9c 100644 --- a/codbex-payments/gen/codbex-payments/data/PaymentAdjustment/PaymentAdjustmentRepository.ts +++ b/codbex-payments/gen/codbex-payments/data/PaymentAdjustment/PaymentAdjustmentRepository.ts @@ -16,6 +16,8 @@ export class PaymentAdjustmentRepository extends Repository { entity.Date = entity.Date ? new Date(entity.Date) : undefined; entity.Valor = entity.Valor ? new Date(entity.Valor) : undefined; + entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + entity.UpdatedAt = entity.UpdatedAt ? new Date(entity.UpdatedAt) : undefined; }); return entities; } diff --git a/codbex-payments/gen/codbex-payments/data/PaymentRecord/PaymentRecordEntity.ts b/codbex-payments/gen/codbex-payments/data/PaymentRecord/PaymentRecordEntity.ts index fd89733..60db789 100644 --- a/codbex-payments/gen/codbex-payments/data/PaymentRecord/PaymentRecordEntity.ts +++ b/codbex-payments/gen/codbex-payments/data/PaymentRecord/PaymentRecordEntity.ts @@ -151,6 +151,44 @@ export class PaymentRecordEntity { }) public DeletedReason?: string; + @Documentation('CreatedAt') + @Column({ + name: 'PAYMENTRECORD_CREATEDAT', + type: 'timestamp', + nullable: true, + }) + @CreatedAt() + public CreatedAt?: Date; + + @Documentation('CreatedBy') + @Column({ + name: 'PAYMENTRECORD_CREATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @CreatedBy() + public CreatedBy?: string; + + @Documentation('UpdatedAt') + @Column({ + name: 'PAYMENTRECORD_UPDATEDAT', + type: 'timestamp', + nullable: true, + }) + @UpdatedAt() + public UpdatedAt?: Date; + + @Documentation('UpdatedBy') + @Column({ + name: 'PAYMENTRECORD_UPDATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @UpdatedBy() + public UpdatedBy?: string; + } (new PaymentRecordEntity()); diff --git a/codbex-payments/gen/codbex-payments/data/PaymentRecord/PaymentRecordRepository.ts b/codbex-payments/gen/codbex-payments/data/PaymentRecord/PaymentRecordRepository.ts index 3e684b7..f5beeef 100644 --- a/codbex-payments/gen/codbex-payments/data/PaymentRecord/PaymentRecordRepository.ts +++ b/codbex-payments/gen/codbex-payments/data/PaymentRecord/PaymentRecordRepository.ts @@ -17,6 +17,8 @@ export class PaymentRecordRepository extends Repository { entity.Date = entity.Date ? new Date(entity.Date) : undefined; entity.Valor = entity.Valor ? new Date(entity.Valor) : undefined; entity.DeletedAt = entity.DeletedAt ? new Date(entity.DeletedAt) : undefined; + entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + entity.UpdatedAt = entity.UpdatedAt ? new Date(entity.UpdatedAt) : undefined; } return entity; } @@ -27,6 +29,8 @@ export class PaymentRecordRepository extends Repository { entity.Date = entity.Date ? new Date(entity.Date) : undefined; entity.Valor = entity.Valor ? new Date(entity.Valor) : undefined; entity.DeletedAt = entity.DeletedAt ? new Date(entity.DeletedAt) : undefined; + entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + entity.UpdatedAt = entity.UpdatedAt ? new Date(entity.UpdatedAt) : undefined; }); return entities; } diff --git a/codbex-payments/gen/codbex-payments/data/SupplierPayment/SupplierPaymentEntity.ts b/codbex-payments/gen/codbex-payments/data/SupplierPayment/SupplierPaymentEntity.ts index 179d110..d1600e9 100644 --- a/codbex-payments/gen/codbex-payments/data/SupplierPayment/SupplierPaymentEntity.ts +++ b/codbex-payments/gen/codbex-payments/data/SupplierPayment/SupplierPaymentEntity.ts @@ -134,6 +134,44 @@ export class SupplierPaymentEntity { }) public PaymentMethod!: number; + @Documentation('CreatedAt') + @Column({ + name: 'SUPPLIERPAYMENT_CREATEDAT', + type: 'timestamp', + nullable: true, + }) + @CreatedAt() + public CreatedAt?: Date; + + @Documentation('CreatedBy') + @Column({ + name: 'SUPPLIERPAYMENT_CREATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @CreatedBy() + public CreatedBy?: string; + + @Documentation('UpdatedAt') + @Column({ + name: 'SUPPLIERPAYMENT_UPDATEDAT', + type: 'timestamp', + nullable: true, + }) + @UpdatedAt() + public UpdatedAt?: Date; + + @Documentation('UpdatedBy') + @Column({ + name: 'SUPPLIERPAYMENT_UPDATEDBY', + type: 'string', + length: 20, + nullable: true, + }) + @UpdatedBy() + public UpdatedBy?: string; + } (new SupplierPaymentEntity()); diff --git a/codbex-payments/gen/codbex-payments/data/SupplierPayment/SupplierPaymentRepository.ts b/codbex-payments/gen/codbex-payments/data/SupplierPayment/SupplierPaymentRepository.ts index abf645a..b586042 100644 --- a/codbex-payments/gen/codbex-payments/data/SupplierPayment/SupplierPaymentRepository.ts +++ b/codbex-payments/gen/codbex-payments/data/SupplierPayment/SupplierPaymentRepository.ts @@ -18,6 +18,8 @@ export class SupplierPaymentRepository extends Repository if (entity) { entity.Date = entity.Date ? new Date(entity.Date) : undefined; entity.Valor = entity.Valor ? new Date(entity.Valor) : undefined; + entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + entity.UpdatedAt = entity.UpdatedAt ? new Date(entity.UpdatedAt) : undefined; } return entity; } @@ -27,6 +29,8 @@ export class SupplierPaymentRepository extends Repository entities.forEach(entity => { entity.Date = entity.Date ? new Date(entity.Date) : undefined; entity.Valor = entity.Valor ? new Date(entity.Valor) : undefined; + entity.CreatedAt = entity.CreatedAt ? new Date(entity.CreatedAt) : undefined; + entity.UpdatedAt = entity.UpdatedAt ? new Date(entity.UpdatedAt) : undefined; }); return entities; } diff --git a/codbex-payments/gen/codbex-payments/schema/codbex-payments.schema b/codbex-payments/gen/codbex-payments/schema/codbex-payments.schema index 6f446f0..b9b7950 100644 --- a/codbex-payments/gen/codbex-payments/schema/codbex-payments.schema +++ b/codbex-payments/gen/codbex-payments/schema/codbex-payments.schema @@ -88,6 +88,28 @@ { "type": "INTEGER", "name": "CUSTOMERPAYMENT_PAYMENTMETHOD" + }, + { + "type": "TIMESTAMP", + "nullable": true, + "name": "CUSTOMERPAYMENT_CREATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "CUSTOMERPAYMENT_CREATEDBY" + }, + { + "type": "TIMESTAMP", + "nullable": true, + "name": "CUSTOMERPAYMENT_UPDATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "CUSTOMERPAYMENT_UPDATEDBY" } ] }, @@ -178,6 +200,28 @@ { "type": "INTEGER", "name": "SUPPLIERPAYMENT_PAYMENTMETHOD" + }, + { + "type": "TIMESTAMP", + "nullable": true, + "name": "SUPPLIERPAYMENT_CREATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "SUPPLIERPAYMENT_CREATEDBY" + }, + { + "type": "TIMESTAMP", + "nullable": true, + "name": "SUPPLIERPAYMENT_UPDATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "SUPPLIERPAYMENT_UPDATEDBY" } ] }, @@ -268,6 +312,28 @@ { "type": "INTEGER", "name": "EMPLOYEEPAYMENT_PAYMENTMETHOD" + }, + { + "type": "TIMESTAMP", + "nullable": true, + "name": "EMPLOYEEPAYMENT_CREATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "EMPLOYEEPAYMENT_CREATEDBY" + }, + { + "type": "TIMESTAMP", + "nullable": true, + "name": "EMPLOYEEPAYMENT_UPDATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "EMPLOYEEPAYMENT_UPDATEDBY" } ] }, @@ -369,6 +435,28 @@ "length": 255, "nullable": true, "name": "PAYMENTRECORD_DELETEDREASON" + }, + { + "type": "TIMESTAMP", + "nullable": true, + "name": "PAYMENTRECORD_CREATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "PAYMENTRECORD_CREATEDBY" + }, + { + "type": "TIMESTAMP", + "nullable": true, + "name": "PAYMENTRECORD_UPDATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "PAYMENTRECORD_UPDATEDBY" } ] }, @@ -436,6 +524,28 @@ "nullable": true, "unique": true, "name": "PAYMENTADJUSTMENT_UUID" + }, + { + "type": "TIMESTAMP", + "nullable": true, + "name": "PAYMENTADJUSTMENT_CREATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "PAYMENTADJUSTMENT_CREATEDBY" + }, + { + "type": "TIMESTAMP", + "nullable": true, + "name": "PAYMENTADJUSTMENT_UPDATEDAT" + }, + { + "type": "VARCHAR", + "length": 20, + "nullable": true, + "name": "PAYMENTADJUSTMENT_UPDATEDBY" } ] }, diff --git a/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/controller.js b/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/controller.js index 90fb974..0f94907 100644 --- a/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/controller.js @@ -109,6 +109,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (e.Valor) { e.Valor = new Date(e.Valor); } + 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-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/dialog-filter/controller.js b/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/dialog-filter/controller.js index 9f088f8..11aeb67 100644 --- a/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/dialog-filter/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/dialog-filter/controller.js @@ -19,6 +19,18 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle if (params?.entity?.ValorTo) { params.entity.ValorTo = new Date(params.entity.ValorTo); } + 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; @@ -110,6 +122,30 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle const condition = { propertyName: 'PaymentMethod', operator: 'EQ', value: entity.PaymentMethod }; 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-payments.CustomerPayment.CustomerPayment.entitySearch', data: { entity: entity, filter: filter diff --git a/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/dialog-filter/index.html b/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/dialog-filter/index.html index ced7655..5c3e9b1 100644 --- a/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/dialog-filter/index.html +++ b/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/dialog-filter/index.html @@ -282,6 +282,72 @@ + +
+ {{ 'codbex-payments:codbex-payments-model.t.CUSTOMERPAYMENT_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.CUSTOMERPAYMENT_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.CUSTOMERPAYMENT_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.CUSTOMERPAYMENT_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/dialog-window/controller.js b/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/dialog-window/controller.js index 539bd52..34bbfe3 100644 --- a/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/dialog-window/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/dialog-window/controller.js @@ -37,6 +37,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (params.entity.Valor) { params.entity.Valor = new Date(params.entity.Valor); } + 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-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/dialog-window/index.html b/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/dialog-window/index.html index 9a63c8f..e6ff2a4 100644 --- a/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/dialog-window/index.html +++ b/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/dialog-window/index.html @@ -291,6 +291,88 @@ + +
+ {{ 'codbex-payments:codbex-payments-model.t.CUSTOMERPAYMENT_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.CUSTOMERPAYMENT_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.CUSTOMERPAYMENT_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.CUSTOMERPAYMENT_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/index.html b/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/index.html index 12d4d6b..8734548 100644 --- a/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/index.html +++ b/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/index.html @@ -51,7 +51,11 @@ {{next.Description}} | {{optionsCompanyValue(next.Company)}} | {{next.Name}} | - {{optionsPaymentMethodValue(next.PaymentMethod)}} + {{optionsPaymentMethodValue(next.PaymentMethod)}} | + {{next.CreatedAt}} | + {{next.CreatedBy}} | + {{next.UpdatedAt}} | + {{next.UpdatedBy}} diff --git a/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/main-details/controller.js b/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/main-details/controller.js index c440ccb..3c77c9f 100644 --- a/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/main-details/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/main-details/controller.js @@ -65,6 +65,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (data.entity.Valor) { data.entity.Valor = new Date(data.entity.Valor); } + 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.optionsCustomer = data.optionsCustomer; $scope.optionsCurrency = data.optionsCurrency; @@ -91,6 +97,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (data.entity.Valor) { data.entity.Valor = new Date(data.entity.Valor); } + 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.optionsCustomer = data.optionsCustomer; $scope.optionsCurrency = data.optionsCurrency; diff --git a/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/main-details/index.html b/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/main-details/index.html index 5e516d1..7a48691 100644 --- a/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/main-details/index.html +++ b/codbex-payments/gen/codbex-payments/ui/CustomerPayment/CustomerPayment/main-details/index.html @@ -305,6 +305,88 @@ + +
+ {{ 'codbex-payments:codbex-payments-model.t.CUSTOMERPAYMENT_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.CUSTOMERPAYMENT_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.CUSTOMERPAYMENT_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.CUSTOMERPAYMENT_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/controller.js b/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/controller.js index 660ba10..da981ea 100644 --- a/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/controller.js @@ -109,6 +109,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (e.Valor) { e.Valor = new Date(e.Valor); } + 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-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/dialog-filter/controller.js b/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/dialog-filter/controller.js index ee0050c..b7c7d56 100644 --- a/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/dialog-filter/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/dialog-filter/controller.js @@ -19,6 +19,18 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle if (params?.entity?.ValorTo) { params.entity.ValorTo = new Date(params.entity.ValorTo); } + 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; @@ -109,6 +121,30 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle const condition = { propertyName: 'PaymentMethod', operator: 'EQ', value: entity.PaymentMethod }; 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-payments.EmployeePayment.EmployeePayment.entitySearch', data: { entity: entity, filter: filter diff --git a/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/dialog-filter/index.html b/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/dialog-filter/index.html index 612a2d3..22cb9d0 100644 --- a/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/dialog-filter/index.html +++ b/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/dialog-filter/index.html @@ -283,6 +283,72 @@ + +
+ {{ 'codbex-payments:codbex-payments-model.t.EMPLOYEEPAYMENT_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.EMPLOYEEPAYMENT_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.EMPLOYEEPAYMENT_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.EMPLOYEEPAYMENT_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/dialog-window/controller.js b/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/dialog-window/controller.js index 29a925d..a139f35 100644 --- a/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/dialog-window/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/dialog-window/controller.js @@ -37,6 +37,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (params.entity.Valor) { params.entity.Valor = new Date(params.entity.Valor); } + 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-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/dialog-window/index.html b/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/dialog-window/index.html index ef9583b..285fdf9 100644 --- a/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/dialog-window/index.html +++ b/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/dialog-window/index.html @@ -294,6 +294,88 @@ + +
+ {{ 'codbex-payments:codbex-payments-model.t.EMPLOYEEPAYMENT_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.EMPLOYEEPAYMENT_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.EMPLOYEEPAYMENT_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.EMPLOYEEPAYMENT_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/index.html b/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/index.html index c74af3f..81cd3f8 100644 --- a/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/index.html +++ b/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/index.html @@ -53,7 +53,11 @@ {{next.Name}} | {{next.UUID}} | {{next.Reference}} | - {{next.PaymentMethod}} + {{next.PaymentMethod}} | + {{next.CreatedAt}} | + {{next.CreatedBy}} | + {{next.UpdatedAt}} | + {{next.UpdatedBy}} diff --git a/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/main-details/controller.js b/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/main-details/controller.js index 3e97e78..af8f0fe 100644 --- a/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/main-details/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/main-details/controller.js @@ -64,6 +64,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (data.entity.Valor) { data.entity.Valor = new Date(data.entity.Valor); } + 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.optionsEmployee = data.optionsEmployee; $scope.optionsCurrency = data.optionsCurrency; @@ -88,6 +94,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (data.entity.Valor) { data.entity.Valor = new Date(data.entity.Valor); } + 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.optionsEmployee = data.optionsEmployee; $scope.optionsCurrency = data.optionsCurrency; diff --git a/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/main-details/index.html b/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/main-details/index.html index 5ecaa1f..4865343 100644 --- a/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/main-details/index.html +++ b/codbex-payments/gen/codbex-payments/ui/EmployeePayment/EmployeePayment/main-details/index.html @@ -304,6 +304,88 @@ + +
+ {{ 'codbex-payments:codbex-payments-model.t.EMPLOYEEPAYMENT_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.EMPLOYEEPAYMENT_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.EMPLOYEEPAYMENT_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.EMPLOYEEPAYMENT_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/controller.js b/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/controller.js index ab7c52c..fbde1a2 100644 --- a/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/controller.js @@ -109,6 +109,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (e.Valor) { e.Valor = new Date(e.Valor); } + 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-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/dialog-filter/controller.js b/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/dialog-filter/controller.js index ecac1ee..1fa9591 100644 --- a/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/dialog-filter/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/dialog-filter/controller.js @@ -19,6 +19,18 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle if (params?.entity?.ValorTo) { params.entity.ValorTo = new Date(params.entity.ValorTo); } + 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; @@ -76,6 +88,30 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle const condition = { propertyName: 'UUID', operator: 'LIKE', value: `%${entity.UUID}%` }; 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-payments.PaymentAdjustment.PaymentAdjustment.entitySearch', data: { entity: entity, filter: filter diff --git a/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/dialog-filter/index.html b/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/dialog-filter/index.html index 9658bdc..4a16534 100644 --- a/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/dialog-filter/index.html +++ b/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/dialog-filter/index.html @@ -150,6 +150,72 @@ + +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTADJUSTMENT_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTADJUSTMENT_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTADJUSTMENT_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTADJUSTMENT_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/dialog-window/controller.js b/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/dialog-window/controller.js index f7a319b..ace94ce 100644 --- a/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/dialog-window/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/dialog-window/controller.js @@ -37,6 +37,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (params.entity.Valor) { params.entity.Valor = new Date(params.entity.Valor); } + 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-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/dialog-window/index.html b/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/dialog-window/index.html index 399b430..2b9cc74 100644 --- a/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/dialog-window/index.html +++ b/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/dialog-window/index.html @@ -136,6 +136,88 @@ + +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTADJUSTMENT_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTADJUSTMENT_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTADJUSTMENT_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTADJUSTMENT_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/index.html b/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/index.html index 52b97ae..3963230 100644 --- a/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/index.html +++ b/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/index.html @@ -45,7 +45,11 @@ {{optionsCurrencyValue(next.Currency)}} | {{optionsCompanyValue(next.Company)}} | {{next.Reason}} | - {{next.UUID}} + {{next.UUID}} | + {{next.CreatedAt}} | + {{next.CreatedBy}} | + {{next.UpdatedAt}} | + {{next.UpdatedBy}} diff --git a/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/main-details/controller.js b/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/main-details/controller.js index af5b092..d5e2829 100644 --- a/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/main-details/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/main-details/controller.js @@ -63,6 +63,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (data.entity.Valor) { data.entity.Valor = new Date(data.entity.Valor); } + 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.optionsCurrency = data.optionsCurrency; $scope.optionsCompany = data.optionsCompany; @@ -85,6 +91,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (data.entity.Valor) { data.entity.Valor = new Date(data.entity.Valor); } + 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.optionsCurrency = data.optionsCurrency; $scope.optionsCompany = data.optionsCompany; diff --git a/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/main-details/index.html b/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/main-details/index.html index a4b4f3c..24f8243 100644 --- a/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/main-details/index.html +++ b/codbex-payments/gen/codbex-payments/ui/PaymentAdjustment/PaymentAdjustment/main-details/index.html @@ -142,6 +142,88 @@ + +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTADJUSTMENT_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTADJUSTMENT_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTADJUSTMENT_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTADJUSTMENT_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/controller.js b/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/controller.js index 09b5ca7..a001739 100644 --- a/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/controller.js @@ -112,6 +112,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (e.DeletedAt) { e.DeletedAt = new Date(e.DeletedAt); } + 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-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/dialog-filter/controller.js b/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/dialog-filter/controller.js index 3d5537d..47d8f8d 100644 --- a/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/dialog-filter/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/dialog-filter/controller.js @@ -25,6 +25,18 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle if (params?.entity?.DeletedAtTo) { params.entity.DeletedAtTo = new Date(params.entity.DeletedAtTo); } + 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; @@ -128,6 +140,30 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle const condition = { propertyName: 'DeletedReason', operator: 'LIKE', value: `%${entity.DeletedReason}%` }; 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-payments.PaymentRecord.PaymentRecord.entitySearch', data: { entity: entity, filter: filter diff --git a/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/dialog-filter/index.html b/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/dialog-filter/index.html index 92f771a..3e98e5b 100644 --- a/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/dialog-filter/index.html +++ b/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/dialog-filter/index.html @@ -311,6 +311,72 @@ + +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/dialog-window/controller.js b/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/dialog-window/controller.js index b63e39f..6a2d080 100644 --- a/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/dialog-window/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/dialog-window/controller.js @@ -40,6 +40,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (params.entity.DeletedAt) { params.entity.DeletedAt = new Date(params.entity.DeletedAt); } + 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-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/dialog-window/index.html b/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/dialog-window/index.html index 2e84454..185538b 100644 --- a/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/dialog-window/index.html +++ b/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/dialog-window/index.html @@ -330,6 +330,88 @@ + +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/index.html b/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/index.html index d4aa89f..1bc0682 100644 --- a/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/index.html +++ b/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/index.html @@ -55,7 +55,11 @@ {{next.Reference}} | {{next.Deleted}} | {{next.DeletedAt}} | - {{next.DeletedReason}} + {{next.DeletedReason}} | + {{next.CreatedAt}} | + {{next.CreatedBy}} | + {{next.UpdatedAt}} | + {{next.UpdatedBy}} diff --git a/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/main-details/controller.js b/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/main-details/controller.js index 5e416e0..08329d6 100644 --- a/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/main-details/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/main-details/controller.js @@ -68,6 +68,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (data.entity.DeletedAt) { data.entity.DeletedAt = new Date(data.entity.DeletedAt); } + 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.optionsCurrency = data.optionsCurrency; $scope.optionsPaymentDirection = data.optionsPaymentDirection; @@ -97,6 +103,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (data.entity.DeletedAt) { data.entity.DeletedAt = new Date(data.entity.DeletedAt); } + 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.optionsCurrency = data.optionsCurrency; $scope.optionsPaymentDirection = data.optionsPaymentDirection; diff --git a/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/main-details/index.html b/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/main-details/index.html index 8624285..0a6073e 100644 --- a/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/main-details/index.html +++ b/codbex-payments/gen/codbex-payments/ui/PaymentRecord/PaymentRecord/main-details/index.html @@ -344,6 +344,88 @@ + +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/controller.js b/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/controller.js index 448b44d..331c825 100644 --- a/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/controller.js @@ -94,6 +94,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (e.DeletedAt) { e.DeletedAt = new Date(e.DeletedAt); } + if (e.CreatedAt) { + e.CreatedAt = new Date(e.CreatedAt); + } + if (e.UpdatedAt) { + e.UpdatedAt = new Date(e.UpdatedAt); + } }); $scope.data = response.data; diff --git a/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-filter/controller.js b/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-filter/controller.js index ee7b114..c5145c9 100644 --- a/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-filter/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-filter/controller.js @@ -25,6 +25,18 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle if (params?.entity?.DeletedAtTo) { params.entity.DeletedAtTo = new Date(params.entity.DeletedAtTo); } + 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; @@ -128,6 +140,30 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle const condition = { propertyName: 'DeletedReason', operator: 'LIKE', value: `%${entity.DeletedReason}%` }; 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-payments.PaymentRecord.PaymentRecord.entitySearch', data: { entity: entity, filter: filter diff --git a/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-filter/index.html b/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-filter/index.html index 95919f8..5e4d6fa 100644 --- a/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-filter/index.html +++ b/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-filter/index.html @@ -306,6 +306,72 @@ + +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-print/controller.js b/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-print/controller.js index 90b4588..bf19960 100644 --- a/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-print/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-print/controller.js @@ -100,6 +100,30 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer const condition = { propertyName: 'DeletedReason', operator: 'LIKE', value: `%${entity.DeletedReason}%` }; 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); + } $scope.filter = filter; @@ -130,6 +154,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (e.DeletedAt) { e.DeletedAt = new Date(e.DeletedAt); } + if (e.CreatedAt) { + e.CreatedAt = new Date(e.CreatedAt); + } + if (e.UpdatedAt) { + e.UpdatedAt = new Date(e.UpdatedAt); + } }); $scope.data = response.data; diff --git a/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-print/index.html b/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-print/index.html index a9b0493..5703623 100644 --- a/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-print/index.html +++ b/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-print/index.html @@ -37,6 +37,10 @@ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_DELETED' | t:'Deleted' }} {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_DELETEDAT' | t:'DeletedAt' }} {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_DELETEDREASON' | t:'DeletedReason' }} + {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_CREATEDAT' | t:'CreatedAt' }} + {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_CREATEDBY' | t:'CreatedBy' }} + {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_UPDATEDAT' | t:'UpdatedAt' }} + {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_UPDATEDBY' | t:'UpdatedBy' }} @@ -68,6 +72,10 @@ {{next.DeletedAt}} {{next.DeletedReason}} + {{next.CreatedAt}} + {{next.CreatedBy}} + {{next.UpdatedAt}} + {{next.UpdatedBy}} diff --git a/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-window/controller.js b/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-window/controller.js index 1f29631..cfa3989 100644 --- a/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-window/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-window/controller.js @@ -14,6 +14,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle if (params.entity.DeletedAt) { params.entity.DeletedAt = new Date(params.entity.DeletedAt); } + 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.optionsCurrency = params.optionsCurrency; $scope.optionsPaymentDirection = params.optionsPaymentDirection; diff --git a/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-window/index.html b/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-window/index.html index 8c22be1..8a9c118 100644 --- a/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-window/index.html +++ b/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/dialog-window/index.html @@ -263,6 +263,66 @@ placeholder="{{ 'codbex-payments:codbex-payments-model.messages.inputEnter' | t:{'name':'$t(codbex-payments:codbex-payments-model.t.PAYMENTRECORD_DELETEDREASON)'} }}"> + + +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_CREATEDAT' | t }} +
+
+ + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_CREATEDBY' | t }} +
+
+ + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_UPDATEDAT' | t }} +
+
+ + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_UPDATEDBY' | t }} +
+
+ + +
diff --git a/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/index.html b/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/index.html index 16ba646..e340fa8 100644 --- a/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/index.html +++ b/codbex-payments/gen/codbex-payments/ui/Reports/PaymentRecord/index.html @@ -41,6 +41,10 @@ {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_DELETED' | t:'Deleted' }} {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_DELETEDAT' | t:'DeletedAt' }} {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_DELETEDREASON' | t:'DeletedReason' }} + {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_CREATEDAT' | t:'CreatedAt' }} + {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_CREATEDBY' | t:'CreatedBy' }} + {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_UPDATEDAT' | t:'UpdatedAt' }} + {{ 'codbex-payments:codbex-payments-model.t.PAYMENTRECORD_UPDATEDBY' | t:'UpdatedBy' }} @@ -82,6 +86,10 @@ {{next.DeletedAt}} {{next.DeletedReason}} + {{next.CreatedAt}} + {{next.CreatedBy}} + {{next.UpdatedAt}} + {{next.UpdatedBy}} diff --git a/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/controller.js b/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/controller.js index 19679f2..8d9495b 100644 --- a/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/controller.js @@ -109,6 +109,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (e.Valor) { e.Valor = new Date(e.Valor); } + 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-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/dialog-filter/controller.js b/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/dialog-filter/controller.js index 6fe67f5..63d9d28 100644 --- a/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/dialog-filter/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/dialog-filter/controller.js @@ -19,6 +19,18 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle if (params?.entity?.ValorTo) { params.entity.ValorTo = new Date(params.entity.ValorTo); } + 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; @@ -109,6 +121,30 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale']).controlle const condition = { propertyName: 'PaymentMethod', operator: 'EQ', value: entity.PaymentMethod }; 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-payments.SupplierPayment.SupplierPayment.entitySearch', data: { entity: entity, filter: filter diff --git a/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/dialog-filter/index.html b/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/dialog-filter/index.html index 63d05b7..df0890f 100644 --- a/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/dialog-filter/index.html +++ b/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/dialog-filter/index.html @@ -283,6 +283,72 @@ + +
+ {{ 'codbex-payments:codbex-payments-model.t.SUPPLIERPAYMENT_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.SUPPLIERPAYMENT_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.SUPPLIERPAYMENT_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.SUPPLIERPAYMENT_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/dialog-window/controller.js b/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/dialog-window/controller.js index ccffc3d..58ff3a2 100644 --- a/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/dialog-window/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/dialog-window/controller.js @@ -37,6 +37,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (params.entity.Valor) { params.entity.Valor = new Date(params.entity.Valor); } + 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-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/dialog-window/index.html b/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/dialog-window/index.html index bbfd58a..2c8ac22 100644 --- a/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/dialog-window/index.html +++ b/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/dialog-window/index.html @@ -294,6 +294,88 @@ + +
+ {{ 'codbex-payments:codbex-payments-model.t.SUPPLIERPAYMENT_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.SUPPLIERPAYMENT_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.SUPPLIERPAYMENT_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.SUPPLIERPAYMENT_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/index.html b/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/index.html index 15c6588..0d917df 100644 --- a/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/index.html +++ b/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/index.html @@ -53,7 +53,11 @@ {{next.Name}} | {{next.UUID}} | {{next.Reference}} | - {{next.PaymentMethod}} + {{next.PaymentMethod}} | + {{next.CreatedAt}} | + {{next.CreatedBy}} | + {{next.UpdatedAt}} | + {{next.UpdatedBy}} diff --git a/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/main-details/controller.js b/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/main-details/controller.js index 4d2bb1c..f844add 100644 --- a/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/main-details/controller.js +++ b/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/main-details/controller.js @@ -64,6 +64,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (data.entity.Valor) { data.entity.Valor = new Date(data.entity.Valor); } + 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.optionsSupplier = data.optionsSupplier; $scope.optionsCurrency = data.optionsCurrency; @@ -88,6 +94,12 @@ angular.module('page', ['blimpKit', 'platformView', 'platformLocale', 'EntitySer if (data.entity.Valor) { data.entity.Valor = new Date(data.entity.Valor); } + 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.optionsSupplier = data.optionsSupplier; $scope.optionsCurrency = data.optionsCurrency; diff --git a/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/main-details/index.html b/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/main-details/index.html index 287b1fd..a916d16 100644 --- a/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/main-details/index.html +++ b/codbex-payments/gen/codbex-payments/ui/SupplierPayment/SupplierPayment/main-details/index.html @@ -304,6 +304,88 @@ + +
+ {{ 'codbex-payments:codbex-payments-model.t.SUPPLIERPAYMENT_CREATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.SUPPLIERPAYMENT_CREATEDBY' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.SUPPLIERPAYMENT_UPDATEDAT' | t }} +
+
+ + + + +
+
+ +
+ {{ 'codbex-payments:codbex-payments-model.t.SUPPLIERPAYMENT_UPDATEDBY' | t }} +
+
+ + + + +
+
diff --git a/codbex-payments/package.json b/codbex-payments/package.json index 64b5662..4ada5ee 100644 --- a/codbex-payments/package.json +++ b/codbex-payments/package.json @@ -10,9 +10,10 @@ }, "dependencies": { "@codbex/codbex-partners": "^1.0.0", + "@codbex/codbex-companies": "^1.1.0", "@codbex/codbex-employees": "^1.0.0", "@codbex/codbex-currencies": "^1.2.0", "@codbex/codbex-number-generator": "^1.1.0", "@codbex/codbex-number-generator-data": "^1.0.0" } -} +} \ No newline at end of file diff --git a/codbex-payments/project.json b/codbex-payments/project.json index 672c5ae..450de09 100644 --- a/codbex-payments/project.json +++ b/codbex-payments/project.json @@ -1,3 +1 @@ -{ - "guid": "codbex-payments" -} \ No newline at end of file +{"guid":"codbex-payments","actions":[{"name":"Build TypeScript","commands":[{"os":"unix","command":"tsc"},{"os":"windows","command":"cmd /c tsc"}],"registry":"true"}]} \ No newline at end of file diff --git a/codbex-payments/translations/en-US/codbex-payments.model.json b/codbex-payments/translations/en-US/codbex-payments.model.json index 3cc6272..60149c4 100644 --- a/codbex-payments/translations/en-US/codbex-payments.model.json +++ b/codbex-payments/translations/en-US/codbex-payments.model.json @@ -83,6 +83,10 @@ "CUSTOMERPAYMENT_UUID": "UUID", "CUSTOMERPAYMENT_REFERENCE": "Reference", "CUSTOMERPAYMENT_PAYMENTMETHOD": "PaymentMethod", + "CUSTOMERPAYMENT_CREATEDAT": "CreatedAt", + "CUSTOMERPAYMENT_CREATEDBY": "CreatedBy", + "CUSTOMERPAYMENT_UPDATEDAT": "UpdatedAt", + "CUSTOMERPAYMENT_UPDATEDBY": "UpdatedBy", "SUPPLIERPAYMENT": "SupplierPayment", "SUPPLIERPAYMENT_ID": "Id", "SUPPLIERPAYMENT_SUPPLIER": "Supplier", @@ -100,6 +104,10 @@ "SUPPLIERPAYMENT_UUID": "UUID", "SUPPLIERPAYMENT_REFERENCE": "Reference", "SUPPLIERPAYMENT_PAYMENTMETHOD": "PaymentMethod", + "SUPPLIERPAYMENT_CREATEDAT": "CreatedAt", + "SUPPLIERPAYMENT_CREATEDBY": "CreatedBy", + "SUPPLIERPAYMENT_UPDATEDAT": "UpdatedAt", + "SUPPLIERPAYMENT_UPDATEDBY": "UpdatedBy", "EMPLOYEEPAYMENT": "EmployeePayment", "EMPLOYEEPAYMENT_ID": "Id", "EMPLOYEEPAYMENT_EMPLOYEE": "Employee", @@ -117,6 +125,10 @@ "EMPLOYEEPAYMENT_UUID": "UUID", "EMPLOYEEPAYMENT_REFERENCE": "Reference", "EMPLOYEEPAYMENT_PAYMENTMETHOD": "PaymentMethod", + "EMPLOYEEPAYMENT_CREATEDAT": "CreatedAt", + "EMPLOYEEPAYMENT_CREATEDBY": "CreatedBy", + "EMPLOYEEPAYMENT_UPDATEDAT": "UpdatedAt", + "EMPLOYEEPAYMENT_UPDATEDBY": "UpdatedBy", "PAYMENTRECORD": "PaymentRecord", "PAYMENTRECORD_ID": "Id", "PAYMENTRECORD_DATE": "Date", @@ -136,6 +148,10 @@ "PAYMENTRECORD_DELETED": "Deleted", "PAYMENTRECORD_DELETEDAT": "DeletedAt", "PAYMENTRECORD_DELETEDREASON": "DeletedReason", + "PAYMENTRECORD_CREATEDAT": "CreatedAt", + "PAYMENTRECORD_CREATEDBY": "CreatedBy", + "PAYMENTRECORD_UPDATEDAT": "UpdatedAt", + "PAYMENTRECORD_UPDATEDBY": "UpdatedBy", "CURRENCY": "Currency", "CURRENCY_ID": "Id", "CURRENCY_CODE": "Code", @@ -183,6 +199,10 @@ "PAYMENTADJUSTMENT_COMPANY": "Company", "PAYMENTADJUSTMENT_REASON": "Reason", "PAYMENTADJUSTMENT_UUID": "UUID", + "PAYMENTADJUSTMENT_CREATEDAT": "CreatedAt", + "PAYMENTADJUSTMENT_CREATEDBY": "CreatedBy", + "PAYMENTADJUSTMENT_UPDATEDAT": "UpdatedAt", + "PAYMENTADJUSTMENT_UPDATEDBY": "UpdatedBy", "PAYMENTDIRECTION": "PaymentDirection", "PAYMENTDIRECTION_ID": "Id", "PAYMENTDIRECTION_NAME": "Name",