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