Using the LibraryImport powerscript function. The code has worked for over 15 years and we have not made any changes to the code in years. Just upgraded from PB2021 to PB2022. The code continues to work in the IDE, but once compiled it does not work. The dw definitions in the database are PB2017. They are created for a second application that is still in PB2017 so can not be changed.
I would then suggest the following .... Use a SelectBlob command to read the DWO source and see if that works.
My thought here is that the DWO Retrieve() is somehow not getting all the DWO Source or the Source is coming across corrupted.
Just a guess at this point. Food for thought
Regards ... Chris