trying to change the current TC.vtssearchrow to TCA.vtssearchrow.
original code
vtscolumns=TC.vtcSearchRow("p_UserNum","152666",",","068_VTS")
new code
vtscolumns=TCA.vtcSearchRow("p_UserNum","152666",",","068_VTS").then(function(vtscolumns){
TCA.done(vtscolumns);
}).catch(function(error) {
TCA.doneWithError(error);
});
the new command is returning [object Object] , the same as the original code
with the original code, I used this command to get the data into a string I can parse
vtsf = JSON.stringify(vtscolumns);
old code returns a string like
{"p_Password":"12345","p_UserFirstName":"APerf","p_UserID":"APerfTester00001@xxx.com","p_UserLastName":"Tester00001","p_UserNum":"152666"}
the new TCA code returns {} ... which assume means the TCA.vtssearchrow is not returning a value.
How can I check the value in the TCA.done variable or the error variable. they are not showing any values in the Inspector Panel when in Script Developer.
Thanks.