Hi,
Thanks to everybody who tried to help me so far. Reading the comments makes me think that I wasn't very clear and I want to apologise for this. I'm not perfectly fluent in this language so I am the one to blame.
I will insist on the fact that I used 2D codes for our inserters for years but, I just cannot send productions in one go when some letters have not the same numbers of sheets. This issue leds me to split the data and send the letters in batch according to the amount of sheet. And, that is why I had great expectation with the new feature. Curiously, other department and teams in our company dont experiment this behavior using their composition software. We have many solution for composition and XMPie is the only software having this issue.
Here is the description of the elements inserters needs to see in the 2d codes.
field one: sequence number (six digits pad with zeros) "000001" Generated with a variable « GetEnv("CurRecordNumber") » So this field can be pass with an ador with the state.adorValue
field two: sheet number (three digits pad with zeros) "001" This field will use the state.pageIndex
field three: number of sheets in the enveloppe) (three digits pad with zeros) "002" This field will use the state.pageCount
field 4, 5 and 6: reserved for calling the station. These three digits can easily be edited via uPlan. So just forget them (for now)!
field seven: a counter, which loop from zero to 9 (the inserter will stop if the sequence is broken) My main issue here. Just wondering if there is a way to extract
the last digit of state.pageIndex. It should also add it (+) to the variable « GetEnv("CurRecordNumber") »
field eight: the last 12 caracters are static and its use to store information about the docket number and the customer.
So the main issue is with no doubt the field 7
The Field 7 is a counter looping from 0 to 9, which stop the insert if the sequence is broken.
The way I was dealing with it so far was to extract the last digit of the actual sequence number, which is generated with a variable « GetEnv("CurRecordNumber") »
What I call the «Field 7» wont work with multiple range of sheet. That means the letter who have a different number of sheet, will not display the right number.
Finally, to Tyrone;
Great piece of work Tyrone, thankyou.
Looking at it I see that some value of the 2D Code are extract fro the data. Unfortunately our standard will prevent us to edit the data from tour customer.
Thanks anyway. I appreciate.
to Bob,
Any input are valuable and appreciated so thank you for that.
To M. Couch,
I will see if the feature request form in the XMPie Customer Info Portal will work for me. Thank you.