Obviouly the first example is faulty as Good code and bad code are identical. I'd say, the last line of first Good example should be indented by even 4 spaces, due to the fact it's part of a paranthesis expression (compare with the last three examples).
↧
Comment on Indentation
↧
Comment on Indentation
Sorry, of course they are not identical (the second line was moved).
↧
↧
Comment on Internally used Dot Net Types
For a better readability, it would be nice to insert line breaks for the 5 or 6 longest entries, and then reduce the table width. It would also be nice to know the C/AL variable names for them. Or is there a specific naming rule for DotNet variables I have overlooked?
↧
Forum Post: Page Printing
Can I print a page in Navision2013R2? Can I attached a Print Button to Print a Page?
↧
Forum Post: RE: Page Printing
hi, click on the blue button in the top/left corner (navision button). then goto print & send: select one of the options (word, excel, printer) with that you get a document with all data on the page. if you want to print the page with the buttons, layout, etc. simply make a screenshot.
↧
↧
Forum Post: RE: Page Printing
Jon, I got that but this stems back to the one I asked about skipping the request page and going straight to the print preview, remember there is no way. Well what if a just put the information on a page, and then added a print button to the page? I know that going to the blue button thing will be to many keystrokes for them.
↧
Forum Post: RE: Multiple contacts under one Vendor card, and selected contact changes information card
Hi Suresh, I'm assuming that the modification suggested is to have a dynamic way of changing the purchase order header based on the chosen contact, correct? Thanks.
↧
Forum Post: RE: Multiple contacts under one Vendor card, and selected contact changes information card
Yes
↧
Hi I want to change the profit % in all of our items in NAV. Is there a way that I can export the current profit % (currently 0%), change them to say 50%, and import them back into NAV? Any help would be much appreciated. in Microsoft Dynamics NAV
Hi I want to change the profit % in all of our items in NAV. Is there a way that I can export the current profit % (currently 0%), change them to say 50%, and import them back into NAV? Any help would be much appreciated. in Microsoft Dynamics NAV
↧
↧
Comment on Hi I want to change the profit % in all of our items in NAV. Is there a way that I can export the current profit % (currently 0%), change them to say 50%, and import them back into NAV? Any help would be much appreciated. in Microsoft Dynamics NAV
With Rapid Start Services export item table in excel with fields No and Profit%. Put in excel the desired value, the import it back.
↧
Wiki Page: Unnecessary Function Parenthesis
Do not use parenthesis in a function call if the function does not have any parameters. Bad code IF ReservMgt.IsPositive() THEN Good code IF ReservMgt.IsPositive THEN Bad code IF ChangeStatusForm.RUNMODAL() ACTION::Yes THEN Good code IF ChangeStatusForm.RUNMODAL ACTION::Yes THEN
↧
Forum Post: RE: Error 1935 during installation of NAV5.0 SP1 on WindowsXP SP3
Here is a known issue of this problem www.mibuso.com/forum/viewtopic.php?f=23&t=26181
↧
Forum Post: NAV 2013 STOCK TAKE UPDATE BY POSITIVE ADJUSTMENT - which financial account will it transact?
Which account (chart of account) is transacted when I post a "physical inventory journal" batch with positive adjustments. THE SCENARIO: We have done stock taking at the end of the year. the Physical counted quantities for the items in all the locations is taken. I have created Physical inventory journal batches for all the locations, now we want to correct our Navision inventory to the quantities we have physically. We are inputting on the batches the counted quantities (physical qty). My question is; When we post this journal, which account (in the chart of accounts) will it transact and what will be the transaction. thanks.
↧
↧
Forum Post: Sales Invoices Question REMIT TO
Can anyone tell me if there are fields to insert a REMIT TO address for Sales Invoices in the 2013R2 Dynamic Nav system? Just curious because I can't find one.
↧
Comment on Global Text Constants
We tried to find the reasons (which are inherited from previous practices) and we came up with: - translation impact (if a string is moved from one local function to another, there is no unique ID to say to the translation team that this is the same string) - Ease of finding out if this string is already defined (if not global, then one would have to search into each function each time they want to search for the string definition)
↧
Forum Post: RE: Sales Invoices Question REMIT TO
In standard navision, no we don't have a place to store that information, i always did a modification to add that to company information and modify the report to pull from it.
↧
Comment on Use Text Constants
Good point. But we don't have a preCAL rule for using placeholders, as far as I remember. So I will leave it here only to keep the mapping to our current preCAL rules. And add this to the wishlist of proposed new rules :)
↧
↧
Forum Post: RE: Sales Invoices Question REMIT TO
Please check Bill-to Address fields. Is that what you are looking for?
↧
Wiki Page: Internally used Dot Net Types
Internally used Dot Net Types Dot Net Types 'mscorlib'.System.Convert 'mscorlib'.System.Globalization.CultureInfo 'mscorlib'.System.Globalization.DateTimeStyles 'mscorlib'.System.Globalization.NumberStyles 'mscorlib'.System.Type 'mscorlib'.System.Array 'mscorlib'.System.EventArgs 'mscorlib'.System.Security.Cryptography.SHA512Managed 'mscorlib'.System.Security.Cryptography.HashAlgorithm 'mscorlib'.System.Text.Encoding 'mscorlib'.System.Text.UTF8Encoding 'mscorlib'.System.Environment 'mscorlib'.System.IO.Directory 'mscorlib'.System.IO.Path 'mscorlib'.System.IO.File 'mscorlib'.System.IO.FileAttributes 'mscorlib'.System.Collections.ArrayList 'mscorlib'.System.Collections.IEnumerator 'mscorlib'.System.Collections.Generic.IEnumerator`1 'mscorlib'.System.TimeSpan 'mscorlib'.System.DateTime 'mscorlib'.System.DateTimeKind 'mscorlib'.System.DateTimeOffset 'mscorlib'.System.Decimal 'mscorlib'.System.String 'System'.System.Diagnostics.Process 'System'.System.Diagnostics.ProcessStartInfo 'System'.System.IO.Compression.CompressionMode 'System'.System.IO.Compression.GZipStream 'System'.System.Uri 'System'.System.UriPartial 'System.Data'.System.Data.DataColumn 'System.Data'.System.Data.DataTable 'System.Data'.System.Data.DataRow 'System.Web'.System.Web.HttpUtility 'System.Windows.Forms'.System.Windows.Forms.DialogResult 'System.Windows.Forms'.System.Windows.Forms.FileDialog 'System.Windows.Forms'.System.Windows.Forms.OpenFileDialog 'System.Windows.Forms'.System.Windows.Forms.SaveFileDialog 'System.Windows.Forms'.System.Windows.Forms.FolderBrowserDialog 'System.Xml'.* 'DocumentFormat.OpenXml'.* 'mscorlib'.System.IO.DirectoryInfo 'mscorlib'.System.IO.FileInfo 'Microsoft.Dynamics.Nav.Client.CodeViewerTypes'.Microsoft.Dynamics.Nav.Client.CodeViewerTypes.BreakpointCollection 'Microsoft.Dynamics.Nav.Client.CodeViewerTypes'.Microsoft.Dynamics.Nav.Client.CodeViewerTypes.VariableCollection 'Microsoft.Dynamics.Nav.SMTP'.Microsoft.Dynamics.Nav.SMTP.SmtpMessage 'Microsoft.Dynamics.Nav.Management.DSObjectPickerWrapper'.* 'Microsoft.Dynamics.Nav.Timer'.* 'Microsoft.Dynamics.Nav.DO.ClientProxyWrapper'.* 'Microsoft.Dynamics.Nav.Client.BusinessChart'.* 'Microsoft.Dynamics.Nav.Client.BusinessChart.Model'.* 'Microsoft.Dynamics.Nav.Integration.Office'.* 'Microsoft.Dynamics.Nav.Integration.Office.Mock'.* 'Microsoft.Dynamics.Nav.EwsWrapper'.* 'Microsoft.Dynamics.Nav.EwsWrapper.ALTestHelper'.* 'Microsoft.Dynamics.NAV.OLSync.OLSyncSupplier'.* 'Microsoft.Dynamics.Nav.OLSync.Common'.* 'Microsoft.Dynamics.Nav.NavUserAccount'.* 'Microsoft.Dynamics.Nav.OpenXml'.* 'Microsoft.Dynamics.Nav.RapidStart'.* 'Microsoft.Dynamics.Framework.RapidStart.Common'.* 'Microsoft.Dynamics.Nav.Client.TimelineVisualization'.Microsoft.Dynamics.Nav.Client.TimelineVisualization. VisualizationScenarios 'Microsoft.Dynamics.Framework.UI.WinForms.DataVisualization.Timeline'.Microsoft.Dynamics.Framework.UI. WinForms.DataVisualization.TimelineVisualization.DataModel+TransactionChangesRow 'Microsoft.Dynamics.Framework.UI.WinForms.DataVisualization.Timeline'.Microsoft.Dynamics.Framework.UI. WinForms.DataVisualization.TimelineVisualization.DataModel+TransactionChangesDataTable 'Microsoft.Dynamics.Framework.UI.WinForms.DataVisualization.Timeline'.Microsoft.Dynamics.Framework.UI. WinForms.DataVisualization.TimelineVisualization.DataModel+TransactionRow 'Microsoft.Dynamics.Framework.UI.WinForms.DataVisualization.Timeline'.Microsoft.Dynamics.Framework.UI. WinForms.DataVisualization.TimelineVisualization.DataModel+TransactionDataTable 'Microsoft.Office.Interop.Word'.* 'Microsoft.Office.Interop.Excel'.* 'Microsoft.Dynamics.BAPIWrapper'.* 'Microsoft.Dynamics.Nav.Types'.Microsoft.Dynamics.Nav.Types.ConfigSettings 'Microsoft.Dynamics.Nav.DocumentService'.* 'Microsoft.Dynamics.Nav.DocumentService.Types'.* 'mscorlib'.System.IO.StreamWriter 'Microsoft.Dynamics.Nav.Client.TimelineVisualization'.Microsoft.Dynamics.Nav.Client.TimelineVisualization. InteractiveTimelineVisualizationAddIn 'System'.System.ComponentModel.CancelEventArgs 'System'.System.Text.RegularExpressions.Regex 'System'.System.Text.RegularExpressions.RegexOptions 'mscorlib'.System.IO.StreamReader 'System.Windows.Forms'.System.Windows.Forms.Control 'System.Windows.Forms'.System.Windows.Forms.ControlEventArgs 'System.Windows.Forms'.System.Windows.Forms.DragEventArgs 'System.Windows.Forms'.System.Windows.Forms.GiveFeedbackEventArgs 'System.Windows.Forms'.System.Windows.Forms.HelpEventArgs 'System.Windows.Forms'.System.Windows.Forms.InvalidateEventArgs 'System.Windows.Forms'.System.Windows.Forms.KeyEventArgs 'System.Windows.Forms'.System.Windows.Forms.KeyPressEventArgs 'System.Windows.Forms'.System.Windows.Forms.LayoutEventArgs 'System.Windows.Forms'.System.Windows.Forms.MouseEventArgs 'System.Windows.Forms'.System.Windows.Forms.PaintEventArgs 'System.Windows.Forms'.System.Windows.Forms.PreviewKeyDownEventArgs 'System.Windows.Forms'.System.Windows.Forms.QueryAccessibilityHelpEventArgs 'System.Windows.Forms'.System.Windows.Forms.UICuesEventArgs
↧
Forum Post: RE: Sales Invoices Question REMIT TO
No, where I want the customer to send their payment
↧