feat(new command): helper command to remove as non reusable pallets
This commit is contained in:
20
server/services/sqlServer/querys/warehouse/labelInfo.ts
Normal file
20
server/services/sqlServer/querys/warehouse/labelInfo.ts
Normal 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
|
||||
`;
|
||||
Reference in New Issue
Block a user