test(materials per day): work on getting this running better
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* startdate and end date should be passed over
|
||||
*/
|
||||
export const materialPerDay = `
|
||||
use [test3_AlplaPROD2.0_Read]
|
||||
use [test1_AlplaPROD2.0_Read]
|
||||
|
||||
DECLARE @ShiftStartHour INT = 6
|
||||
declare @startDate nvarchar(max) = '[startDate]'
|
||||
@@ -121,7 +121,7 @@ declare @endDate nvarchar(max) = '[endDate]'
|
||||
SELECT
|
||||
[IdBestellung] as purhcaseOrder
|
||||
|
||||
,[IdArtikelVarianten]
|
||||
,[IdArtikelVarianten] as MaterialHumanReadableId
|
||||
,convert(date, [BestellDatum], 120) as orderDate
|
||||
,convert(date, [Lieferdatum], 120) as deliveryDate
|
||||
,[BestellMenge] as qty
|
||||
|
||||
Reference in New Issue
Block a user