does anyone know if there is a method for pulling out the outgoing types for purchase orders? I can't see one but then again the naming conventions are weird.
If I understand you correctly, I think you have to loop through the lines of your receipt (or invoice), extract the ChargeType (which can be different in each line if an order is for multiple products), then get all your nominal codes (KashFlow API - Manual - Methods - GetNominalCodes) and loop through those until you get to the one whose ID (KashFlow API - Manual - Classes - NominalCode) matches your ChargeType. You can then get the human readable name of the charge type from Name. Phew! Good luck ;-)
Yes they are a bit. I said a similar thing in this thread (http://forums.kashflow.com/develope...-select-previously-added-product-invoice.html). I got a bit confused by it all, but I think I sorted it out in the end.
Thanks for this, i was getting close but i think this is going to take a full 10 hours sleep and cup of superman coffee to get my head round it and tackle it. yep, very weird how they name things, quiet often it doesn't relate to how they name things on their site(took me a while to realise sites where projects).
Hi Rob, Is it just a list of codes and their IDs that you want? If so, just use KashFlow API - Manual - Classes - NominalCodeExtended Terminology is all over the place on the API, we will be getting this sorted.
Hi Duane, thanks for replying. Yes, that's what i was looking for, it's just taking me time to get my head round how you name everything. also you get my vote for PM if you ban bank holidays Cheers and have a good one