How to split the lines of sales order?

Hi all, i have an issue when try to split the sales lines on the order.
My goal is to transform line of type = item and with a special flag enabled on that item to the amount of lines equal to the amount of Item Units of Measure specified for this Item No., My problem is that when i try to insert the lines based on the condition the field line no does not autoincrement. any solutions? thanks

Answers

  • JuhlJuhl Member Posts: 724
    It only works from pages.
    From code you have to do it.
    Follow me on my blog juhl.blog
  • DenSterDenSter Member Posts: 8,307
    You can mark the reply in red, but Juhl is right. The line number on a subform is populated through the 'AutoSplitKey' property on the subform. If you are creating lines in code, you will have to program the line number yourself.
Sign In or Register to comment.