Skip to main content

NetSuite invoice creation flow recommendation

Comments

5 comments

  • Scott Henderson CTO
    Answer Pro
    Top Contributor

    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
  • Alvaro Ferreira
    Engaged

    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
  • Scott Henderson CTO
    Answer Pro
    Top Contributor

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

    0
  • Alvaro Ferreira
    Engaged

    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
  • Scott Henderson CTO
    Answer Pro
    Top Contributor

    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.