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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

Customer Parent Record

(0) ShareShare
ReportReport
Posted on by 677

Good Afternoon,

I am looking at a way to make Business Central potentially work for a customer who is in the education sector. Instead of customers they will be students but what I need to do find a way of doing is linking a Customer (Student) record to another Customer record (in this case Sponsor) basically like a parent record to the customer.

If there is a way to do this then please let me know. IF there is a way then my next question will be finding a way to split an invoice between different Customers which are linked, either by an amount or a specific percentage. Example below:

Invoice no. 1001 which is for £10,000

This is to be split three ways - 

- 20% to the main customer (student record)

- 50% to a parent record (sponsor linked to student record)

- 30% to another parent record (additional sponsor also linked to the student record)

Is there any practical way of achieving this? Hopefully it is somewhat clear what I am trying to achieve here, if I have been unclear then please let me know.

Categories:
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    You can do that with a customization (extension), not so difficult to do.

  • abutler1986 Profile Picture
    677 on at

    Hi Stefano,

    Good to know, are you able to go into any specifics at all so I have a better understanding?

    Thanks,

    Andrew

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    Just an a starting idea:

    1) create a tableextension object to Customer table and add a field called "Parent Customer"

    2) create a pageextension object and add it to the Customer Card

    In this way you can link customers to its parents.

    regarding the invoicing, it's not so clear to me what you need to do but it seems that if you need to create an Invoice to a customer X that is linked to other, you need to split the amount to the other linked customers, so in your example for Invoice no. 1001 which is for £10,000 you need to create 3 separate invoices.

    For that, you can for example:

    - create a processingonly report that asks you for the customer to invoice and the amount to invoice.

    - after insertint these detaisl, the code checkd if there are parent customers and for every customers create a new sales invoice with a line that has the percentage of amount as you want.

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 > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans