Help debugging BPM Code

I just did it with WIDGETS ONLY… Actually was fairly easy. NO C# CODE REQUIRED! It takes THREE widgets. The beauty here is that SAAS, MTSaas, or anyone that doesnt know C# code can make this work.
This is POST PROCESSING on the Quote Duplicate Method.

  1. Widget 3:(Created FIRST to get the dataset) - we will run the Erp.Quote.UpdateExt BO Method with specified Parameters.
  2. Widget 1: Fill quote lines - this reads the TTQuoteDtl records, and also links back to the source quote, and populates a new TT created for this BPM
  3. Widget 2: Fill quote header - this gets the company and new quote number
    Here is the overall view:
    image

Here is Widget 3: - Note that bindings 1, 4, and 5 have variables… I chose to create NEW Variables. My new dataset for the quote is called “FixQ”

Widget 1: Fill Lines:


You also need to “display” some fields from this query so that we can use them to populate data.
image

Then you map the query to the FixQ.QuoteDtl record (Bind Automatically works)
image

Widget 2 is very similar to Widget 1 (but simpler), but we need the FixQ.QuoteHeader to have the company and quote number:
image


image

2 Likes