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

Thread: Pass a variable from BSFN to BSFN

  1. #11
    New Member
    Join Date
    Dec 2017
    Posts
    34
    I can actually step through the code in real time and see all values being passed for both the B4200310 and B4200311. I can see the value passed in the B4200310 for URAT, the issue is that when the B4200311 executes it populates a 0 to the URAT. This is the code from the B4200311 "MathCopy(&lpdsF42UI12->zdurat,&lpds4200310B->mnUserReservedAmount);".


    The &lpds4200310B->mnUserReservedAmount has a 0, so now I've just moved a 0 the &lpdsF42UI12->zdurat


    When execution returns to the B4200310 MathCopy(&lpdsF4211->sdurat, &lpdsF42UI12->zdurat); since B4200311 moved a 0 to &lpdsF42UI12->zdurat, I am now writing a 0 to the F4211.


    I can see all of the above transpire as i run through debug.


    If any of you have DSI\Patwel DataBrowser, we can replicate this process pretty easily.

  2. #12
    Senior Member Larry_Jones's Avatar
    Join Date
    Nov 2000
    Location
    Spokane, WA, USA
    Posts
    3,207
    You still haven't told us your JDE version. Like I said before, in some earlier versions if you wanted to use the user reserved fields in F4211 you had to di some work in the BSFNs.
    Larry Jones
    E1 9.2 - TR 9.2.2.6 on Win 2016 R2. SQL Server 2016
    Wintel, BI Publisher

  3. #13
    New Member
    Join Date
    Dec 2017
    Posts
    34
    9.0 (9.1.4)

  4. #14
    Senior Member johndanter's Avatar
    Join Date
    Sep 2003
    Location
    Cork, Ireland
    Posts
    1,346
    Not sure if you missed my post above?
    If URAT is not needed in a calculation anywhere and is only there just to stamp the F4211 for later use, then just update it afterwards.

    I use DC Link and have the same issue, this is what I do....unless it's needed inside the calls for a decision somewhere
    John Danter
    You don't go out looking for a job dressed like that do you, on a weekday?

    E900 TR 9.1.5.3 Unix

  5. #15
    New Member
    Join Date
    Dec 2017
    Posts
    34
    B310_B311.doc

    The attached file outlines where i now have an issue. I think the DS is not being defined correctly in the B4200311


    Thanks again,
    FrankCLT

  6. #16
    Member craig_welton's Avatar
    Join Date
    Oct 2000
    Location
    Litchfield, CT
    Posts
    977
    There is a function called F4211PostEditLine which you can call after edit line to populate the used defined columns in the cache/work table. Might be easier.

    Craig
    Craig Welton
    PatWel Group Inc.
    http://www.patwel.com
    Home of the FREE JDE Object Browser, JDETrace and NERDup Tools

    E1 9.0 8.98.4.2 Wintel SQL 2008
    E1 9.2 9.2.1.4 iSeries

  7. #17
    New Member
    Join Date
    Dec 2017
    Posts
    34
    Thank you, I will certainly give this a try.......

  8. #18
    New Member
    Join Date
    Dec 2017
    Posts
    34
    I have figured out another way of doing what I required. I think the user reserved BSFN will work but i took a different approach. I probably should have asked my question a different way.

    My question should have been asked more to the matter of simply -- how would i pass a value(s) to and from a Internal or if appropriate and external Function Prototype? Doesn't need to be a User Reserved field but this could have been any value i would have needed in a particular Function Prototype.


    Thank you ALL for the assistance in my quest for knowledge....
    FrankCLT

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.