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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

General journal lines import

(5) ShareShare
ReportReport
Posted on by 635
hi, i am importing some general journal lines and sales journal lines. On customer cards payment term codes are specified so according to this when i import the sales and general journal BC should calculate due dates from posting dates biased on payment term code right but it's not working every time i got due date field empty.
i tried by inserting due dates manually on excel sheet and then import it with configuration package but not worked i have imported excel file without inserting due dates but just with posting dates but still not working please help me on this
Thanks
I have the same question (0)
  • Suggested answer
    Saif Ali Sabri Profile Picture
    2,352 Super User 2025 Season 2 on at
    It looks like Business Central is not automatically calculating the Due Date from the Payment Terms Code during your import process. Here’s how you can troubleshoot and fix the issue:
    1. Verify Payment Terms Setup:
      • Go to Payment Terms (Search > Payment Terms).
      • Check if the Calculation Method is correctly set (e.g., 30D for Net 30 days).
    2. Ensure Customers Have Payment Terms Assigned:
      • Open Customer Card and confirm the Payment Terms Code is specified.
    3. Check Configuration Package Fields:
      • Make sure the Payment Terms Code and Posting Date are included in the import file.
      • If you're importing Due Date, remove it and let BC calculate automatically.
    4. Import and Validate:
      • Import the journal lines without Due Date and let BC calculate it based on the Posting Date + Payment Terms.
      • If Due Date is still empty, manually open the imported journal and check if the Payment Terms Code is missing.
    5. Manually Refresh the Journal:
      • After import, try updating any field (e.g., change and revert Posting Date) to trigger recalculations.
    6. Use Data Exchange Definition (If Needed):
      • If importing via Data Exchange Definition, check that the mapping is correct.
    7. Test Manually:
      • Try manually entering a new journal line and see if BC calculates the due date.
      • If it works manually but not via import, the issue is with the import process.
    Alternative Workaround:
    If BC is not calculating automatically, you can use Edit in Excel to manually populate the Due Date after import.
     
  • Ramesh Kumar Profile Picture
    7,539 Super User 2025 Season 2 on at
    Hi Talha,
     
    Excel imports are generally straightforward, but can sometimes be tricky as they validate all the fields before importing. If there are any errors, they will be flagged during the import process, whether it's an Excel import or a configuration package.
     
    What error message you are getting? Can you share some screenshot.
     
     
    Thanks
    Ramesh
     
    If this was helpful, please check the "Does this answer your question?" box and mark it as verified.
     
  • Suggested answer
    YUN ZHU Profile Picture
    96,089 Super User 2025 Season 2 on at
    Hi, I'm not sure, maybe you don't have the following option enabled?
     
    Hope this helps.
    Thanks.
    ZHU
  • Gerardo Rentería García Profile Picture
    25,398 Most Valuable Professional on at
  • Suggested answer
    Saif Ali Sabri Profile Picture
    2,352 Super User 2025 Season 2 on at
    The issue in the forum post involves a Business Rule in Dynamics 365 that does not trigger when a column is updated through a plugin or workflow. This is expected behavior because Business Rules run only on the client-side and do not trigger from server-side changes like plugins or workflows.

    Use a real-time workflow or a plugin instead of a Business Rule to ensure the logic executes when the field is updated.
    Option 1: Real-Time Workflow
    1. Navigate to Settings > Processes > New Process.
    2. Select Workflow, choose the entity, and set it as Real-time (synchronous).
    3. Configure it to trigger on field change and define the required actions.
    Option 2: Plugin (Preferred for Complex Logic)
    1. Register a Post-Update plugin on the field.
    2. Write logic in the plugin to handle changes dynamically.
    3. Deploy using the Plugin Registration Tool.
    This ensures the field update triggers necessary actions consistently, regardless of whether it happens from a form, workflow, or plugin.
  • Suggested answer
    Jainam M. Kothari Profile Picture
    15,643 Super User 2025 Season 2 on at
    Hello,
     
    Here are a few steps you can follow to resolve this issue:
    1. Check Payment Term Codes: Ensure that the payment term codes are correctly set up on the customer cards. Go to the customer card and verify that the payment term code is correctly assigned.
    2. Verify Posting Dates: Make sure that the posting dates are correctly entered in your Excel sheet before importing. The due dates are calculated based on these posting dates and the payment term codes.
    3. Configuration Package Setup: When setting up your configuration package, ensure that the fields for posting dates and payment term codes are correctly mapped. Sometimes, incorrect mapping can lead to issues with data import.
    4. Field Mapping in Excel: Double-check that the columns in your Excel sheet are correctly labeled and match the fields in Business Central. For example, ensure that the column for posting dates is correctly labeled and contains valid dates.
    5. Import Settings: When importing the Excel file, make sure that the import settings are correctly configured. Sometimes, specific settings need to be enabled for the due dates to be calculated automatically.
    6. Manual Calculation: If the automatic calculation is not working, you can try calculating the due dates manually in Excel based on the posting dates and payment term codes, and then import the file.
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    21,073 Super User 2025 Season 2 on at
  • Vahid Ghafarpour Profile Picture
    12,204 Super User 2025 Season 2 on at

    If any of the responses helped resolve your issue, please take a moment to mark the best answer. This helps others in the community quickly find solutions to similar problems.

    To do this, simply click the "Does this answer your question?" button on the most helpful response and like the helpful posts. If your issue is still unresolved, feel free to provide more details so the community can assist further!

    Thanks for being an active part of the Dynamics 365 Community! 😊

     

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,573

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 773 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 760 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans