21 lines
499 B
TypeScript
21 lines
499 B
TypeScript
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
|
|
`;
|