Skip to main content

Notifications

Announcements

No record found.

Business Central forum

Is there a way to add a custom field?

Posted on by Microsoft Employee

Has anyone had any success adding a custom field? If so, how did you go about creating it and are you able to run reports from it?

The company I work for sells plants and trees directly to landscapers. We are still using Quickbooks as we are slowly implementing Business Central. We currently have a custom field in Quickbooks for our Landscapers, "Job Names". There can be numerous invoices associated with each job name. I would like to bring over that same feature but have been unable to find a way to do so. 

Any help would be greatly appreciated.

  • Elofly Profile Picture
    Elofly 175 on at
    RE: Is there a way to add a custom field?

    Hi there!

    I have created the following extension to add the field PAYMENT REFERENCE in Customer Ledger Entry:

    pageextension 50000 PageExtension50000 extends "Customer Ledger Entries"
    {
        layout
        {
            addafter("Document Type")
            {
                field("Payment Reference02102"; "Payment Reference")
                {
                    ApplicationArea = All;
                  
          }
            }
        }
    }
    It is now showing into the PROD environment but I cannot manage to get the information SAVED into there.
    For Vendor Ledger Entry, I dont have this issue.
    I must be missing something here because the field is there, it just does not save the information I put in.
    Any idea?
    Thanks and best regards,
    Elodie
  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Is there a way to add a custom field?

    it works, Thank you so much.

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Is there a way to add a custom field?

    Add extension B in the dependency section in the app.json file in your extension A project.

    A can see B objects only if it’s dependent from B.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Is there a way to add a custom field?

    Hi,

    I have a below scenario:

    1. I have a extension which named "extension A". it doesn't have a field "test field".

    2. there is a third party extension which named "extension B",  it has a field "test field".

    3. so is there a way use my extension A to write a value for field "test field" to extension B  in dynamics 365 business central.

    Thanks in Advance!

    Thanks,

    Ming

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Is there a way to add a custom field?

    do you also agree that dynamics 365 for finance and operation should have this feature on the UI?

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Is there a way to add a custom field?

    Because create new fields on a table is a developer task and I agree that it should do by a developer with developer tools.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Is there a way to add a custom field?

    other flavor of dynamics allow user to create field through the web page on the spot. why does business central don't have the same feature?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Is there a way to add a custom field?

    Understood. Thanks for the help!

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Is there a way to add a custom field?

    No, no need to go on the marketplace. You can create an extension for your single tenant/customer.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Is there a way to add a custom field?

    Thank you for responding. Just to clarify, by creating a table extension, do you mean creating a custom extension into the market place and deploying into production?

    Thanks again.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans