Sign Up

Sign Up to our social questions and Answers to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In


Have an account? Sign In Now

Sign In

Login to our social questions & Answers to ask questions, answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have permission to ask a question, You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Sorry, you do not have permission to add post.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Oraask Logo Oraask Logo
Sign InSign Up

Oraask

  • Write
    • Add A New Post
    • Ask A Question

Oraask Navigation

Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Categories
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Dev Tools
    • Online Compiler
    • Base64 Converter
  • Wiki
    • SQL Tutorials
    • Java Tutorials
    • Python Tutorials
    • JavaScript Tutorials
Home/ Questions/Q 79467
Answered
Question
ditomathew
  • 0
ditomathewExplorer
Asked: June 2, 20222022-06-02T19:26:12+03:00 2022-06-02T19:26:12+03:00In: Oracle Application Framework - OAF

Create Item not showing up in Personalize Table

  • 0

We need to add 2 new fields EFFECTIVE_START_DATE and EFFECTIVE_END_DATE to the table POS_BUS_CLASS_ATTR. I thought of doing VO Extension for BusClassVO1 for 2 additional columns. But I don’t see a create item in the personalize Business Classification Table from UI to add 2 new columns. What’s the best way to have 2 fields added here?

The VO path is – oracle.apps.pos.supplier.server.BusClassVO

Navigation is Payables Super User -> Supplier -> Entry -> Search for a Supplier – > Business Classification
businessclassificationtableOAFsupplier
  • 5 5 Answers
  • 559 Views
  • 0 Followers
  • 0
Answer
Share
  • Facebook

    Related Questions

    • JBO-25058: Definition Attribute10 of type Attribute not found in XXPickSlipVO
    • How To Enable OAF Personalization In Oracle APPS R12
    • How to loop through VO View Object in OAF?
    • How to list all OAF customizations of a particular instance ?
    • VO Extension Error: java.sql.SQLSyntaxErrorException: ORA-00904: "IVS"."EMPLOYEE": invalid identifier

    5 Answers

    • Voted
    • Oldest
    • Recent
    1. Best Answer
      Hassan AbdElrahman Master Oracle ACE Pro ♠ | Oracle Senior ERP Technical Consultant
      2022-06-08T22:03:59+03:00Added an answer on June 8, 2022 at 10:03 pm

      There are two columns already that may fits your need.

      START_DATE_ACTIVE

      Date when the classification becomes active for the supplier

      END_DATE_ACTIVE

      Date when the classification becomes inactive for the supplier

      However, if you need to capture more additional informations in any standard tables, Oracle recommended to capture those additional information through out a DFF attributes. In this table you have 5 addition attributes to use them. Therefore, Oracle not recommended to add any additional physical columns on any standard table.

      • 1
      • Reply
      • Share
        Share
        • Share onFacebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
      • ditomathew Explorer
        2022-06-10T20:43:08+03:00Replied to answer on June 10, 2022 at 8:43 pm
        This answer was edited.

        Thank you. Our business wants user editable fields. So it has to be stored in new fields in DFF.

        The view that is behind this business classification table is BusClassVO. But I don’t see an EO being associated with it to save the changes. How do I proceed there?

        Also even if I extend the VO/EO, is it okay to save the dates in DFF which are varchar?

        I see START_DATE_ACTIVE and END_DATE_ACTIVE are auto populated based on when the classifications are made active/inactive. That’s why I was seeing for the option of DFF.

        • 0
        • Reply
        • Share
          Share
          • Share onFacebook
          • Share on Twitter
          • Share on LinkedIn
          • Share on WhatsApp
        • Hassan AbdElrahman Master Oracle ACE Pro ♠ | Oracle Senior ERP Technical Consultant
          2022-06-11T05:53:31+03:00Replied to answer on June 11, 2022 at 5:53 am

          Firstly, It’s ok to use dates in varchar attributes; that’s why Oracle makes it varchar to accept multiple data types in the form of character, and later on, we can deal with it by converting that to date or number.

          The second point is the VO; try to look into this VO instead of the ones you were looking at

          oracle.apps.pos.supplier.server.BCAttrVO oracle.apps.pos.supplier.server.BCAttrEO

          This one is updateable VO.

          Finally, you can add one of the general attributes that exist on the POS_BUS_CLASS_ATTR table
          by extending above VO and making this field updatable.

          • 1
          • Reply
          • Share
            Share
            • Share onFacebook
            • Share on Twitter
            • Share on LinkedIn
            • Share on WhatsApp
          • ditomathew Explorer
            2022-06-13T08:12:09+03:00Replied to answer on June 13, 2022 at 8:12 am
            This answer was edited.

            BusClassVO is used to show the fields in the Business Classification Page. So I extended the BusClassVO to include Attribute1 and Attribute2 from POS_BUS_CLASS_ATTR. After personalization these fields do show up now in UI, but whatever I enter in these new fields isn’t saved.

            When the Save button is clicked in that Business Classification page, it invokes a method saveBusClass from oracle.apps.pos.supplier.server.ByrSuppAMImpl.

            Inside saveBusClass after some validation it’s calling modifyBusClass. It calls addBusClassAttr or updBusClassAttr depending upon new data or existing data.
            These classes then call the package POS_SUPP_CLASSIFICATION_PKG.add_bus_class_attr/ POS_SUPP_CLASSIFICATION_PKG.update_bus_class_attr to make DML operation. 

            And these packages doesn’t have any of the Attribute columns as their inbound parameters. Also what I noticed is the package is simply updating those attribute column values to null. So how do I proceed here to update the attribute columns now?

            • 0
            • Reply
            • Share
              Share
              • Share onFacebook
              • Share on Twitter
              • Share on LinkedIn
              • Share on WhatsApp
            • Hassan AbdElrahman Master Oracle ACE Pro ♠ | Oracle Senior ERP Technical Consultant
              2022-06-13T18:38:57+03:00Replied to answer on June 13, 2022 at 6:38 pm

              You went in-depth, and to reach this point, I believe it’s better to log SR with Oracle to ask them if they have something else (I doubt) or to get a confirmation that these attributes are used as DFF attributes. They are updatable through the backend without any other impact.

              If they verified to update these columns, you could do that by extending the controller to do the job on your own.

              • 1
              • Share
                Share
                • Share onFacebook
                • Share on Twitter
                • Share on LinkedIn
                • Share on WhatsApp

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Forgot Password?

    Need An Account, Sign Up Here

    Sidebar

    Adv 250x250

    Explore

    • Categories
    • Questions
      • New Questions
      • Trending Questions
      • Must read Questions
      • Hot Questions
    • Dev Tools
      • Online Compiler
      • Base64 Converter
    • Wiki
      • SQL Tutorials
      • Java Tutorials
      • Python Tutorials
      • JavaScript Tutorials

    Footer

    Oraask

    About

    Oraask is a website for developers and software engineers who want to learn new skills, share their knowledge, and solve their coding problems. Oraask provides free content on various programming languages and topics, such as Oracle, Python, Java, etc. Oraask also allows users to ask questions and get answers from other members of the community.

    About Us

    • About Us
    • Contact Us

    Legal Stuff

    • Privacy Policy
    • Terms & Conditions

    Follow

    Oraask is licensed under CC BY-NC-SA 4.0Oraask CopyrightOraask CopyrightOraask CopyrightOraask Copyright

    © 2019 Oraask. All Rights Reserved
    With Love by Oraask.

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.