copyWith method
WebApiModulesReportsAccountingReportsGlDistributionReportGlDistributionReportRequest
copyWith({
- DateTime? fromDate,
- DateTime? toDate,
- String? officeLocationId,
- String? glDistributionType,
- String? glAccountId,
- String? excludeGlAccountId,
- String? dealId,
- bool? isSomeDetail,
- bool? isFullDetail,
- String? userDepartmentId,
- String? userLocationId,
- String? userWarehouseId,
- String? customReportLayoutId,
- bool? isSummary,
- bool? includeSubHeadingsAndSubTotals,
- bool? includeIdColumns,
- String? locale,
- List<
FwStandardModelsCheckBoxListItem> ? excelfields, - String? reportName,
- bool? useEmailTemplate,
Implementation
WebApiModulesReportsAccountingReportsGlDistributionReportGlDistributionReportRequest
copyWith(
{DateTime? fromDate,
DateTime? toDate,
String? officeLocationId,
String? glDistributionType,
String? glAccountId,
String? excludeGlAccountId,
String? dealId,
bool? isSomeDetail,
bool? isFullDetail,
String? userDepartmentId,
String? userLocationId,
String? userWarehouseId,
String? customReportLayoutId,
bool? isSummary,
bool? includeSubHeadingsAndSubTotals,
bool? includeIdColumns,
String? locale,
List<FwStandardModelsCheckBoxListItem>? excelfields,
String? reportName,
bool? useEmailTemplate}) {
return WebApiModulesReportsAccountingReportsGlDistributionReportGlDistributionReportRequest(
fromDate: fromDate ?? this.fromDate,
toDate: toDate ?? this.toDate,
officeLocationId: officeLocationId ?? this.officeLocationId,
glDistributionType: glDistributionType ?? this.glDistributionType,
glAccountId: glAccountId ?? this.glAccountId,
excludeGlAccountId: excludeGlAccountId ?? this.excludeGlAccountId,
dealId: dealId ?? this.dealId,
isSomeDetail: isSomeDetail ?? this.isSomeDetail,
isFullDetail: isFullDetail ?? this.isFullDetail,
userDepartmentId: userDepartmentId ?? this.userDepartmentId,
userLocationId: userLocationId ?? this.userLocationId,
userWarehouseId: userWarehouseId ?? this.userWarehouseId,
customReportLayoutId: customReportLayoutId ?? this.customReportLayoutId,
isSummary: isSummary ?? this.isSummary,
includeSubHeadingsAndSubTotals: includeSubHeadingsAndSubTotals ??
this.includeSubHeadingsAndSubTotals,
includeIdColumns: includeIdColumns ?? this.includeIdColumns,
locale: locale ?? this.locale,
excelfields: excelfields ?? this.excelfields,
reportName: reportName ?? this.reportName,
useEmailTemplate: useEmailTemplate ?? this.useEmailTemplate);
}