我正在尝试构建一个 C# 脚本,该脚本将检索保存的 Netsuite 搜索并允许我在 SSIS 2008 脚本组件中将这些值放入 RDBMS。我正在寻找语法示例以获取自定义字段的值,这真是太麻烦了。我正在处理的事务行几乎完全由自定义字段组成。
是这么简单还是我想这样做太简单了?
// sr is a Netsuite Search Result defined earlier
while (sr.totalRecords > (sr.pageSize * sr.pageIndex))
{
// output to File
// use StreamWriter to create output file from Connection above
Dts.Events.FireInformation(0, "", DateTime.Now.ToString() + "Begin loop through records ...", "", 0, ref bul);
foreach (TransactionSearchRow row in sr.searchRowList)
{
// Now what?
row.
}
Dts.Events.FireInformation(0, "", DateTime.Now.ToString() + "... End loop through records", "", 0, ref bul);
sr = service.searchMore(sr.pageIndex + 1);
} // ** end while (sr.totalRecords > (sr.pageSize * sr.pageIndex))