diff --git a/server/services/sqlServer/querys/warehouse/ppooQuery.ts b/server/services/sqlServer/querys/warehouse/ppooQuery.ts new file mode 100644 index 0000000..df3f7ff --- /dev/null +++ b/server/services/sqlServer/querys/warehouse/ppooQuery.ts @@ -0,0 +1,13 @@ +export const ppooQuery = ` +select MachineLocation, +[RunningNumber], +ArticleHumanReadableId, +ArticleDescription, +convert(Date, ProductionDay) as productionDay, +ProductionDate +FROM [test1_AlplaPROD2.0_Reporting].[reporting_productionControlling].[ScannedUnit] (nolock) + +where [RunningNumber] in (select Lfdnr from AlplaPROD_test1.dbo.V_LagerPositionenBarcodes (nolock) where IdLagerAbteilung = 00000) + +order by ProductionDate +`;