intuit partner platform - IPP Find All Accounts - Best Practice -


i trying pull accounts quickbooks online account. user has on 350 accounts pull. there way pull them @ once? if not, there way determine how many records there pull, pull them in group? here code:

//pull list of accounts. can pull 100 @ time, need keep enumerating until hit 0         account acct = new account();         _accounts = new list<account>();         (int = 1; < 4; i++)         {             var alist = dataservices.findall(acct, i, 100);             if (alist.count() == 0)             {                 break;             }             _accounts.addrange(alist);         } 

i guessed clients have no more 300 accounts. there way can replace 3 or use more efficient code?

in qbo, paging option accounts.

in qbd, can count using rest api.pfb link. https://developer.intuit.com/docs/0025_intuit_anywhere/0050_data_services/v2/0500_quickbooks_windows/0100_calling_data_services/0015_retrieving_objects#getting_a_record_count


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -