web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Adding field to general Journals

(0) ShareShare
ReportReport
Posted on by 90

I have added field to cust. ledger entry and bank ledger entry, now I want to add the same field to general journals and auto fill it with the same value whenever the account type is G/L account. Can anyone help me or give me any hint , it would appreciated  

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,111 Moderator on at

    With out knowing what kind of data you want to add to the CLE and BLE i think you should reconsider and maybe use the standard dimension functionality for this instead of coding it. At least if the data you want to add is of a type that can fit into the dimension framework.

    If you do it with dimensions you can define default dimensions on your G/L accounts and have them auto populated to every transaction posted to the G/L account.

  • muaz deyab Profile Picture
    90 on at

    the case here is am doing an integration between business central and Shopify so i just want to store the cashier id in CLE and BLE and now i want to store it in General journal just for information it wont affect any other data , so i want to know the cashier Id in case of refund or return . I asked the functional consultant in my department and he said I should do it this way.

    what i think about is creating field in general journals ( cashier id) and on validate for account type getting the BLE and set the cashier id in general journals. I tried doing this but it did not work

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,111 Moderator on at

    If i where you i would go back to my functional consultant and suggest you add cashierID as an dimension in the system and fill in that dimension value in the G/L journal. That would save you and your customer for lots of customization and further system maintenance when moving to new versions. Easier for you and cheaper for your customer.

    But in case your consultant does not agree with me.

    You need to add the field to the G/L journal line and to all the ledger entry tables where you want to show your cashier id.

    And then find an event trigger in Codeunit 12 where the G/L are posted that you can use to add your cashier ID to the different ledger entries.

    And as i said - using a dimension for your cashierID instead would give you all of this for without customization.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,238

#2
YUN ZHU Profile Picture

YUN ZHU 773 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 630

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans