Go cry me a river lightweight.
Talk to me when you start binge eating at 2:00am and grab a couple shots of tequila,
because you’ve been crying at a null reference you can’t find for 3 days.
Go cry me a river lightweight.
Talk to me when you start binge eating at 2:00am and grab a couple shots of tequila,
because you’ve been crying at a null reference you can’t find for 3 days.
{CSVRows.Col0} is wrong unless you named your dataview CSVRows, but it looks like you named it FuncDS, so it should be:
{
"Company": "{CallContextClientData.CurrentCompany}",
"SerialNumber": "{FuncDS.Col0}",
"Scraped": false,
"Voided": false,
"PartNum": "{SNFormat.PartNum}",
"SNPrefix": "",
"SNBaseNumber":"{FuncDS.Col0}",
"SourceRowID": "00000000-0000-0000-0000-000000000000",
"TransType": "PUR-STK",
"PassedInspection": false,
"Deselected": true,
"RawSerialNum": "{FuncDS.Col0}",
"KBLbrAction": 0,
"PreventDeselect": false,
"PreDeselected": true,
"NotSavedToDB": true,
"SysRowID": "00000000-0000-0000-0000-000000000000",
"RowMod": "A"
}
Doesn’t work
Well, I know THAT.
Just pointing out one small point of error.
I’ve got a bit of time. I’ll poke it some more and see if I can get it working here.
Baby steps.
I’m at the point of insanity.
Welcome to Computer Science 101.
Can’t say I ever really left.
You mean welcome to Kinetic… This is Epicor’s version of life… Zero documentation, heart break and it all ends with the bottle and a shotgun.
I’m into ropes more, myself.
And then your drummer goes on to be very successful.
Not sure if Nirvana joke or not…?
This is dumb.
Serial numbers are dumb.
You have a dataset (a view) with a table CSVRows, which is populated with CSVRow objects, and each object has a property “Col0”.
To add as many rows as you have in your dataset, you need to do:
foreach (CSVRow row in FuncDS.CSVRows)
{
row-add(row); // Your binding will then be {row.Col0}
}
I’ll leave it up to you to translate the pseudocode into a Kinetic event with widgets.
try {FuncDS[0].Col0}, see if it adds one row
or possibly {FuncDS.CSVRows[0].Col0}