Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Configuration Template defaults not applied to configuration package import

Posted on by 27

 I am attempting to bulk upload and modify items. All of our items have the same posting groups and I want these fields to be supplied from a template (or just not manually set). 
 
I created a configuration template that defines default values for various posting group fields in the item card. I added this configuration template to my configuration package for uploading items. When I import items, the default values from the configuration template are not present.

How can I apply default values to configuration package imports?

Thank you in advance for the help. 

 
 
 
I have all fields in the configuration template marked as mandatory. I tried with and without this set, no difference. 




 
 
Missing values


Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,565 Super User 2024 Season 2 on at
    Configuration Template defaults not applied to configuration package import
    Hi, if you want to apply default values in batches, you can also try the following method.
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    Ben Baxter Profile Picture
    Ben Baxter 4,915 Super User 2024 Season 2 on at
    Configuration Template defaults not applied to configuration package import
    You mentioned you are attempting to modify existing Items.  I'm not sure if the Data Template is used when modifying existing records.  I haven't tested that, but that would be my thought.  I use the Data Templates when importing new Items, so it does work when the Items don't exist.  My other thought was your "Inv. Posting Group ID", as I try to avoid using ID fields in templates and imports and let the system assign that automatically upon validation.
     
    Since you're only modifying a handful of fields, I would export the data with those fields, add your Posting Group Codes in Excel, save, and then import it back into BC.
     
    Best Regards,
    Ben Baxter
    Accent Software Inc
  • MK-16051900-0 Profile Picture
    MK-16051900-0 27 on at
    Configuration Template defaults not applied to configuration package import
    Additionally, I cannot set the General Product Posting Group via excel import using configuration packages. I assume this is because this field is an entry in a table and not just a value. It shows as type "code20" on the excel document. 

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

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