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

Nothing happens when l click on 'Cancel Approval Request'

$
0
0
sp4digtmbi8s.jpg

Users wanted to revise SQ so they just hit the button like they used to do but it doesn't work, nothing happens.
this problem happened a few times, tried debugging but it's difficult to find out though.

What should l do?
Could anyone advise me?

Thank you for your help :)
Regards.

Stream blob in bigtext

$
0
0
Hello,
I need to copy the contents of a blob field into a bigtext. For this purpose I use an instream variable, but this doesn't seem to work in RTC.
In classic client this works fine however.
Thinking it might be a bug I tested this in NAV 2016, but this doesn't work either.

This is my code:

CompanyInfo.GET();
CompanyInfo.CALCFIELDS( Picture);
MESSAGE(FORMAT(CompanyInfo.Picture.HASVALUE())); //shows YES
CompanyInfo.Picture.CREATEINSTREAM(MyInStream);
bolOK := MyBigText.READ(MyInStream);
MESSAGE(FORMAT(bolOK)); //shows YES
MESSAGE(FORMAT(MyBigText.LENGTH)); //Shows 4

The company information contains a picture (size is about 200KB), so the length of my bigtext should not be 4, which is what the message shows.

Any ideas? This is also how Microsoft explains it on the site (https://msdn.microsoft.com/nl-be/library/dd355163(v=nav.90).aspx)

Kind regards,
Andy Caignie





Problems with "service principal names"

$
0
0
Hi,

I use Navision 2017 CU5 with a local server (ABCDNAV01) who is not a member of an active directory.
MSSQL2014SP2 and Navision are on the same machine. Both services uses a local service user (SQL - dbnav / NAV - navservice01). Both service user are allowed with local security policy to login as a service. Both service user are in the local administrator group.

If I start the navision instance I get the following issue in eventlog for each port
Server instance: DynamicsNAV100
Tenant:
<ii>The service could not add service principal names because the service account could not be found in Active Directory.
Account: ABCDNAV01\navservice01
Service principal names:
DynamicsNAV/abcdnav01:7045
DynamicsNAV/abcdnav01:7045</ii>

On stop it is the same. only the message is different
The service could not remove service principal names because the service account could not be found in Active Directory.

With the default administrator account it's the same.
If the service is running, I can connect to Windows Client without problems.
I found some hints to fix setspn. But setspn won't work because the machine isn't an active directory member.

Pass Multiple Parameters via URL from Report to Page in RDLC

$
0
0
Hi All,

Here I want to run page from Report via url link. Its working fine for single parameter. but multiple parameter its not working fine. How can we achieve this?.

Ex:

From Inventory valuation Report (ID 1001), We have to give link to Value Entries page for Each Item wise filtering records based on Opening Balance,Transaction Period and Closing Balance.

="dynamicsnav:////runpage?page=50408&filter=Value Entry.%22Item No.%22:"+Fields!Value_Entry__Item_No__.Value +"&filter=Value Entry.%22Posting Date%22:" Fields!StartDate.Value

New developer experience/VS code + menusuite

$
0
0
Hi all,

I might have completely missed something... but how do i add new pages to the menu in VS code?
Can't find it in any of the samples.

Gr, Erik

ReadPermission in combination with RecRef

$
0
0
Hi

If have a strange issue with ReadPermission, NAV 2013R2.

This works
RecRef.OPEN(TableID);
If RecRef.READPERMISSION THEN…

This does not work (RunTimeError on first line of code, "Access is denied to Company <TheCompanyName>")
RecRef.OPEN(TableID,False,TheCompanyName);
If RecRef.READPERMISSION THEN…

So my problem is, code does not reach the line to test with ReadPermission, because the OPEN command fails.

Thanks in advance.
Thomas

Job No & Task No in sales order

$
0
0
Hello
We have a requirement to enter a job no, and task line on a sales order. The fields are there but do not seem to work. I read somewhere that this had been disabled by Microsoft. Now, as I understand it there is no link between a sales order and a job so having this information on the sales order line should not be an issue.

We are looking to do this so we can gather additional sales values on jobs and tasks that are not consumed directly in the job.

I probably have not explained this very well but I think the key questions is would there be any issues if we modified the system to allow the entry of job and task info on the sales order line.

Thanks

Nick

Sales Line Reservation from Purchase Line

$
0
0
Hi,

I am setting up reservations and currently I have a sales order with quantity 4 of Item ABC. I would like to reserve this item from an inbound purchase order i.e. I have made a purchase order with the same Item ABC (PO is still not received or invoiced). In the sales order, when I try to reserve this item, I am only able to reserve from the Item Ledger Entries and there is no option to reserve from the purchase lines of the PO.

Am I missing something, please?

Thanks in advance,
Y_1716

NAV 2017 - Rewrite Sales & Purchase Post

$
0
0
Did anyone else notice that Microsoft re-wrote the Sales & Purchas post codeunits in 2017? The OnRun functions are now just over 100 lines vs. 1000+!

Changing font encoding in reports saved as PDF

$
0
0
Has anyone experiences with changing the font encoding in NAV reports saved as PDF with SAVEASPDF function?

When the PDF is saved, the file looks good, but the fonts are
- Arial CID Identity-H
- ArialMT Type 1 Ansi

And when the PDF file ïs process in external program, the special characters are broken... I tried almost everything, such as font embeding, changing font in report builder... We use NAV 2017, in previous version (NAV 2009 classic client) we used external .bat file to create PDF file with PDFMaker...

Thanks...

ILE Problem

$
0
0
One of our client facing a problem in “Item Ledger Entry”. A auto entry comes without “Posting Date”, “Document No” and “unknown Quantity”.

MediaSet: Access the images

$
0
0
Hi NAV experts,

I'm playing around a with the new MediaSet field (e.g. in the item table) and I would like to use it to add several pictures for an item. This was not that hard as it is well documented in MSDN (See here).

My problem is how to access the items of my MediaSet. I changed the existing Item Picture factbox (Page 346) so that there are two actions to go to the next or the previous picture, but I don't know how I can access the next one. Using the function ITEM of the MediaSet, I just receive the ID but not the image itself.

Does anyone know how to do that? Thank's for your guidance

How to setup an approval workflow on invoice, expenses and purchase order in NAV 2016?

$
0
0
My client has a very secure system, where every E-Document either Sales , Purchase or Expense Booking, goes from a multiple lever of Approvals before they are released for final Stage of Posting. This client is Live using Dynamics Nav 2015 and now moving to 2016 version of Dynamics NAV. The functionality for Approvals mechanism is now changed and termed as Workflow in Dynamics NAV 2016, Is there any suggestions how can I replicate the same multiple level of Approvals using NAV 2016 Workflow Functionality for Sales, Purchase & Expense Vouchers without changing approval Setup?

[SOLVED]Is there a tool to find the id conflict and reassign the id?

$
0
0
Hello everyone,
When we merged two objects text file and import it, there maybe id conflict error popup(for example, two different functions in two files use the same id) and the import must be cancel.Then we must change the id manually and import it again, if we are not lucky doing the merge with two large customized objects, maybe over hundreds id conflict exists. ](*,) ](*,)

So is there any tools could analize the merged text file and find the id conflict, even more to reassign a new id automatically?
Does Object Management tool has this kind of utility?

Approval entry ??

$
0
0
Hey.I m testing Approval workflow for Purchase orders..
When i send a approval for a purchase order as a different user(BOT),Approval Entry Created and Status is also changed(Pending Approval).
I can see Approval Entry in BOT login,
I dont know why 2 entries created..One having Approved Status and Approver ID is (BOT) itself.And another one is having Status OPEN,and Approver ID is SUD(Administrator/SUper USER)..
But when i m login as SUD,then there is not any Notification about Approval Entry and I also cant find this Entry in Tables too..
Any Idea??


Approval Entry Table..No record.
01fcl4qa8axp.png

This is RTC from BOT,Having Entry details.
chyxvcxh6d1h.png


Kind Regards

ODataV4 and Patch not supported or not working?

$
0
0
Hi,

I'm trying to update Sales Lines using ODataV4 and PATCH. Bumping in to the following problem every single time:
{
  "error": {
    "code": "",
    "message": "'PATCH' requests for 'Collection' are not supported by Microsoft Dynamics NAV OData web services."
  }
}

I've tried posting to Page 516 (List). Tried converting Page 516 to a Card. Creating a custom page as both a list and a card. Same problem regardless.

Is it:
  • Simply not supported? (!?)
  • Some kind of bug?
  • Me doing something wrong?


Currently using Postman to simulate a request like this:
{
	"Document_Type": "Order",
	"Document_No": "SO123456789",
	"Line_No": 10000,
	"Qty_to_Ship": 1,
}

Doesn't matter if i include the etag or not. Same problem regardless. Running Nav 2017.

Any input is greatly appreciated.

Run XML Export from ribbon

$
0
0
Hi There,

I have a XMLport / CodeUnit to run the XMLport but when i connect the CodeUnit to my Page (ribbon) i dont see it, when i connect the XMLport to it it shows in the ribbon.... But then de CodeUnit doenst run. How can i get it work that i can run my CodeUnit to run de XML port from my ribbon (page) ?

with regards

Cside is not installed at the server, where as they are running it from finsql, is that a problem?

$
0
0
On saving changes in NAV13 system throwing below error -

Could not load file or assembly 'Microsoft.Dynamics.Nav.DotNetBridge, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Cside is not installed at the server, where as they are running it from finsql, is that a problem?

Change dimensions in NAV2015

$
0
0
Hi!

Somebody can give me a Hint of how can i Do to change dimensions of a registered inventory lines in NAV2015?

I'm looking some information but i'm not sure of how can i made this changes.

I know that i have to use the functions of CU 408

The steps i Think is...
Do a "repeat" in the movements i want to update in table 32 and get the actual dimensionset ID
After that i must use GetDimensionSetID function to get the new set dimension ID
and finally run UpdateGlobalDimFromDimSetID to update the dimensions of the movements...

is right??

Update a field on "editable = false" in OnValidate

$
0
0
Hi guys,

In Sales Order Subform (Sales Lines), I need to update a field on "editable = false" when I write something in a specific field on Sales Order (Sales Header).

Is it possible on NAV 2013 R2?

Thanks in advance.
Viewing all 10069 articles
Browse latest View live


Latest Images