Hey folks, been trying this for a while but can’t ...
# suitescript
n
Hey folks, been trying this for a while but can’t get it to work.. How do you set a custom transaction type status in script? The internal IDs of the statuses are A and B. When I do a search of the custom transaction type, I can see the criteria is:
Copy code
["status","anyof","Custom107:B"]
(Custom107 I guess is the ID of the custom transaction type) But I can’t set “Custom107:B” as the value of the “status” field on the record (at least not with record.submitFields).. anyone got a clue?
m
Setting
transtatus
to
B
seems to work
message has been deleted
n
Hm will try tomorrow and let you know. Thanks @michoel !
Worked like a charm @michoel, thank you 🙂