24. August 2009 11:19
Gen. Journal Line - OnPreDataItem()
IF GenJnlBatch.GET("Journal Template Name","Journal Batch Name") THEN
IF GenJnlBatch."No. Series" <> '' THEN
MESSAGE ('%1',GenJnlBatch."No. Series");
DocNo := NoSeriesMgt.GetNextNo(GenJnlBatch."No. Series",TODAY,TRUE);
24. August 2009 11:29
31. August 2009 09:13
IF GenJnlBatch.GET("Journal Template Name","Journal Batch Name") THEN
IF GenJnlBatch."No. Series" <> '' THEN
DocNo := NoSeriesMgt.TryGetNextNo(GenJnlBatch."No. Series",TODAY,TRUE);
IF GenJnlBatch.GET("Journal Template Name","Journal Batch Name") THEN
IF GenJnlBatch."No. Series" <> '' THEN
NoSeriesLine.GET(GenJnlBatch."No. Series",10000);
NoSeriesMgt.InitSeries(GenJnlBatch."No. Series",NoSeriesLine."Last No. Used",0D,DocNo,GenJnlBatch."No. Series");
LastNo := NoSeriesLine."Last No. Used";
Ein anderer Anwender hat den Datensatz für diese Nr.-Serienzeile geändert, nachdem er angezeigt wurde. ......
31. August 2009 09:21
2. September 2009 11:36