copyWith method
WebApiModulesSettingsLaborSettingsPositionPosition
copyWith({
- String? positionId,
- String? laborTypeId,
- String? laborType,
- String? rateType,
- bool? includeAsProfitAndLossCategory,
- bool? includeInCost,
- double? averageCost,
- double? price,
- double? hourlyRate,
- double? dailyRate,
- double? weeklyRate,
- double? monthlyRate,
- double? hourlyCost,
- double? dailyCost,
- double? weeklyCost,
- double? monthlyCost,
- String? iCode,
- String? description,
- String? availFor,
- String? categoryId,
- String? category,
- int? subCategoryCount,
- String? subCategoryId,
- String? subCategory,
- String? classification,
- String? classificationDescription,
- String? classificationColor,
- String? unitId,
- String? unit,
- String? unitType,
- bool? nonDiscountable,
- bool? overrideProfitAndLossCategory,
- String? profitAndLossCategoryId,
- String? profitAndLossCategory,
- bool? autoCopyNotesToQuoteOrder,
- String? note,
- bool? printNoteOnInContract,
- bool? printNoteOnOutContract,
- bool? printNoteOnReceiveContract,
- bool? printNoteOnReturnContract,
- bool? printNoteOnInvoice,
- bool? printNoteOnOrder,
- bool? printNoteOnPickList,
- bool? printNoteOnPO,
- bool? printNoteOnQuote,
- bool? printNoteOnReturnList,
- bool? printNoteOnPoReceiveList,
- bool? printNoteOnPoReturnList,
- String? assetAccountId,
- String? assetAccountNo,
- String? assetAccountDescription,
- String? incomeAccountId,
- String? incomeAccountNo,
- String? incomeAccountDescription,
- String? subIncomeAccountId,
- String? subIncomeAccountNo,
- String? subIncomeAccountDescription,
- String? consignmentIncomeAccountId,
- String? consignmentIncomeAccountNo,
- String? consignmentIncomeAccountDescription,
- String? ldIncomeAccountId,
- String? ldIncomeAccountNo,
- String? ldIncomeAccountDescription,
- String? equipmentSaleIncomeAccountId,
- String? equipmentSaleIncomeAccountNo,
- String? equipmentSaleIncomeAccountDescription,
- String? expenseAccountId,
- String? expenseAccountNo,
- String? expenseAccountDescription,
- String? costOfGoodsSoldExpenseAccountId,
- String? costOfGoodsSoldExpenseAccountNo,
- String? costOfGoodsSoldExpenseAccountDescription,
- String? costOfGoodsRentedExpenseAccountId,
- String? costOfGoodsRentedExpenseAccountNo,
- String? costOfGoodsRentedExpenseAccountDescription,
- String? depreciationExpenseAccountId,
- String? depreciationExpenseAccountNo,
- String? depreciationExpenseAccountDescription,
- String? accumulatedDepreciationExpenseAccountId,
- String? accumulatedDepreciationExpenseAccountNo,
- String? accumulatedDepreciationExpenseAccountDescription,
- String? inputDate,
- String? inputByUsersId,
- String? category2,
- String? class2,
- String? stockClass,
- bool? inactive,
- String? dateStamp,
- bool? manifestShippingContainer,
- bool? manifestStandAloneItem,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesSettingsLaborSettingsPositionPosition copyWith(
{String? positionId,
String? laborTypeId,
String? laborType,
String? rateType,
bool? includeAsProfitAndLossCategory,
bool? includeInCost,
double? averageCost,
double? price,
double? hourlyRate,
double? dailyRate,
double? weeklyRate,
double? monthlyRate,
double? hourlyCost,
double? dailyCost,
double? weeklyCost,
double? monthlyCost,
String? iCode,
String? description,
String? availFor,
String? categoryId,
String? category,
int? subCategoryCount,
String? subCategoryId,
String? subCategory,
String? classification,
String? classificationDescription,
String? classificationColor,
String? unitId,
String? unit,
String? unitType,
bool? nonDiscountable,
bool? overrideProfitAndLossCategory,
String? profitAndLossCategoryId,
String? profitAndLossCategory,
bool? autoCopyNotesToQuoteOrder,
String? note,
bool? printNoteOnInContract,
bool? printNoteOnOutContract,
bool? printNoteOnReceiveContract,
bool? printNoteOnReturnContract,
bool? printNoteOnInvoice,
bool? printNoteOnOrder,
bool? printNoteOnPickList,
bool? printNoteOnPO,
bool? printNoteOnQuote,
bool? printNoteOnReturnList,
bool? printNoteOnPoReceiveList,
bool? printNoteOnPoReturnList,
String? assetAccountId,
String? assetAccountNo,
String? assetAccountDescription,
String? incomeAccountId,
String? incomeAccountNo,
String? incomeAccountDescription,
String? subIncomeAccountId,
String? subIncomeAccountNo,
String? subIncomeAccountDescription,
String? consignmentIncomeAccountId,
String? consignmentIncomeAccountNo,
String? consignmentIncomeAccountDescription,
String? ldIncomeAccountId,
String? ldIncomeAccountNo,
String? ldIncomeAccountDescription,
String? equipmentSaleIncomeAccountId,
String? equipmentSaleIncomeAccountNo,
String? equipmentSaleIncomeAccountDescription,
String? expenseAccountId,
String? expenseAccountNo,
String? expenseAccountDescription,
String? costOfGoodsSoldExpenseAccountId,
String? costOfGoodsSoldExpenseAccountNo,
String? costOfGoodsSoldExpenseAccountDescription,
String? costOfGoodsRentedExpenseAccountId,
String? costOfGoodsRentedExpenseAccountNo,
String? costOfGoodsRentedExpenseAccountDescription,
String? depreciationExpenseAccountId,
String? depreciationExpenseAccountNo,
String? depreciationExpenseAccountDescription,
String? accumulatedDepreciationExpenseAccountId,
String? accumulatedDepreciationExpenseAccountNo,
String? accumulatedDepreciationExpenseAccountDescription,
String? inputDate,
String? inputByUsersId,
String? category2,
String? class2,
String? stockClass,
bool? inactive,
String? dateStamp,
bool? manifestShippingContainer,
bool? manifestStandAloneItem,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesSettingsLaborSettingsPositionPosition(
positionId: positionId ?? this.positionId,
laborTypeId: laborTypeId ?? this.laborTypeId,
laborType: laborType ?? this.laborType,
rateType: rateType ?? this.rateType,
includeAsProfitAndLossCategory: includeAsProfitAndLossCategory ??
this.includeAsProfitAndLossCategory,
includeInCost: includeInCost ?? this.includeInCost,
averageCost: averageCost ?? this.averageCost,
price: price ?? this.price,
hourlyRate: hourlyRate ?? this.hourlyRate,
dailyRate: dailyRate ?? this.dailyRate,
weeklyRate: weeklyRate ?? this.weeklyRate,
monthlyRate: monthlyRate ?? this.monthlyRate,
hourlyCost: hourlyCost ?? this.hourlyCost,
dailyCost: dailyCost ?? this.dailyCost,
weeklyCost: weeklyCost ?? this.weeklyCost,
monthlyCost: monthlyCost ?? this.monthlyCost,
iCode: iCode ?? this.iCode,
description: description ?? this.description,
availFor: availFor ?? this.availFor,
categoryId: categoryId ?? this.categoryId,
category: category ?? this.category,
subCategoryCount: subCategoryCount ?? this.subCategoryCount,
subCategoryId: subCategoryId ?? this.subCategoryId,
subCategory: subCategory ?? this.subCategory,
classification: classification ?? this.classification,
classificationDescription:
classificationDescription ?? this.classificationDescription,
classificationColor: classificationColor ?? this.classificationColor,
unitId: unitId ?? this.unitId,
unit: unit ?? this.unit,
unitType: unitType ?? this.unitType,
nonDiscountable: nonDiscountable ?? this.nonDiscountable,
overrideProfitAndLossCategory:
overrideProfitAndLossCategory ?? this.overrideProfitAndLossCategory,
profitAndLossCategoryId:
profitAndLossCategoryId ?? this.profitAndLossCategoryId,
profitAndLossCategory:
profitAndLossCategory ?? this.profitAndLossCategory,
autoCopyNotesToQuoteOrder:
autoCopyNotesToQuoteOrder ?? this.autoCopyNotesToQuoteOrder,
note: note ?? this.note,
printNoteOnInContract:
printNoteOnInContract ?? this.printNoteOnInContract,
printNoteOnOutContract:
printNoteOnOutContract ?? this.printNoteOnOutContract,
printNoteOnReceiveContract:
printNoteOnReceiveContract ?? this.printNoteOnReceiveContract,
printNoteOnReturnContract:
printNoteOnReturnContract ?? this.printNoteOnReturnContract,
printNoteOnInvoice: printNoteOnInvoice ?? this.printNoteOnInvoice,
printNoteOnOrder: printNoteOnOrder ?? this.printNoteOnOrder,
printNoteOnPickList: printNoteOnPickList ?? this.printNoteOnPickList,
printNoteOnPO: printNoteOnPO ?? this.printNoteOnPO,
printNoteOnQuote: printNoteOnQuote ?? this.printNoteOnQuote,
printNoteOnReturnList:
printNoteOnReturnList ?? this.printNoteOnReturnList,
printNoteOnPoReceiveList:
printNoteOnPoReceiveList ?? this.printNoteOnPoReceiveList,
printNoteOnPoReturnList:
printNoteOnPoReturnList ?? this.printNoteOnPoReturnList,
assetAccountId: assetAccountId ?? this.assetAccountId,
assetAccountNo: assetAccountNo ?? this.assetAccountNo,
assetAccountDescription:
assetAccountDescription ?? this.assetAccountDescription,
incomeAccountId: incomeAccountId ?? this.incomeAccountId,
incomeAccountNo: incomeAccountNo ?? this.incomeAccountNo,
incomeAccountDescription:
incomeAccountDescription ?? this.incomeAccountDescription,
subIncomeAccountId: subIncomeAccountId ?? this.subIncomeAccountId,
subIncomeAccountNo: subIncomeAccountNo ?? this.subIncomeAccountNo,
subIncomeAccountDescription:
subIncomeAccountDescription ?? this.subIncomeAccountDescription,
consignmentIncomeAccountId:
consignmentIncomeAccountId ?? this.consignmentIncomeAccountId,
consignmentIncomeAccountNo:
consignmentIncomeAccountNo ?? this.consignmentIncomeAccountNo,
consignmentIncomeAccountDescription: consignmentIncomeAccountDescription ??
this.consignmentIncomeAccountDescription,
ldIncomeAccountId: ldIncomeAccountId ?? this.ldIncomeAccountId,
ldIncomeAccountNo: ldIncomeAccountNo ?? this.ldIncomeAccountNo,
ldIncomeAccountDescription:
ldIncomeAccountDescription ?? this.ldIncomeAccountDescription,
equipmentSaleIncomeAccountId:
equipmentSaleIncomeAccountId ?? this.equipmentSaleIncomeAccountId,
equipmentSaleIncomeAccountNo:
equipmentSaleIncomeAccountNo ?? this.equipmentSaleIncomeAccountNo,
equipmentSaleIncomeAccountDescription: equipmentSaleIncomeAccountDescription ??
this.equipmentSaleIncomeAccountDescription,
expenseAccountId: expenseAccountId ?? this.expenseAccountId,
expenseAccountNo: expenseAccountNo ?? this.expenseAccountNo,
expenseAccountDescription:
expenseAccountDescription ?? this.expenseAccountDescription,
costOfGoodsSoldExpenseAccountId: costOfGoodsSoldExpenseAccountId ??
this.costOfGoodsSoldExpenseAccountId,
costOfGoodsSoldExpenseAccountNo: costOfGoodsSoldExpenseAccountNo ??
this.costOfGoodsSoldExpenseAccountNo,
costOfGoodsSoldExpenseAccountDescription:
costOfGoodsSoldExpenseAccountDescription ??
this.costOfGoodsSoldExpenseAccountDescription,
costOfGoodsRentedExpenseAccountId: costOfGoodsRentedExpenseAccountId ??
this.costOfGoodsRentedExpenseAccountId,
costOfGoodsRentedExpenseAccountNo: costOfGoodsRentedExpenseAccountNo ??
this.costOfGoodsRentedExpenseAccountNo,
costOfGoodsRentedExpenseAccountDescription:
costOfGoodsRentedExpenseAccountDescription ??
this.costOfGoodsRentedExpenseAccountDescription,
depreciationExpenseAccountId:
depreciationExpenseAccountId ?? this.depreciationExpenseAccountId,
depreciationExpenseAccountNo:
depreciationExpenseAccountNo ?? this.depreciationExpenseAccountNo,
depreciationExpenseAccountDescription: depreciationExpenseAccountDescription ??
this.depreciationExpenseAccountDescription,
accumulatedDepreciationExpenseAccountId: accumulatedDepreciationExpenseAccountId ??
this.accumulatedDepreciationExpenseAccountId,
accumulatedDepreciationExpenseAccountNo:
accumulatedDepreciationExpenseAccountNo ??
this.accumulatedDepreciationExpenseAccountNo,
accumulatedDepreciationExpenseAccountDescription:
accumulatedDepreciationExpenseAccountDescription ??
this.accumulatedDepreciationExpenseAccountDescription,
inputDate: inputDate ?? this.inputDate,
inputByUsersId: inputByUsersId ?? this.inputByUsersId,
category2: category2 ?? this.category2,
class2: class2 ?? this.class2,
stockClass: stockClass ?? this.stockClass,
inactive: inactive ?? this.inactive,
dateStamp: dateStamp ?? this.dateStamp,
manifestShippingContainer: manifestShippingContainer ?? this.manifestShippingContainer,
manifestStandAloneItem: manifestStandAloneItem ?? this.manifestStandAloneItem,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes: defaultFieldAttributes ?? this.defaultFieldAttributes,
translation: translation ?? this.translation);
}