NetSuite invoice creation flow recommendation

Hello! I'm seeking for advice on what the best approach to create invoices in NetSuite is.

As you might know, in order to create invoices, we have to have entities added to NetSuite beforehand (customers, vendors, inventory items, etc). With that, would you:

  1. Before creating, sending multiple requests to various other flows to create/update entities and then the invoice? The problem is that you won't know when those requests are fulfilled to then create the invoice.
  2. Create a long flow (if possible), with all required entities requests to then, at the other edge, create the invoice?
  3. Other ideas?

Thanks!

0

Comments

5 comments
Date Votes
  • This is a tricky question to answer without knowing more. If you are trying to keep two important systems in sync, then I would recommend having separate delta flows for each different record type, and the delta flows should all run together, and you can link the flows to run right after each other in the correct order to handle the record dependency rules, etc...

    If it is not possible to have all these separate delta flows running, or maybe you are doing a real-time flow where invoice requests can come in at any time(?) and it is impossible to guarantee that the delta flows ran recently enough to have created all the dependent data, then yes, you should have a really long flow that does each step in the right order to create all the dependent data, and then finally create the invoice last. There is an option called 'Ignore existing' that you can use in your pre steps to avoid creating/updating existing records.

    Good luck!

    0
  • Thanks again, Scott.

    I don't need a real-time flow.

    ...and the delta flows should all run together, and you can link the flows to run right after each other in the correct order...

    What do you mean by that? Is that a configuration that can be done in the integrator?

    Thanks.

    0
  • See the following pic, and please note that delta flows linked together this way will always share the same transactional delta time window.

    0
  • Got it.

    Would all flows that run in sequence receive the same payload? If so, I'd have to call the first with all data necessary to all of them, right?

    Thanks!

    0
  • No, that is not how it works. It is much easier. I recommend contacting support, or attending office hours (and please reference this post when you talk to someone); and they should be able to explain in more detail how it works.

    0

Please sign in to leave a comment.

 

Didn't find what you were looking for?

New post