3 Replies Latest reply: Jul 14, 2014 12:34 AM by 2676378 RSS

    issue with fdmContext["PERNAME"] in import script

    2676378

      Hello,

       

      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.1.2.3.510 guide and the scripts used in the forums. the guide uses fdmContext['LOCNAME'] whereas the forums seem to have success with fdmContext["LOCNAME"]

       

      Thanks

       

      KM