copyWith method
WebApiModulesSettingsDepartmentLocationDepartmentLocation
copyWith({
- int? id,
- String? departmentId,
- String? department,
- String? locationId,
- String? location,
- String? defaultOrderTypeId,
- String? defaultOrderType,
- String? defaultTransferTypeId,
- String? defaultTransferType,
- String? glPrefix,
- String? glSuffix,
- bool? creditCardFeeFlag,
- String? creditCardFeeId,
- String? creditCardFeeICode,
- String? creditCardFeeDescription,
- double? creditCardFeePercent,
- bool? allowDecreaseOrderQuantityWhenStaged,
- bool? allowDecreaseOrderQuantityWhenOut,
- bool? autoCreditOnSalesReturn,
- String? depositFeeRateId,
- String? depositFeeRateICode,
- String? depositFeeRateDescription,
- bool? updateEstimatedStartAndStopDatesOnSubPurchaseOrders,
- bool? promptToUpdateEstimatedStartAndStopDatesOnSubPurchaseOrders,
- bool? updateBillingStartAndStopDatesOnSubPurchaseOrders,
- bool? promptToUpdateBillingStartAndStopDatesOnSubPurchaseOrders,
- bool? purchaseOrderRequireFirstApproval,
- bool? purchaseOrderRequireSecondApproval,
- bool? purchaseOrderAllowSecondApprovalWithoutFirstApproval,
- double? purchaseOrderUnapproveIncreaseAmount,
- double? purchaseOrderUnapproveIncreasePercent,
- bool? purchaseOrderPreventReceiveUnapproved,
- double? purchaseOrderFirstApprovalThresholdRental,
- double? purchaseOrderFirstApprovalThresholdSales,
- double? purchaseOrderFirstApprovalThresholdParts,
- double? purchaseOrderFirstApprovalThresholdMiscellaneous,
- double? purchaseOrderFirstApprovalThresholdLabor,
- double? purchaseOrderFirstApprovalThresholdRepair,
- double? purchaseOrderFirstApprovalThresholdSubRental,
- double? purchaseOrderFirstApprovalThresholdSubSales,
- double? purchaseOrderFirstApprovalThresholdSubMiscellaneous,
- double? purchaseOrderFirstApprovalThresholdSubLabor,
- double? purchaseOrderSecondApprovalThresholdRental,
- double? purchaseOrderSecondApprovalThresholdSales,
- double? purchaseOrderSecondApprovalThresholdParts,
- double? purchaseOrderSecondApprovalThresholdMiscellaneous,
- double? purchaseOrderSecondApprovalThresholdLabor,
- double? purchaseOrderSecondApprovalThresholdRepair,
- double? purchaseOrderSecondApprovalThresholdSubRental,
- double? purchaseOrderSecondApprovalThresholdSubSales,
- double? purchaseOrderSecondApprovalThresholdSubMiscellaneous,
- double? purchaseOrderSecondApprovalThresholdSubLabor,
- bool? completeRentalWithLAndDOrder,
- bool? storefrontEnableInventoryInquiryEmails,
- String? storefrontInventoryInquiryEmailToAddress,
- bool? storefrontEnableQuoteRequestEmails,
- String? storefrontQuoteRequestEmailToAddress,
- bool? useResponsiblePerson,
- bool? requireResponsiblePerson,
- String? vendorInvoiceModificationsPushToPo,
- bool? inactive,
- String? dateStamp,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesSettingsDepartmentLocationDepartmentLocation copyWith(
{int? id,
String? departmentId,
String? department,
String? locationId,
String? location,
String? defaultOrderTypeId,
String? defaultOrderType,
String? defaultTransferTypeId,
String? defaultTransferType,
String? glPrefix,
String? glSuffix,
bool? creditCardFeeFlag,
String? creditCardFeeId,
String? creditCardFeeICode,
String? creditCardFeeDescription,
double? creditCardFeePercent,
bool? allowDecreaseOrderQuantityWhenStaged,
bool? allowDecreaseOrderQuantityWhenOut,
bool? autoCreditOnSalesReturn,
String? depositFeeRateId,
String? depositFeeRateICode,
String? depositFeeRateDescription,
bool? updateEstimatedStartAndStopDatesOnSubPurchaseOrders,
bool? promptToUpdateEstimatedStartAndStopDatesOnSubPurchaseOrders,
bool? updateBillingStartAndStopDatesOnSubPurchaseOrders,
bool? promptToUpdateBillingStartAndStopDatesOnSubPurchaseOrders,
bool? purchaseOrderRequireFirstApproval,
bool? purchaseOrderRequireSecondApproval,
bool? purchaseOrderAllowSecondApprovalWithoutFirstApproval,
double? purchaseOrderUnapproveIncreaseAmount,
double? purchaseOrderUnapproveIncreasePercent,
bool? purchaseOrderPreventReceiveUnapproved,
double? purchaseOrderFirstApprovalThresholdRental,
double? purchaseOrderFirstApprovalThresholdSales,
double? purchaseOrderFirstApprovalThresholdParts,
double? purchaseOrderFirstApprovalThresholdMiscellaneous,
double? purchaseOrderFirstApprovalThresholdLabor,
double? purchaseOrderFirstApprovalThresholdRepair,
double? purchaseOrderFirstApprovalThresholdSubRental,
double? purchaseOrderFirstApprovalThresholdSubSales,
double? purchaseOrderFirstApprovalThresholdSubMiscellaneous,
double? purchaseOrderFirstApprovalThresholdSubLabor,
double? purchaseOrderSecondApprovalThresholdRental,
double? purchaseOrderSecondApprovalThresholdSales,
double? purchaseOrderSecondApprovalThresholdParts,
double? purchaseOrderSecondApprovalThresholdMiscellaneous,
double? purchaseOrderSecondApprovalThresholdLabor,
double? purchaseOrderSecondApprovalThresholdRepair,
double? purchaseOrderSecondApprovalThresholdSubRental,
double? purchaseOrderSecondApprovalThresholdSubSales,
double? purchaseOrderSecondApprovalThresholdSubMiscellaneous,
double? purchaseOrderSecondApprovalThresholdSubLabor,
bool? completeRentalWithLAndDOrder,
bool? storefrontEnableInventoryInquiryEmails,
String? storefrontInventoryInquiryEmailToAddress,
bool? storefrontEnableQuoteRequestEmails,
String? storefrontQuoteRequestEmailToAddress,
bool? useResponsiblePerson,
bool? requireResponsiblePerson,
String? vendorInvoiceModificationsPushToPo,
bool? inactive,
String? dateStamp,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesSettingsDepartmentLocationDepartmentLocation(
id: id ?? this.id,
departmentId: departmentId ?? this.departmentId,
department: department ?? this.department,
locationId: locationId ?? this.locationId,
location: location ?? this.location,
defaultOrderTypeId: defaultOrderTypeId ?? this.defaultOrderTypeId,
defaultOrderType: defaultOrderType ?? this.defaultOrderType,
defaultTransferTypeId:
defaultTransferTypeId ?? this.defaultTransferTypeId,
defaultTransferType: defaultTransferType ?? this.defaultTransferType,
glPrefix: glPrefix ?? this.glPrefix,
glSuffix: glSuffix ?? this.glSuffix,
creditCardFeeFlag: creditCardFeeFlag ?? this.creditCardFeeFlag,
creditCardFeeId: creditCardFeeId ?? this.creditCardFeeId,
creditCardFeeICode: creditCardFeeICode ?? this.creditCardFeeICode,
creditCardFeeDescription:
creditCardFeeDescription ?? this.creditCardFeeDescription,
creditCardFeePercent: creditCardFeePercent ?? this.creditCardFeePercent,
allowDecreaseOrderQuantityWhenStaged: allowDecreaseOrderQuantityWhenStaged ??
this.allowDecreaseOrderQuantityWhenStaged,
allowDecreaseOrderQuantityWhenOut: allowDecreaseOrderQuantityWhenOut ??
this.allowDecreaseOrderQuantityWhenOut,
autoCreditOnSalesReturn:
autoCreditOnSalesReturn ?? this.autoCreditOnSalesReturn,
depositFeeRateId: depositFeeRateId ?? this.depositFeeRateId,
depositFeeRateICode: depositFeeRateICode ?? this.depositFeeRateICode,
depositFeeRateDescription:
depositFeeRateDescription ?? this.depositFeeRateDescription,
updateEstimatedStartAndStopDatesOnSubPurchaseOrders:
updateEstimatedStartAndStopDatesOnSubPurchaseOrders ??
this.updateEstimatedStartAndStopDatesOnSubPurchaseOrders,
promptToUpdateEstimatedStartAndStopDatesOnSubPurchaseOrders:
promptToUpdateEstimatedStartAndStopDatesOnSubPurchaseOrders ??
this
.promptToUpdateEstimatedStartAndStopDatesOnSubPurchaseOrders,
updateBillingStartAndStopDatesOnSubPurchaseOrders:
updateBillingStartAndStopDatesOnSubPurchaseOrders ??
this.updateBillingStartAndStopDatesOnSubPurchaseOrders,
promptToUpdateBillingStartAndStopDatesOnSubPurchaseOrders:
promptToUpdateBillingStartAndStopDatesOnSubPurchaseOrders ??
this.promptToUpdateBillingStartAndStopDatesOnSubPurchaseOrders,
purchaseOrderRequireFirstApproval: purchaseOrderRequireFirstApproval ??
this.purchaseOrderRequireFirstApproval,
purchaseOrderRequireSecondApproval: purchaseOrderRequireSecondApproval ??
this.purchaseOrderRequireSecondApproval,
purchaseOrderAllowSecondApprovalWithoutFirstApproval:
purchaseOrderAllowSecondApprovalWithoutFirstApproval ??
this.purchaseOrderAllowSecondApprovalWithoutFirstApproval,
purchaseOrderUnapproveIncreaseAmount: purchaseOrderUnapproveIncreaseAmount ??
this.purchaseOrderUnapproveIncreaseAmount,
purchaseOrderUnapproveIncreasePercent:
purchaseOrderUnapproveIncreasePercent ?? this.purchaseOrderUnapproveIncreasePercent,
purchaseOrderPreventReceiveUnapproved: purchaseOrderPreventReceiveUnapproved ?? this.purchaseOrderPreventReceiveUnapproved,
purchaseOrderFirstApprovalThresholdRental: purchaseOrderFirstApprovalThresholdRental ?? this.purchaseOrderFirstApprovalThresholdRental,
purchaseOrderFirstApprovalThresholdSales: purchaseOrderFirstApprovalThresholdSales ?? this.purchaseOrderFirstApprovalThresholdSales,
purchaseOrderFirstApprovalThresholdParts: purchaseOrderFirstApprovalThresholdParts ?? this.purchaseOrderFirstApprovalThresholdParts,
purchaseOrderFirstApprovalThresholdMiscellaneous: purchaseOrderFirstApprovalThresholdMiscellaneous ?? this.purchaseOrderFirstApprovalThresholdMiscellaneous,
purchaseOrderFirstApprovalThresholdLabor: purchaseOrderFirstApprovalThresholdLabor ?? this.purchaseOrderFirstApprovalThresholdLabor,
purchaseOrderFirstApprovalThresholdRepair: purchaseOrderFirstApprovalThresholdRepair ?? this.purchaseOrderFirstApprovalThresholdRepair,
purchaseOrderFirstApprovalThresholdSubRental: purchaseOrderFirstApprovalThresholdSubRental ?? this.purchaseOrderFirstApprovalThresholdSubRental,
purchaseOrderFirstApprovalThresholdSubSales: purchaseOrderFirstApprovalThresholdSubSales ?? this.purchaseOrderFirstApprovalThresholdSubSales,
purchaseOrderFirstApprovalThresholdSubMiscellaneous: purchaseOrderFirstApprovalThresholdSubMiscellaneous ?? this.purchaseOrderFirstApprovalThresholdSubMiscellaneous,
purchaseOrderFirstApprovalThresholdSubLabor: purchaseOrderFirstApprovalThresholdSubLabor ?? this.purchaseOrderFirstApprovalThresholdSubLabor,
purchaseOrderSecondApprovalThresholdRental: purchaseOrderSecondApprovalThresholdRental ?? this.purchaseOrderSecondApprovalThresholdRental,
purchaseOrderSecondApprovalThresholdSales: purchaseOrderSecondApprovalThresholdSales ?? this.purchaseOrderSecondApprovalThresholdSales,
purchaseOrderSecondApprovalThresholdParts: purchaseOrderSecondApprovalThresholdParts ?? this.purchaseOrderSecondApprovalThresholdParts,
purchaseOrderSecondApprovalThresholdMiscellaneous: purchaseOrderSecondApprovalThresholdMiscellaneous ?? this.purchaseOrderSecondApprovalThresholdMiscellaneous,
purchaseOrderSecondApprovalThresholdLabor: purchaseOrderSecondApprovalThresholdLabor ?? this.purchaseOrderSecondApprovalThresholdLabor,
purchaseOrderSecondApprovalThresholdRepair: purchaseOrderSecondApprovalThresholdRepair ?? this.purchaseOrderSecondApprovalThresholdRepair,
purchaseOrderSecondApprovalThresholdSubRental: purchaseOrderSecondApprovalThresholdSubRental ?? this.purchaseOrderSecondApprovalThresholdSubRental,
purchaseOrderSecondApprovalThresholdSubSales: purchaseOrderSecondApprovalThresholdSubSales ?? this.purchaseOrderSecondApprovalThresholdSubSales,
purchaseOrderSecondApprovalThresholdSubMiscellaneous: purchaseOrderSecondApprovalThresholdSubMiscellaneous ?? this.purchaseOrderSecondApprovalThresholdSubMiscellaneous,
purchaseOrderSecondApprovalThresholdSubLabor: purchaseOrderSecondApprovalThresholdSubLabor ?? this.purchaseOrderSecondApprovalThresholdSubLabor,
completeRentalWithLAndDOrder: completeRentalWithLAndDOrder ?? this.completeRentalWithLAndDOrder,
storefrontEnableInventoryInquiryEmails: storefrontEnableInventoryInquiryEmails ?? this.storefrontEnableInventoryInquiryEmails,
storefrontInventoryInquiryEmailToAddress: storefrontInventoryInquiryEmailToAddress ?? this.storefrontInventoryInquiryEmailToAddress,
storefrontEnableQuoteRequestEmails: storefrontEnableQuoteRequestEmails ?? this.storefrontEnableQuoteRequestEmails,
storefrontQuoteRequestEmailToAddress: storefrontQuoteRequestEmailToAddress ?? this.storefrontQuoteRequestEmailToAddress,
useResponsiblePerson: useResponsiblePerson ?? this.useResponsiblePerson,
requireResponsiblePerson: requireResponsiblePerson ?? this.requireResponsiblePerson,
vendorInvoiceModificationsPushToPo: vendorInvoiceModificationsPushToPo ?? this.vendorInvoiceModificationsPushToPo,
inactive: inactive ?? this.inactive,
dateStamp: dateStamp ?? this.dateStamp,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes: defaultFieldAttributes ?? this.defaultFieldAttributes,
translation: translation ?? this.translation);
}