Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion codbex-payments/codbex-payments.edm

Large diffs are not rendered by default.

1,342 changes: 1,231 additions & 111 deletions codbex-payments/codbex-payments.gen

Large diffs are not rendered by default.

290 changes: 290 additions & 0 deletions codbex-payments/codbex-payments.model
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Loading
Loading