Hi
Please can you provide more context as to why you want to do this…the standard functionality allows a user to start/stop activity against a job operation with 0 values against these fields so i am unsure as to why you need to do this?
Ms. Sue: our users would like to see the Job Operation Production Quantity, the Current Completed Qty and the Remaining Qty as reference fields.
I know this is not an unusual request - i have seen other references to the same thing - however the code examples are old and go back to 2008 and VB so they are not relevant anymore.
let’s go low code and set the values in callContextBpmData. I tried a couple of other ways, but this seems clearer. I am not using an FKV although I started there. I added three fields to end activity. callContextBpmData. Number01, 02 and 03. This bpm has three Set callContextBpmData widgets. This select is for RunQty, then is an identical on for QtyCompleted and the third subtracts 2 from 1.
I would have only had one select in code, but it is one field each.