copyWith method
WebApiModulesHomeControlsSubPurchaseOrderItemSubPurchaseOrderItem
copyWith({
- String? sessionId,
- String? orderId,
- String? orderItemId,
- String? primaryOrderItemId,
- String? parentId,
- String? inventoryId,
- String? iCode,
- String? iCodeColor,
- String? description,
- String? descriptionColor,
- bool? nonDiscountable,
- bool? isRecurring,
- bool? prorateWeeks,
- bool? prorateMonths,
- bool? prorate,
- String? prorateMonthsBy,
- bool? recurringRateType,
- bool? isLaborHourly,
- String? fromDate,
- String? toDate,
- double? hours,
- double? overTimeHours,
- double? doubleTimeHours,
- double? subQuantity,
- double? quantityOrdered,
- double? vendorRate,
- double? vendorDaysPerWeek,
- double? vendorDiscountPercent,
- double? vendorDiscountPercentDisplay,
- double? vendorBillablePeriods,
- double? vendorWeeklySubTotal,
- double? vendorWeeklyDiscount,
- double? vendorWeeklyExtended,
- double? vendorWeeklyTax,
- double? vendorWeeklyTotal,
- double? vendorMonthlySubTotal,
- double? vendorMonthlyDiscount,
- double? vendorMonthlyExtended,
- double? vendorMonthlyTax,
- double? vendorMonthlyTotal,
- double? vendorPeriodSubTotal,
- double? vendorPeriodDiscount,
- double? vendorPeriodExtended,
- double? vendorPeriodTax,
- double? vendorPeriodTotal,
- double? dealRate,
- double? dealDaysPerWeek,
- double? dealDiscountPercent,
- double? dealDiscountPercentDisplay,
- double? dealBillablePeriods,
- double? dealWeeklySubTotal,
- double? dealWeeklyDiscount,
- double? dealWeeklyExtended,
- double? dealMonthlySubTotal,
- double? dealMonthlyDiscount,
- double? dealMonthlyExtended,
- double? dealPeriodSubTotal,
- double? dealPeriodDiscount,
- double? dealPeriodExtended,
- double? variance,
- String? varianceColor,
- double? markupPercent,
- double? marginPercent,
- String? itemClass,
- String? itemOrder,
- bool? optionColor,
- String? recType,
- bool? taxable,
- String? unitId,
- String? nestedOrderItemId,
- double? accessoryRatio,
- String? vendorCurrencyId,
- String? vendorCurrencyCode,
- String? vendorCurrencySymbol,
- String? dealCurrencyId,
- String? dealCurrencyCode,
- String? dealCurrencySymbol,
- double? currencyExchangeRate,
- double? currencyConvertedRate,
- double? currencyConvertedWeeklyExtended,
- double? currencyConvertedMonthlyExtended,
- double? currencyConvertedPeriodExtended,
- int? nestingLevel,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesHomeControlsSubPurchaseOrderItemSubPurchaseOrderItem copyWith(
{String? sessionId,
String? orderId,
String? orderItemId,
String? primaryOrderItemId,
String? parentId,
String? inventoryId,
String? iCode,
String? iCodeColor,
String? description,
String? descriptionColor,
bool? nonDiscountable,
bool? isRecurring,
bool? prorateWeeks,
bool? prorateMonths,
bool? prorate,
String? prorateMonthsBy,
bool? recurringRateType,
bool? isLaborHourly,
String? fromDate,
String? toDate,
double? hours,
double? overTimeHours,
double? doubleTimeHours,
double? subQuantity,
double? quantityOrdered,
double? vendorRate,
double? vendorDaysPerWeek,
double? vendorDiscountPercent,
double? vendorDiscountPercentDisplay,
double? vendorBillablePeriods,
double? vendorWeeklySubTotal,
double? vendorWeeklyDiscount,
double? vendorWeeklyExtended,
double? vendorWeeklyTax,
double? vendorWeeklyTotal,
double? vendorMonthlySubTotal,
double? vendorMonthlyDiscount,
double? vendorMonthlyExtended,
double? vendorMonthlyTax,
double? vendorMonthlyTotal,
double? vendorPeriodSubTotal,
double? vendorPeriodDiscount,
double? vendorPeriodExtended,
double? vendorPeriodTax,
double? vendorPeriodTotal,
double? dealRate,
double? dealDaysPerWeek,
double? dealDiscountPercent,
double? dealDiscountPercentDisplay,
double? dealBillablePeriods,
double? dealWeeklySubTotal,
double? dealWeeklyDiscount,
double? dealWeeklyExtended,
double? dealMonthlySubTotal,
double? dealMonthlyDiscount,
double? dealMonthlyExtended,
double? dealPeriodSubTotal,
double? dealPeriodDiscount,
double? dealPeriodExtended,
double? variance,
String? varianceColor,
double? markupPercent,
double? marginPercent,
String? itemClass,
String? itemOrder,
bool? optionColor,
String? recType,
bool? taxable,
String? unitId,
String? nestedOrderItemId,
double? accessoryRatio,
String? vendorCurrencyId,
String? vendorCurrencyCode,
String? vendorCurrencySymbol,
String? dealCurrencyId,
String? dealCurrencyCode,
String? dealCurrencySymbol,
double? currencyExchangeRate,
double? currencyConvertedRate,
double? currencyConvertedWeeklyExtended,
double? currencyConvertedMonthlyExtended,
double? currencyConvertedPeriodExtended,
int? nestingLevel,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesHomeControlsSubPurchaseOrderItemSubPurchaseOrderItem(
sessionId: sessionId ?? this.sessionId,
orderId: orderId ?? this.orderId,
orderItemId: orderItemId ?? this.orderItemId,
primaryOrderItemId: primaryOrderItemId ?? this.primaryOrderItemId,
parentId: parentId ?? this.parentId,
inventoryId: inventoryId ?? this.inventoryId,
iCode: iCode ?? this.iCode,
iCodeColor: iCodeColor ?? this.iCodeColor,
description: description ?? this.description,
descriptionColor: descriptionColor ?? this.descriptionColor,
nonDiscountable: nonDiscountable ?? this.nonDiscountable,
isRecurring: isRecurring ?? this.isRecurring,
prorateWeeks: prorateWeeks ?? this.prorateWeeks,
prorateMonths: prorateMonths ?? this.prorateMonths,
prorate: prorate ?? this.prorate,
prorateMonthsBy: prorateMonthsBy ?? this.prorateMonthsBy,
recurringRateType: recurringRateType ?? this.recurringRateType,
isLaborHourly: isLaborHourly ?? this.isLaborHourly,
fromDate: fromDate ?? this.fromDate,
toDate: toDate ?? this.toDate,
hours: hours ?? this.hours,
overTimeHours: overTimeHours ?? this.overTimeHours,
doubleTimeHours: doubleTimeHours ?? this.doubleTimeHours,
subQuantity: subQuantity ?? this.subQuantity,
quantityOrdered: quantityOrdered ?? this.quantityOrdered,
vendorRate: vendorRate ?? this.vendorRate,
vendorDaysPerWeek: vendorDaysPerWeek ?? this.vendorDaysPerWeek,
vendorDiscountPercent:
vendorDiscountPercent ?? this.vendorDiscountPercent,
vendorDiscountPercentDisplay:
vendorDiscountPercentDisplay ?? this.vendorDiscountPercentDisplay,
vendorBillablePeriods:
vendorBillablePeriods ?? this.vendorBillablePeriods,
vendorWeeklySubTotal: vendorWeeklySubTotal ?? this.vendorWeeklySubTotal,
vendorWeeklyDiscount: vendorWeeklyDiscount ?? this.vendorWeeklyDiscount,
vendorWeeklyExtended: vendorWeeklyExtended ?? this.vendorWeeklyExtended,
vendorWeeklyTax: vendorWeeklyTax ?? this.vendorWeeklyTax,
vendorWeeklyTotal: vendorWeeklyTotal ?? this.vendorWeeklyTotal,
vendorMonthlySubTotal:
vendorMonthlySubTotal ?? this.vendorMonthlySubTotal,
vendorMonthlyDiscount:
vendorMonthlyDiscount ?? this.vendorMonthlyDiscount,
vendorMonthlyExtended:
vendorMonthlyExtended ?? this.vendorMonthlyExtended,
vendorMonthlyTax: vendorMonthlyTax ?? this.vendorMonthlyTax,
vendorMonthlyTotal: vendorMonthlyTotal ?? this.vendorMonthlyTotal,
vendorPeriodSubTotal: vendorPeriodSubTotal ?? this.vendorPeriodSubTotal,
vendorPeriodDiscount: vendorPeriodDiscount ?? this.vendorPeriodDiscount,
vendorPeriodExtended: vendorPeriodExtended ?? this.vendorPeriodExtended,
vendorPeriodTax: vendorPeriodTax ?? this.vendorPeriodTax,
vendorPeriodTotal: vendorPeriodTotal ?? this.vendorPeriodTotal,
dealRate: dealRate ?? this.dealRate,
dealDaysPerWeek: dealDaysPerWeek ?? this.dealDaysPerWeek,
dealDiscountPercent: dealDiscountPercent ?? this.dealDiscountPercent,
dealDiscountPercentDisplay:
dealDiscountPercentDisplay ?? this.dealDiscountPercentDisplay,
dealBillablePeriods: dealBillablePeriods ?? this.dealBillablePeriods,
dealWeeklySubTotal: dealWeeklySubTotal ?? this.dealWeeklySubTotal,
dealWeeklyDiscount: dealWeeklyDiscount ?? this.dealWeeklyDiscount,
dealWeeklyExtended: dealWeeklyExtended ?? this.dealWeeklyExtended,
dealMonthlySubTotal: dealMonthlySubTotal ?? this.dealMonthlySubTotal,
dealMonthlyDiscount: dealMonthlyDiscount ?? this.dealMonthlyDiscount,
dealMonthlyExtended: dealMonthlyExtended ?? this.dealMonthlyExtended,
dealPeriodSubTotal: dealPeriodSubTotal ?? this.dealPeriodSubTotal,
dealPeriodDiscount: dealPeriodDiscount ?? this.dealPeriodDiscount,
dealPeriodExtended: dealPeriodExtended ?? this.dealPeriodExtended,
variance: variance ?? this.variance,
varianceColor: varianceColor ?? this.varianceColor,
markupPercent: markupPercent ?? this.markupPercent,
marginPercent: marginPercent ?? this.marginPercent,
itemClass: itemClass ?? this.itemClass,
itemOrder: itemOrder ?? this.itemOrder,
optionColor: optionColor ?? this.optionColor,
recType: recType ?? this.recType,
taxable: taxable ?? this.taxable,
unitId: unitId ?? this.unitId,
nestedOrderItemId: nestedOrderItemId ?? this.nestedOrderItemId,
accessoryRatio: accessoryRatio ?? this.accessoryRatio,
vendorCurrencyId: vendorCurrencyId ?? this.vendorCurrencyId,
vendorCurrencyCode: vendorCurrencyCode ?? this.vendorCurrencyCode,
vendorCurrencySymbol: vendorCurrencySymbol ?? this.vendorCurrencySymbol,
dealCurrencyId: dealCurrencyId ?? this.dealCurrencyId,
dealCurrencyCode: dealCurrencyCode ?? this.dealCurrencyCode,
dealCurrencySymbol: dealCurrencySymbol ?? this.dealCurrencySymbol,
currencyExchangeRate: currencyExchangeRate ?? this.currencyExchangeRate,
currencyConvertedRate:
currencyConvertedRate ?? this.currencyConvertedRate,
currencyConvertedWeeklyExtended: currencyConvertedWeeklyExtended ??
this.currencyConvertedWeeklyExtended,
currencyConvertedMonthlyExtended: currencyConvertedMonthlyExtended ??
this.currencyConvertedMonthlyExtended,
currencyConvertedPeriodExtended: currencyConvertedPeriodExtended ??
this.currencyConvertedPeriodExtended,
nestingLevel: nestingLevel ?? this.nestingLevel,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
translation: translation ?? this.translation);
}