Can you update the coding to be accepted with hyphens rather than slashes? Matches other data entry methods
eg. 552-123456-2015-1234-12345 rather than 552/123456/2015/1234/12345
a gl can be 26 characters I get the following error when I enter a valid gl code. "General ledger coding update failed: SequelizeDatabaseError: value too long for type character varying(25)"
The format is vote (3 characters) - Program (6 characters) - object code (4 digits) - subledger 1 (0-4 characters) - subleger 2 (0-5 characters)
Implementation
Increase size of general ledger code field.
Add validation to field in front- and back-end.
Add some tests for the validation.
Put a bunch of tooltips in the UI.
Fixes https://github.com/icefoganalytics/travel-authorization/issues/156
Context
On the Expense Form (https://travel-auth-dev.ynet.gov.yk.ca/my-travel-requests/84/expense/edit?showEdit=1) Coding Card
Can you update the coding to be accepted with hyphens rather than slashes? Matches other data entry methods eg. 552-123456-2015-1234-12345 rather than 552/123456/2015/1234/12345
a gl can be 26 characters I get the following error when I enter a valid gl code. "General ledger coding update failed: SequelizeDatabaseError: value too long for type character varying(25)"
The format is vote (3 characters) - Program (6 characters) - object code (4 digits) - subledger 1 (0-4 characters) - subleger 2 (0-5 characters)
Implementation
Increase size of general ledger code field. Add validation to field in front- and back-end. Add some tests for the validation. Put a bunch of tooltips in the UI.
Screenshots
Create G/L code field
Edit G/L code field
Testing Instructions
dev test
(ordev test_api
)dev up