The codeunit 99000755 CalendarManagement manages the calculation of dates using all sorts of calendars; it is a very complex, usable but complex codeunit. Take a look to this post: “Working days only in date calculation” https://dynamicsuser.net/nav/f/developers/10141/working-days-only-in-date-calculation Codeunit 99000755 CalendarManagement and Codeunit 7600 Calendar Management à Function “CalcDateBOC” If you need to calculate dates easily by using a work schedule , you can use a codeunit that uses the virtual table Date and Calendars . A simple function to calculate Date: “Calc5” The simple “ExitDate” function could be useful to easily calculate “ n-business days” from a certain date. The core is one of the three functions called “ Calc*”; the function works on the “date” virtual table . Filtered as Type Date = Date and Period Number from 1 to 5 (excluding Saturdays and Sundays for example). Starting from a certain date (in our case WORKDATE + 1, then tomorrow) , the records are read based on how many working days they want to calculate. When the counter reaches the required number of days, the calculated date is returned. NB: Since there may be days of work absence, which must be stated in the company’s basic calendar, each date reads is verified that it is work and the counter increases accordingly (using the calendar movements table). It’s a simple codeunit to use a working calendar instead if standard calendar. Codeunit 50000 “Calculate Shipment Date Work D” Function “Calc5” (calculate five working days from starting date) Download Working Days in Date Calculation “HOW-TO”: Example of utilization: FROM ORDER LINE > “ Calculate Shipment Date” (from Working Days- infinite loading) SHIPMENT DATE > IS CALCULATED
↧
Blog Post: Working Days in Date Calculation
↧
Forum Post: RE: Hi; when i try to post the production order on the release production order, i got error message, it says that; posting date is not with in your range of allowed posting date in item journal line .
HI Dinkayehu Sisay your name suggests you are from Ethiopia, i am also from Ethiopia,contact me at Bitta.ayele@gmail.com we might need each other and share experience and resources related NAV.As Andrew suggested it happens when you activate automatic cost posting, somehow it needs to adjust costs outside of the current opened posting date and the solution i used for it for several times was just to open the previous posting period and let the system post whatever it needed to post related to the average costing posting .
↧
↧
Forum Post: RE: NAV versus Java
Thanks sbhatbng . But here i got one more doubt how i can add java technical knowledge with NAV , because NAV is using C/AL language. that is not similar to java. even .Net is little bit similar to NAV. Please clear my doubt.
↧
Forum Post: RE: Hi; when i try to post the production order on the release production order, i got error message, it says that; posting date is not with in your range of allowed posting date in item journal line .
Hello, Check the General Ledger Setup And User Setup, in both have a fields : Allow Posting From and Allow Posting To While posting you have to check your Posting date should be between.
↧
Forum Post: RE: Sorting variable field by ascending order in list page.
Hello Seema, As per my experience , We cannot sort a logical data field in list page. If you want to sort it then firstly you have to add it in table permanently then only you can sort it. Thanks & Best Regards,
↧
↧
Forum Post: RE: Sorting variable field by ascending order in list page.
I assume that you don't mean that you want to sort the page on a variable that you created, but on a variable key in the table? Have you tried to use SETCURRENTKEY and ASCENDING(TRUE)? Which version is it? In some of the early page versions it was not possible
↧
Forum Post: RE: NAV 2016 Lanham E-Ship: Signature required on all FedEx Ground
Hi BKR, Did Binesh's suggestion help you? If yes, please click "This helped me" on his post. This way the post is marked "Verified" and other users may see which post helped you. Thank you in advanced. [:)]
↧
Blog Post: Microsoft Dynamics Partner Roundup: Identity governance; Data security, tax platforms for D365; Sales quoting
In this week's Microsoft Dynamics Partner News Roundup: Saviynt to Provide Identity Governance to Microsoft Azure Active Directory Premium Customers NextLabs Extends Its Access Management and Data Security Platform to Include Microsoft Dynamics 365 SureTax Integrations for Microsoft Dynamics 365 Kastle Systems Improves Sales Quoting Process with Xpertdoc's Customer Communication Software Saviynt to Provide Identity Governance to Microsoft Azure Active Directory ...read more
↧
Forum Post: RE: How to search across multi columns in the drop down window? set as default filter column can be multi columns?
You need to set the filters before you can get them. Also it's better to create a function (i.e. UpdatePage or InitPage and put your code there. Easier to maintain in the long run. Especially if you change this in a standard page. The OnOpenPage trigger is only called once on-open, so you might need to call the same filter. Which version of NAV is it? Something about not being able to sort on flowfields if older than 2016. Have you tried ASCENDING(TRUE);
↧
↧
Forum Post: RE: failed Add new field in Resource Ledger Entry Table
Hi Jliang, Did any of the suggestions help you? Did you get your field in table? If yes, please click "This helped me" on those post(s). This way the post is marked "Verified" and other users may see which post helped you. Thank you in advanced. [:)] If not, please let us know how to help you.
↧
Forum Post: RE: NAV2017 - Web Service - Sub Page - Filter RecordID
RecordID is a very special field. It's 250 characters long, but when you export it, then you only get the same "representation" as if you just put it into a page. You just get a text with the table name and primary key. You could create a function which would return the value in a more useful fashion.
↧
Forum Post: RE: NAV versus Java
Hi Tanu - In coming versions of NAV C/AL is going to be obsolete and more towards .net, php and C++ which very well correlates with Java and once you get the functional understanding of NAV then it would be a piece of cake for you to get the programming side of NAV with your Java skills. Hope this answers your question.
↧
Blog Post: At Directions EMEA 2017, partners seek clarity from Microsoft on Dynamics 365 Tenerife, NAV plans
As the clock ticks down to the start of Directions EMEA 2017 , which runs from Oct. 4-6 in Madrid, the chairman of the event, is hoping Microsoft will provide attendees with an update regarding the recent announcements and discussions since the Directions North America conference in Orlando. After Directions North America 2017 , which ran from Sept. 17-20, some partners were unhappy and uncertain about news of a delayed rollout of Microsoft Dynamics 365 Tenerife and Microsoft's unexpected ...read more
↧
↧
Forum Post: RE: How to search across multi columns in the drop down window? set as default filter column can be multi columns?
Thanks Erik, My version is 2016, I have tried ASCENDING(TRUE). , My version is 2016.. Let me think your solution. Just still have no ideal about it.... ,
↧
Blog Post: Power BI Dashboards met Microsoft Dynamics NAV
In deze online training leer je in slechts 2,5 uur met Power BI inzichtelijke dashboards te bouwen op basis van Microsoft Dynami cs NAV data. Je leert in deze training werken met Power BI desktop en Power BI.com . Je maakt een bruikbaar datamodel met tijdsanalyses en measures op basis van Microsoft Dynamics NAV data. Eens dit datamodel klaar is leer je hoe je Power BI rapporten kan maken op basis van het datamodel. In de laatste stap maak je in Power BI.com een dashboard gebaseerd op de rapporten die je in de vorige stap maakte. Wil je leren hoe je dashboards kan delen met je collega’s? Deze training legt ook dit glashelder uit. https://plataan.tv/nl/plataan/training-cursus/power-bi/power-bi-dashboards-met-microsoft-dynamics-nav
↧
Blog Post: What’s New in Microsoft Dynamics NAV?
In this blog from Oksana Kuzmina you can find the latest Dynamics NAV features along with the relative links that you should bookmark in order to stay tuned in the latest Microsoft Dynamics NAV release: https://community.dynamics.com/nav/b/dynamics365nav/archive/2017/09/17/what-is-new-in-microsoft-dynamics-nav Ceridian payroll Quickbooks File Import Integration API Synchronize Vendors with Lexmark ICS Personalize your workspace Preview and Print Reports Full CRM Synchronization can be run in background Analyzing Financial Statements in Microsoft Excel Retrieve customer, vendor and contact name and address from VAT Registration Number [UK only] Submission of EC Sales List with more than 9999 lines 3 Checks per Page For a complete list of what’s new and what’s coming you can visit the Microsoft Dynamics 365 Roadmap The Dynamics 365 Roadmap provides a full image of what we’re working on. Use this roadmap to find out what is being made generally available and what is in development. All dates and features that are in development are preliminary, are based on current expectations, and are subject to change without notice.
↧
Forum Post: RE: How to search across multi columns in the drop down window? set as default filter column can be multi columns?
Are you able to change it "manually", by clicking the column?
↧
↧
Forum Post: RE: How to search across multi columns in the drop down window? set as default filter column can be multi columns?
But what is the general status of your issue? A few posts above you wrote that the issue now "just" were to get the filter text. Did you continue with the page your showed in your first post? Or did you try to implement the functionality Peik described? Also if you check for filters on the onOpenPage trigger, then I assume that you have called the page with filters set before? Exactly how do you call the page?
↧
Forum Post: RE: NAV 2009: SETRANGE and RecordID
Hi Erik, well... you can't. Only thing you can do is GETRECORD, which gives you a RecRef of the RecordID. That's something. with best regards Jens
↧
Forum Post: RE: how to batch delete the selected orders in sales order list?
Hi Gary, It is default behavior, if the property Editable of the page is set to No. Unless you have disabled it, then the user will still have to confirm the deletion of each individual order. As an alternative then you would need to create a function which would delete the selected orders.
↧