Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12

Thread: BSSV development, how to convert mathnumeric and integers?

  1. #11
    New Member
    Join Date
    Jun 2005
    For Internal, you have to format like below for math numeric
    public void setMnQBEOrderNumber_DOCO(Integer iQBEOrderNumber_DOCO)
    if (iQBEOrderNumber_DOCO != null)
    this.mnQBEOrderNumber_DOCO = new MathNumeric(iQBEOrderNumber_DOCO);

    For Publish, format would be like below for math numeric

    public void setMnJobNumber_Out(MathNumeric mnJobNumber_Out)
    if (mnJobNumber_Out != null)
    this.mnJobNumber_Out = new Integer(mnJobNumber_Out.intValue());

    For Amount, cost or line number it would be bid decimal.
    JD Edwards XE B7333, EnterpriseOne 8.11, 9.0 and 9.1, BSSV, C, JAVA

  2. #12
    Conversions in JAVA (BSSV) :

    MathNumeric to Integer :

    private Integer addressNumber = null;

    public void setAddressNumber(MathNumeric addressNumber) {
    this.addressNumber = new Integer(addressNumber.intValue());

    Integer to MathNumeric :

    private MathNumeric addressNumber = null;

    public void setAddressNumber(Integer addressNumber) {
    this.addressNumber = new MathNumeric(addressNumber);

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, Oracle or Peoplesoft.