- OutTransactionItem

Hey there,
I got stuck in GetTransactionData WF.
My if statement works well, but then I am getiing stopped at very first assing function within “Then” Block.
Here is the command:
out_TransactionItem=in_WIList(in_TransactionNumber)

In order to test is WIList works well, I created one message box before this assing funciton (In_WIList.Count.ToString) - seems to be allright as I am getting message 1 for the very first transaction.

out_TransactionItem, direction OUT, Arugment Type Data Row
in_WIList, direction IN, Argument Type DataRow

I have a feeling that problem comes from out_TransactionItem - but how? This is very 1st time that attribute is being used in WF.

I am getting the message “Assing function failed”.

Help is very welcomed!
Thanks!

HI @sspi1153

Try this

out_TransactionItem=in_WIList(in_TransactionNumber-1) 

Thanks,
Prankur

5 Likes

Looks like it works!
Thanks!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.