My friends of Simplanova kindly asked me to be a “guest blogger” on their website. The topic of this first technical post for them is about how to start moving an existing ISV solution based on C/AL to the new extension model . This is an hot topic nowadays and I think it’s also the step that every Microsoft Dynamics NAV partner will have to do in the near future to move their solution to the upcoming new platform. What should we have to do and think? What should we avoid? How can we approach this jump? Some ideas to think here .
↧
Blog Post: ISV solution and transition from C/AL to AL extension: how to start (my article for Simplanova.com)
↧
Forum Post: RE: Add Action To Page In Extension 2.0 Business Central
You want to send the code or the report layout through email to your customer ? 1. if you want to send the code then copy the code into the notepad and send it. 2. if you want to send the layout of the report through D365BC then install the Email Extension and configure your Emil setup and send it to customers through email. Before doing that you need to install the Email Extension if you need the email extension code Al let me know i will provide you.
↧
↧
Forum Post: Select fields through Boolean field ???
Hi Experts i have custom table and page the page have a boolean field i want when i click the boolean field then all the record should be select. when click the boolean field all the lines are select.
↧
Forum Post: RE: Select fields through Boolean field ???
I don't know whati is this table (is it a custom one?) but in the OnValidate trigger of this boolean field you can filter this table for retrieving all the lines and then set the boolean field for all the other records.
↧
Forum Post: RE: Select fields through Boolean field ???
yes i have a custom Document page in the line subform have one boolean field i want when i click the boolean field all the line are select
↧
↧
Forum Post: "The system is not accessible, because it requires a schema synchronization." error after service restart
Hi Everyone, I'm beginning creazy because of the error in subject, I will explain better the situation: I deleted with force some table and then re-compiled all object in order to find broken references. After a service restart, when I try to login in NAV, i get the error in object, without any Event Viewer log and the service still run. If I go into Developer client and then Tools->Sync. schema->with validation, then everything starts working right. Every time I restart the service I need to redo the Sync. Anyone have an idea? Thanks in advance Roby
↧
Forum Post: RE: Interim accounts and Nav
Hello Robertas Can i get your guidance on the jobs module? The entire posting setup is confusing me. How do the entries work in the jobs module? I have got an understanding of the job tasks, planning lines and then consuming items, resources and sub contractors and creating job journals. What happens after? How does the transaction flow from WIP to P&L and then finally to revenue and costs? I hope i have explained correctly. Cheers Sandy
↧
Forum Post: Total sum problem
Dear Experts, I have write a mail code for show the total cost based on its inventory posting group and unit(global dimension code 1). But in output always comes up the single value. Please help me to short this. My base table is "Value Entry". In value entry there have multiple inventory posting group but in my output only come the single posting group. Please find the cost details summary: Item Group Unit Total Cost Amount Raw Material 101 822,918,144.31 My code is below: Mail.CreateMessage('ABC Limited','nav@ABC.com','manish.yadav@abc.com','Stock Valuation Report','',TRUE) ; Mail.AppendBody('Dear Sir / Madam,'); Mail.AppendBody(' '); Mail.AppendBody('Please find the cost details summary:'); Mail.AppendBody(' '); Mail.AppendBody(' '); Mail.AppendBody(' '); Mail.AppendBody(' Item Group '); Mail.AppendBody(' Unit '); Mail.AppendBody(' Total Cost Amount '); Mail.AppendBody(' '); TotalCostValue:=0; ValueEntry.RESET; ValueEntry.SETFILTER(ValueEntry."Posting Date",'%1..%2',0D,TODAY); IF ValueEntry.FINDFIRST THEN BEGIN ValueEntry.CALCSUMS("Cost Amount (Actual)"); ValueEntry.CALCSUMS("Cost Amount (Expected)"); TotalCostValue := ValueEntry."Cost Amount (Actual)"+ValueEntry."Cost Amount (Expected)"; END; InventoryPostingGroup.RESET; InventoryPostingGroup.SETRANGE(Code, ValueEntry."Inventory Posting Group"); IF InventoryPostingGroup.FINDFIRST THEN BEGIN Mail.AppendBody(' '+FORMAT(InventoryPostingGroup.Description)+' '); END; Mail.AppendBody(' '+FORMAT(ValueEntry."Global Dimension 1 Code")+' '); Mail.AppendBody(' '+FORMAT(TotalCostValue)+' '); Mail.AppendBody(' '); Mail.AppendBody(' '); Mail.AppendBody(' '); Mail.AppendBody(' From '); Mail.AppendBody(' '); Mail.AppendBody('NAVISION (ERP) System'); Mail.AppendBody(' '); Mail.AppendBody('This is a system generated mail. Please do not reply to this email ID.'); Mail.Send;
↧
Blog Post: How To: Use Advance Option to Save Report Setting
While i was going along with one of our customers, there was a requirement that they need to Save setting for a specific Filter selection. I went through Dynamics NAV to figure out how to make this solution. By Going to Report Setting from the search From this window you can assign a specific user for a specific company to customize a filter with a specific condition and criteria. That was an amazing Experience for the customer that save time and effort. See you in the next feature of Dynamics NAV.
↧
↧
Forum Post: RE: You do not have the following permissions on TableData NAV App Setting: Insert.
Is the permission set assigned to your user? Select the user that you want to assign permission to. Any permission sets that are already assigned to the user are displayed in the Permission Sets FactBox. Choose the Edit action to open the User Card window. On the User Permission Sets FastTab, on a new line, fill in the fields as necessary. For more information, see the "To create or edit a permission set" section.
↧
Forum Post: RE: You do not have the following permissions on TableData NAV App Setting: Insert.
Hi Stefano Yes the permission set is already assigned to the user. But I still get the same error.
↧
Forum Post: RE: You do not have the following permissions on TableData NAV App Setting: Insert.
Do you have this error in the production tenant or local sandbox?
↧
Forum Post: RE: Total sum problem
You're using FINDFIRST so you retrieve only 1 record here.
↧
↧
Forum Post: RE: Total sum problem
Thank you for fast reply. I have try with FIND('-') and findset...but always comes only 1 row. But I have many lines. Inventory Posting Group Global Dimension 1 Code Value FG 202 747021.8 SFG 101 14305374.67 TRD 201 -374438 RM 102 56010442.72 CS 202 0 PM 103 48675 SFG 102 10582328.26 CS 101 -6980705.67 OP 102 442852.56 FG 101 210438276.7 OP 101 26595735.62 RM 101 387677390.2 FG 102 79847791.34 PM 101 1487799.39 the upper output I have develop through the sql server. select [Inventory Posting Group],[Global Dimension 1 Code],SUM([Cost Amount (Actual)]+[Cost Amount (Expected)]) from [ABC Private Limited$Value Entry] Group by [Inventory Posting Group],[Global Dimension 1 Code] having [Global Dimension 1 Code]<>''
↧
Forum Post: RE: Total sum problem
To loop for each InventoryPostingGroup record, you need to use FINDSET. I don't understand what you want to do with your above code, but I can imagine there are logical errors: 1) You sum the first retrieved Value Entry 2) You filter a single InventoryPostingGroup record by filtering for ValueEntry."Inventory Posting Group" value. It's quite obvious that you have only one record with this code. Maybe you want to do something like this? InventoryPostingGroup.RESET; InventoryPostingGroup.SETRANGE(Code, ValueEntry."Inventory Posting Group"); IF InventoryPostingGroup.FINDSET THEN //<-- HERE we loop through each Inventory Posting Group record REPEAT ValueEntry.RESET; ValueEntry."SETRANGE(Inventory Posting Group", InventoryPostingGroup.Code); //<-- Here you select ALL the Value Entry record for this Inventory Posting Group ValueEntry.SETFILTER(ValueEntry."Posting Date",'%1..%2',0D,TODAY); IF ValueEntry.FINDFIRST THEN BEGIN ValueEntry.CALCSUMS("Cost Amount (Actual)"); ValueEntry.CALCSUMS("Cost Amount (Expected)"); TotalCostValue := ValueEntry."Cost Amount (Actual)"+ValueEntry."Cost Amount (Expected)"; END; //here you have the totals for an Inventory Posting Group, so do what you need... UNTIL InventoryPostingGroup.NEXT=0;
↧
Forum Post: RE: Convert a json object to an Array list Using Rest
All objects are "Newtonsoft.Json.Linq.JObject" Array is Newtonsoft.Json.Linq.JArray By the way - I recommend you to take Codeunit 5459 JSON Management from NAV2018 and import it to your NAV2015 - it contains all the needed functions.
↧
Forum Post: RE: Get data from Web XMLformat
Hi! It's easy. Try next approach: PROCEDURE SendRequest@1000000001(); VAR HttpMgt@1000000001 : Codeunit 1297; BEGIN HttpMgt.Initialize(' www.ecb.europa.eu/.../eurofxref-hist.xml '); HttpMgt.CreateInstream(IStream); HttpMgt.GetResponseStream(IStream); END; After that - create xml port and import IStream there.
↧
↧
Forum Post: SMTP Log
If possibel, Where too finde the log for which emails send with SMTP, for "we have sent you the email"
↧
Forum Post: RE: MRP error message: The date is not valid.
Hi, the issue in my case: the inventory of item X on a specific location Y is negative or zero. I hope it can be useful... note: you can find the location Y using the debugger
↧
Forum Post: RE: Interim accounts and Nav
Oh dear, that is big beast jobs module :) I don't think I can explain it in a post, as there are so many variation and no 'commonly' used framework, as it very much depends on the industry and the purpose of using costs - whether you use items, resources; costs or just revenue, or maybe just time spent, etc. The basic principle is such that item consumption would create GL movements (depending on inventory settings) - credit stock, debit adjustment account. Posting GLs would naturally affect GLs, and posting Resources - wouldn't. If the job is finished within the fiscal year, companies choose not to bother with WIPs. These are calculated based on the WIP Calculation type and Job Posting Setup, posting recognized sales, costs, etc. Creating invoice for the job/'job task' would also generate PL entries. How you use them depends on the type of projects and what you want to see in your chart of accounts. Sorry I can't give you more details on this, but this is a very big topic to cover :)
↧