Please tell me how to fix this.
*This post is locked for comments
As other members suggested, you need to perform a setup somewhere to add a journal template as required by your customization. Best option is to use debugger to identify exact place where this setting needs to be done.
Hi,
You code fails at recGenJournalTemplate.GET("Gen. Journal Template Code");
In your Gen. Journal Template table, try to add a record, with the "Location Code".
This way you can identify, whether this is the place it fails.
Hope it helps.
seems code which is causing error is already commented.
recGenJournalTemplate.GET("Gen. Journal Template Code");
you need to use debugger to identify exact place of error.
please contact partner
{
//>> MGM_MIG_2009R2_to_2013R2_HZ11
//ACXBASE Begin
recGenJournalTemplate.GET("Gen. Journal Template Code");
IF "Location Code" = '' THEN BEGIN
IF recGenJournalTemplate."Location Code" <> '' THEN
VALIDATE("Location Code", recGenJournalTemplate."Location Code");
END;
//ACXBASE END
//<< MGM_MIG_2009R2_to_2013R2_HZ11
}
IF "No." = '' THEN BEGIN
TestNoSeries;
NoSeriesMgt.InitSeries(GetNoSeriesCode,xRec."No. Series","Posting Date","No.","No. Series");
END;
Please check this any problem in this code unit...?
Check the setup or check by activating debugger or take help from developer/partner as this is customization
It is missing some kind of setup as part of your customization, as others mentioned easiet way to find this is run the debugger
you need to check using debugger..
check Oninsert trigger..
For manual No also its giving same error
Hi,
It is definitely a customization of some sort. Can you manually enter the No.?
it seems you have some customizations. please check or contact partner..
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156