csv output add random number

54 views
Skip to first unread message

Tan Tran

unread,
Aug 8, 2024, 4:05:09 AM8/8/24
to Bots Open Source EDI Translator
Hi Everyone,
Hope you're all well!
Thank you so much for software and time supporting us.
I just have a quick question.
I translated 810 into 2 csv files. One contains header (supplier no etc) and other contains line items (apn, line cost etc...)
I need to add a random number to both csv files so we can add relationship between header and lines.
Can you please advise how to do it?
Again, thank you so much for your time.
Tan.T

Henk-Jan Ebbers

unread,
Aug 8, 2024, 5:12:28 AM8/8/24
to bots...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Bots Open Source EDI Translator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to botsmail+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/botsmail/5d8220cc-9340-4017-bf2e-9455d9d04b86n%40googlegroups.com.

Tan Tran

unread,
Aug 8, 2024, 7:37:36 AM8/8/24
to Bots Open Source EDI Translator
Thank you so much.

Another question please.

Can I set variable value from transform.unique() function inside a mapping script then use the variable from another mapping script?

Eppye Bots

unread,
Aug 8, 2024, 7:41:31 AM8/8/24
to 'Chuck Turco' via Bots Open Source EDI Translator
no.
unique number is generated.



Tan Tran

unread,
Aug 9, 2024, 3:02:04 AM8/9/24
to Bots Open Source EDI Translator
no worries.
I simply call the function into a variable then use it anywhere that required. In this case, both header and lines csv.
Thank you so much
Reply all
Reply to author
Forward
0 new messages