No. Series Question

redknightredknight Member Posts: 16
Can someone explain the syntax for the NoSeriesMgt function? I've searched for it and can't seem to find much information about it.

Thanks in advance.

Answers

  • SavatageSavatage Member Posts: 7,142
    Not sure what you mean by Syntax
    See Codeunit 396 "NoSeriesManagement"
  • garakgarak Member Posts: 3,263
    take a look in CU 396
    Do you make it right, it works too!
  • garakgarak Member Posts: 3,263
    arg .... to slow nad not press the submit button, because viewing football 8-[
    Do you make it right, it works too!
  • SavatageSavatage Member Posts: 7,142
    Are the Giants back in traing camp already :lol:
    Going for Back-2-Back Superbowls [-o<
    Oh, the "other" football :mrgreen:
  • garakgarak Member Posts: 3,263
    the RIGHT football. You called it soccer ](*,)
    Do you make it right, it works too!
  • redknightredknight Member Posts: 16
    My problem is that I don't have access to codeunits, so I can't see what is behind NoSeriesManagement. :? I'm trying to write some code that will call up the next number in a new no. series and increment that no. series. I don't know if this requires more than adding the new no. series into the no. series table, like adding some code where I can't. I just need to know how to setup NoSeriesMgt(...). Or someone could post the code for NoSeriesManagement and I could figure it out myself.
  • garakgarak Member Posts: 3,263
    oh, you are an enduser?
    Do you have access to the debugger or client monitor :?:
    Do you make it right, it works too!
  • redknightredknight Member Posts: 16
    I have access to the debugger, I don't know what the client monitor is.
  • redknightredknight Member Posts: 16
    Just looked in the tools menu, client debugger is grayed out
  • redknightredknight Member Posts: 16
    I meant client monitor is grayed out, debugger i can use
  • garakgarak Member Posts: 3,263
    with the debugger you can also see the source in CU 396.
    For example if you create a new customer which req. a noseries. So start the debugger (in your TESTSYSTEM) an press F3 + Enter. Now a new no. will selectet and you see the source behind the Codeunit and know how it work.
    Do you make it right, it works too!
  • redknightredknight Member Posts: 16
    That worked perfectly, thanks for the advice.
  • garakgarak Member Posts: 3,263
    plese note: if your question is solved, please write [solved] in the subject before your subject text.

    Thanks and regards
    Do you make it right, it works too!
  • ReinhardReinhard Member Posts: 249
    FYI to others who come here by search:
    MESSAGE(  noSeries.GetNextNo('SSH',TODAY, FALSE)  );
    

    First parameter is which no series you want. Next is series date, as some series depend on the date. The last is very useful, if true then the series is modified (incremented) otherwise it just tells you value.

    The code above tells you the No. of the NEXT sales shipment header
Sign In or Register to comment.