Hi, you can try this way Item.RESET; Item.SETRANGE("No.", 'INSERT HERE THE ITEM CODE YOU NEED TO FILTER'); IF Item.FINDFIRST THEN BEGIN CLEAR(AdjustCostItemEntries); AdjustCostItemEntries.InitializeRequest(Item."No.", ''); AdjustCostItemEntries.USEREQUESTPAGE(FALSE); AdjustCostItemEntries.RUN; END; Item is a global variable on table Item AdjustCostItemEntries is a global variable on report 795 Best regards
↧
Forum Post: RE: Error - Adjust Cost Item Entries report does not have a DataItem that uses the table (Table 27 Item) specified in the function SetTableView.
↧
Forum Post: RE: Permissions to view Qty on purch order
[quote user="Swati Chauhan"] Hi, Table 37 Sales Line and 518 Purchase line. or you can open item card and check the same fields. [/quote] Thank you for your quick answer! I tried adding those tables to their permission, but the fields don't show up on their article card, nor can I add them through changing the page. Is there anything else I can do to get them to see the fields?
↧
↧
Forum Post: RE: Just told I could not inactivate a vendor (or any other master record)?????!!!!! Every other system I've used allowed inactivations.
There is a simple way to do this. On the Vendor card there is a field titled Blocked, set it to All on those vendors that are to be inactive. Then have your partner, or if you have limited developer rights, modify Page 27 which is Vendor List, to filter out Blocked is true. Next, copy that page to a custom range and remove the filter. That way you can get in to reactive a Vendor if need be.
↧
Forum Post: RE: Just told I could not inactivate a vendor (or any other master record)?????!!!!! Every other system I've used allowed inactivations.
I know the field 'blocked' but it has nothing to do with active or inactive. In my opinion, an active vendor is a vendor I use currently whereas an inactive vendor is someone I have not used for a long time- it could also be for the last 5 years I have never used him. But he's not blocked in my system. I thought it was the question from Toivo?
↧
Forum Post: RE: VAT reporting - Consolidated company
Hi Asim r In D365FO there is not a consolidated vat report. You can consolidate main accounts using either the consolidation functionality or build a financial with the relevant legal entities using Report designer. If you need a report with specific vat information you have to develop the report. Kind regards Sten
↧
↧
Forum Post: RE: VAT reporting - Consolidated company
Hi Asim, You posted the question in the wrong forum. I have moved it to the NAV forum for you.
↧
Forum Post: Finding Fields from Source Expression
There is a field named Invoice Discount % on the Sales Quote Card. I need to show this field's value in the Sales Quote (Report 206) but I can't find this field in either the Sales Header or Sales Line. It shows in the SourceExpression. The screenshot I attached above is from Tab SourceExpression. How do I locate this field? Thanks a lot in advance.
↧
Forum Post: RE: Finding Fields from Source Expression
The invoice discount % is not a standard NAV. It is probably calculated on the open page.
↧
Forum Post: RE: Error - Adjust Cost Item Entries report does not have a DataItem that uses the table (Table 27 Item) specified in the function SetTableView.
Because the report 795 does not take Item variable as parameter. Use the InitializeRequest as Andrea said.
↧
↧
Forum Post: RE: Adjust cost entries posting date
It does, unless your original transaction date is outside the allowed posting from and to in General Ledger Setup.
↧
Forum Post: How I can get Nav Developer License?
Hello, how i can get Nav developer license, though I work as freelance Business central developer but a my client have special request to update few things in Nav. But i don't have development license. what is best way to do.
↧
Forum Post: RE: How I can get Nav Developer License?
You need to be a partner or your client need to buy development granule from their partner/VAR
↧
Forum Post: Rdlc Report Visibility Problem
Hello I am working on nav report and I have an empty string on my report line and I only want to display if my sales type not empty. I went to empty string line and added visibility expression =IIF(Fields!Sales_Line_Type.Value = " ",true,false) It is almost working but still prints a line for the last line. I can add more line and the empty string line goes to the last line. See the last empty line, I want that gone. How can I do that?
↧
↧
Forum Post: RE: How I can get Nav Developer License?
You need to purchase it. You definitely need a Microsoft Partner for the same. Connect with me if interested.
↧
Blog Post: Resolution to SQL Error:Cannot be renamed because the object participates in enforced dependencies.
Introduction: Hey Buddies,…This is what happened… Just a normal day of coding , I was restoring SQL backup from my Live database to my Test database in NAV. everything works cool. Test database is restored. Now I navigate to companies and try to rename the company to Test and bang….error! The following SQL Server error was unexpected: Object ‘”dbo.”Liberty.Live$Production Forecast Entry”‘ cannot be renamed because object participates in enforced dependencies. Caution: changing any part of an object name cannot break scripts and stored procedure. Pre-requisites: Microsoft Dynamics NAV 2018 SQL Server Management Studio (SSMS) Cause of this error: MaintainSIFTIndex property What is SIFT Index? SumIndexFields are created in Microsoft Dynamics NAV to support FlowField calculations and other fast summing operations MaintainSIFTIndex property – Sets the value to determine whether SIFT structures should be created in SQL Server to support the corresponding SumIndexFields for the Microsoft Dynamics NAV key. The default value is set to yes. Refer https://docs.microsoft.com/en-us/dynamics-nav/maintainsiftindex-property NAV creates indexed views when value is Yes and save the table (and synchronize schema in newer versions) So when you restore your database, the index views are also restored to the new database. Now when you rename a company in this database, conflict is created as index view still points to old database in my case Liberty Live database. hence the error! Resolution to the error: Launch SSMS, expand your test database and expand views In my scenario, Production Forecast Entry caused this error, so find the view casing the issue then delete them. Rename the company. After renaming successfully, Open Microsoft Dynamics NAV Development environment, Click on Tools > Sync, Schema for all tables > With Validations also Build server application objects and compile all objects. You will notice the views which were deleted are recreated but with the new database name. Cheers!
↧
Forum Post: RE: Finding Fields from Source Expression
Hi, the "Invoice Discount %" is not a field, so is calculated with a function. If you look in the page 95 "Sales Quote Subform" you can find the variable InvoiceDiscountPct. This variable is calcualated with this code: InvoiceDiscountPct := SalesCalcDiscByType.GetCustInvoiceDiscountPct(Rec); SalesCalcDiscByType is a global variable on codeunit "Sales - Calc Discount By Type" Best regards
↧
Forum Post: RE: Adjust cost entries posting date
Hi, Thanks for the reply but it does not apply to my case. The original transaction date is within the allowed posting from and to in General Ledger Setup and User setup. However the Adjust Cost entries are still posted on date run. I normally do it via a Job overnight run at 0h which falls on the next date. All the Adjust cost entries are in the next date. Is there something in the setup missing? Note that I do not use Inventory Periods. Thanks Christine
↧
↧
Forum Post: RE: How I can get Nav Developer License?
I am just an indirect partner, can i get it through my MPN no??
↧
Forum Post: RE: How I can get Nav Developer License?
I am also a partner but indirect partner, can i get it?
↧
Forum Post: RE: Finding Fields from Source Expression
How do you suggest I access the field's value that is calculated at CodeUnit 56 that is Sales - Calc Discount By Type? I tried making a global variable of type Codeunit and tried accessing VarCreated.GetCustInvoiceDiscountPct(RECORDREF) but it would tell me RECORDREF should belong to 37 and not 0. Thank you in advance for pointing me in the direction I can get this figured out!
↧