copyWith method
WebApiModulesSettingsDepartmentLocationDepartmentLocation
copyWith({
- int? id,
- String? departmentId,
- String? department,
- String? locationId,
- String? location,
- String? defaultOrderTypeId,
- String? defaultOrderType,
- String? projectDefaultOrderTypeId,
- String? projectDefaultOrderType,
- String? defaultTransferTypeId,
- String? defaultTransferType,
- String? glPrefix,
- String? glSuffix,
- bool? allowDecreaseOrderQuantityWhenStaged,
- bool? allowDecreaseOrderQuantityWhenOut,
- bool? autoCreditOnSalesReturn,
- String? depositFeeRateId,
- String? depositFeeRateICode,
- String? depositFeeRateDescription,
- String? flatAmountCreditInvoiceRateId,
- String? flatAmountCreditInvoiceRateICode,
- String? flatAmountCreditInvoiceRateDescription,
- bool? updateEstimatedStartAndStopDatesOnSubPurchaseOrders,
- bool? promptToUpdateEstimatedStartAndStopDatesOnSubPurchaseOrders,
- bool? updateBillingStartAndStopDatesOnSubPurchaseOrders,
- bool? promptToUpdateBillingStartAndStopDatesOnSubPurchaseOrders,
- String? purchaseOrderApprovalRequiredAsOf,
- 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? disableCrewValidation,
- bool? storefrontEnableInventoryInquiryEmails,
- String? storefrontInventoryInquiryEmailToAddress,
- bool? storefrontEnableQuoteRequestEmails,
- String? storefrontQuoteRequestEmailToAddress,
- bool? useResponsiblePerson,
- bool? requireResponsiblePerson,
- String? vendorInvoiceModificationsPushToPo,
- bool? splitRentalLineItemWhenCheckedInEarly,
- bool? inactive,
- bool? createInvoiceForItemsAddedAfterPrebill,
- bool? createCreditForPreBilledItemsReturnedEarly,
- String? automaticallyCreateCreditForPreBilledItemsReturnedEarly,
- bool? doNotBillDayWhenItemsAreCheckedInByCertainTime,
- String? checkInByTimeToAvoidBilling,
- bool? createInvoiceForItemsCheckedInBeforeEstimatedStopDate,
- String? automaticallyCreateInvoiceForItemsCheckedInBeforeEstimatedStopDate,
- bool? automaticallyCompleteRepairOrderWhenAllItemsReleased,
- String? setInvoiceDate,
- String? creditInvoiceNumberFrom,
- bool? orderStaysActiveWithSubsInHolding,
- bool? assignConsignorBeforeStaging,
- String? dateStamp,
- String? noInsuranceFeeRateId,
- String? noInsuranceFeeICode,
- String? noInsuranceFeeDescription,
- String? noInsuranceFeeBasedOn,
- bool? chargeNoInsuranceFee,
- bool? useNoInsuranceFeeThreshold,
- double? noInsuranceFeePercent,
- double? noInsuranceFeeThreshold,
- String? auditNote,
- String? recordTitle,
- dynamic urlIdentifier,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - FwStandardBusinessLogicFwBusinessLogic? original,
- List<
FwStandardDataFwTranslatedValue> ? translation, - bool? hasImport,
- bool? hasDocuments,
- String? createdByUserId,
- String? createdByUserName,
- String? createdDateTime,
- String? modifiedByUserId,
- String? modifiedByUserName,
- String? modifiedDateTime,
Implementation
WebApiModulesSettingsDepartmentLocationDepartmentLocation copyWith({
int? id,
String? departmentId,
String? department,
String? locationId,
String? location,
String? defaultOrderTypeId,
String? defaultOrderType,
String? projectDefaultOrderTypeId,
String? projectDefaultOrderType,
String? defaultTransferTypeId,
String? defaultTransferType,
String? glPrefix,
String? glSuffix,
bool? allowDecreaseOrderQuantityWhenStaged,
bool? allowDecreaseOrderQuantityWhenOut,
bool? autoCreditOnSalesReturn,
String? depositFeeRateId,
String? depositFeeRateICode,
String? depositFeeRateDescription,
String? flatAmountCreditInvoiceRateId,
String? flatAmountCreditInvoiceRateICode,
String? flatAmountCreditInvoiceRateDescription,
bool? updateEstimatedStartAndStopDatesOnSubPurchaseOrders,
bool? promptToUpdateEstimatedStartAndStopDatesOnSubPurchaseOrders,
bool? updateBillingStartAndStopDatesOnSubPurchaseOrders,
bool? promptToUpdateBillingStartAndStopDatesOnSubPurchaseOrders,
String? purchaseOrderApprovalRequiredAsOf,
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? disableCrewValidation,
bool? storefrontEnableInventoryInquiryEmails,
String? storefrontInventoryInquiryEmailToAddress,
bool? storefrontEnableQuoteRequestEmails,
String? storefrontQuoteRequestEmailToAddress,
bool? useResponsiblePerson,
bool? requireResponsiblePerson,
String? vendorInvoiceModificationsPushToPo,
bool? splitRentalLineItemWhenCheckedInEarly,
bool? inactive,
bool? createInvoiceForItemsAddedAfterPrebill,
bool? createCreditForPreBilledItemsReturnedEarly,
String? automaticallyCreateCreditForPreBilledItemsReturnedEarly,
bool? doNotBillDayWhenItemsAreCheckedInByCertainTime,
String? checkInByTimeToAvoidBilling,
bool? createInvoiceForItemsCheckedInBeforeEstimatedStopDate,
String? automaticallyCreateInvoiceForItemsCheckedInBeforeEstimatedStopDate,
bool? automaticallyCompleteRepairOrderWhenAllItemsReleased,
String? setInvoiceDate,
String? creditInvoiceNumberFrom,
bool? orderStaysActiveWithSubsInHolding,
bool? assignConsignorBeforeStaging,
String? dateStamp,
String? noInsuranceFeeRateId,
String? noInsuranceFeeICode,
String? noInsuranceFeeDescription,
String? noInsuranceFeeBasedOn,
bool? chargeNoInsuranceFee,
bool? useNoInsuranceFeeThreshold,
double? noInsuranceFeePercent,
double? noInsuranceFeeThreshold,
String? auditNote,
String? recordTitle,
dynamic urlIdentifier,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
FwStandardBusinessLogicFwBusinessLogic? original,
List<FwStandardDataFwTranslatedValue>? translation,
bool? hasImport,
bool? hasDocuments,
String? createdByUserId,
String? createdByUserName,
String? createdDateTime,
String? modifiedByUserId,
String? modifiedByUserName,
String? modifiedDateTime,
}) {
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,
projectDefaultOrderTypeId:
projectDefaultOrderTypeId ?? this.projectDefaultOrderTypeId,
projectDefaultOrderType:
projectDefaultOrderType ?? this.projectDefaultOrderType,
defaultTransferTypeId:
defaultTransferTypeId ?? this.defaultTransferTypeId,
defaultTransferType: defaultTransferType ?? this.defaultTransferType,
glPrefix: glPrefix ?? this.glPrefix,
glSuffix: glSuffix ?? this.glSuffix,
allowDecreaseOrderQuantityWhenStaged:
allowDecreaseOrderQuantityWhenStaged ??
this.allowDecreaseOrderQuantityWhenStaged,
allowDecreaseOrderQuantityWhenOut:
allowDecreaseOrderQuantityWhenOut ??
this.allowDecreaseOrderQuantityWhenOut,
autoCreditOnSalesReturn:
autoCreditOnSalesReturn ?? this.autoCreditOnSalesReturn,
depositFeeRateId: depositFeeRateId ?? this.depositFeeRateId,
depositFeeRateICode: depositFeeRateICode ?? this.depositFeeRateICode,
depositFeeRateDescription:
depositFeeRateDescription ?? this.depositFeeRateDescription,
flatAmountCreditInvoiceRateId:
flatAmountCreditInvoiceRateId ?? this.flatAmountCreditInvoiceRateId,
flatAmountCreditInvoiceRateICode:
flatAmountCreditInvoiceRateICode ??
this.flatAmountCreditInvoiceRateICode,
flatAmountCreditInvoiceRateDescription:
flatAmountCreditInvoiceRateDescription ??
this.flatAmountCreditInvoiceRateDescription,
updateEstimatedStartAndStopDatesOnSubPurchaseOrders:
updateEstimatedStartAndStopDatesOnSubPurchaseOrders ??
this.updateEstimatedStartAndStopDatesOnSubPurchaseOrders,
promptToUpdateEstimatedStartAndStopDatesOnSubPurchaseOrders:
promptToUpdateEstimatedStartAndStopDatesOnSubPurchaseOrders ??
this.promptToUpdateEstimatedStartAndStopDatesOnSubPurchaseOrders,
updateBillingStartAndStopDatesOnSubPurchaseOrders:
updateBillingStartAndStopDatesOnSubPurchaseOrders ??
this.updateBillingStartAndStopDatesOnSubPurchaseOrders,
promptToUpdateBillingStartAndStopDatesOnSubPurchaseOrders:
promptToUpdateBillingStartAndStopDatesOnSubPurchaseOrders ??
this.promptToUpdateBillingStartAndStopDatesOnSubPurchaseOrders,
purchaseOrderApprovalRequiredAsOf:
purchaseOrderApprovalRequiredAsOf ??
this.purchaseOrderApprovalRequiredAsOf,
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,
disableCrewValidation:
disableCrewValidation ?? this.disableCrewValidation,
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,
splitRentalLineItemWhenCheckedInEarly:
splitRentalLineItemWhenCheckedInEarly ??
this.splitRentalLineItemWhenCheckedInEarly,
inactive: inactive ?? this.inactive,
createInvoiceForItemsAddedAfterPrebill:
createInvoiceForItemsAddedAfterPrebill ??
this.createInvoiceForItemsAddedAfterPrebill,
createCreditForPreBilledItemsReturnedEarly:
createCreditForPreBilledItemsReturnedEarly ??
this.createCreditForPreBilledItemsReturnedEarly,
automaticallyCreateCreditForPreBilledItemsReturnedEarly:
automaticallyCreateCreditForPreBilledItemsReturnedEarly ??
this.automaticallyCreateCreditForPreBilledItemsReturnedEarly,
doNotBillDayWhenItemsAreCheckedInByCertainTime:
doNotBillDayWhenItemsAreCheckedInByCertainTime ??
this.doNotBillDayWhenItemsAreCheckedInByCertainTime,
checkInByTimeToAvoidBilling:
checkInByTimeToAvoidBilling ?? this.checkInByTimeToAvoidBilling,
createInvoiceForItemsCheckedInBeforeEstimatedStopDate:
createInvoiceForItemsCheckedInBeforeEstimatedStopDate ??
this.createInvoiceForItemsCheckedInBeforeEstimatedStopDate,
automaticallyCreateInvoiceForItemsCheckedInBeforeEstimatedStopDate:
automaticallyCreateInvoiceForItemsCheckedInBeforeEstimatedStopDate ??
this.automaticallyCreateInvoiceForItemsCheckedInBeforeEstimatedStopDate,
automaticallyCompleteRepairOrderWhenAllItemsReleased:
automaticallyCompleteRepairOrderWhenAllItemsReleased ??
this.automaticallyCompleteRepairOrderWhenAllItemsReleased,
setInvoiceDate: setInvoiceDate ?? this.setInvoiceDate,
creditInvoiceNumberFrom:
creditInvoiceNumberFrom ?? this.creditInvoiceNumberFrom,
orderStaysActiveWithSubsInHolding:
orderStaysActiveWithSubsInHolding ??
this.orderStaysActiveWithSubsInHolding,
assignConsignorBeforeStaging:
assignConsignorBeforeStaging ?? this.assignConsignorBeforeStaging,
dateStamp: dateStamp ?? this.dateStamp,
noInsuranceFeeRateId: noInsuranceFeeRateId ?? this.noInsuranceFeeRateId,
noInsuranceFeeICode: noInsuranceFeeICode ?? this.noInsuranceFeeICode,
noInsuranceFeeDescription:
noInsuranceFeeDescription ?? this.noInsuranceFeeDescription,
noInsuranceFeeBasedOn:
noInsuranceFeeBasedOn ?? this.noInsuranceFeeBasedOn,
chargeNoInsuranceFee: chargeNoInsuranceFee ?? this.chargeNoInsuranceFee,
useNoInsuranceFeeThreshold:
useNoInsuranceFeeThreshold ?? this.useNoInsuranceFeeThreshold,
noInsuranceFeePercent:
noInsuranceFeePercent ?? this.noInsuranceFeePercent,
noInsuranceFeeThreshold:
noInsuranceFeeThreshold ?? this.noInsuranceFeeThreshold,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
urlIdentifier: urlIdentifier ?? this.urlIdentifier,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
original: original ?? this.original,
translation: translation ?? this.translation,
hasImport: hasImport ?? this.hasImport,
hasDocuments: hasDocuments ?? this.hasDocuments,
createdByUserId: createdByUserId ?? this.createdByUserId,
createdByUserName: createdByUserName ?? this.createdByUserName,
createdDateTime: createdDateTime ?? this.createdDateTime,
modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
);
}