Sage 100

 View Only
  • 1.  Is there a way to use a button script to update a UDF in the AR Invoice history Inquiry?

    Posted 08-22-2022 15:34
    I seem to remember that there is a object that can be use to update a UDT in AR_InvoiceHistoryHeader. Can anyone remind me how that is done?

    Thanks in advance.,

    ------------------------------
    Jim Woodhead
    DSD Business Systems
    619-990-3946
    ------------------------------


  • 2.  RE: Is there a way to use a button script to update a UDF in the AR Invoice history Inquiry?

    Posted 08-22-2022 15:42
    It's my understanding that scripts run from an inquiry screen cannot edit (something about oSession being read only, no matter what object you open).

    You can always use:
    R070

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



  • 3.  RE: Is there a way to use a button script to update a UDF in the AR Invoice history Inquiry?

    Posted 08-22-2022 21:54
    @Dan Burleson has done some cool scripting.​  This might be within his wheelhouse.

    ------------------------------
    Jeff Schwenk
    Bottomline Software, Inc.
    (540) 221-4444
    ------------------------------



  • 4.  RE: Is there a way to use a button script to update a UDF in the AR Invoice history Inquiry?

    Posted 08-23-2022 03:07
    I do that by using button and field object pairs for each UDF to be modified. The fields are for display of the current value of the UDF and the client-side buttons use InputBox commands to solicit the new data. Then the button script calls a BOI script to make the change using the object "AR_InvoiceHistoryInquiry_BUS" for header changes or it's lines object to update the detail. The logic hasn't changed in over a decade. Don't you love scripts?




    ------------------------------
    Dan Burleson
    Software Consultant
    Connex Software
    ------------------------------