It looks like you're new here. Sign in or register to get started.
NewSO.SalesLines = new Sales_Order_Line[6]; for (int i = 0; i < 6; i++) NewSO.SalesLines[i] = new Sales_Order_Line(); SO_srv.Update(ref NewSO);
Comments
Here is one on extension codeunits, but it will accomplish what you need and walk through how to get the basics of a published page in C#:
http://msdn.microsoft.com/en-us/library/dd338962.aspx
You can play with it to learn how to expand that to work for sales lines.