LS Retail - Statement Posting Error On Rounding Difference

GregkastGregkast Member Posts: 3
Hi ,

While posting statement getting error No. Series Code " does not exist. I have setup the Round Post. No. Series for the specific store. Can anyone help me ?

Comments

  • ara3nara3n Member Posts: 9,256
    turn on the debugger and if don't know how to use it, paste the code where it stops and also paste the call stack.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • GregkastGregkast Member Posts: 3
    CODEUNIT 396
    DEBBUGER STOPS ON THE BOLD LINE


    IF ModifySeries OR (LastNoSeriesLine."Series Code" = '') THEN BEGIN
    IF ModifySeries THEN
    NoSeriesLine.LOCKTABLE;
    NoSeries.GET(NoSeriesCode);
    SetNoSeriesLineFilter(NoSeriesLine,NoSeriesCode,SeriesDate);
    IF NOT NoSeriesLine.FIND('-') THEN BEGIN
    NoSeriesLine.SETRANGE("Starting Date");
    IF NoSeriesLine.FIND('-') THEN
    ERROR(
    Text004,
    NoSeriesCode,SeriesDate);
    ERROR(
    Text005,
    NoSeriesCode);
    END;
    END ELSE
    NoSeriesLine := LastNoSeriesLine;
  • ara3nara3n Member Posts: 9,256
    Can you also put the callstack?
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • apertierraapertierra Member Posts: 61
    You need to setup the series for something else (that seems to be empty). Keep pressing F8 in the debugger and you will find where it's calling the function for the no. series and that way find what number series is trying to use (so what field to setup).
  • girish.joshigirish.joshi Member Posts: 407
    I'm fairly certain that the no. series that you have setup as Statement No. Series on your store card doesn't exist in the database you are posting to.

    Sometimes this happens when you setup Store specific no. series, but only post in the head office. make sure all of the no. series are defined in teh head office database.
Sign In or Register to comment.