copyWithWrapped method

WebApiModulesInventoryPhysicalInventoryPhysicalInventory copyWithWrapped({
  1. Wrapped<String?>? physicalInventoryId,
  2. Wrapped<String?>? officeLocationId,
  3. Wrapped<String?>? officeLocation,
  4. Wrapped<String?>? officeLocationCode,
  5. Wrapped<String?>? dealId,
  6. Wrapped<String?>? scheduleDate,
  7. Wrapped<String?>? preScanDateTime,
  8. Wrapped<String?>? initiateDateTime,
  9. Wrapped<String?>? physicalInventoryNumber,
  10. Wrapped<String?>? description,
  11. Wrapped<String?>? countType,
  12. Wrapped<String?>? warehouseId,
  13. Wrapped<String?>? warehouseCode,
  14. Wrapped<String?>? warehouse,
  15. Wrapped<String?>? inventoryTypeId,
  16. Wrapped<String?>? inventoryType,
  17. Wrapped<String?>? categoryId,
  18. Wrapped<String?>? category,
  19. Wrapped<String?>? subCategoryId,
  20. Wrapped<String?>? subCategory,
  21. Wrapped<String?>? recType,
  22. Wrapped<String?>? recTypeDisplay,
  23. Wrapped<int?>? stepPreScan,
  24. Wrapped<bool?>? allowStepPreScan,
  25. Wrapped<int?>? stepInitiate,
  26. Wrapped<bool?>? allowStepInitiate,
  27. Wrapped<int?>? stepPrintCountSheets,
  28. Wrapped<bool?>? allowStepPrintCountSheets,
  29. Wrapped<bool?>? allowStepPrintPrescanProgress,
  30. Wrapped<int?>? stepCount,
  31. Wrapped<bool?>? allowStepCount,
  32. Wrapped<int?>? stepPrintExceptionReport,
  33. Wrapped<bool?>? allowStepPrintExceptionReport,
  34. Wrapped<int?>? stepPrintDiscrepancyReport,
  35. Wrapped<bool?>? allowStepPrintDiscrepancyReport,
  36. Wrapped<int?>? stepRecount,
  37. Wrapped<bool?>? allowStepRecount,
  38. Wrapped<int?>? stepPrintRecountAnalysisReport,
  39. Wrapped<bool?>? allowStepPrintRecountAnalysisReport,
  40. Wrapped<int?>? stepPrintReconciliationReport,
  41. Wrapped<bool?>? allowStepPrintReconciliationReport,
  42. Wrapped<int?>? stepItemsAdded,
  43. Wrapped<bool?>? allowStepItemsAdded,
  44. Wrapped<int?>? stepApproveCounts,
  45. Wrapped<bool?>? allowStepApproveCounts,
  46. Wrapped<int?>? stepClose,
  47. Wrapped<bool?>? allowStepClose,
  48. Wrapped<int?>? stepCloseWithoutAdjustments,
  49. Wrapped<bool?>? allowStepCloseWithoutAdjustments,
  50. Wrapped<bool?>? closedWithAdjustments,
  51. Wrapped<bool?>? closedWithOutAdjustments,
  52. Wrapped<bool?>? allowStepPrintResults,
  53. Wrapped<String?>? status,
  54. Wrapped<String?>? cycleLastCounted,
  55. Wrapped<String?>? cycleTrackedBy,
  56. Wrapped<String?>? cycleAisle,
  57. Wrapped<String?>? cycleShelf,
  58. Wrapped<bool?>? cycleOnlyIncludeInventoryWithNonZeroQuantity,
  59. Wrapped<bool?>? approvedPurchaseCost,
  60. Wrapped<bool?>? countInventoryThatIsOut,
  61. Wrapped<bool?>? facilitiesInventory,
  62. Wrapped<bool?>? presInitializeAutomaticallyCountInventoryThatIsOut,
  63. Wrapped<bool?>? cycleIncludeOwned,
  64. Wrapped<bool?>? cycleIncludeConsigned,
  65. Wrapped<bool?>? hideConsigned,
  66. Wrapped<bool?>? selectitemsbyNotUsed,
  67. Wrapped<bool?>? excludeInventoryWithNoAvailabilityCheck,
  68. Wrapped<String?>? approvedByUserId,
  69. Wrapped<String?>? approvedByUser,
  70. Wrapped<String?>? approveDate,
  71. Wrapped<String?>? approveTime,
  72. Wrapped<String?>? inputByUserId,
  73. Wrapped<String?>? inputDate,
  74. Wrapped<String?>? inputTime,
  75. Wrapped<bool?>? inactive,
  76. Wrapped<bool?>? replaceCounts,
  77. Wrapped<String?>? dateStamp,
  78. Wrapped<String?>? auditNote,
  79. Wrapped<String?>? recordTitle,
  80. Wrapped? urlIdentifier,
  81. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  82. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  83. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  84. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  85. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  86. Wrapped<bool?>? hasImport,
  87. Wrapped<bool?>? hasDocuments,
  88. Wrapped<String?>? createdByUserId,
  89. Wrapped<String?>? createdByUserName,
  90. Wrapped<String?>? createdDateTime,
  91. Wrapped<String?>? modifiedByUserId,
  92. Wrapped<String?>? modifiedByUserName,
  93. Wrapped<String?>? modifiedDateTime,
})

Implementation

WebApiModulesInventoryPhysicalInventoryPhysicalInventory copyWithWrapped({
  Wrapped<String?>? physicalInventoryId,
  Wrapped<String?>? officeLocationId,
  Wrapped<String?>? officeLocation,
  Wrapped<String?>? officeLocationCode,
  Wrapped<String?>? dealId,
  Wrapped<String?>? scheduleDate,
  Wrapped<String?>? preScanDateTime,
  Wrapped<String?>? initiateDateTime,
  Wrapped<String?>? physicalInventoryNumber,
  Wrapped<String?>? description,
  Wrapped<String?>? countType,
  Wrapped<String?>? warehouseId,
  Wrapped<String?>? warehouseCode,
  Wrapped<String?>? warehouse,
  Wrapped<String?>? inventoryTypeId,
  Wrapped<String?>? inventoryType,
  Wrapped<String?>? categoryId,
  Wrapped<String?>? category,
  Wrapped<String?>? subCategoryId,
  Wrapped<String?>? subCategory,
  Wrapped<String?>? recType,
  Wrapped<String?>? recTypeDisplay,
  Wrapped<int?>? stepPreScan,
  Wrapped<bool?>? allowStepPreScan,
  Wrapped<int?>? stepInitiate,
  Wrapped<bool?>? allowStepInitiate,
  Wrapped<int?>? stepPrintCountSheets,
  Wrapped<bool?>? allowStepPrintCountSheets,
  Wrapped<bool?>? allowStepPrintPrescanProgress,
  Wrapped<int?>? stepCount,
  Wrapped<bool?>? allowStepCount,
  Wrapped<int?>? stepPrintExceptionReport,
  Wrapped<bool?>? allowStepPrintExceptionReport,
  Wrapped<int?>? stepPrintDiscrepancyReport,
  Wrapped<bool?>? allowStepPrintDiscrepancyReport,
  Wrapped<int?>? stepRecount,
  Wrapped<bool?>? allowStepRecount,
  Wrapped<int?>? stepPrintRecountAnalysisReport,
  Wrapped<bool?>? allowStepPrintRecountAnalysisReport,
  Wrapped<int?>? stepPrintReconciliationReport,
  Wrapped<bool?>? allowStepPrintReconciliationReport,
  Wrapped<int?>? stepItemsAdded,
  Wrapped<bool?>? allowStepItemsAdded,
  Wrapped<int?>? stepApproveCounts,
  Wrapped<bool?>? allowStepApproveCounts,
  Wrapped<int?>? stepClose,
  Wrapped<bool?>? allowStepClose,
  Wrapped<int?>? stepCloseWithoutAdjustments,
  Wrapped<bool?>? allowStepCloseWithoutAdjustments,
  Wrapped<bool?>? closedWithAdjustments,
  Wrapped<bool?>? closedWithOutAdjustments,
  Wrapped<bool?>? allowStepPrintResults,
  Wrapped<String?>? status,
  Wrapped<String?>? cycleLastCounted,
  Wrapped<String?>? cycleTrackedBy,
  Wrapped<String?>? cycleAisle,
  Wrapped<String?>? cycleShelf,
  Wrapped<bool?>? cycleOnlyIncludeInventoryWithNonZeroQuantity,
  Wrapped<bool?>? approvedPurchaseCost,
  Wrapped<bool?>? countInventoryThatIsOut,
  Wrapped<bool?>? facilitiesInventory,
  Wrapped<bool?>? presInitializeAutomaticallyCountInventoryThatIsOut,
  Wrapped<bool?>? cycleIncludeOwned,
  Wrapped<bool?>? cycleIncludeConsigned,
  Wrapped<bool?>? hideConsigned,
  Wrapped<bool?>? selectitemsbyNotUsed,
  Wrapped<bool?>? excludeInventoryWithNoAvailabilityCheck,
  Wrapped<String?>? approvedByUserId,
  Wrapped<String?>? approvedByUser,
  Wrapped<String?>? approveDate,
  Wrapped<String?>? approveTime,
  Wrapped<String?>? inputByUserId,
  Wrapped<String?>? inputDate,
  Wrapped<String?>? inputTime,
  Wrapped<bool?>? inactive,
  Wrapped<bool?>? replaceCounts,
  Wrapped<String?>? dateStamp,
  Wrapped<String?>? auditNote,
  Wrapped<String?>? recordTitle,
  Wrapped<dynamic>? urlIdentifier,
  Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
  fields,
  Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  Wrapped<bool?>? hasImport,
  Wrapped<bool?>? hasDocuments,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  return WebApiModulesInventoryPhysicalInventoryPhysicalInventory(
    physicalInventoryId: (physicalInventoryId != null
        ? physicalInventoryId.value
        : this.physicalInventoryId),
    officeLocationId: (officeLocationId != null
        ? officeLocationId.value
        : this.officeLocationId),
    officeLocation: (officeLocation != null
        ? officeLocation.value
        : this.officeLocation),
    officeLocationCode: (officeLocationCode != null
        ? officeLocationCode.value
        : this.officeLocationCode),
    dealId: (dealId != null ? dealId.value : this.dealId),
    scheduleDate: (scheduleDate != null
        ? scheduleDate.value
        : this.scheduleDate),
    preScanDateTime: (preScanDateTime != null
        ? preScanDateTime.value
        : this.preScanDateTime),
    initiateDateTime: (initiateDateTime != null
        ? initiateDateTime.value
        : this.initiateDateTime),
    physicalInventoryNumber: (physicalInventoryNumber != null
        ? physicalInventoryNumber.value
        : this.physicalInventoryNumber),
    description: (description != null ? description.value : this.description),
    countType: (countType != null ? countType.value : this.countType),
    warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
    warehouseCode: (warehouseCode != null
        ? warehouseCode.value
        : this.warehouseCode),
    warehouse: (warehouse != null ? warehouse.value : this.warehouse),
    inventoryTypeId: (inventoryTypeId != null
        ? inventoryTypeId.value
        : this.inventoryTypeId),
    inventoryType: (inventoryType != null
        ? inventoryType.value
        : this.inventoryType),
    categoryId: (categoryId != null ? categoryId.value : this.categoryId),
    category: (category != null ? category.value : this.category),
    subCategoryId: (subCategoryId != null
        ? subCategoryId.value
        : this.subCategoryId),
    subCategory: (subCategory != null ? subCategory.value : this.subCategory),
    recType: (recType != null ? recType.value : this.recType),
    recTypeDisplay: (recTypeDisplay != null
        ? recTypeDisplay.value
        : this.recTypeDisplay),
    stepPreScan: (stepPreScan != null ? stepPreScan.value : this.stepPreScan),
    allowStepPreScan: (allowStepPreScan != null
        ? allowStepPreScan.value
        : this.allowStepPreScan),
    stepInitiate: (stepInitiate != null
        ? stepInitiate.value
        : this.stepInitiate),
    allowStepInitiate: (allowStepInitiate != null
        ? allowStepInitiate.value
        : this.allowStepInitiate),
    stepPrintCountSheets: (stepPrintCountSheets != null
        ? stepPrintCountSheets.value
        : this.stepPrintCountSheets),
    allowStepPrintCountSheets: (allowStepPrintCountSheets != null
        ? allowStepPrintCountSheets.value
        : this.allowStepPrintCountSheets),
    allowStepPrintPrescanProgress: (allowStepPrintPrescanProgress != null
        ? allowStepPrintPrescanProgress.value
        : this.allowStepPrintPrescanProgress),
    stepCount: (stepCount != null ? stepCount.value : this.stepCount),
    allowStepCount: (allowStepCount != null
        ? allowStepCount.value
        : this.allowStepCount),
    stepPrintExceptionReport: (stepPrintExceptionReport != null
        ? stepPrintExceptionReport.value
        : this.stepPrintExceptionReport),
    allowStepPrintExceptionReport: (allowStepPrintExceptionReport != null
        ? allowStepPrintExceptionReport.value
        : this.allowStepPrintExceptionReport),
    stepPrintDiscrepancyReport: (stepPrintDiscrepancyReport != null
        ? stepPrintDiscrepancyReport.value
        : this.stepPrintDiscrepancyReport),
    allowStepPrintDiscrepancyReport: (allowStepPrintDiscrepancyReport != null
        ? allowStepPrintDiscrepancyReport.value
        : this.allowStepPrintDiscrepancyReport),
    stepRecount: (stepRecount != null ? stepRecount.value : this.stepRecount),
    allowStepRecount: (allowStepRecount != null
        ? allowStepRecount.value
        : this.allowStepRecount),
    stepPrintRecountAnalysisReport: (stepPrintRecountAnalysisReport != null
        ? stepPrintRecountAnalysisReport.value
        : this.stepPrintRecountAnalysisReport),
    allowStepPrintRecountAnalysisReport:
        (allowStepPrintRecountAnalysisReport != null
        ? allowStepPrintRecountAnalysisReport.value
        : this.allowStepPrintRecountAnalysisReport),
    stepPrintReconciliationReport: (stepPrintReconciliationReport != null
        ? stepPrintReconciliationReport.value
        : this.stepPrintReconciliationReport),
    allowStepPrintReconciliationReport:
        (allowStepPrintReconciliationReport != null
        ? allowStepPrintReconciliationReport.value
        : this.allowStepPrintReconciliationReport),
    stepItemsAdded: (stepItemsAdded != null
        ? stepItemsAdded.value
        : this.stepItemsAdded),
    allowStepItemsAdded: (allowStepItemsAdded != null
        ? allowStepItemsAdded.value
        : this.allowStepItemsAdded),
    stepApproveCounts: (stepApproveCounts != null
        ? stepApproveCounts.value
        : this.stepApproveCounts),
    allowStepApproveCounts: (allowStepApproveCounts != null
        ? allowStepApproveCounts.value
        : this.allowStepApproveCounts),
    stepClose: (stepClose != null ? stepClose.value : this.stepClose),
    allowStepClose: (allowStepClose != null
        ? allowStepClose.value
        : this.allowStepClose),
    stepCloseWithoutAdjustments: (stepCloseWithoutAdjustments != null
        ? stepCloseWithoutAdjustments.value
        : this.stepCloseWithoutAdjustments),
    allowStepCloseWithoutAdjustments:
        (allowStepCloseWithoutAdjustments != null
        ? allowStepCloseWithoutAdjustments.value
        : this.allowStepCloseWithoutAdjustments),
    closedWithAdjustments: (closedWithAdjustments != null
        ? closedWithAdjustments.value
        : this.closedWithAdjustments),
    closedWithOutAdjustments: (closedWithOutAdjustments != null
        ? closedWithOutAdjustments.value
        : this.closedWithOutAdjustments),
    allowStepPrintResults: (allowStepPrintResults != null
        ? allowStepPrintResults.value
        : this.allowStepPrintResults),
    status: (status != null ? status.value : this.status),
    cycleLastCounted: (cycleLastCounted != null
        ? cycleLastCounted.value
        : this.cycleLastCounted),
    cycleTrackedBy: (cycleTrackedBy != null
        ? cycleTrackedBy.value
        : this.cycleTrackedBy),
    cycleAisle: (cycleAisle != null ? cycleAisle.value : this.cycleAisle),
    cycleShelf: (cycleShelf != null ? cycleShelf.value : this.cycleShelf),
    cycleOnlyIncludeInventoryWithNonZeroQuantity:
        (cycleOnlyIncludeInventoryWithNonZeroQuantity != null
        ? cycleOnlyIncludeInventoryWithNonZeroQuantity.value
        : this.cycleOnlyIncludeInventoryWithNonZeroQuantity),
    approvedPurchaseCost: (approvedPurchaseCost != null
        ? approvedPurchaseCost.value
        : this.approvedPurchaseCost),
    countInventoryThatIsOut: (countInventoryThatIsOut != null
        ? countInventoryThatIsOut.value
        : this.countInventoryThatIsOut),
    facilitiesInventory: (facilitiesInventory != null
        ? facilitiesInventory.value
        : this.facilitiesInventory),
    presInitializeAutomaticallyCountInventoryThatIsOut:
        (presInitializeAutomaticallyCountInventoryThatIsOut != null
        ? presInitializeAutomaticallyCountInventoryThatIsOut.value
        : this.presInitializeAutomaticallyCountInventoryThatIsOut),
    cycleIncludeOwned: (cycleIncludeOwned != null
        ? cycleIncludeOwned.value
        : this.cycleIncludeOwned),
    cycleIncludeConsigned: (cycleIncludeConsigned != null
        ? cycleIncludeConsigned.value
        : this.cycleIncludeConsigned),
    hideConsigned: (hideConsigned != null
        ? hideConsigned.value
        : this.hideConsigned),
    selectitemsbyNotUsed: (selectitemsbyNotUsed != null
        ? selectitemsbyNotUsed.value
        : this.selectitemsbyNotUsed),
    excludeInventoryWithNoAvailabilityCheck:
        (excludeInventoryWithNoAvailabilityCheck != null
        ? excludeInventoryWithNoAvailabilityCheck.value
        : this.excludeInventoryWithNoAvailabilityCheck),
    approvedByUserId: (approvedByUserId != null
        ? approvedByUserId.value
        : this.approvedByUserId),
    approvedByUser: (approvedByUser != null
        ? approvedByUser.value
        : this.approvedByUser),
    approveDate: (approveDate != null ? approveDate.value : this.approveDate),
    approveTime: (approveTime != null ? approveTime.value : this.approveTime),
    inputByUserId: (inputByUserId != null
        ? inputByUserId.value
        : this.inputByUserId),
    inputDate: (inputDate != null ? inputDate.value : this.inputDate),
    inputTime: (inputTime != null ? inputTime.value : this.inputTime),
    inactive: (inactive != null ? inactive.value : this.inactive),
    replaceCounts: (replaceCounts != null
        ? replaceCounts.value
        : this.replaceCounts),
    dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
    auditNote: (auditNote != null ? auditNote.value : this.auditNote),
    recordTitle: (recordTitle != null ? recordTitle.value : this.recordTitle),
    urlIdentifier: (urlIdentifier != null
        ? urlIdentifier.value
        : this.urlIdentifier),
    fields: (fields != null ? fields.value : this.fields),
    custom: (custom != null ? custom.value : this.custom),
    defaultFieldAttributes: (defaultFieldAttributes != null
        ? defaultFieldAttributes.value
        : this.defaultFieldAttributes),
    original: (original != null ? original.value : this.original),
    translation: (translation != null ? translation.value : this.translation),
    hasImport: (hasImport != null ? hasImport.value : this.hasImport),
    hasDocuments: (hasDocuments != null
        ? hasDocuments.value
        : this.hasDocuments),
    createdByUserId: (createdByUserId != null
        ? createdByUserId.value
        : this.createdByUserId),
    createdByUserName: (createdByUserName != null
        ? createdByUserName.value
        : this.createdByUserName),
    createdDateTime: (createdDateTime != null
        ? createdDateTime.value
        : this.createdDateTime),
    modifiedByUserId: (modifiedByUserId != null
        ? modifiedByUserId.value
        : this.modifiedByUserId),
    modifiedByUserName: (modifiedByUserName != null
        ? modifiedByUserName.value
        : this.modifiedByUserName),
    modifiedDateTime: (modifiedDateTime != null
        ? modifiedDateTime.value
        : this.modifiedDateTime),
  );
}