[rt-users] Order of custom field updates
gd250 at cam.ac.uk
Sat Dec 6 14:01:40 EST 2014
Set the scrip to run as batch. It'll then run after all the other transactions have completed.
On 6 December 2014 18:14:04 GMT+00:00, Woody - Wild Thing Safaris <woody at wildthingsafaris.com> wrote:
>I have a scrip that runs onCustomFieldChange, and it creates another
>ticket using data from other custom fields.
>Payment amount - value
>Payment currency - select
>Payment destination - select
>Payment type - select
>A scrip triggers on change of Payment type, but when the new ticket is
>created, amount and currency are defined, but destination is not set so
>i get something like
>Incoming Payment of xxxxx GBP - .
>Incoming Payment of xxxx GBP - Current account
>I have checked the id number of the custom fields thinking maybe they
>update in id order, but Payment Type is the lowest, and Payment
>Destination is not the highest. Payment type is the last in the list
>that's displayed, so I'm not sure how the order of field updates is
>Can anyone suggest a solution or provide any info on how the order of
>field updates is defined and how i can change it (presumably by
>field names or deleting and re-adding?)
>Richard Wood (Woody)
>Wild Thing Safaris Ltd.
>PO BOX 34514 DSM
>Office: +255 (0) 222 617 166
>Office Mobile: +255 (0) 773 503 502
>Direct: +255 657 799 468
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rt-users