This commit is contained in:
2021-06-23 20:04:55 +00:00
parent b21cf8ce57
commit 6927412ca8
28 changed files with 61 additions and 34 deletions

View File

@@ -478,8 +478,9 @@ MULTIPLE discount / markup ITEMS
////////////////////////////////////////////////////////////////////////////////////////////////
//REPORTING
//
public async Task<JArray> GetReportData(long[] idList)
public async Task<JArray> GetReportData(DataListSelectedRequest dataListSelectedRequest)
{
var idList = dataListSelectedRequest.SelectedRowIds;
JArray ReportData = new JArray();
while (idList.Any())
{
@@ -554,11 +555,11 @@ MULTIPLE discount / markup ITEMS
// IMPORT EXPORT
//
public async Task<JArray> GetExportData(long[] idList)
public async Task<JArray> GetExportData(dataListSelectedRequest)
{
//for now just re-use the report data code
//this may turn out to be the pattern for most biz object types but keeping it seperate allows for custom usage from time to time
return await GetReportData(idList);
return await GetReportData(dataListSelectedRequest);
}
@@ -672,6 +673,8 @@ MULTIPLE discount / markup ITEMS
}//end of process notifications