Basically as it says in title - how do I access the Package value in script?
I use a value < 1 to signify the package is Large Letter and not Parcel. I use Script to determine if a parcel should be sent as Tracked or not as the conditions are too complex to be done via Shipping Rules. This is working fine - except for my international Large Letter items - I just want to send regular and not tracked.
The Package is in Invoice: