feat(new command): helper command to remove as non reusable pallets

This commit is contained in:
2025-06-11 20:50:43 -05:00
parent 6156a1a5bb
commit 353960bd26
7 changed files with 314 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
export const labelInfo = `
select top(500) e.Barcode,
e.IdArtikelvarianten as av,
e.lfdnr as rn,
IdEtikettenLayout as labelLayout,
AnzStkJePalette,
Sonstiges_9,AnzStkJeKarton
,case when EinlagerungsMengeSum IS NULL then 'notOnStock' else 'onStock' end as stockStatus
,EinlagerungsMengeSum
--,*
from [AlplaPROD_test1].dbo.[T_EtikettenGedruckt] e (nolock)
left join
[AlplaPROD_test1].dbo.V_LagerPositionenBarcodes as l on
e.LfdNr = l.Lfdnr
where e.LfdNr in ([runningNr])
order by add_date desc
`;