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 :
Small and medium business | Business Central, N...
Suggested Answer

Invoice Disc. Code automatically populating

(1) ShareShare
ReportReport
Posted on by 440
Hello,
 
I imported a number of customers via a configuration package. However, on checking the results it seems that teh "Invoice Disc. Code" has been automatically populated with the customer number. There was no Invoice discount code imported on the configuration package. Any ideas how this could have happened? Thank you.
 
I have the same question (0)
  • Suggested answer
    Mustafa Omerbegović Profile Picture
    1,477 Moderator on at
    Hello,
     
    This field will automatically populate when you create a new customer. The predefined value is the same as customer no.
    You can change that later, but that field cannot be blank.
    You don't need to worry if it is populated because you will not generate any discount for that customer if you do not populate discount amounts/percentages in your order. Also, you will need to set up appropriate postings setups for discount postings.
     
    While working with the configuration packages, you can choose which field you want to validate. But, since Invoice Disc. Code is onValidate trigger of No. (customer unique no) you cannot avoid to populate that field.
     
    You will have more fields that are populated after you validate your configuration package, but those fields are predefined and for some of them you can change their values, and delete them, but for some fields, you will need to have some value inserted.
     
    Greetings
  • Suggested answer
    YUN ZHU Profile Picture
    100,998 Super User 2026 Season 1 on at
    Hi, Is it related to Customer Template? I create a new customer and this field is empty.
     
    Hope this helps.
    Thanks.
    ZHU
  • INITMAN007 Profile Picture
    440 on at
    Hi ZHU,
     
    Thank you for your reply. There is no related template and no template was used during the import.
     
  • INITMAN007 Profile Picture
    440 on at
    Hi Mustafa,
     
    Thank you for your reply.
     
    I have tested your answers and i see it happens when a new customer is created. I have never noticed this before.
     
    Many thanks

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,002 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,255 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,217

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans