Update Inventory Collection Movement

Update Inventory Collection Movement Mutation

Updates an existing InventoryCollection object in the system with new data. Collection movements represent grouped operations that coordinate multiple related movements as a single logical unit.

Arguments

Name
Type
Description

id

ID!

The unique identifier of the inventory collection to update

input

UpdateInventoryCollectionInput!

Input data for updating the inventory collection

Return Type

UpdateCollectionMovementOutput - Contains the updated inventory collection and any related workflows.

Input Fields

UpdateInventoryCollectionInput:

Field
Type
Description

dataTypeID

UUID

Optional data type ID to associate with the collection

clearDataTypeID

Boolean

Clear the existing data type ID

dataTypeSlug

String

Optional data type slug

clearDataTypeSlug

Boolean

Clear the existing data type slug

data

Map

Custom data associated with the collection

clearData

Boolean

Clear the existing custom data

handler

String

Handler responsible for coordinating the collection

clearHandler

Boolean

Clear the current handler assignment

assignee

String

Person or team assigned to execute the collection

clearAssignee

Boolean

Clear the current assignee

assignmentDate

Time

When the collection was assigned

clearAssignmentDate

Boolean

Clear the assignment date

Return Fields

UpdateCollectionMovementOutput:

Field
Type
Description

inventoryCollection

InventoryCollection!

The updated inventory collection

workflows

[TemporalWorkflow]

Related workflow instances that were triggered

Usage Example

JavaScript Example

Important Notes

  • Collection Coordination: Updates to collections may affect all related individual movements within the collection

  • Handler vs Assignee: The handler coordinates the collection while the assignee executes the physical work

  • Assignment Timing: Use assignmentDate to track when work was allocated to teams

  • Workflow Impact: Updates may trigger coordination workflows, resource allocation, or progress tracking workflows

  • Data Validation: The system validates that collection parameters are consistent with the individual movements it contains

  • Audit Tracking: All updates to collections are logged for audit purposes

  • Batch Operations: Collections are typically used for batch processing of related movements

Common Update Scenarios

  1. Reassign Team: Change which team is responsible for executing the collection

  2. Update Coordination: Modify how individual movements within the collection are coordinated

  3. Adjust Priority: Change collection priority to expedite or defer processing

  4. Add Instructions: Include special handling requirements or safety protocols

  5. Update Progress Tracking: Modify reporting frequency or quality check requirements

  6. Resource Reallocation: Update equipment, staff, or workspace assignments

Collection Management Best Practices

  • Clear Communication: Ensure all team members understand collection scope and requirements

  • Progress Monitoring: Use frequent reporting to track collection progress

  • Resource Planning: Allocate sufficient resources for the entire collection duration

  • Quality Control: Implement checkpoints throughout the collection execution

  • Coordination: Maintain clear communication between handler and assignee roles

After updating a collection movement, you may need to:

  • Update individual movements within the collection to reflect changes

  • Notify all affected team members about the updates

  • Adjust resource reservations and scheduling

  • Update progress tracking and reporting systems

Last updated

Was this helpful?