im using project module, first i create a project (T&M) and need to define WBS for this project. WBS activity structure its loaded using Data Management and Project work breakdown structure – Draft entity, this works fine. But when i try to load a cost associated to each wbs activity i got SQL error, for this im using Project work breakdown structure - Draft estimates entity.
for some project i could do this manual, but this particular project have more 3,000 activities and do it manually its no practical.
Complete error message (in red what i think its causing this error)
Results. Cannot select a record in ().
The SQL database has issued an error.
Object Server Azure:
[Microsoft][ODBC Driver 13 for SQL Server][SQL Server]Incorrect syntax near the keyword 'AND'.
SELECT HIERARCHYTASKID FROM PROJPLANVERSION
WHERE DATAAREAID='pci' AND
PARTITION=5637144576 AND
HIERARCHYID='PCI-000030'AND
TASKSIBLINGNUMBER = AND
PARENTHIERARCHYTASKID = (SELECT HIERARCHYTASKID FROM PROJPLANVERSION
WHERE DATAAREAID='pci' AND
PARTITION=5637144576 AND
HIERARCHYID='PCI-000030'AND
TASKSIBLINGNUMBER = 1 AND
PARENTHIERARCHYTASKID = (SELECT HIERARCHYTASKID FROM PROJPLANVERSION
WHERE DATAAREAID='pci' AND
PARTITION=5637144576 AND
HIERARCHYID='PCI-000030'