copyWith method
WebApiModulesHomeControlsPhysicalInventoryInventoryPhysicalInventoryInventory
copyWith({
- int? id,
- String? physicalInventoryId,
- String? inventoryId,
- String? iCode,
- String? description,
- String? availableFor,
- String? availableForDisplay,
- double? quantityOwned,
- String? trackedBy,
- double? unitCost,
- bool? isRecount,
- String? aisleLocation,
- String? shelfLocation,
- int? isNegativeInventory,
- double? quantityAdded,
- double? quantityRetired,
- double? lastPurchaseUnitCost,
- double? newUnitCost,
- String? currentSpaceId,
- String? consignorId,
- String? dateStamp,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesHomeControlsPhysicalInventoryInventoryPhysicalInventoryInventory
copyWith(
{int? id,
String? physicalInventoryId,
String? inventoryId,
String? iCode,
String? description,
String? availableFor,
String? availableForDisplay,
double? quantityOwned,
String? trackedBy,
double? unitCost,
bool? isRecount,
String? aisleLocation,
String? shelfLocation,
int? isNegativeInventory,
double? quantityAdded,
double? quantityRetired,
double? lastPurchaseUnitCost,
double? newUnitCost,
String? currentSpaceId,
String? consignorId,
String? dateStamp,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesHomeControlsPhysicalInventoryInventoryPhysicalInventoryInventory(
id: id ?? this.id,
physicalInventoryId: physicalInventoryId ?? this.physicalInventoryId,
inventoryId: inventoryId ?? this.inventoryId,
iCode: iCode ?? this.iCode,
description: description ?? this.description,
availableFor: availableFor ?? this.availableFor,
availableForDisplay: availableForDisplay ?? this.availableForDisplay,
quantityOwned: quantityOwned ?? this.quantityOwned,
trackedBy: trackedBy ?? this.trackedBy,
unitCost: unitCost ?? this.unitCost,
isRecount: isRecount ?? this.isRecount,
aisleLocation: aisleLocation ?? this.aisleLocation,
shelfLocation: shelfLocation ?? this.shelfLocation,
isNegativeInventory: isNegativeInventory ?? this.isNegativeInventory,
quantityAdded: quantityAdded ?? this.quantityAdded,
quantityRetired: quantityRetired ?? this.quantityRetired,
lastPurchaseUnitCost: lastPurchaseUnitCost ?? this.lastPurchaseUnitCost,
newUnitCost: newUnitCost ?? this.newUnitCost,
currentSpaceId: currentSpaceId ?? this.currentSpaceId,
consignorId: consignorId ?? this.consignorId,
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);
}