Skip to content

Question (issue) related to co-products #591

Answered by jdetaeye
GOllagnon asked this question in Q&A
Discussion options

You must be logged in to vote

In the documentation, it is stated that this field can be left blank, as it is systematically filled with the item produced by the operation in simple case, and that behaviour happens ... except "Only in exceptional modeling situations should you worry about setting this field yourself. Eg when an operation produces multiple items".

That's a bit outdated. These days the best practice is the other way around: we always set the item on the operation, and in most models (not yours!) we don't create the operation-material record for the produced item.

Some hints:

  • Set the the operation.item field to X on the operation which you want to create when there is a requirement for item X. I.e if I…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@GOllagnon
Comment options

Answer selected by GOllagnon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants