test(fifo index): started process for fifo index
This commit is contained in:
@@ -0,0 +1,32 @@
|
|||||||
|
export const shippedPallets = `
|
||||||
|
SELECT
|
||||||
|
--[IdJournalLieferPosition]
|
||||||
|
--,[IdJournalPosition]
|
||||||
|
--,[IdLadePlanung]
|
||||||
|
[Beleg] as lot
|
||||||
|
,[LfdNrJeArtikelKunde] as runningNr
|
||||||
|
,l.IdArtikelvarianten as av
|
||||||
|
,x.[Barcode]
|
||||||
|
,[ProduktionsDatum]
|
||||||
|
--,x.[Add_User]
|
||||||
|
--,x.[Add_Date]
|
||||||
|
--,x.[Upd_User]
|
||||||
|
--,x.[Upd_Date]
|
||||||
|
--,[IdJournalWarenPosition]
|
||||||
|
--,[LieferMenge]
|
||||||
|
--,x.[SSCC_ReserveZiffer]
|
||||||
|
--,[EAN_BasisNr]
|
||||||
|
--,[Guid]
|
||||||
|
--,[LieferEinheit]
|
||||||
|
--,x.[Bestrahlungsnummer]
|
||||||
|
FROM [AlplaPROD_test1].[dbo].[T_EAIJournalLieferPosition] x
|
||||||
|
|
||||||
|
--where Barcode = '1000000000000000000000000000000001144380'
|
||||||
|
|
||||||
|
left join
|
||||||
|
[AlplaPROD_test1].[dbo].[T_EtikettenGedruckt] l on
|
||||||
|
x.LfdNrJeArtikelKunde = l.LfdNr
|
||||||
|
|
||||||
|
where x.Add_Date between getDate()-2 and getDate()
|
||||||
|
|
||||||
|
`;
|
||||||
Reference in New Issue
Block a user