Skip to Content
0

XSJS Modification Exit - Param.Connection Issue

Jan 27, 2017 at 03:30 AM

31

avatar image

Hi,

I am writing a modification exit using XSJS by looking through the below link.

Tutorial: Creating a Modification Exit with XS JavaScript

The above link gives a good idea of the input values being passed. My question is the param.connection property that is passed, is that a connection of $.hdb? If not, is there a way by which I can translate the connection property that I get inside the exit to a $.hdb.getConnection() connection. The reason I ask this question is the record set that I get on the param.connection property does not allow me to navigate or retrieve the value of a column by its name, rather I have to specify the position of the column like rs1.getString(22). Instead i would like to get the value with rs1.CREATED_ON.

Will I be able to achieve this? Any ideas on this?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers