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

Config Package - Mapping a default value

(0) ShareShare
ReportReport
Posted on by 55

Hi everyone,

I'm running into an issue where a custom configuration package is not uploading the correct values for sales order records being created. We're using a config package to import orders for marketing purposes (outside of our normal import of orders from our web store), and all of these orders need to have a customer channel code (here shown as shortcut dimension 1 code) of "SAMPLES". With the import, we're only getting a few records filled out with this field even though they're all imported the same way. ie, the field is coming in blank on the sales order table. We're currently solving this via edit in Excel but are looking for a more permanent solution.

I had 2 possible solutions that could resolve this:

1) Can I map a field to always be used during imports? ie, in the config package can I set this field to always be "SAMPLES" regardless of what's input? I see a field called "Mapping Exists" which I believe can be used for this.

2) When I create a sales order manually with this customer number, the customer channel field is automatically filled out. Is there a setting in the config package that allows auto-updates like this?

I provided screenshots from different imports but please let me know if you guys have any ideas!

pastedimage1675273980856v1.png pastedimage1675274339306v2.png

  • Suggested answer
    YUN ZHU Profile Picture
    79,380 Super User 2025 Season 1 on at
    RE: Config Package - Mapping a default value

    Hi, Please confirm the following two settings first.

    1. Did you enable the Dimensions as Columns?

    pastedimage1675301750928v1.png

    2. Did you not enable Validate Field?

    pastedimage1675301849520v3.png

    Hope this gives you some hints.

    Thanks

    ZHU

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,280 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,038 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans