![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
I answered my own question, and thought I'd share the solution. The script goes something like this...("g" fields are globals) Start with the record you want to dupe (ie with a portal) Set gOrderID1 to OrderID Duplicate record Set gOrderID2 to OrderID New Window Go to LineItems Enter Find Set OrderID to gOrderID1 Perform Find Loop Duplicate Record Set OrderID to gOrderID2 Omit Record Go to Record First Omit Record Exit Loop if Get(FoundCount) = 0 End Loop Close Window |

#4
| |||
| |||
|
#5
| |||
| |||
|
|
Thanks. How do I comment a script? |
|
What should I include in the comments? |

![]() |
| Thread Tools | |
| Display Modes | |
| |