Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello All,
Can any one help why i am getting this error again and again. I have used Noconcatenate
WEEKData:
Load
*
Resident [allexcel];
CorridorStatus:
NoConcatenate
LOAD
Week,
Text(Material) as MATERIAL,
[Material Description],
[Material Type],
Category,
[Inventory Volume],
[Demand Volume (Eaches)],
Brand,
Variant,
Text([Customer Loc]) AS [Customer Loc],
[Customer Location Description],
[Customer Zone],
[Supplier Loc] ,
[Supplier Location Description],
[Supplier Zone],
[Corridor Status],
Num(DFC, '#0') as DFC,
Num([Min DFC], '#0') as [Min DFC],
Num([Max DFC], '#0') as [Max DFC],
Num([Safety Days Supply],'#0') as [Safety Days Supply],
(Material) & [Customer Loc] as matchProdsku,
TEXT([Customer Loc]) & TEXT(Material) as %MasterKey
resident [WEEKData];
drop table WEEKData;
Try this
WEEKData:
NoConcatenate
Load
*
Resident [allexcel];
CorridorStatus:
NoConcatenate
LOAD
Week,
Text(Material) as MATERIAL,
[Material Description],
[Material Type],
Category,
[Inventory Volume],
[Demand Volume (Eaches)],
Brand,
Variant,
Text([Customer Loc]) AS [Customer Loc],
[Customer Location Description],
[Customer Zone],
[Supplier Loc] ,
[Supplier Location Description],
[Supplier Zone],
[Corridor Status],
Num(DFC, '#0') as DFC,
Num([Min DFC], '#0') as [Min DFC],
Num([Max DFC], '#0') as [Max DFC],
Num([Safety Days Supply],'#0') as [Safety Days Supply],
(Material) & [Customer Loc] as matchProdsku,
TEXT([Customer Loc]) & TEXT(Material) as %MasterKey
resident [WEEKData];
The error appears on the LOAD, not on the DROP, it seems that is the WEEKData table the one that does not exist (maybe already concatenated or just not loaded or empty?)
Try this
WEEKData:
NoConcatenate
Load
*
Resident [allexcel];
CorridorStatus:
NoConcatenate
LOAD
Week,
Text(Material) as MATERIAL,
[Material Description],
[Material Type],
Category,
[Inventory Volume],
[Demand Volume (Eaches)],
Brand,
Variant,
Text([Customer Loc]) AS [Customer Loc],
[Customer Location Description],
[Customer Zone],
[Supplier Loc] ,
[Supplier Location Description],
[Supplier Zone],
[Corridor Status],
Num(DFC, '#0') as DFC,
Num([Min DFC], '#0') as [Min DFC],
Num([Max DFC], '#0') as [Max DFC],
Num([Safety Days Supply],'#0') as [Safety Days Supply],
(Material) & [Customer Loc] as matchProdsku,
TEXT([Customer Loc]) & TEXT(Material) as %MasterKey
resident [WEEKData];
Helpful! thank you so much