Scripting

  • 1.  Sage 100 2016 BOI app importing into manual check

    Posted 01-16-2018 05:28
    Sage 100 2016 BOI app importing into manual check entry. The Vendor numbers are the first letter of the vendor name plus 5 digits. When I import a payment, I am getting an error that ""the vendor number is not numeric"". The AP invoices import fine in the same app with the same vendor numbers. Any ideas?


  • 2.  RE: Sage 100 2016 BOI app importing into manual check

    Posted 01-16-2018 05:54
    What is the return value when setting the field value, 0 or -1? I've just seen that same message but for a sales order number, the record gets written anyway though.


  • 3.  RE: Sage 100 2016 BOI app importing into manual check

    Posted 01-16-2018 06:08
    Found the problem - I was getting the header last error message, not the line. The real message was ""missing the invoice"".


  • 4.  RE: Sage 100 2016 BOI app importing into manual check

    Posted 01-16-2018 06:09
    I think the error message does not really apply. I have seen a situation where it sets LastErrorNum$ to that value just before evaluating the vendor number (or sales order) but then it does not fail at that point and continues running. However, it might run into a subsequent failure which does *not* set a LastErrorNum$ value, so when it returns to the caller, you see the incorrect error message. I suspect that's what's happening. Of course, the problem now is to discern what the correct error really is. That's might be a challenge.


  • 5.  RE: Sage 100 2016 BOI app importing into manual check

    Posted 01-16-2018 06:11
    Lol, also just did that involving the so tracking object, copied the debug lines used for the header and forgot to change to the tracking object.