Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade from 1.3 to 1.4 imports department ID into control code (differs from project, breaks AP/AR screens) #1220

Closed
craigwebster opened this issue Jan 6, 2016 · 0 comments
Milestone

Comments

@craigwebster
Copy link

Doing my upgrade path, from 1.2 to 1.3, then immediately to 1.4.20, I found that department and project were handled differently in being imported into the new business unit (reporting unit) structure -- Ie. Department ID was made the control code (even though it is I think necessarily an auto-generated number), while Project Number became the control code (which is user-definable and was the dropdown text).

I think probably the import should function by taking column department.description for the control code, since that was the previous dropdown.

I hacked this temporarily by changing AR and AP to show both control code and description for business/reporting units, but this is poor for various reasons. (See diff file aa.pl.diff.txt.)

A better post facto workaround is probably to move all the department descriptions into department control code with the extremely simple SQL:

UPDATE BUSINESS_UNIT
SET CONTROL_CODE = DESCRIPTION
WHERE CLASS_ID = 1;

If for some reason you had duplicate department names, you'd have to fix that of course.

@craigwebster craigwebster changed the title Upgrade from 1.3 to 1.4 imports department ID into control code, but project description into control code Upgrade from 1.3 to 1.4 imports department ID into control code (differs from project, breaks AP/AR screens) Jan 6, 2016
@ehuelsmann ehuelsmann modified the milestones: 1.4.23, 1.4.24 Jan 7, 2016
@einhverfr einhverfr modified the milestones: 1.4.24, 1.4 Feb 14, 2016
einhverfr added a commit to einhverfr/LedgerSMB that referenced this issue Jul 31, 2016
@einhverfr einhverfr modified the milestones: 1.4.32, 1.4 Jul 31, 2016
einhverfr added a commit that referenced this issue Jul 31, 2016
einhverfr added a commit that referenced this issue Jul 31, 2016
ylavoie pushed a commit to ylavoie/LedgerSMB that referenced this issue Jul 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants