0 Replies Latest reply: Jan 25, 2013 2:24 AM by fendy_chang RSS

    Defaulting value for Invoice Currency LOV in Supplier Sites

    fendy_chang
      Hi,

      I'm new to OAF and need to migrate form personalization in 11i for Supplier Sites to release R12.1.3 with following condition
      WHEN-NEW-RECORD-INSTANCE
      fnd_profile.value('ORG_ID') = 1 -> Set Invoice Currency to USD and show message 'Invoice Currency change to USD'
      and :SYSTEM.RECORD_STATUS != 'QUERY'
      and :SYSTEM.RECORD_STATUS != 'CHANGED'

      fnd_profile.value('ORG_ID') = 2 -> Set Invoice Currency to SGD and show message 'Invoice Currency change to SGD'
      and :SYSTEM.RECORD_STATUS != 'QUERY'
      and :SYSTEM.RECORD_STATUS != 'CHANGED'

      Understand that it must be done through CO Extension in processRequest.
      The objects structure are :
      -header: Key Payment Setups
      - stackLayout
      - table: Key Payment Setups
      - column: (InvCurrCol)
      -messageChoice: Invoice Currency
      with VO SitesVO and VO attribute InvoiceCurrencyCode.

      Kindly advice the code in processRequest method.

      Many thanks in advance,
      efends