[IMP] construction{_developer}: add Sale Order margin analysis#1796
Draft
[IMP] construction{_developer}: add Sale Order margin analysis#1796
Conversation
Collaborator
properly linked projets to SOs
removed almost duplicate SO2 from sarah davis
category logic demo data moved category assignation from developer to construction removed recursive dependency, replaced with an automation
61c07c3 to
74c5ede
Compare
74c5ede to
e42582a
Compare
put the drop table before each call to the sql query instead of once in the model (was cleaner but doesn't work for unknown reasons)
71e6299 to
dba1712
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This commit adds a new view to compute the margin of products/work items/sale order lines on projects and sale orders using an SQL view through a server action.
This commit also heavily reworks the demo data by creating the SOLs from the template instead of copying every single line, which automatically links the SO and the project together.
task-5194350