Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all 10062 articles
Browse latest View live

VSCode + AL on Linux

$
0
0
Hi Experts,

I have tried Visual Studio Code and AL extension on Ubuntu.
Everything installed just fine but ...
When I tried to run AL:Go! I end up with an error:
"command 'al.go' not found"

Has anybody finished selecting BC sandbox on VSC+AL on Linux?
Thanks!

Kris

How can I generate interactive charts in dynamics NAV web client? Please find the attached image.

$
0
0
This is a card page. The data comes from a query.

c2kg5bndjcn4.png

D365BC: exchange rate service updating only one currency

How to remove caption from a card page? (please follow the description)

$
0
0
I wanna remove the caption of my card page highlighted in yellow.

jwf45ioma480.png

Is NAV / 365 service tier cluster aware?

$
0
0
Hi, we currently have NAV service tier and SQL server on the same physical box. We are thinking of putting them both on a VM which is hosted on a Hyper-V host on a cluster.

The documentation says SQL is happy with this, but will the NAV / 365 service tier be happy too ?

Thanks

Document Approval Via Email

$
0
0
Dear Sir,

The approval system is configured in the NAV 2016 Database with Email Notification. The Email Notification carries Document Details. And now I want to add two Action buttons one for Approve & another for Reject in Email body. So that approver can take decision & update the Navision Data from there.

If the Approver wants to reject the document he will click Reject button or if he/she wants to approve then click the Approve button. These two buttons will serve the purpose without login the NAV System.

How to do?

I'm getting an error trying to modify a value

$
0
0
I am getting an error trying to modify a value in a Table A from the OnAfterGetCurrRecord () and I am getting the error: A transaction must be started so that I can make changes to the database.

Thanks for your help and patience

rfbazmtu6icn.jpg

SQL Error when converting database 2016 to BC14


While Database Conversion from NAV 2015 to NAV 2018 Getting Error

$
0
0
Hi All,
I am upgrading Database from NAV 2013 to NAV 2018.

I upgraded from NAV 2013 to NAV 2015 without any error.

Now while I am doing Form NAV 2015 to NAV 2018 upgradation.

For this when i am opening Database in NAV 2018 for database conversion i am getting the following error.

Microsoft Dynamics NAV Development Environment
The following SQL Server error or errors occurred:

102,"42000",[Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near ' '.
102,"42000",[Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near ' '.
102,"42000",[Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near ' '.
102,"42000",[Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near ' '.
102,"42000",[Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near ' '.
102,"42000",[Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near ' '.

SQL:
-- Drop existing 'Object Tracking' triggers
IF EXISTS (SELECT * FROM sysobjects WHERE name = N'$ndo$objecttracking' AND type = N'TR') DROP TRIGGER [dbo].[$ndo$objecttracking]
IF EXISTS (SELECT * FROM sysobjects WHERE name = N'$ndo$objecttracking$bp' AND type = N'TR') DROP TRIGGER [dbo].[$ndo$objecttracking$bp]
IF EXISTS (SELECT * FROM sysobjects WHERE name = N'$ndo$objecttracking$ca' AND type = N'TR') DROP TRIGGER [dbo].[$ndo$objecttracking$ca]
IF EXISTS (SELECT * FROM sysobjects WHERE name = N'$ndo$objecttracking$naom' AND type = N'TR') DROP TRIGGER [dbo].[$ndo$objecttracking$naom]
IF EXISTS (SELECT * FROM sysobjects WHERE name = N'$ndo$objecttracking$nata' AND type = N'TR') DROP TRIGGER [dbo].[$ndo$objecttracking$nata]
-- Enable change tracking on individual tables
IF NOT EXISTS (SELECT * FROM sys.change_tracking_tables WHERE object_id=Object_ID('[dbo].[Object Metadata]')) ALTER TABLE [dbo].[Object Metadata] ENABLE CHANGE_TRACKING WITH (TRACK_COLUMNS_UPDATED = ON)
IF NOT EXISTS (SELECT * FROM sys.change_tracking_tables WHERE object_id=Object_ID('[dbo].[Debugger Breakpoint]')) ALTER TABLE [dbo].[Debugger Breakpoint] ENABLE CHANGE_TRACKING WITH (TRACK_COLUMNS_UPDATED = ON)
IF NOT EXISTS (SELECT * FROM sys.change_tracking_tables WHERE object_id=Object_ID('[dbo].[Add-in]')) ALTER TABLE [dbo].[Add-in] ENABLE CHANGE_TRACKING WITH (TRACK_COLUMNS_UPDATED = ON)
IF NOT EXISTS (SELECT * FROM sys.change_tracking_tables WHERE object_id=Object_ID('[dbo].[NAV App Object Me
OK

Please suggest what to do.

Nav 2017 Dynamically change logo in header of sales shipment report - how to?

$
0
0
I have a customer that is doing drop shipments and they want the customer's logo to be displayed in the header area of the report. Since the sales shipment report supports multiple documents, each of which can have its own logo, I cannot do the usual trick in the header of simply pointing to First(Fields!CompanyInfoLogo.Value) in the image properties of the logo and just change it to the customer logo. Worth noting that the image expression property only appears to support a First() incidence of any particular field name if setting a database value.

What I have tried to do is a bastardization of the older style (2013/2013r2) method of setting the logo using the Convert.To/FromBase64String:

- I have created Code functions at the report level that use a shared public object LogoData. These are pretty much identical to the GetData/SetData standard functions, only without bothering with field separators as they only are for the logo image. These are intended to be called by the Hidden property expression and can be passed a value to set as the return value.

- In the first column of my table group header (grouped by the specific shipment header, no parent group) I have a hidden cell named LogoDataValue with the value of "=Convert.ToBase64String(Fields!CustomerLogo.Value)". A couple of header cells later in the same row I use the visible property expression "=Code.SetLogoData(ReportItems!LogoDataValue.Value,FALSE)" (false parameter is the value to be returned).

- The image control in the header has the expression property of "=Convert.FromBase64String(Code.GetLogoData())". Image source is set to Database, mime type is image/bmp.

I'm not getting any errors, but the image displayed is the standard X of a bad image.

I am doing a calcfields on the custom field Customer."Customer Logo" field (blob, subtype bitmap) in the Sales Shipment Header - OnAfterGetRecord so I'm not making that rookie mistake.

Has anybody managed to get this sort of thing working? I might be able to convince my customer to store images externally, in which case I could try to load external images on the fly based on a "image location" field, but I wanted to see if I could get this working first. I'd be entirely open to a different method of trying to set/get the image data as well.

Report level functions are as follows:

Public Shared LogoData as Object

Public Function SetLogoData(Logo as Object, RetVal as Boolean) as Boolean
LogoData = Logo
Return RetVal
End Function

Public Function GetLogoData() as Object
Return LogoData
End Function

Create a Workflow

$
0
0
I'm using nav2017

I want to create a custom approval request workflow for Item Journals same as general journals

Please explain me with the procedure

Get No Series

$
0
0
Hi all ,
I want to connect a field with No series (Control) created

5vtih6dibhoz.png

hfq18nd8khpf.png

In my code I used codeunit ' NoSeriesManagement ' to get it but It dosent work
lSeriesCodeunit.InitSeries(GetNoSeriesCode, lPlanLine."Quality No.", Today, "No.", lPlanLine."Quality No.");

  procedure GetNoSeriesCode(): Code[30]
    var
        NoSeriesCode: Code[30];
    begin
        CASE lPlanLine."Quality Type" OF
            lplanline."Quality Type"::Plan:
                NoSeriesCode := gSeriesQuality."Order Control";

        end;
    end;

lControlLine."Quality No." := lSeriesCodeunit.GetNextNo(lPlanLine."Quality No.", Today, true);


do you have any idea !!!

Creating a key on existing tables (BC)

$
0
0
Hi,

I want to know if creating a new key (primary / secondary) on existing tables (EG: Item) using AL is possible. If so, how can I code it down?

Business Central Can't the Report on Search Bar

$
0
0
Hello, I when search the (10135)Item Sales Statistics report from search bar I can't find it. I can go to report layout selection and run my report from there but why can't I find this report from the search bar? I know for reports there is a property called UsageCategory and can be set it there but to add this property I need to modify the report, so it should be an easier way but I don't know.

Problem with codeunit 1750 Data Classification Mgt

$
0
0
I did apply a Cumulative update to my server/ client .

After the update , GDPR modules have been installed (as they should).

But in my role center, when i open activities i get the following error :
You do not have the following permissions for Codeunit Data Classification Mgt. : Execute

NAV2018 - The table definition is invalid and cannot be validated

$
0
0
Hi,

I'm in the middle of an upgrade from NAV2016 to NAV2018, base localisation is BE.

The company has a Polish subsidiary and so we have merged the Polish localisation into the NAV2018BE with own changes.
Now when I'm trying to import the PL language with txt or flm, I get the following error:

1jld59ehwgjs.png

There is a topic already existing Mibuso, but not for NAV2018 and the "workaround solution" isn't available.

Anybody knows a solution?

Many thanks,
Tom

Gap between Body and footer in report?

$
0
0
i have design a report in and layout is design As header+body+footer now while running report it shows absolutely ok on preview.but when i click on print layout it will shows gap between body and footer.in body i have taken list in body on that i added table for multiple copies

Use an Object by reference?

$
0
0
Hi,

I don't remembered if is possible to run a Object by reference and call the object's function?

For example: I am write a process report to import and process data. Report calls different XMLPort based on a setup table. The underline table for XMLPort is a temporary table and I have function to pass the record out. I am use XMLPort.IMPORT("XMLPort No.", InStream), but I can't call the function to get the record back in the process report. In the future, if there is a new format of text file, all I need to do is create a new XMLPort and update setup table. I don't want to create new xmlport variables in the report.

Thank you,


Is it possible to call external web service form NAV C/AL code?

$
0
0
Hi Experts:
Is it possible to call external web service form NAV C/AL code. For example , I program a console application 、 window service or web service..etc and I want call those external resource from NAV C/AL to do some transaction with external system. How could I implement it . If it's possible , could you ,please, provide sample code for me . Thanks for all experts.

Multiple NAV users at one Windows account

$
0
0
Dear users,

I was asked for some research, but I'm fairly new to the BC world and I cannot really find what I'm searching for.

There is a case where our customer would love its workers to log in into one Windows account when they start the work and from there each of the worker would have his personalized Client icon he can easily log in. By personalized I mean that he would be asked to log in with NAV user credentials while he click on the icon. It's because they tend to forget to log in to their own account if they are now having one, general log in to the Client.

Any tips how this can be solved?
Thanks in advance.
Viewing all 10062 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>