SG-4253 CLONE - Parts | Stock | Issue Part - Dataspy not correctly run after issuing a part |
Description |
|
When a new dataspy with a store criteria is selected and run and it is not a default dataspy, all stock records are shown after issuing a part, even though the dataspy shows the custom dataspy. 1. Parts | Stock - add several stock records. 2. Parts | Stock - Verify All Stock dataspy is set as default dataspy. 3. Parts | Stock - Create a new dataspy One store, with a store criteria of only one store. 4. Parts | Stock -Run the new dataspy. And select the Stock record. 5. Parts | Stock - Actions → Issue Part - populate required fields and submit. 6. See the dataspy shows One store, which should only show one record, but it shows all records. Even if you run the dataspy, it still shows all records. Only when running All Stock, and then running 'One store', the correct records are shown. Current behavior - Dataspy One store shows all Stock records. Expected behavior - Dataspy One store shows only one record that meets the dataspy criteria. |