cancel
Showing results for 
Search instead for 
Did you mean: 

Copy some rows from Old invoice to New invoice

Former Member
0 Kudos

Hi,

I want to copy some rows from Old invoice to New invoice. However, i just know the method which is copy fields one by one.

like the following code:

oAR.Lines.FreeText = oAR1.Lines.FreeText

oAR.Lines.ItemDetails = oAR1.Lines.ItemDetails

oAR.Lines.Quantity = oAR1.Lines.Quantity

oAR.Lines.ItemCode = oAR1.Lines.ItemCode

oAR.Lines.ProjectCode = oAR1.Lines.ProjectCode

oAR.Lines.WarehouseCode = oAR1.Lines.WarehouseCode

oAR.Lines.FreeText = oAR1.Lines.FreeText

oAR.Lines.CountryOrg = oAR1.Lines.CountryOrg

oAR.Lines.CSTCode = oAR1.Lines.CSTCode

Any faster way that i copy the entire line rather then assign the value one by one??

Please help

Regards,

Anna

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Anna,

I guess this is the only way to do it.

Vasu Natari.