frePPLe / frepple

frePPLe - open source supply chain planning
https://frepple.com
Other
524 stars 248 forks source link

difference between operation and child suboperation in operation definition table #337

Closed flysky9981 closed 5 years ago

flysky9981 commented 5 years ago

in version 6.0, what's the difference between operations and child suboperations in operation definition table? is child subopeartions deprecated? and if I add an operation in operation definition table using the same name of an existing operation, it would fail. Is this means that I can only create a new operation in the operation definition table rather than reuse an existing one?

jdetaeye commented 5 years ago

This type of question should be posted to the user-group. It's not an issue, bug or enhancement request for which you file a github ticket.

in version 6.0, what's the difference between operations and child suboperations in operation definition table? is child subopeartions deprecated?

The documentation is very clear on that indeed. See https://frepple.com/docs/current/user-guide/model-reference/suboperations.html

and if I add an operation in operation definition table using the same name of an existing operation, it would fail.

The name is the primary key indeed.

Is this means that I can only create a new operation in the operation definition table rather than reuse an existing one?

Correct, reusing operations is no longer possible. In practice I haven't seen any implementation project that did reuse operations.