Erp-message-handler

I am trying to use the erp-message-handler for debugging events. Ultimately I would like to pass a dataview and a column index or name to a function to total a row in the function and return the total.
This is just a test to learn.

What I am trying to display in with the erp-message-handler is the name of a column vwTestKineticOrderDB.Columns[5].HeaderText as a string

How would I go about doing this? I have gotten the message to show up with text only but have not had any luck getting the column name to show up. I get this
image

2 Likes

When I set up the message to print things, I go Advanced, Param > and change the format there. You can put data from dataviews in the Dataview.Column format. Could you say more on what you need? You might need to surround it in β€œ{Dataview.Column}” to get it to print.


Here I called the Customer Dataview

image
See Customer Name prints from the Dataview.

EDIT: You don’t need the quotes, I did it again without quotes and it printed the text in the second screenshot without quotes.

2 Likes