Sage 100

 View Only
  • 1.  Simple script ? OheaderObj not available on SO lines script

    Posted 06-21-2024 11:56

    Simple script question.   

    On SO lines script, OheaderObj not available (scripting class docs say it's there for line objects).

    Couldn't declare it either.

    Lee 



    ------------------------------
    Lee Graham
    Friendly Systems, Inc.
    ------------------------------


  • 2.  RE: Simple script ? OheaderObj not available on SO lines script

    Posted 06-21-2024 11:58

    Is this because the script is running from a button?   Changes to SO lines is working fine.



    ------------------------------
    Lee Graham
    Friendly Systems, Inc.
    ------------------------------



  • 3.  RE: Simple script ? OheaderObj not available on SO lines script

    Posted 06-21-2024 12:10

    Probably. 

    If you just need to read values from the header, pass the fields in through the button properties.



    ------------------------------
    Kevin Moyes
    Technical Systems Analyst
    Munjal White Consulting Co.
    Toronto ON
    ------------------------------



  • 4.  RE: Simple script ? OheaderObj not available on SO lines script

    Posted 06-24-2024 10:30

    Kevin,

          Your header-field syntax when script is run from a button worked.

    Thanks, Lee



    ------------------------------
    Lee Graham
    Friendly Systems, Inc.
    ------------------------------



  • 5.  RE: Simple script ? OheaderObj not available on SO lines script

    Posted 06-24-2024 10:33
    Used syntax for field ?? SO_SalesOrder_bus_UDF_MY_TOTAL
    as variable in my button script and it worked fine.

    Thanks,
    Lee
    --

    Friendly Systems, Inc.

    Visit us on the web at www.friendlysystems.com
    Office:?? 678.273.4010 ext 4
    Mobile: 404.202.9065
    Fax:?????????? ??678.273.4012
    See our blog at www.friendlysystems.com/blog


    Virus-free.www.avg.com