Did you disable the request page ?
↧
Forum Post: RE: Xmlport in BC365
↧
Forum Post: RE: Show shortcut dimensions in Customer (Page-Customer List 22)
Yes, create a variable to record Default Dimension and filter the Table ID to 18 (Customer table) and filter No. to Customer code. You will get all the default dimensions for that customer record.
↧
↧
Forum Post: RE: sessions list NAV 2016
Run the search query to look for the active session. Once you decide which active session to kill, just do a DELETE with WHERE query. www.w3schools.com/.../sql_delete.asp
↧
Forum Post: RE: Duplicate record check
TempTable.RESET; TempTable.SETRANGE("Document No.",ItemLedgEntry."Document No."); IF NOT TempTable.IsEmpty THEN CurrReport.SKIP ELSE //insert temptable record here
↧
Forum Post: RE: Notifications for cykle inventory NAV 2016
Don't think there is any way to give you notification in standard. Either you customize NAV or create an SQL query for that.
↧
↧
Forum Post: RE: Xmlport in BC365
That did it. Set the following property on the xmlport UseRequestPage = false; Thank you very much.
↧
Forum Post: RE: Duplicate record check
Hi Teddy How Temp Table should be defined. Thanks
↧
Forum Post: RE: How to use Setfilter to filter Document on first 3 characters
Hello jsshivalik, please follow below example: Item.SETFILTER("No.",'*RM*'); Hope it will resolve your issue. Please verify the answer, if you find it helpful. This will help other members of community.
↧
Forum Post: RE: New Item
Please check if the work date falls within the date range defined for the special price on Customer List Page.
↧
↧
Forum Post: Posting inventory balance in item journal FIFO
Hi! We have just changed ERP system to NAV 2016 and we are now going to import inventory balance throught the Item journal. We are using FIFO on our Items but I am not sure if the value (cost) of the item should be filled in the collumn "Unit amount" or "Unit cost"? and what is the difference? If i have posted in the wrong field, can I correct it? Thank you for your help
↧
Forum Post: RE: [Applies-to Entry] & [Applied Entry to Adjust]
"Applies to Entry" is the entry against which application has been done. In case of FIFO, lets say we make a Sales Entry, then the application of ILE is done to the another ILE (having Remaining Qty>0) with the oldest Posting Date first. Now, Irrespective of what Costing Method one is using, "Applied Entry to Adjust" will remain open against an ILE till the "Adjust Cost Item Entries" batch job is not run (after the application has been done to that ILE).
↧
Forum Post: RE: JOB ANALYSIS
Requesting you to put supporting screenshot. Need clarity on your query.
↧
Forum Post: RE: Show shortcut dimensions in Customer (Page-Customer List 22)
Hello Ted, This works and thank you for that. But how will that help me with my goal of showing shortcut dimensions in the customer list like in the photo? I need those fields to be filled by the dimensions that are selected.
↧
↧
Forum Post: RE: Duplicate record check
Please go in assigned variable and set the property Temporary - YES.
↧
Blog Post: Dynamics 365 Business Central: using DotNet assemblies on a Docker container sandbox
I think that everyone of you already knows that calling custom .NET DLLs in your extension’s code is not supported in a SaaS environment, but you can still use .NET assemblies in your extensions if you explicitly target the on-premise world. You can do that by adding “target”: “Internal” in your extension’s manifest file (app.json). This is not what I normally suggest to do on an extension (I always prefer to have the Cloud as the reference model, you can wrap your DLLs in an Azure Function and call your assemblies from there) but I know that there are some scenarios where on-premise assemblies are a need. I saw that many partners have problems on using .NET assemblies with Docker-based sandboxes and many of them thinks that usage of .NET is not supported on that environment. Nothing more wrong than this! As explained in the past , you can use DotNet variables in AL with the following pre-requirements/settings: Add “target”: “Internal” in app.json file Add “al.assemblyProbingPaths” setting in Visual Studio Code by going to File|Preferences|Settings|Extensions|AL Language extension and click on Assembly Probing Paths – Edit in settings.json. Here you need to add the paths where Visual Studuo Code should search for -NET assemblies. Here what my environment looks like: I normally have a standard AL project template where all custom .NET assemblies I want to use are placed on the project folder inside a .netpackages subfolder like in the following AL project: This extension called DotNetTest is a simple extension that calls a custom .NET DLL from an action in the Customer Card page in Dynamics 365 Business Central. The DLL is a very useful C# DLL (class library) defined as follows: namespace UnusefulDLL { public class UnusefulClass { public string GiveMeMessage() { return "This message comes from a .NET DLL"; } } } To use this DLL from our extension’s code, in AL we have defined a codeunit with a reference to this assembly and we have defined a procedure that calls the assembly’s GiveMeMessage method: Then we have a simple pageextension object that extends the Customer Card page by adding a MessageFromDotNet action for calling the .NET DLL method: OK… all is working and code compiles without problems. We’re now ready to deploy our extension to our Docker sandbox for testing. Press F5 from Visual Studio Code and… OPS, an error occours!! The request for path /nav/dev/apps?SchemaUpdateMode=synchronize failed with code 422. Reason: Extension compilation failed SRC/DotNetWrapper.al(14,14): error AL0451: An assembly named ‘UnusefulDLL, PublicKeyToken=null’ could not be found in the assembly probing paths ‘C:\Program Files\Microsoft Dynamics NAV\140\Service\Add-Ins, C:\Windows\TEMP\Microsoft Dynamics NAV\Add-Ins\14.0.29530.32339, C:\Program Files\Microsoft Dynamics NAV\140\Service\, C:\Windows\Microsoft.NET\assembly\’ SRC/DotNetWrapper.al(25,24) : error AL0185: DotNet ‘UnusefulClass’ is missing Why this? When you are using .NET assemblies with a Docker-based sandbox, to have your .NET DLLs correctly referenced by the Dynamics 365 Business Central service you need to copy the assemblies from your local path to the container path, otherwise the Dynamics 365 Business Central service ( that runs inside the container ) will not be able to find and reference the DLL files. The steps to do are the following: Step 1 : copy the DLL files to the container with the following NavContainerHelper command: Copy-FileToNavContainer -containerName navserver -localPath C:\D365BCApps\DotNetTest\.netpackages\*.dll -containerPath "C:\Program Files\Microsoft Dynamics NAV\140\Service\Add-Ins" Step 2 : Connect to the container and verify that the assemblies are copied correctly. You can do that by using the following command: Enter-NavContainer -containerName navserver and then use the standard DIR command to navigate to the C:\Program Files\Microsoft Dynamics NAV\140\Service\Add-Ins folder inside the container: Step 3 : Restart the Dynamics 365 Business Central service inside the Docker container: Set-NavServerInstance -ServerInstance NAV -Restart exit That’s done! Now you can deploy your extension without problem from Visual Studio Code: and if you run it: It works
↧
Forum Post: RE: error in posting negative purchase invoice
Firstly, as mentioned by Teddy can you please let us know the scenario in which -ve amount posting is inevitable and cant be handled through Pur. Credit Memo. Secondly, assuming you have a practical scenario please share your screenshot for the same.
↧
Forum Post: RE: Posting inventory balance in item journal FIFO
Lauren If you are using the "Item Journal" to import the inventory, the "Unit Amount" and "Unit Cost" are tied to each other. They actually affect different portions of the Item card. The "Unit Amount" will over-write the "Last Direct Unit Cost" if you pick an entry type of "Purchase". If you pick an entry type of "Positive Adjustment", only the "Unit Cost" will be used. Though both fields will have the same value. Since this is the initial inventory upload, it doesn't matter which field you picked. They will both populate with the same value. I suggest using the "RapidStart" - "Configuration Package" functionality to make things easier. Good Luck!
↧
↧
Forum Post: RE: Error: Inventory Valuation Report: The Item Location Variant Buffer already exists
We are having the same issue; what is the items have full-width characters in its item no. what are the half-width characters?
↧
Forum Post: RE: Posting inventory balance in item journal FIFO
Thanks a lot Alfredo!!
↧
Forum Post: Sales Order Posting (Ship) is slow
Hi, I am facing an issue when posting (ship) sales order. For a single sales line, it is taking more than 1 min. There is no customization involve in sales order posting codeunits. Automatic Cost Posting did not tick, Automatic Cost Adj set to Never, Expected Cost Post to G/L has ticked. I have done SQL database indexing . Databases capacity 150GB , every two weeks Log file will shrink. Does anyone face this kind of issue? Thanks Shan
↧