Skip to main content
Answer

Export Scenario - Export same row twice (Conditionnal)

  • February 4, 2023
  • 1 reply
  • 371 views

Forum|alt.badge.img+1

Hi, 

I'm a beginner and we are in integration phase of Acu in our company.

I created a GI and an Export Scenario for this GI.

I would like for specific line of my GI (EG: Lines IF InventoryID contain 'ABC2'), to export the row twice time(duplicate this GI ROW into my excel export).

I think i should try it with "Service Command" , may be <LineNumber>?

How to do that? Do you have an advice or examples?

 

 

Thank you in advance and sorry for my english!

Best answer by yhartman

Hi,

You can utilize a trick by @wyattERP and @lauraj46 to duplicate rows by using a join to the DateInfo table on you GI. See screenshot below. Changing the DateAdd range will determine how many duplicate rows you will get (I have set to -5 for 5 rows).

 

@TimRodman 

Source:

https://www.augforums.com/forums/acumatica-generic-inquiries/gi-with-2-or-more-different-values/

https://www.augforums.com/forums/acumatica-generic-inquiries/joining-to-dateinfo-table/

 

I hope this helps!

1 reply

Forum|alt.badge.img+3
  • Jr Varsity I
  • Answer
  • February 12, 2023

Hi,

You can utilize a trick by @wyattERP and @lauraj46 to duplicate rows by using a join to the DateInfo table on you GI. See screenshot below. Changing the DateAdd range will determine how many duplicate rows you will get (I have set to -5 for 5 rows).

 

@TimRodman 

Source:

https://www.augforums.com/forums/acumatica-generic-inquiries/gi-with-2-or-more-different-values/

https://www.augforums.com/forums/acumatica-generic-inquiries/joining-to-dateinfo-table/

 

I hope this helps!