Forum Discussion

The_Doc's avatar
The_Doc
Ultimate Cover User
4 years ago
Solved

API dropping a line in an invoice

Hi MYOB API    I will post directly to you but thought I would drop this on the general post forum for the developers and API people for interesting information.   I have a client using a Job Cos...
  • The_Doc's avatar
    The_Doc
    4 years ago

    Hi Komal_S 

     

    Problem solved - minor bug in my JSON dictionary - my coding loop to decide whether a line in a service invoice was a "Type: Header" or "Type: Transaction" - however my lookup only said - if the word in this line is "Header" then ignore

    instead of - if word in this line is "Type: Header" - 

    and the bug was if the line description had a word in there ........... header ........    then that line was ignored.

     

    And the 1 in 1000 invoices - a description had the word ... header in there which resulted that line being ignored.

    The bug has been fixed.

     

    The Doc 

Looking for something else?

Search the Community Forum for answers or find your topic and get the conversation started!

Community home

Level up your skills using MYOB software.

 

Find help guides and technical solutions for all MYOB products here

Explore video tutorials for our software at the MYOB Academy here

 

Dig into MYOB Academy for free courses, learning paths and live events to help build your business with MYOB.