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