We are trying to receive an email alert when someone 'allocates' or 'unallocates' in an Order and/or a Job.
 Using the BPM email.p in a Data Directive (in-transaction type) , on the PartAlloc table, we notice that when we 'unallocate', our RowMod value comes in at 'U' (not 'D'), when we allocate, RowMod = 'A'-as expected.
 All values coming from the 'ttPartAlloc' temp table.
 I'm also grabbing the 'AllocatedQty' value from the PartAlloc table in my code, trying to establish what the qty was before the change.Â
 It's not clear what the sequence of events is in a Data Directive:
ie: If we are Unallocating, lets say removing an allocation of '10', I would expect the PartAlloc.AllocatedQty to be '10' (before changing), and the 'ttPartAlloc.AllocatedQty' to be '0'.
 We are seeing the PartTable.AllocatedQty as being '0' also, as if the data has already been written to PartTable.
 Can anyone shed any light on the order of events we should expect? Could a Method Directive be a better approach?
Bill J.
[Non-text portions of this message have been removed]
 Using the BPM email.p in a Data Directive (in-transaction type) , on the PartAlloc table, we notice that when we 'unallocate', our RowMod value comes in at 'U' (not 'D'), when we allocate, RowMod = 'A'-as expected.
 All values coming from the 'ttPartAlloc' temp table.
 I'm also grabbing the 'AllocatedQty' value from the PartAlloc table in my code, trying to establish what the qty was before the change.Â
 It's not clear what the sequence of events is in a Data Directive:
ie: If we are Unallocating, lets say removing an allocation of '10', I would expect the PartAlloc.AllocatedQty to be '10' (before changing), and the 'ttPartAlloc.AllocatedQty' to be '0'.
 We are seeing the PartTable.AllocatedQty as being '0' also, as if the data has already been written to PartTable.
 Can anyone shed any light on the order of events we should expect? Could a Method Directive be a better approach?
Bill J.
[Non-text portions of this message have been removed]