Quantcast
Channel: Microsoft Dynamics NAV Forum - Recent Threads
Viewing all articles
Browse latest Browse all 18803

Error in Payment Journal - NAV 2009

$
0
0

This is a very odd error happened to one of our clients. Sometimes when they try to open Payment Journal this error get pop up and then we have to use our developer license and recompile the form. Once we recompile it works fine for few days and then suddenly it throw this error once again.  They are using Dynamics NAV 2009 (Version W1 6.00 (6.00.29626)).

Following is the code in the page.

Form - OnInit()

Form - OnOpenForm()

BalAccName := '';
OpenedFromBatch := ("Journal Batch Name" <> '') AND ("Journal Template Name" = '');
IF OpenedFromBatch THEN BEGIN
  CurrentJnlBatchName := "Journal Batch Name";
  GenJnlManagement.OpenJnl(CurrentJnlBatchName,Rec);
  EXIT;
END;
GenJnlManagement.TemplateSelection(FORM::"Payment Journal",4,FALSE,Rec,JnlSelected);
IF NOT JnlSelected THEN
  ERROR('');
GenJnlManagement.OpenJnl(CurrentJnlBatchName,Rec);

Form - OnCloseForm()

Form - OnQueryCloseForm() : Boolean

Form - OnActivateForm()

Form - OnDeactivateForm()

Form - OnFindRecord(Which : Text[1024]) : Boolean

Form - OnNextRecord(Steps : Integer) : Integer

Form - OnAfterGetRecord()
ShowShortcutDimCode(ShortcutDimCode);

Form - OnAfterGetCurrRecord()
GenJnlManagement.GetAccounts(Rec,AccName,BalAccName);
UpdateBalance;

Form - OnBeforePutRecord()
UpdateBalance;

Form - OnNewRecord(BelowxRec : Boolean)
UpdateBalance;
SetUpNewLine(xRec,Balance,BelowxRec);
CLEAR(ShortcutDimCode);



Viewing all articles
Browse latest Browse all 18803

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>