This topic contains 6 replies, has 0 voices, and was last updated by mcelosa 9 years, 3 months ago.
-
AuthorPosts
-
July 30, 2015 at 12:32 pm #10014
SererraMikeWhen creating an item fulfillment, I have a workflow that creates a custom record. Most of the fields I’m populating work well, but I’d like to populate the IF# as well. This is obviously a problem because the trans # isn’t assigned until after the IF is saved. Does anyone have a way around this?
Thanks,
This is a cached copy. Click here to see the original post. -
July 30, 2015 at 12:59 pm #10015
trimbleeHave you tried changing the Trigger Type to After Submit?
-
July 30, 2015 at 1:52 pm #10016
SererraMikeThanks Evan. I have. It seems even After Submit, still fires before there is a # assigned.
-
August 3, 2015 at 2:27 pm #10017
mcelosaDid you set the Initiation to After Record Submit? What is the field type of the one you’re setting the value of the transaction number with? Did you select ‘Current Record’ under the ‘Selection’ on the Create Record action page? Kindly check these three as it could only be a misconfiguration.
-
August 3, 2015 at 9:06 pm #10018
PatrickAlcThis could be done without any scripting involve. If the custom record has field that is linked to the IF then the Transaction # can simply be source using the sourcing and filtering.
Best Practice: If you are creating a record B out of another record A you should always create record B after saving record A and should link them by a custom field.
-
August 6, 2015 at 1:41 pm #10019
SererraMikeThanks for the information.Both the workflow itself & the action are set to “After Record Submit”.
The custom record has a Free Form Text field that I’m trying to populate with the transaction #. (I’ve tried to do this with a List/Transaction field as well, but prefer to use the text field).
To set the field I’ve tried setting “Value Field” = Transaction Number & “Formula” = {transactionnumber} in the Parameters area.
None of the methods I’ve tried have populated the field. Using the formula method I get the message: ERROR: Field ‘transactionnumber’ Not Found. -
August 7, 2015 at 3:24 pm #10020
mcelosaThank you for those details SererraMike. To solve your issue, the formula that you should use is {tranid} instead of {transactionnumber}. The {transactionnumber} is a field similar to {tranid} but it is only supported for some other transaction types, Vendor Bill record for example.
The problem is that the {tranid} is not part of the current field metadata of SuiteFlow. Please submit a support case to raise this to the attention of our development team.
-
AuthorPosts
You must be logged in to reply to this topic.