Production (Light) system enable to complete production without end product
Description
Environment
Attachments
Activity

Hiep Lq June 26, 2017 at 11:31 AM
hi and
can you review and commit
it's easy to redo:
1. active production window by system admin
2. login to garden work, create a production
3. go to tab "Production Plan" add PChair product
4. back to "Production Header" run "create production"
5. do complete document, get error message "Production does not contain End Product"
fix it.

Hiep Lq July 18, 2016 at 5:32 PM
"detail line" i mean "Production Line".
old logic: if haven't any "Production Line", document with complete success
if have some "Production Line" when process any "Production Line" have error, document is un-success
logic after this ticket:
if haven't end product line, document is un-success
if have end product line, complete document
so it override case haven't any product line.
solution true or not depend question. treatment haven't any record = haven't end product?
Norbert Bede July 18, 2016 at 1:27 PM
what is detail line ? what you mean over this logic ? n

Hiep Lq July 18, 2016 at 1:24 PM
before have logic:
if haven't any detail line, it's ok to complete document . this ticket over this logic.
it's ok?

Hiep Lq July 18, 2016 at 10:53 AM
it break
steps to reproduce
1. create a new Production (single product)
2. delete end product and complete it
3. result: system enable to complete production without end product
suggested improvement: denied to complete production without end product