Getting data of subform in main form.

upasanisandipupasanisandip Member Posts: 405
edited 2006-04-10 in Navision Attain
Hi everybody,

I took one new command button in sales order header form. i.e. form no. 42 & I want the description of sales-detail table when i press that command button.
Any solution if anyone have , pl. let me know.


Thanks
bye .

Sandip.

Comments

  • Marije_BrummelMarije_Brummel Member, Moderators Design Patterns Posts: 4,262
    You can get the information of the salesline by programming code.

    What do you want to do with the information one you have got it from the lines?
  • SavatageSavatage Member Posts: 7,142
    sales-detail table

    :?:
  • upasanisandipupasanisandip Member Posts: 405
    yes, but what is that code i have to write in sales line or header form.
    Basically i want the quantity of item from sales line table when i press that new command button.
  • upasanisandipupasanisandip Member Posts: 405
    sales-line table
  • sggsgg Member Posts: 109
    Since you may have more than 1 record in the sales line, you could create a new field (Flow Field) on the sales Header that Sums up the Quantity filed on the correcponding sales lines the same way you have the Amount filed on the sales header summing up the amount on the sales line.

    Then you call the Calcfields Function when you press you button to get the sum of the Quantity.
    Sunday, Godwin G
Sign In or Register to comment.