I have a MR that accepts CSV as an input and proce...
# suitescript
k
I have a MR that accepts CSV as an input and processes its values to create a transaction. I need to create the transaction line items with the exact order from the csv file. Map stage - works as expected (10006130, 10006127, 10006132) Reduce stage - logged the reduce obj upon entry and its in a different order, see 2nd photo anyone who experienced the same? is there any way to prevent order being random? Note: Article No = Item ID
k
@Kristine You should probably have index numbers like 1,2,3 so that you can re-arrange in Reduce stage
this happens when you run in multiple buffer and not required in order using concurrency
k
ohh that's why! i've been very curious about the root cause. makes sense thanks so much 🙂