2 Replies Latest reply on Jun 20, 2011 10:06 PM by user8714121

    Amount import script based on entity

      I have a local currency data file with all of my entities in it. However, because of the way SAP stores one of the currencies I need to multiple the amounts for one entity by 100. I have attached the script below to amount field in the import format but I am not having any luck. I am sure there is something I am missing regarding the StrEntity variable. Any help would be greatly appreciated.

      Function XAFcurrency (strField, strRecord)

      If StrEntity="7771"

      XAFcurrency = StrField *100


      XAFcurrency -StrField

      End If
      End Function