yes but when add this code as on table(name of new field's) or when thank to give an exemple correclty
↧
Forum Post: RE: calc difference between two date
↧
Forum Post: RE: For a condition how I Assign Unit Price:=0 in Sales Order's Line
it depends on where you have written code. Onvalidate trigger og No. will lead to lot of other functions in codeunits etc. if your code is at the beginning then it will be overwritten by following code..
↧
↧
Forum Post: RE: For a condition how I Assign Unit Price:=0 in Sales Order's Line
Write the below two line of code at the very end of the No. Field's OnValidate trigger and test you might see what you were looking for by crossing 1 level. There is a function call at the same trigger "UpdateUnitPrice(FIELDNO("No."));" just debug it and add your conditional assignment "Order Status" check then assign the values. "Unit Price":=0; Quantity:=15;
↧
Forum Post: RE: For a condition how I Assign Unit Price:=0 in Sales Order's Line
Thank you sir, Let me try..
↧
Forum Post: RE: Callculate No Of Days
you can simply create no. of days as an integer datatype variable and add code like noofdays := Date2 - Date1;
↧
↧
Forum Post: RE: blocking warehouse transfer to specific location
OnInsertRecord() is triggered only when the records get inserted into the table, i.e when the Key fields are entered. In this case Transfer-from Code and Transfer-to Code are not part of keys for the Table Transfer Header. You can put the code in the OnValidate() Trigger of both the fields.
↧
Forum Post: RE: Callculate No Of Days
so your question is you want to find the number of days difference between 1st and 2nd transaction and so on??
↧
Forum Post: RE: Callculate No Of Days
yes exactly...but the confusion here is there is only one field of posting date, how would i subtract the same field?
↧
Forum Post: RE: NAV 2016 - Workflow problem (table locked) when send multiple approval requests at the same tiem
This is basically due to the buffer storage of navision which locks the transaction, all you need to do is restart the nav instance and it will work.
↧
↧
Forum Post: RE: Callculate No Of Days
but the confusion here is there is only one field of posting date, how would i subtract the same field?
↧
Forum Post: RE: Callculate No Of Days
you should get it from next line..
↧
Forum Post: RE: Callculate No Of Days
can you please guide me how?
↧
Forum Post: RE: HRM in NAV
Did you checked this robertostefanettinavblog.wordpress.com/.../
↧
↧
Blog Post: My Blog on NAV and other issues
Dear reader I have been suggested by many of my fellow Dynamics NAV professionals to start a blog of my own. This year I took the bull by the horns and decided to start blogging. I have been working with Dynamics NAV for over a decade now, starting from 2006 version of Microsoft Business Solutions NAV 4.0 SP2/3 which was selected as the ERP for the group of companies I was working as an IT manager at the time. Currently I am working at Innofactor Oy as a Senior Architect in our ERP team that is concentrated on AX and NAV solutions. I will collect here some of my old posts I have been posting earlier, and start writing new ones here. Please be welcome and I hope you enjoy the contents of this blog! Best regards, Urpo
↧
Blog Post: NAV 2016 CU15 - notes on update
Microsoft published a while ago (files dated to 5th of Jan 2017, and publicly available at 9th of Jan, and publicly withdrawn again 18th of Jan) the latest Cumulative Update for Dynamics products. This blog post concentrates on Dynamics NAV 2016 Cumulative Update 15. At the time of writing this, the download pages are down, therefore I cannot provide you download link for the update, but there is KB article about the update available: https://support.microsoft.com/en-us/help/3216191/cumulative-update-15-for-microsoft-dynamics-nav-2016-build-47671 Note that the KB article misleadingly talks about build 47783, when the correct build is actually 47671 - unless MS has repackaged the update. I cannot confirm this since the update is not right now available. Please find below my notes for upgrading the client. When installing updates please note below: Remove all object locks before updating the client. CRM Synchronization dll's have been changed. Make sure you will copy "Microsoft.Xrm.Tooling.Connector.dll" to Service and RTC Client folders. Old dll "Microsoft.Xrm.Client.dll" is no longer used. If you do not copy this file, you will be unable to compile table 5330 CRM connection Setup and end up crashing the Development client Object conversion is required after client update The reason I was quick to install this update is because we have some locking issues with one of our customers on warehouse tables. I will not go deeper on this problem, Luc Van Vugt describes it very well in his blog post . Unfortunately after update I found out that the SQL indexing bug is still not fixed in CU15. Hopefully we will see this issue fixed in next update. NAV 2017 it is already ok. After client update our developers faced a new kind of a behaviour. Developer environment seemed to work as it has been ever before, but when he tried to write code into an object, no text appears to the screen . If user does ctrl+something it works, ctrl+c - ctrl+v copypastes as usual, alt-h opens help as expected and so on, but plain old typing just does not work. Also if user changed a property or inserted a ML translation, it worked just fine. I tried to report this to microsoft, but since they are in middle of a massive site rebuild, I couldn't finish the issue reporting form, just got error "Our apologies...An unexpected error occurred." Well, I started to think more about this, and it occurred to my mind that Code Completion/AutoComplete has to be the reason for this. I started the developer environment with parameter "useoldeditor=yes", and hear, you could type again! Funny thing is that our regular development environment with Windows AD logins works just fine, only the special environment built for our external developers does not work. They use SQL logins to the database, and NAVUserPassword logins to RTC clients. Setting up this external developer environment is really worth another blog post, maybe I will write about it later :) Now I just have to familiarize again to code without code suggestions... //++ EDIT 20th Jan 2017 The reason for misfunctioning CodeCompletion/AutoComplete appeared to be one blocked file in RTC folder: C:\Program Files (x86)\Microsoft Dynamics NAV\90\RoleTailored Client\Add-ins\CodeViewer\CommonComponents\Microsoft.VisualStudio.UI.Text.Wpf.KeyProcessor.Implementation.dll I have no idea why streams.exe failed to unblock this single one file, and it ended up to RTC folder, when all the rest of the files were properly handled. I also received information from MS Support that the download for CU15 is currntly disabled because the Product team is investigating some issue with the update. So I suggest that if you have the update alredy downloaded, do not proceed with the CU15 upgrade until the download is released again or new update is released! Let's hope it is nothing serious, and we get the download available soon! //-- EDIT best regards, urpo
↧
Forum Post: RE: Callculate No Of Days
do i need to put any sort of conditioning in it?
↧
Forum Post: RE: Callculate No Of Days
it depends upon how do you need it. account wise or only posting date?
↧
↧
Forum Post: RE: NAV 2016 - Workflow problem (table locked) when send multiple approval requests at the same tiem
Thanks for your reply. I'd restarted many times and this still happens. Thanks.
↧
Forum Post: RE: Callculate No Of Days
it would be account wise and then posting date.
↧
Forum Post: RE: Callculate No Of Days
then you need to sort on G/L Account No.,Posting Date
↧