Ruchi2
Rookie

Opportunity Product Line Items not workings

Hello all.

 

I'm a Salesforce developer, and I'm using Nintex DocGen for Salesforce for the first time. I've tried to read the documentation, but I'm so far unable to find the answer to my question.

 

I'm trying to create an invoice document based on an Opportunity record with Opportunity Products. I'm able to create a merge template which works with all of my standard and custom Opportunity and Opportunity Products fields. However, so far I'm only able to get one Opportunity Product record into my merged document.

 

 

Ruchi2_0-1651065608312.pngRuchi2_1-1651065617612.png

 

Here are the tags I'm using in more readable terms:

     

    <<Opportunity_LineItem_Start>>

  • Product: <<Opportunity_LineItem_Product2>>
  • Quantity: <<Opportunity_LineItem_Quantity>>
  • Unit Price: <<Opportunity_LineItem_UnitPrice>>
  • Here is a screenshot of the relationship I have defined as part of my document package:
  • Ruchi2_2-1651065694968.pngRuchi2_3-1651065706653.png

     

it is showing only one records

 

Ruchi2_4-1651065731972.png

Please help me on this query

Labels: (1)
0 Kudos
Reply
1 Reply
natsu_docs
Nintex Drawloop Expert
Nintex Drawloop Expert

Re: Opportunity Product Line Items not workings

When doing any replication, you'll have to use a replication tag in order for the data to actually replicate as well as having it inside a table as well. In your situation, since it's a row replication, you'll have to use the <<Opportunity_LineItem_Start>> tag in the row where you would like to replicate. You can find this tag at the end of the field tagger of whichever object you're trying to do the replication for.

 

Example that we typically see is doing horizontally like this 

screenshot.png

For your example, you could have it set it just one cell and do the replication such as below:

Capture.PNG

You can read more about replications here: 

https://help.nintex.com/en-US/docgensf/Templates/RowReplication.htm

(under "Replicate rows in Microsoft Word")

0 Kudos
Reply