Quantcast
Channel: Microsoft Dynamics NAV Forum - Recent Threads
Viewing all 19332 articles
Browse latest View live

Adjust cost entries posting date

$
0
0

Why are Adjust cost entries posted on date run and not in original transaction date?


Finding Fields from Source Expression

$
0
0

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.

How I can get Nav Developer License?

$
0
0

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. 

Rdlc Report Visibility Problem

$
0
0

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.

k0q1kelzvbyl.png

See the last empty line, I want that gone. How can I do that?

xmlport can't insert new record in item table

$
0
0

Hi everyone,


So I've created a xmlport to import text data to item table and the record don't exist and my xmlport says it was added with success and then raise the error that nothing was added (error message of my code), so in my item table i see that NOTHING is being added to my table from my text file.

In my text file I have this information,

"8020150083" "TESTE NEW ITEM" "UNI" "8020" "802015" "4,8235" "4,82292" "23" "NAC" "500302081" "" ""

And I have my xml port like the image below and the code,

OnInitXMLport()
nbOfSuccess := 0;
nbOfError := 0;

OnPreXMLport()

OnPostXMLport()
MESSAGE('Added %1 new items of  %2', nbOfSuccess, nbOfSuccess+nbOfError);



Item - Import::OnBeforeInsertRecord()



EVALUATE(Item."No.",No);
EVALUATE(Item.Description, Description);
EVALUATE(Item."Base Unit of Measure", BaseUnitOfMeasure);
EVALUATE(Item."Item Category Code", ItemCategoryCode);
EVALUATE(Item."Product Group Code", ProductGroupCode);
EVALUATE(Item."Unit Cost", UnitCost);
EVALUATE(Item."Last Direct Cost", LastDirectCost);
EVALUATE(Item."Gen. Prod. Posting Group",GenProdPostingGroup);
EVALUATE(Item."VAT Prod. Posting Group",VATProdPostingGroup);
EVALUATE(Item."Vendor No.",VendorNo);
EVALUATE(Item."Vendor Item No.",VendorItemNo);
EVALUATE(Item."Item Tracking Code", ItemTrackingCode);

Item.VALIDATE(Item."VAT Bus. Posting Gr. (Price)", 'NAC');
Item.VALIDATE(Item."Item Disc. Group",'ALL');

EVALUATE(Item.Integrado, '1'); // LACT001

IF Item.INSERT THEN BEGIN
nbOfSuccess += 1;
MESSAGE('Item%1 added with success', No);
END ELSE BEGIN
nbOfError += 1;
currXMLport.SKIP;
MESSAGE('Item %1 already exist', No);
END

Amount Incl VAT value in Sales Quote Report.

$
0
0

So I am using the below code to add the amount in words to the Sales Quote report. I have already successfully achieved it with the Sales Invoice report using the following code.

Header - OnAfterGetRecord()

gRpt_Cheque.FormatNoText(notext,"Sales Header"."Amount Including VAT","Sales Header"."Currency Code");

 To get straight to the issue I am facing; The AmountIncVAT field gives me Zero when I am doing it in the Sales Quote report. It give the right value of AmountIncVAT when I did it for the Sales Invoice.

What am I missing out? The Sales Quote will be printed from the Sales Quote Card, is the AmountIncVAT field giving me ZERO value because the document is OPEN? Does AmountIncVAT field only get calculated when the Document is posted? In Sales Invoice case where I said it worked fine is it because of Sales Invoice was posted?

Thanks for the help in advance!

wHEN i CREATE sales credit memo

$
0
0

you cannot assign new numbers from the number series 1000 what it does mean please rectify my error..

OCR and AP Automation solutions

$
0
0

Hi there!

We are looking to move from our very manual paper-based procedures and wanting to bring in an OCR/Automated approvals solution. We are a mid size organisation with multiple companies, central suppliers list/COA/Reporting dimensions. Our main requirement is that we want to explore solutions already integrated with NAV however after many hours on Google I cant find alot so hoping that this might give me some confidence. All suggestions appreciated!


XML Port how to insert data in more than one table

$
0
0

Hi everyone,

I'm trying to read a text file with this content

"8020100172" "Test" "UNI" "8020" "802010" "10" "10" "23" "23 EXIST" "FITO" "1236547896541"

And I'm trying to insert this information in table Item, Item Unit of Measure and BarCodes.

So my xmlport insert in Item table but nothing is added in the other two tables and no erro is show. How can I do this? Am I writing code in the wrong place or maybe need to setfilter on item no? I'm a little confused and all the example I've see is only to add in one table.

I feel like the code is being ignored and not being runned.

OnInitXMLport()
nbOfSuccess := 0;
nbOfError := 0;

OnPreXMLport()

OnPostXMLport()
MESSAGE('Sucess adding items %1 of %2', nbOfSuccess, nbOfSuccess+nbOfError);


Item - Import::OnBeforeInsertRecord()
EVALUATE(Item."No.",No);
EVALUATE(Item.Description, Description);
EVALUATE(Item."Base Unit of Measure", BaseUnitOfMeasure);
EVALUATE(Item."Item Category Code", ItemCategoryCode);
EVALUATE(Item."Product Group Code", ProductGroupCode);
EVALUATE(Item."Unit Cost", UnitCost);
EVALUATE(Item."Last Direct Cost", LastDirectCost);
EVALUATE(Item."Gen. Prod. Posting Group",GenProdPostingGroup);
EVALUATE(Item."VAT Prod. Posting Group",VATProdPostingGroup);
EVALUATE(Item."Item Tracking Code", ItemTrackingCode);
EVALUATE(Item."Sales Unit of Measure", BaseUnitOfMeasure);

Item.VALIDATE(Item."VAT Bus. Posting Gr. (Price)", 'NAC');
Item.VALIDATE(Item."Inventory Posting Group", 'PROD');

Item.VALIDATE(Item."Item Disc. Group",'ALL');

IF Item.INSERT AND CodBarras.INSERT AND "Item Unit of Measure".INSERT THEN BEGIN
  nbOfSuccess += 1;
  MESSAGE('Item %1 ADDED with success', No);
END ELSE BEGIN
  nbOfError += 1;
  MESSAGE('Error in item %1. Maybe already exists', No);
END


Item Unit of Measure - Import::OnBeforeInsertRecord()

EVALUATE("Item Unit of Measure"."Item No.",No);
EVALUATE("Item Unit of Measure".Code, BaseUnitOfMeasure);

IF NOT "Item Unit of Measure".INSERT(TRUE) THEN BEGIN
  MESSAGE('Error Item Unit of Measure', No);
END

CodBarras - Import::OnBeforeInsertRecord()
EVALUATE(CodBarras."Item No.",No);
EVALUATE(CodBarras."Barcode No.", Barcode);
EVALUATE(CodBarras.Description, Description);
EVALUATE(CodBarras."Unit of Measure Code",BaseUnitOfMeasure);
EVALUATE(CodBarras."Last Date Modified",FORMAT(TODAY));

IF NOT CodBarras.INSERT(TRUE) THEN BEGIN
  MESSAGE('Error in BarCode', No);
END


Item Unit of Measure - Import::OnBeforeInsertRecord()
EVALUATE("Item Unit of Measure"."Item No.",No);EVALUATE("Item Unit of Measure".Code, BaseUnitOfMeasure);
IF NOT "Item Unit of Measure".INSERT(TRUE) THEN BEGIN  MESSAGE('Ocorreu um erro a acrecentar na "Item Unit of Measure". Provavelmente o produto %1 já existe', No);END

How to split string value into multiple lines

$
0
0

Hi experts, Hre i am trying to import comment lines using .CSV files but i want to split the comments into multiple lines if it exceeds the maxstrlen of the field. Please help

Boolean Control check/uncheck through code in Posted documents.

$
0
0

Dear Experts,

How to check and unchecked the Boolean control used the code in Posted document page.
I have added the check box in General ledger entry. When I press the button then Boolean control is checked. How to uncheck it with same button, what I need to add extra logic in my code. Please suggest me.


Audit Done - OnAction()
"Audit Done":=TRUE;
GLEntry1."Audit Check Date":=CURRENTDATETIME;

GLEntry1.RESET;
GLEntry1.SETRANGE(GLEntry1."Document No.","Document No.");
IF GLEntry1.FIND('-') THEN BEGIN
REPEAT
GLEntry1."Audit Done":=TRUE;
GLEntry1."Audit Check Date":=CURRENTDATETIME;
GLEntry1.MODIFY;
UNTIL GLEntry1.NEXT=0
END;

Please help me to resolve my issue. I have attached the screenshot

entering Note, or Link in Sales Order, via web services (OData / SOAP)

$
0
0

Is this possible?

 
If not possible, can someone suggest a solution (our problem described below).
Thanks!

-----------------------------------------------

Background:

US Millitary APO/FPO customers, provide alternate "consolidation point/forwarding" address, in US, for cases where the package exceeds the limits imposed by USPS (over 70LBs, or over 130inch combined Length+Girth ).

We have a need for our Warehouse staff  to be able to see these "alternate address" that may be attached to an APO/FPO order... in case the package exceeds those limits.

We enter Sales Order data into NAV (2016) by using Odata Web Services  (could also use SOAP if need be).

We thought we could put this info  (the alternate address) into the Sales Order -> Notes, so that our Warehouse staff gets a "popup" notifying them  that there are Notes and then they are able to read them, at ship time.

Undo assembly order with items and resources

$
0
0
Hi,
I have an issue when I try to undo assembly registred order in the event that the products have been sent and billed. The system don´t allow this case.
I can use the item journal to adjust the inventory (Item Ledger Entry and Value Entry) but I also need to correct the resources and capacity ledger entries.
How could I correct these entries?
Thanks

ServerInstance 'MicrosoftDynamicsNavServer$NAV2018' failed to reach status 'Running' on this server due to the following error: 'Cannot start the service

$
0
0

I have created a new service from the "New-Service" command. I have done this several times earlier and worked perfectly. This time i am doing it on Windows Server 2019 Standard and Microsoft SQL Server 2016 Developer (64-bit) and getting below error.

=============================================================================

Faulting application name: Microsoft.Dynamics.Nav.Server.exe, version: 11.0.26893.0, time stamp: 0x5c1c081a
Faulting module name: KERNELBASE.dll, version: 10.0.17763.404, time stamp: 0x2528b630
Exception code: 0xe0434352
Fault offset: 0x0000000000039129
Faulting process id: 0x31c0
Faulting application start time: 0x01d51febab85ff54
Faulting application path: C:\Program Files\Microsoft Dynamics NAV\110\Service-CU13\Microsoft.Dynamics.Nav.Server.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: a374a1a1-8e28-4b46-b1b8-38eaa5c1178e
Faulting package full name:
Faulting package-relative application ID:

============================================================

Application: Microsoft.Dynamics.Nav.Server.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Security.Policy.PolicyException
   at System.Security.SecurityManager.ResolvePolicy(System.Security.Policy.Evidence, System.Security.PermissionSet, System.Security.PermissionSet, System.Security.PermissionSet, System.Security.PermissionSet ByRef, Boolean)
   at System.Security.SecurityManager.ResolveCasPolicy(System.Security.Policy.Evidence, System.Security.PermissionSet, System.Security.PermissionSet, System.Security.PermissionSet, System.Security.PermissionSet ByRef, Int32 ByRef, Boolean)

Exception Info: System.IO.FileLoadException
   at Microsoft.Dynamics.Nav.WindowsServices.DynamicsNavServer.Main(System.String[])

Migrate Data from NAV 2017 to Extensions in Business Central On-Premise

$
0
0

Hi All,

Can you please let us know how can we migrate the data from NAV 2017 to Extensions in Business Central On-Premise.


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 the 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 it? Please suggest if you've any idea.

Subrata Bauri

preview of word document in navision 16 like windows

$
0
0

Hi Community,

I have a requirement in which on clicking the button of ribbon a preview of that document file should open in Navision itself instead it is opening outside like MS Word, Wordpad. Can You please suggest some solution. 

Workflow approval purchase order NAV add lines after approved

$
0
0

Hi!

I have set up a workflow from a template for purchase order approvals. I am wondering, then the order has been approved by the approver and released, if I want to add a line to the PO, do I need to open it and sent it again for approval? or are there some way that I can skip the apporval the second time? 

Problems wit NAV WebClient and NAV Server Versions

$
0
0

Hi there!

We are cuurently expanding our Navision environment by adding the webclient. The WebClient is separated from the navsion server. Now I've got the following error:

The client version does not match the server version. You can only connect to a server with a matching version.

Client version: 9.0.46621.0

Server version: 9.0.47256.0

The problem is that both of these servers are running the same version (CU 10 | 9.0.46621.0) None of the servers we are operating right now are using CU13 9.0.47256.0.

Are there any solutions to this problem?

Thank you in advance!

Different safety stock amounts for different locations in Navision Classic 2009

$
0
0

Hi everyone,

We are seeking help regarding setting different safety stock amounts for different locations in Navision Classic 2009.

We have multiple warehouse locations around the world and would like to increase our service levels by having a minimum amount of stock for some items that we identified at different locations. These locations are replenished from our central warehouse in The Netherlands. 

What happens at the moment is that we have a safety stock for an item, but this does not take into account the various locations seperately (but just sums all the inventory of the locations together). We do not want to check these items individually each week per location because this will cost us too much time. We would like to have that the requisition sheet gives us an output that the warehouse in location B/C/D should be replenished from the central warehouse at loction A trough a transfer order.

We know how the input parameters work (using lot-for-lot/fixed r.o.q, safety stock, ROP etcetera). 

Is there possibility to make this work? 


Kind regards,

Robbin 

Viewing all 19332 articles
Browse latest View live


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