Sage 100

 View Only
  • 1.  AP_VendorRemit BOI issue

    Posted 12-15-2025 11:26

    I am trying to add a Vendor Remit address piece to a VB.net BOI app, and running into the following:

    retVal = oSS.nSetProgram(oSS.nLookupTask("AP_VendorRemit_ui")) gets this error:  Lookup program failed. The task id "000000000"  is not on file.

    then

    AP_VendorRemit_bus = oPVX.NewObject("AP_VendorRemit_bus", oSS) gets this error:  <NewObject Error: 200> - You are not authorized to access this program.

    This is Sage 100 2024 standard.  User has full rights to AP.  Vendor records get written correctly and create a mirrored remit address record, but it does not get updated by the VendorRemit call.



    ------------------------------
    Phil McIntosh
    Friendly Systems
    ------------------------------


  • 2.  RE: AP_VendorRemit BOI issue

    Posted 12-15-2025 12:05

    Did you try with the Vendor record already open?  Some objects can only be opened from within its parent.



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



  • 3.  RE: AP_VendorRemit BOI issue

    Posted 12-15-2025 13:20

    @Kevin Moyes - well then the object gets created without error, but then AP_VendorRemit_bus.nWrite() fails with "The object is not in editable state"...though editState = 1



    ------------------------------
    Phil McIntosh
    Friendly Systems
    ------------------------------



  • 4.  RE: AP_VendorRemit BOI issue

    Posted 12-15-2025 13:41

    Never mind - that one was from a typo in  a line I hadn't ever gotten to before because of the first error...

    Thank you!



    ------------------------------
    Phil McIntosh
    Friendly Systems
    ------------------------------