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

Configuration File Error

$
0
0
Hi There,

Does this error message look famliliar to any of you ?

8y3l4eff6dv7.png

It happens only when a particular user tries to get into NAV. They're on NAV 2016 version.

Thank you for your cooperation in advance.
Best Regards

Business Central - Bank Statement Import - MT940

$
0
0
Hi,

Dutch Local functionality says that it supports MT940 Bank Statement Import But when I look at NAV/BC, there is no setup for it.
Am I missing something? How can I import MT940 format?

Thanks

In Dynamics BC / Configuration package import executing field OnValidate code

$
0
0
Hi,

Does Configuration Package import execute code that's found on OnValidate trigger of fields? Is there an option to do that?

Security Filtering using Extension in AL Code

$
0
0
Issue :

When I use security filter in field "Code" in table "No. Series", I get error "A security filter has been applied to table No. Series. You cannot access records that are outside that filter" when create new Sales Order.

I debug and it break on code below in function "CheckNumberSeries" (codeunit 1400) :
IF RecVariant.ISRECORD AND (NoSeriesCode <> '') AND NoSeries.GET(NoSeriesCode) THEN BEGIN

In NAV, I will add code like below.
NoSeries.SecurityFiltering := SecurityFilter::Ignored; //my additional code
IF RecVariant.ISRECORD AND (NoSeriesCode <> '') AND NoSeries.GET(NoSeriesCode) THEN BEGIN
..

How to do this using extension with AL Code in Business Central?
In extension, I cannot add code
Please help.
Thank you.

**To Reproduce**
Steps and to reproduce the behavior:
1. Go to Permission
2. In table No. Series, add security filter on field "Code" (for example : 101-A..101-Z)
3. Create No. Series Code (for example : 100-SO, 101-SO, 102-SO)
3. Create new Sales Order (error "A security filter has been applied to table No. Series. You cannot access records that are outside that filter")

**Expected behavior**
I can create new Sales Order without any error.

**Versions:**
- AL Language: 4.0.209944
- Business Central: 14.0.36457

Team Member Question

$
0
0
Hi

Does anyone know if a team member licence would allow a user to convert an approved purchase quote into a purchase order?

thanks

Multi Language captions not always correct.

$
0
0
Hi,

We have a system which both English and welsh captions added onto actions and fields. Some of these come across fine but others do not. Here is an example..

This is an action item with a Welsh Translation.

eco3tyfajlgf.png

Here we can see in a User running as the Welsh Language in the User Personalisation the button still reads the English.

i5zg98vrs1vn.png

Please could someone explain why this isn't working and what needs to eb done to correct it.

Thanks!

About "Application Area" Property

$
0
0
Hi Experts,

In BC140, after I created my own tag of Application Area in Table 9178, put the tag in the Objects accordingly, and activate it, it takes effect in the Web Client (which is what I intended to).

However, it also affects RTC (RoleTailored Client), which is what I do not want, is there a setting/a way to have the Application Area only takes effect in Web Client?

Not able to connect to Business Central through VS Code

$
0
0
Hi,
I have installed Business central Wave 2 Update 1 and also VS code.
When i am creating a new project and also made changes to launch.JSON file as show in attachment i am getting following error.

Error: Server and server instance must be specified when using Windows authentication
Error: The configuration in the launch.json file is not valid.


gu53wqwaj2gx.png

Encrypt/Decrypt text in version 15

$
0
0
Hi all,

In previous version of BC/NAV we used some system dotnet libraries to encrypt/decrypt text. Do we have any alternative for this in version 15 (Cloud)?

I know for built in function's Encrypt/Decrypt. But can we used same encryption key on the other side for opposite process?

Thanks

NavContainerHelper, includeAL and local extensions

$
0
0
When using -includeAl on New-BcContainer i get the source code from the base app as al-code.
But the image that I am using also contains local danish extensions published by Microsoft.
Can I use -includeAL to get the source code from these extensions included in the image?
Or is there some other way to extract the source code from the extensions that are included in the image?

Dynamics NAV service Tier - login failed for ANONYMOUS LOGON

$
0
0
I am setting up a service tier for MS Dynamics NAV 2009, but am unable to connect due to a login failure.

Login failed for user 'DOMAIN\ANONYMOUS LOGON'. Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors.

Error: 18456, Severity: 14, State: 11.
I have the following servers:

SQL Server: sql-dev

Dynamics service tier: dynamicsService
The SQL and Dynamics services are both running under the same domain account.

I have four spns setup:

MSSQLSvc/sql-dev.mycompany.com:1433

MSSQLSvc/sql-dev:1433

MicrosoftDynamicsNAVServer$Dev/dynamicsService.mycompany.com:7046

MicrosoftDynamicsNAVServer$Dev/dynamicsService:7046
Finally, I have Delegation setup for the domain account for both the Dynamics and SQL service. This looks to be the correct setup according to the MS documentation, but it is not working. Any thoughts to where I have gone wrong? Thanks.

NAV TechDays 2019 Video

How i Can Solve this error Could not initialize Microsoft SQL Server 2012 Report Builder 3.0: Illega

$
0
0
i try to upgrade reports in 2013 but this error show ''Could not initialize Microsoft SQL Server 2012 Report Builder 3.0: Illegal characters in path. Verify that Report Builder 3.0 is installed correctly.'' after click upgrade reports.

when I upload a file, it should automatically get saved it in specific folder using web client

$
0
0
Following code works but the file automatically save in downloads folder instead of the folder i have mentioned. Please Help!!
Filename:= FileManagement.BLOBImportWithFilter(tempblob,Text002,'','All Files (*.*)|*.*','*.*');
tempblob.Blob.CREATEINSTREAM(FileStream);
DOWNLOADFROMSTREAM(FileStream,'Export','C:\UploadedFile','',Filename);

data insertion in table

$
0
0
Hello experts,
I have scenario like i have custom page on page i have action on click of that action data from page is store in table .for that i have created table QC test Result.
In action added code
QCTestResult1.INIT;
    QCTestResult1."Test Certificate No":="Test Certificate No";
    QCTestResult1."GRN No.":="GRN No.";
    QCTestResult1."Line No.":="Line No.";
    QCTestResult1."Item No.":="Item No.";
    QCTestResult1."Parameter Code":="Parameter Code";
    QCTestResult1."Test Method Code":="Test Method Code";
    QCTestResult1."Parameter Name":="Parameter Name";
    QCTestResult1."Test Method Name":="Test Method Name";
    QCTestResult1.Specification:=Specification;
    QCTestResult1.Result:=Result;
    QCTestResult1.Approved:=Approved;
    QCTestResult1.Rejected:=Rejected;
    QCTestResult1.INSERT(TRUE);[code]
where QCTestResult is record variable of that table in which data want to store of page.problem is that one one line data pull not multiple line of page how we can get all lines from page into table.
thanks in advance

how to make price excluding vat inactive

$
0
0
Hi i want to make the field unit price excluding vat in active when raising a sales order only to view the amounts but not able to change in the sales order subform am using BC .Your guide will be highly welcomed.

Job Queue Stuck after post batch

$
0
0
Hi all,
I am using cloud BC

after I tried post sales invoice using post batch, with some errors then there are these Job Queue Stuck.
how to prevent this?
dchy96w1ekw1.png

i tested with same scenario in bc on premise, there is no error message like this.
is there any setup?
(p.s : i didnt tick background posting in Sales & receivable setup)

Showing error during creation of 'dimension set id' in Dimension set entry table.

$
0
0
Hi Everyone,

I am creating 'dimension set id' in temporary dimension set entry table,once its created ,but now its showing its already there.

5if06b1oq3fz.png


Please find below my code:

TempDimSetEntry.RESET;
TempDimSetEntry."Dimension Code" := 'DEPT';
TempDimSetEntry."Dimension Value Code" := DeptCode;
TempDimSetEntry."Dimension Value ID" := DeptID;
TempDimSetEntry.INSERT;


TempDimSetEntry.RESET;
TempDimSetEntry."Dimension Code" := 'CHANNEL';
TempDimSetEntry."Dimension Value Code" := ChanCode;
TempDimSetEntry."Dimension Value ID" := ChanID;
TempDimSetEntry.INSERT;


TempDimSetEntry.RESET;
TempDimSetEntry."Dimension Code" := 'PROJECT';
TempDimSetEntry."Dimension Value Code" := ProjCode;
TempDimSetEntry."Dimension Value ID" := ProjID;
TempDimSetEntry.INSERT;


AvailDimSetId := DimensionManagement.GetDimensionSetID(TempDimSetEntry);
DimensionSetEntry."Dimension Set ID" := AvailDimSetId;
PurchaseHeader."Dimension Set ID" := DimensionSetEntry."Dimension Set ID";
IF DimensionSetEntry."Dimension Set ID" =0 THEN
NewDimSetId := DimensionManagement.CreateDimSetIDFromDimBuf(TempDimBuf);
PurchaseHeader."Dimension Set ID" := DimensionSetEntry."Dimension Set ID";
PurchaseHeader.MODIFY;

how, i should give condition to not create dimension set id for above three combination dimension code(Dept,project and channel),if it is already there.
Please guide me regarding above query.

Thanks,
Mani.

Convert JsonToken or JsonValue to Variant

$
0
0
Hi,

I'm having a problem with assigning value from JsonToken or JsonValue to Variant variable.

I didn't find in documentation how can I check if value from token is certain type, and to assing that value to Variant
if JToken.IsInteger() then
    variant := JToken.AsValue().AsInteger();

Thanks

Connect Visual Studio Code to Business Central on premise

$
0
0
I cannot download symbols from Business Central (2019 second wave). Business Central is on a server and I have Visual Studio Code on my local PC.

App.json:
{
"id": "a31dcs4b-0ab4-4134-98ae-f3c780b5b0ad",
"name": "Moes",
"publisher": "Default publisher",
"version": "1.0.0.0",
"brief": "",
"description": "",
"privacyStatement": "",
"EULA": "",
"help": "",
"url": "",
"logo": "",
"target": "OnPrem",
"dependencies": [
{
"appId": "63ca2fa4-4f03-4f2b-a480-172faf340d3f",
"publisher": "Microsoft",
"name": "System Application",
"version": "1.0.0.0"
},
{
"appId": "437dbf0e-84ff-417a-965d-ed2fb9650972",
"publisher": "Microsoft",
"name": "Base Application",
"version": "15.0.0.0"
}
],
"screenshots": [],
"platform": "15.0.0.0",
"idRanges": [
{
"from": 50100,
"to": 50149
}
],
"contextSensitiveHelpUrl": "https://Moes.com/help/",
"showMyCode": true,
"runtime": "4.0"
}

launch.json:
{
"version": "0.2.0",
"configurations": [
{
"type": "al",
"request": "launch",
"name": "Moes",
"server": "http://md15nav.adm.moes.dk/Moes-D365BC13-Udv",
"serverInstance": "Moes-D365BC13-Udv",
"authentication": "Windows",
"tenant": "",
"startupObjectId": 22,
"startupObjectType": "Page",
"breakOnError": true,
"launchBrowser": true,
"enableLongRunningSqlStatements": true,
"enableSqlInformationDebugger": true,
"port": 7042
}
]
}

I get this error when trying to download symbols:

"Error: Der opstod en fejl under afsendelse af anmodningen. Fjernserveren returnerede en fejl: (401) Uautoriseret. Hovednavnet er ikke korrekt."

(Something like: An error occurred while sending the request. The remote server returned an error: (401). Unauthorized. The main name is not correct.")

I'll read your replies on Friday.
Viewing all 10070 articles
Browse latest View live


Latest Images