Creating a Batch

Hi, All.


Please forgive me, but I am BRAND SPANKING NEW to Blackbaud SKY API development.  Just within the past month I joined an organization and came in on a work-in-progress.  It looks like previous developers (both, now gone) got pretty far with creating the JE's in a batch and getting them to successfully load in FE NXT.  As I understand, when the PostJournalEntriesBatch is submitted,

1.)  It create multiple duplicates.  (but I believe I've nailed that down to poor application design with threading).

2.)  When it encounters an erroroneous/invalid account, the whole process fails.  And that could happen at record number 3,800 of 3,810 records.



So, what I'm wondering is, can/should I:


1.)  Create a Batch

2.)  Use the return BatchID and POST Single JE's to the batch one at a time, to the tune of @4k entries? 


I'm already thinking this approach is inefficient due to potential latency issues, but at least the process doesn't have to start over from the beginning.


What say Ye?


Thanks a ton in advance for any guidance and suggestions.


"In great attempts, even a failure is glorious."

- Author (I totally forgot)

Comments

  • ...got it figured out! 
  • May use GET Account (Search), leveraging the last_modified selection to maintain a local database cache of valid account numbers, then parse the input for valid accounts and balancing before you cast the batch.

     
  • Hey Jerre;


    Thanks a ton.  Looks like you responded just as I was closing the topic as "Answered".  But you're right, that is the route we've decided to go.


     

Categories