fix: align PDA inventory with pallet location blocks
This commit is contained in:
@@ -201,7 +201,7 @@ components:
|
||||
items: {$ref: '#/components/schemas/PickItem'}
|
||||
PickItem:
|
||||
type: object
|
||||
required: [id, loadingPlanItemId, tenantId, inboundId, inboundDetailId, boxCodes, plannedPackageCount, pickedPackageCount, itemStatus, version]
|
||||
required: [id, loadingPlanItemId, tenantId, inboundId, inboundDetailId, boxCodes, inventoryResources, plannedPackageCount, pickedPackageCount, itemStatus, version]
|
||||
properties:
|
||||
id: {type: integer, format: int64}
|
||||
loadingPlanItemId: {type: integer, format: int64}
|
||||
@@ -215,6 +215,10 @@ components:
|
||||
type: array
|
||||
description: Stable carton label codes; one successful scan represents one carton
|
||||
items: {type: string}
|
||||
inventoryResources:
|
||||
type: array
|
||||
description: Current authoritative whole-block slot snapshots for this inbound; never projected from legacy occupancy rows
|
||||
items: {$ref: '#/components/schemas/InventoryResource'}
|
||||
plannedPackageCount: {type: integer, minimum: 1}
|
||||
pickedPackageCount: {type: integer, minimum: 0}
|
||||
itemStatus: {type: string, enum: [PENDING, PICKING, PICKED, PARTIAL, SKIPPED]}
|
||||
@@ -334,12 +338,16 @@ components:
|
||||
items: {$ref: '#/components/schemas/InventoryResource'}
|
||||
InventoryResource:
|
||||
type: object
|
||||
required: [reservationId, occupancyId, palletId, locationId, sharedOverflow, availablePackageCount]
|
||||
required: [blockId, slotNo, reservationId, locationId, sharedOverflow, slotStatus, availablePackageCount]
|
||||
properties:
|
||||
blockId: {type: integer, format: int64}
|
||||
slotNo: {type: integer, minimum: 1}
|
||||
reservationId: {type: integer, format: int64}
|
||||
occupancyId: {type: integer, format: int64}
|
||||
palletId: {type: integer, format: int64}
|
||||
weightResultId: {type: integer, format: int64, nullable: true}
|
||||
palletSequence: {type: integer, minimum: 1, nullable: true}
|
||||
palletId: {type: integer, format: int64, nullable: true}
|
||||
locationId: {type: integer, format: int64}
|
||||
locationCode: {type: string, nullable: true}
|
||||
sharedOverflow: {type: boolean}
|
||||
availablePackageCount: {type: integer, minimum: 1}
|
||||
slotStatus: {type: string, enum: [RESERVED_EMPTY, BOUND]}
|
||||
availablePackageCount: {type: integer, minimum: 0}
|
||||
|
||||
Reference in New Issue
Block a user