fix(firstleg): transfer carton labels to remainder inbound

This commit is contained in:
2026-08-24 14:08:17 +08:00
parent 506cc69808
commit 8e61cfd202
6 changed files with 41 additions and 6 deletions
@@ -66,6 +66,8 @@ class PdaPickSettlementServiceTest {
verify(splits).cloneChildWithPurpose(eq(10001L), eq(31L), eq(31L), anyLong(),
eq(1002L), eq("ORDER-REMAINDER"), eq("IN-001-1"), eq(12),
eq(1), eq("REMAINDER"), eq(9L), eq("operator"));
verify(splits).transferRemainingCartonLabels(eq(10001L), eq(31L), anyLong(),
eq(1002L), eq("IN-001-1"), eq(12));
verify(splits).markSourceLoaded(10001L, 31L, 8, 9L, 3);
verify(allocations).consume(10001L, 31L, 1L, 8);
verify(warehouse).settle(eq("internal-token"), org.mockito.ArgumentMatchers.argThat(request ->