I have developed a C# program which uses the GP 2010 R2 web services model to import expense reports into a payable batch. After getting through many difficult issues I have found myself with one last one, how to get the CreatePayablesInvoice method to auto populate the key field or PayablesDocumentKey object (Voucher Number field on screen 'Payables Transaction Entry') with the next available number.
I have found a way to use an eConnect SQL Stored Procedure to get the next number but I just don't understand why Web Services does not provide this. While I have not used eConnect it appears that it does provide this functionality and since Web Services is based on it why not do the same thing? I feel like I am missing something really simple here.
Ed Morris
*This post is locked for comments
I have the same question (0)