Original Message:
Sent: 05-08-2023 19:53
From: Ocal Yilmaz
Subject: MM02 update characteristics values
Thanks Sigrid
For some reason, my recording isn't capturing the same step to switch class type using filter...if you have the script handy, will you be able to share? I'll try to copy paste the codes/lines missing into my script and see if that works.
I'm familiar with the conditions for First transaction so I'll also apply them accordingly.
Original Message:
Sent: 5/8/2023 7:31:00 PM
From: Sigrid Kok
Subject: RE: MM02 update characteristics values
Hi Ocal
I can capture swapping class types by clicking the other class type button
Note I'm using standard recording without controls, if that makes a difference.
Please note you'll want to ensure you handle the:
(1) IF FIRST TRANSACTION - this is standard, as the first transaction will always have the pop-up to select class type, but after that it will remember the last class type for subsequent rows and won't have a pop-up by default.
and
(2) IF NOT FIRST TRANSACTION, so that you always have the pop-up to choose the class type for each row twice - or however many class types you need to capture. Again, MM02 remembers the class type for subsequent rows, so you'll want to force it to change class types so that you have control over which characteristics you're working with.
for this you'll click that button to swap class types, and then select the next one. I use the FILTER and pass in the class type so that I'm certain I am selecting the right one.
Lastly, in my script I have this twice - once for material class and once for batch class - and I have the material class hardcoded, but you can also map it. I also created two loops, one for each class type. It's one design that works, but you can author it how you like.
HTH,
Sigrid
------------------------------
Sigrid Kok
Precisely Software Inc.
------------------------------