Closed hawea closed 10 years ago
This in itself does not show a bug. The first thing u need to do is also confirm that the material group does not come from the task template. Have just checked and it doesn't appear to.
Next I need to know should it be there or shouldn't it? I.e. which part is the error?
Where has it gone wrong? Has something been created then deleted? Is the error repeatable?
Have tried to call but can't get thru. Am awaiting further info.
@hawea check resolved as below and close.
The problem was as explained over phone - a material group had been deleted from the assembly.
This hilited an issue with the current design - being that if we were just to hide deleted items then the item would have been removed from all existing tasks - created prior to the deletion from the assembly - but only where a selection hadn't been made. This could cause confusion. This occurred becuase a tasktomaterial record did not exist until it was selected.
In the new solution this has been resolved, and though a tasktomaterial record does not exist until created we now create a tasktomaterialtoassemblytomaterialgroup record when an assembly is attached and similar from templates when task is created.
There are several tests needed to verify the solution:
for each of materials and assemblies, attached via template and assembly, ensure that that the groups are visible in the task. Ensure that selection of material and assembly can be made, and can then be updated and then deleted.
Then see what happens to existing tasks when the groups are deleted from the associated task templates and assemblies - this implies another test of creating again based on template and assembly after the removal
Awaiting bug fix on task quantity before I can test.
Checks which need to be done: A: Material Group attached directly to Task Template
B: Material Group attached to Task Template via Assembly
C: Assembly Group attached directly to Task Template
D: Assembly Group attached to Task Template via Assembly
@hawea. You should be able to test now, NB: I havn't yet done the change re quantity - i.e. just using the default task template quantity but am about to start work on that, but this shouldn't hold up your testing above
@hawea check resolved and close - have added quantity onto task view now also and should alter as template changes.
Reopening just to check everything else is still working as it was, with the new updates.
Appears to be resolved. Have checked today.
Hi Andrew,