3 Replies Latest reply on Jul 14, 2014 5:34 AM by 2676378

    issue with fdmContext["PERNAME"] in import script




      I am struggling to understand why the following script returns a empty string when assigned to a dimension in a import format.


      def Parse_Period(strfield, strrec):

        sPeriod = fdmContext["PERIODNAME"]

        return sPeriod


      I have tried several combinations of the fdmContext variable without joy (e.g. LOCNAME, PERIODKEY). I have also noticed that there is a discrepency between the Oracle EPRI_Admin_11. guide and the scripts used in the forums. the guide uses fdmContext['LOCNAME'] whereas the forums seem to have success with fdmContext["LOCNAME"]