how to make sequence number in RTC?

julkifli33julkifli33 Member Posts: 1,092
edited 2010-12-28 in NAV Three Tier
hi all, how to make sequence number in RTC
like we do in classic for order for example
if document type item, we add sequence := sequence + 1
but if document type empty, sequence := sequence
how to do that in rdlc report?
thanks

Comments

  • BeliasBelias Member Posts: 2,998
    Can you explain better what you want to do?
    i've hard time to understand your question :-k
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • SogSog Member Posts: 1,023
    Belias has a point.
    Are you even sure you want to know that, because in the RDLC some solutions have to be completely retought.
    Please give us contexts so that we might be able to help you. For example, when you say document type I think about quote, order, return order, invoice, ... and not document type item. That is a type on a line.
    Do you want to count how many items their are on a "sales/purchase" document?
    |Pressing F1 is so much faster than opening your browser|
    |To-Increase|
  • julkifli33julkifli33 Member Posts: 1,092
    just a sample... like i sales order for example we have 5 item (which is 1 item can more than 1 lines)
    i just want to do the sequence only for the type Item, type blank is no need to add the sequence
  • BeliasBelias Member Posts: 2,998
    -add the counter in the onaftergetrecord of the sales line dataitem
    -put a textbox with the counter in the body section of the sales line dataitem.
    -go to rdlc and put a textbox with the counter value in the body of the table you print; set its hidden property to true if the line type is item

    But what to you want to do?why do you need this counter?
    P.S.: can you have your question translated by someone near you?I don't want to be rude but your english is not very good :roll:
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
Sign In or Register to comment.