Results 1 to 3 of 3

Thread: BSSV - Convert Integer to MathNumeric

  1. #1

    BSSV - Convert Integer to MathNumeric

    Hi,

    Could anyone please let me know on how to convert Integer to Mathnumeric.

    Do we need to create two separate variables, one for integer & one for mathnumeric or is there any other alternative ?

    It would be great, if anyone provides the snippet of it.

  2. #2
    Member ONYX's Avatar
    Join Date
    Dec 2002
    Location
    Melbourne, AU
    Posts
    127
    Hello jdesuren,
    You need to create MathNumeric variable and pass Integer in the constructor

    Here is a extract from MathNumeric class
    Code:
       // Constructors
        public MathNumeric() { }
        public MathNumeric(Integer p1) { }
        public MathNumeric(int p1) { }
    Standard InternalProcessContact BSSV
    \J0100003\valueobject\InternalProcessContact.java

    Code:
         public void setMnAddressNumber(Integer iAddressNumber) {
           if (iAddressNumber != null){ 
             this.mnAddressNumber = new MathNumeric(iAddressNumber);
           }
         }
    As you can see mnAddressNumber variable (MathNumeric type) will be created with the value from the iAddressNumber variable (Integer type).

    Here is a good BSSV tutorial from Oracle, there are more available online.
    JDE Business Services Workshop
    http://www.oracle.com/technetwork/to...ice-131800.pdf
    Serg Kurian
    E1 9.2

  3. #3

    Post Requesting for another document

    Hi,
    Thanks for the PDF document!
    Based on your PDF doc, I can work on Table insert. So I want to try on small business function Ex: Get next unique key.
    I got some of the documents from the JDE list but no use. The descriptions are not matching with the Screenshots which they provided in the doc.
    Please share the document if you have any.
    Thanks in advance.

    Thanks,
    Devraj


    Quote Originally Posted by ONYX View Post
    Hello jdesuren,
    You need to create MathNumeric variable and pass Integer in the constructor

    Here is a extract from MathNumeric class
    Code:
       // Constructors
        public MathNumeric() { }
        public MathNumeric(Integer p1) { }
        public MathNumeric(int p1) { }
    Standard InternalProcessContact BSSV
    \J0100003\valueobject\InternalProcessContact.java

    Code:
         public void setMnAddressNumber(Integer iAddressNumber) {
           if (iAddressNumber != null){ 
             this.mnAddressNumber = new MathNumeric(iAddressNumber);
           }
         }
    As you can see mnAddressNumber variable (MathNumeric type) will be created with the value from the iAddressNumber variable (Integer type).

    Here is a good BSSV tutorial from Oracle, there are more available online.
    JDE Business Services Workshop
    http://www.oracle.com/technetwork/to...ice-131800.pdf

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
The legal restrictions and terms of use applicable to this site are available here.
Use of this site signifies your agreement to the terms of use.
JDELIST is NOT affiliated with JD Edwards® & Company, Oracle or Peoplesoft. Contents of this site are neither endorsed nor approved by JD Edwards® & Company and, or Oracle.