-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Cannot delete or update EconomicEvents #33
Comments
I can't speak to the implementation, but in Valueflows, we recommend that an EconomicEvent not be deletable. This is because you never know when accounting reports might have picked it up. So it must be "backed out" by an opposing EconomicEvent that nets the resource effect to zero. Some event actions have naturally opposing ones, some don't. Events are designed to not need to use negative quantities in "normal" operation (i.e. different events naturally decrement or increment resources), but we will have to allow them for backing some things out. Also note that fields you cannot update in EconomicEvent are: resourceQuantity, effortQuantity, atLocation, inScopeOf, resourceConformsTo, resourceInventoriedAs, provider, receiver, action, hasBeginning, hasEnd, hasPointInTime, inScopeOf. Same reasoning, these could possibly affect the accounting derived from events. |
I understand, thank you @fosterlynn for the clarification. |
The following
results in
while in backend
The text was updated successfully, but these errors were encountered: