phpweb-servicessage-line-50sdata

how to query bank activity with sage sdata service


I am looking at sage 50 sdata webservice I am able to list all bank accounts and I am able to list customer bank account ect but I can not figure out how to list the activity of one of the bank accounts say the the cash account. I am hitting the following endpoint that list only bank accounts "http://localhost:5493/sdata/accounts50/GCRM/-/bankAccountOpCo" I have looked through all the available adapters so I think it must be a query made to the webservice that gives the list of activity for an individual bank account, can anyone adivise


Solution

  • Sage is like a plant and all plants need a seed in this case the seed or should I say table you need to search is tradingActivities it is the root of sage accounts it what accounts call the audit trail my suggestion is to look at the financials module and use the report builder to see how sage would generate the data you require because all data stems from here. You may want to try something likelocalhost:5493/sdata/accounts50/GCRM/-/tradingActivities?where=accountReferance eq"1201"&format=jsonI hope this helps.