Index: APPS/Halux/Planning/Resource/impl/ConvertAll.cls.xml =================================================================== diff -u -r57446 -r58984 --- APPS/Halux/Planning/Resource/impl/ConvertAll.cls.xml (.../ConvertAll.cls.xml) (revision 57446) +++ APPS/Halux/Planning/Resource/impl/ConvertAll.cls.xml (.../ConvertAll.cls.xml) (revision 58984) @@ -72,9 +72,10 @@ #Dim PRNr, AxProductID as %String Set TOENr=..ProductieOrderLijn.ToeleveringNr Set TLUNr=..ProductieOrderLijn.UniekLijnNr\100*100 - Set ResourceID="" - &SQL(select top 1 ID into :ResourceID from APPS_Halux_Planning_Resource_dto.ResourceLijn where ToeleveringNr=:TOENr and UniekLijnNr=:TLUNr) - Quit $L(ResourceID) + Set PRNr=..ProductieOrderLijn.ProductGetObjectId() + Set ResPRNr="" + &SQL(select top 1 Product into :ResPRNr from APPS_Halux_Planning_Resource_dto.ResourceLijn where ToeleveringNr=:TOENr and UniekLijnNr=:TLUNr) + Quit ResPRNr=PRNr ]]> @@ -97,6 +98,7 @@