Skip to content
Open
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
8 changes: 4 additions & 4 deletions codbex-payments/codbex-payments.edm

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions codbex-payments/codbex-payments.gen
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@
},
{
"auditType": "NONE",
"calculatedPropertyExpressionCreate": "new NumberGeneratorService().generate(18)",
"calculatedPropertyExpressionCreate": "new NumberGeneratorService().generateByType('Customer Payment')",
"dataLength": "20",
"dataName": "CUSTOMERPAYMENT_NAME",
"dataNullable": true,
Expand Down Expand Up @@ -1127,7 +1127,7 @@
},
{
"auditType": "NONE",
"calculatedPropertyExpressionCreate": "new NumberGeneratorService().generate(18)",
"calculatedPropertyExpressionCreate": "new NumberGeneratorService().generateByType('Customer Payment')",
"dataLength": "20",
"dataName": "CUSTOMERPAYMENT_NAME",
"dataNullable": true,
Expand Down Expand Up @@ -1547,7 +1547,7 @@
},
{
"auditType": "NONE",
"calculatedPropertyExpressionCreate": "new NumberGeneratorService().generate(19)",
"calculatedPropertyExpressionCreate": "new NumberGeneratorService().generateByType('Supplier Payment')",
"dataLength": "20",
"dataName": "SUPPLIERPAYMENT_NAME",
"dataNullable": true,
Expand Down Expand Up @@ -2017,7 +2017,7 @@
},
{
"auditType": "NONE",
"calculatedPropertyExpressionCreate": "new NumberGeneratorService().generate(19)",
"calculatedPropertyExpressionCreate": "new NumberGeneratorService().generateByType('Supplier Payment')",
"dataLength": "20",
"dataName": "SUPPLIERPAYMENT_NAME",
"dataNullable": true,
Expand Down Expand Up @@ -2464,7 +2464,7 @@
},
{
"auditType": "NONE",
"calculatedPropertyExpressionCreate": "new NumberGeneratorService().generate(20)",
"calculatedPropertyExpressionCreate": "new NumberGeneratorService().generateByType('Employee Payment')",
"dataLength": "20",
"dataName": "EMPLOYEEPAYMENT_NAME",
"dataNullable": true,
Expand Down Expand Up @@ -2934,7 +2934,7 @@
},
{
"auditType": "NONE",
"calculatedPropertyExpressionCreate": "new NumberGeneratorService().generate(20)",
"calculatedPropertyExpressionCreate": "new NumberGeneratorService().generateByType('Employee Payment')",
"dataLength": "20",
"dataName": "EMPLOYEEPAYMENT_NAME",
"dataNullable": true,
Expand Down
6 changes: 3 additions & 3 deletions codbex-payments/codbex-payments.model
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
},
{
"auditType": "NONE",
"calculatedPropertyExpressionCreate": "new NumberGeneratorService().generate(18)",
"calculatedPropertyExpressionCreate": "new NumberGeneratorService().generateByType('Customer Payment')",
"dataLength": "20",
"dataName": "CUSTOMERPAYMENT_NAME",
"dataNullable": "true",
Expand Down Expand Up @@ -486,7 +486,7 @@
},
{
"auditType": "NONE",
"calculatedPropertyExpressionCreate": "new NumberGeneratorService().generate(19)",
"calculatedPropertyExpressionCreate": "new NumberGeneratorService().generateByType('Supplier Payment')",
"dataLength": "20",
"dataName": "SUPPLIERPAYMENT_NAME",
"dataNullable": "true",
Expand Down Expand Up @@ -757,7 +757,7 @@
},
{
"auditType": "NONE",
"calculatedPropertyExpressionCreate": "new NumberGeneratorService().generate(20)",
"calculatedPropertyExpressionCreate": "new NumberGeneratorService().generateByType('Employee Payment')",
"dataLength": "20",
"dataName": "EMPLOYEEPAYMENT_NAME",
"dataNullable": "true",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class CustomerPaymentController {
this.checkPermissions('write');
this.validateEntity(entity);
entity.Id = this.repository.create(entity) as any;
response.setHeader('Content-Location', '/services/ts/codbex-payments/gen/codbex-payments/api/CustomerPayment/CustomerPaymentService.ts/' + entity.Id);
response.setHeader('Content-Location', '/services/ts/codbex-payments/gen/codbex-payments/api/CustomerPayment/CustomerPaymentController.ts/' + entity.Id);
response.setStatus(response.CREATED);
return entity;
} catch (error: any) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class EmployeePaymentController {
this.checkPermissions('write');
this.validateEntity(entity);
entity.Id = this.repository.create(entity) as any;
response.setHeader('Content-Location', '/services/ts/codbex-payments/gen/codbex-payments/api/EmployeePayment/EmployeePaymentService.ts/' + entity.Id);
response.setHeader('Content-Location', '/services/ts/codbex-payments/gen/codbex-payments/api/EmployeePayment/EmployeePaymentController.ts/' + entity.Id);
response.setStatus(response.CREATED);
return entity;
} catch (error: any) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class PaymentAdjustmentController {
this.checkPermissions('write');
this.validateEntity(entity);
entity.Id = this.repository.create(entity) as any;
response.setHeader('Content-Location', '/services/ts/codbex-payments/gen/codbex-payments/api/PaymentAdjustment/PaymentAdjustmentService.ts/' + entity.Id);
response.setHeader('Content-Location', '/services/ts/codbex-payments/gen/codbex-payments/api/PaymentAdjustment/PaymentAdjustmentController.ts/' + entity.Id);
response.setStatus(response.CREATED);
return entity;
} catch (error: any) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class PaymentRecordController {
this.checkPermissions('write');
this.validateEntity(entity);
entity.Id = this.repository.create(entity) as any;
response.setHeader('Content-Location', '/services/ts/codbex-payments/gen/codbex-payments/api/PaymentRecord/PaymentRecordService.ts/' + entity.Id);
response.setHeader('Content-Location', '/services/ts/codbex-payments/gen/codbex-payments/api/PaymentRecord/PaymentRecordController.ts/' + entity.Id);
response.setStatus(response.CREATED);
return entity;
} catch (error: any) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class PaymentDirectionController {
try {
this.validateEntity(entity);
entity.Id = this.repository.create(entity) as any;
response.setHeader('Content-Location', '/services/ts/codbex-payments/gen/codbex-payments/api/Settings/PaymentDirectionService.ts/' + entity.Id);
response.setHeader('Content-Location', '/services/ts/codbex-payments/gen/codbex-payments/api/Settings/PaymentDirectionController.ts/' + entity.Id);
response.setStatus(response.CREATED);
return entity;
} catch (error: any) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class PaymentTypeController {
this.checkPermissions('write');
this.validateEntity(entity);
entity.Id = this.repository.create(entity) as any;
response.setHeader('Content-Location', '/services/ts/codbex-payments/gen/codbex-payments/api/Settings/PaymentTypeService.ts/' + entity.Id);
response.setHeader('Content-Location', '/services/ts/codbex-payments/gen/codbex-payments/api/Settings/PaymentTypeController.ts/' + entity.Id);
response.setStatus(response.CREATED);
return entity;
} catch (error: any) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class SupplierPaymentController {
this.checkPermissions('write');
this.validateEntity(entity);
entity.Id = this.repository.create(entity) as any;
response.setHeader('Content-Location', '/services/ts/codbex-payments/gen/codbex-payments/api/SupplierPayment/SupplierPaymentService.ts/' + entity.Id);
response.setHeader('Content-Location', '/services/ts/codbex-payments/gen/codbex-payments/api/SupplierPayment/SupplierPaymentController.ts/' + entity.Id);
response.setStatus(response.CREATED);
return entity;
} catch (error: any) {
Expand Down

This file was deleted.

Loading