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

How to check if user has license to run a codeunit (in code)

$
0
0
Hi,

How can you check if user has access to a certain codeunit through code?

Want to hide an action button on a page depending if user has license permission to run a given codeunit.

Thanks.

Importing 1000 images in Item table in NAV 2013

$
0
0
Hello Everyone,

I want to import 1000 images in Picture(Blob) field in Item table via processonly report.
The images names are same as Item no. with .bmp format.

Need help in parsing this string

$
0
0
Hi guys,
I need help in parsing the below mentioned string.
RP50001,201232,London;RP50002,201392,USA
etc

What i want is, i first want to split it on the basis of ';' and after getting individual token i want to split it on the basis of ',' . There can be more in the string separate by ';' .

Any one recommend how can i do this? There is no SPLIT function as in c#.

Plzz help. Thanks

NAV 2016 Check layout with lines around the stub fields

$
0
0
Hi,

Has anyone developed, or found a third-party addon that has a check layout that includes vertical and horizontal lines around both stubs on the "Stub-Stub-Check" layout of the A/P check in 2016, 2016, 2014 or 2013? In 2009 Classic and earlier versions, there were a number of partners who built this.

One solution I know in 2009 Classic was to use the array that is used for the second stub and print that array twice and suppress all detail lines completely on the report - so each check page is a footer only. I'm thinking that the same thing could be done in the RDLC version - although I've never built an RDLC report with no detail lines and only a footer - I'm thinking there might be challenges in getting the footer to use the entire page height. I'll probably have to experiment on my own, but I thought I'd ask the question.

Thanks

Ron

Workflow Approval in NAV 2017

$
0
0
I have a customer who has numerous approval workflows for purchase orders of over 500.
However all orders can be automatically approved if under 500.
Does anyone know what the workflow steps should be for this? So that users still press Send for Approval, but it gets automatically released

Thanks

How to display duration in hours like 3.5 in nav 2017 pages

$
0
0
Dear Friends,

can you help me to How to display duration in hours like 3.5 in nav 2017 pages. It is showing in milliseconds.
I want 3.5. or 3:30 like ..

Please help

Warm regards
KMK

2016, Events, Sales-Post, Item Ledger Entry already exists

$
0
0
Hello,

So the solution I'm trying to build involves posting "extra" item ledger entries, when posting a Sales Order under certain conditions (when a INSERT record event is fired by a third party table), AND using events.

So my sales order 1000 is containing these two lines:


Line No Item
10000 1000
20000 1001


When Sales-Post runs by line 10000 it setups up the item journal line, and calls the Item Journal Post Line codeuint. The first Item Ledger Entry is created with number 2000. This inserts the record in the third party table, from which my solutions posts another Item Journal Line. Now Item Ledger Entry No. is 2001.

When Sales-Post runs by line 20000, it does NOT find the next Item Ledger Entry No. as the codeunit is global, and have been set already. It just adds one to the number, resulting 2001. It doesn't know of any 2001 Item Ledger Entry, as the codeunit never asks the database for the next number.

Thus there's a conflict, since my event already grabbed that number.

So, what are my options, shy of completely abandoning the "per INSERT event" approch? Right now the only solution I see right now, is OnBeforePostSalesDoc, then looping over the sales line.

Dynamics 2013 GET not returning a record

$
0
0
I've created a new company and copied data from the original company using SQL INSERT INTO ... SELECT FROM .

I can log into the new company fine, create a sales order fine but, if I try to delete the Sales Order I get an error message on SourceCodeSetup.GET; saying the record cannot be found, however the record is there with the same blank key as the original company. The SQL copy must be doing something to the Primary Key value but I can't figure out what and it's bugging me. Does anyone know why the GET does not work in this instance?

Lookup (3 dots button)

$
0
0
Hello. Can somebody teach me how to show this button ? and how to launch a page if you click it. thank you in advance


xxa1xm81hz7q.png

Workflows: Changing email notification in NAV 2017

$
0
0
Hi,
Does anyone now how to change the email notifications used in workflows in NAV 2017 ? This is pretty straight forward in NAV 2016 and earlier, where you went to "Notification Templates" and could export and import. In 2017 this is not available and table 1510 "Notification Templates" does not exist anymore. So the question is where are the templates kept and how to you change them ?

br.,
Hogni H.

Template list popping up when added to Navigation Pane

$
0
0
Dear all,

I have added Item Journal Template List under Activity Buttons under a group named Journals. Now when I click on the Journal I'm prompted to select the Journal template as a popup. Is there a way to avoid this, because if the user press cancel then they will not be able to see other items under the group.

Thanks in advance.

Report filter with OR operator

$
0
0
Dear Mibuso members,

I want to build a report (or query) same like my sql query.
In my sql query (on customer table) I have a filter with an OR operator

Example:
WHERE (customer.[Deceased] = 1 OR customer.[Date Deceased] <> '1753-01-01 00:00:00.000')

How do I build this in a NAV report or query?

Thank you


Best Regards,
Rob


DLL Hell

$
0
0
Hi

I've created a C# DLL on my own pc (VM to be accurate) which has a simple drag and drop function in it. I've added this to a page in NAV and it works perfectly.

Now the problem. When I try to use this DLL on a different server, the page does not compile. It does not seem to be able to understand the DLL, even to the point of not being able to drill now into the command using F5.

I have put the DLL in both the server and the rtc Addins folder. I have also added the details to the Control Add Ins page of NAV.

Any help or pointing to the right direction would be appreciated!

TIA

Chris

Manufacturing Run Time

$
0
0
Dear All,

i got 1 scenario here:
To Mix 1 Can- 25Liter Paint, my machine requires 10 minutes. But my machine can cope up till 500L ( 20 Cans). Thus when i create Production Order, system will propose me to occupy 10 minutes x 20 cans which about 200 minutes. But the actual time i use only 10 minutes..May i know any solution for this? Thank You.

Currency gain loss question

$
0
0
Hello,

I have a question about currency gain loss calculation logic of applying customer entries,

In the apply customer entries page;

-The upper part:
Amount is negative, currency blank (payment etc.)

-subpage part:
Amount is positive, currency is not blank (invoice etc.)

In this scenario system calculate currency gain loss, but if I move the invoice to the upper part then system doesn't calculate currency gain loss.When I check the code, ApplnExchangeAmtFCYToFCY (Currency Exchange Rate Table) function is called and this logic is executed.

Do you have any idea why this logic works like that and what are the effects of it?

Thank you.

Line discount on purchase document

$
0
0
scenario: purchase line with 200 pcs, price not including vat is 20, so total line exlc. VAT is 4000, VAT 13% which is 520, then total amount incl. VAT is 4520.. now try to give line discount, the VAT amount will change?!!! i need to give line discount and keep the vat to be calculated based on the amount before discount, so i need VAT to be all the time 520 regardless of Discounts. any help or ideas?

Solved - NAV2017 - Debugger - Manifest.xml

$
0
0
Hi,

We are currently implementing NAV2017 (NAV2013 upgrade) and have installed 10.0.15601.

We installed the latest version because, with the first version, we had a problem using the debugger but unfortunately the latest install has not resolved this.

The problem with the debugger is that the code window shows the following error:
"Resource 'manifest.xml' is missing in the control add-in resource."

Now I know when you write custom libraries you get this file, wrap it all up in a zip file and then import it into the control add-ins within NAV.

With the debugger though I don't have access to this and I presumed this should have all been preinstalled with NAV.

Does anyone know how I can register whatever component is used by the debugger?

Below is a screenshot of the debugger.

Grateful for any help.

Remco

t5s6j98b0rsw.png

Getting "precise" coordinates within NAV 2016

$
0
0
Hi, for a customer, we did a development which saves users current location to a record so after some time user can see the records location. But the problem is when we take coords from nav, they are not precise. When user takes the location from WhatsApp, the location (coords) are much more precise. How can make NAV use High Accuracy options? Which C/AL code do i need to put there so NAV will use High Accuracy ??

Customer Balance and Date Filter - NAV2017 CU5

$
0
0
Hi,

It appears MS have added (CU5) "Date Filter" (linked to "Posting Date") on the Balance and Balance (LCY) fields of the Customer table.

This appears to be a very strange move as there is a field on the Customer Card (General Tab) called Balance (LCY) and this figure will now be subject to the standard date filter that MS apply to the Customer Card.

Seems "wrong" to me - anyone any idea why they have done this??

Checkbox for "Accept Action Message"

$
0
0
Does anyone know where I can default the field "Accept Action Message" on the Req. Worksheet (Page 291 / table 246) and the Subcontracting Worksheet (Page 99000866 / table 246) to be False/unchecked? This is driving me nuts that I can't find this property on the page or tables to default to the unchecked position.

pokq5dt2adm6.png
Viewing all 10069 articles
Browse latest View live


Latest Images