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

Odatav4 on nav 2018 CU 23


Query on Sales Header (filter by customer)

$
0
0

Hi all,

I created a simple query calculating for all customers the items and quantity bought.

Expanded Type Data Source Name Method Type Method Group By
1 DataItem Item Ledger Entry <Item_Ledger_Entry> No
0 Column Item No. <Item_No> None Yes
0 Column Source No. <Source_No> None Yes
0 Column Quantity <Sum_Quantity> Totals Sum No

Then created a page to list the query

Expanded Type SubType SourceExpr Name Caption
1 Container ContentArea <Control1000000000> <Control1000000000>
1 Group Repeater General <General>
0 Field Number <Number> <Number>
0 Field ProdutosCliente.Item_No Nº Produto <Nº Produto>
0 Field ProdutosCliente.Source_No Nº Cliente <Nº Cliente>
0 Field ProdutosCliente.Sum_Quantity Quantidade <Quantidade>

OnOpenPage()

ProdutosCliente.OPEN;

WHILE ProdutosCliente.READ DO
NoOfrows:=NoOfrows+1;

ProdutosCliente.CLOSE;

SETRANGE(Number,1,NoOfrows);

CLEAR(ProdutosCliente);
ProdutosCliente.OPEN;

OnClosePage()

ProdutosCliente.CLOSE;

OnFindRecord(Which : Text) : Boolean

OnNextRecord(Steps : Integer) : Integer

OnAfterGetRecord()
IF NOT ProdutosCliente.READ THEN
EXIT;

After that my goal is to create an action button on the Sales Order Form, with this code, but only to list the products of the sales header sell to customer no.

How can i filter that?

Deleted Sales Orders

$
0
0

Good day all.  I've been reading some posts that suggest Sales Orders are "deleted" when cancelled or completely shipped.

I'm looking at the database tables directly, and it appears that our sales orders are not being deleted from [$Sales Header] and [$Sales Line].  Does "deleted"  mean something other than a literal delete from these tables?  Perhaps that's a UI concept that is driven off a flag?

On a related note, if I can't rely on the data I'm finding in the Sales Header/Line table, where is reliable data for revenue calculations?

Thanks in advance.

Failing to add a row to a table in Dynamics NAV from PowerApps.

$
0
0

community.dynamics.com/.../PowerApps_5F00_Snapshot_5F00_NWPA_5F00_201119.docx

I’m trying to add a row to a table in Dynamics NAV from PowerApps.
On calling SubmitForm, I'm getting the following, confusing error: The requested operation is invalid. Server Response: Dynamics NAV: Request failed (404): The remote server returned an error: (404) Not Found. (The field 'Service Item Line No.' of table 'Service Line' contains a value (10000) that cannot be found in the related table (Service Item Line).)
However, when I look in Business Central there is clearly a record in the 'Service Item Line' table with the 'Line No.' value: 10000. To illustrate this I've tried to attach a 3-page document showing some snapshots (though I'm not confident it attached OK). On page 1 there's a PowerApps screen containing 3 forms. The document explains each form. On pages 2 & 3, there's a snapshot of the two relevant tables in Business Central.
I'm a bit stuck on this one. Any help would be greatly appreciated.

Consuming web service in email

$
0
0

Hi,

One of my clients wants that Navision will send their approval requests thru emails & end-users can able to take decision(Approve/Reject) from email body without accessing Navision client.

Everything will be available in email body in row wise & user can be able to Approve or reject the document if he needs.

How it possible? Kindly suggest me the design.

Thanks,

Subrata Bauri

Amount must be negative in Gen. Journal Line Journal Template Name='BNKPNT-ACC',Journal Batch Name='DEFAULT',Line No.='10000'. - Error while Bank payment Voucher Entry in NAV 2016.

$
0
0

Hello,

As error described we are facing the issue while posting bank payment voucher entry to Customer.

The service account has insufficient privileges to remove service principal names from Active Directory

$
0
0

Hello

On our Nav Server we have this errors:

Server instance: TEST
Tenant:
<ii>The service account has insufficient privileges to remove service principal names from Active Directory.
Account: xxx\navservices
Service principal names:
DynamicsNAV/nav:8045
DynamicsNAV/nav.xxx.xx:8045</ii>

and

Server instance: NAV-TEST
Tenant: <ii>nav-systemapplication</ii>
<ii>Session type: UnknownClient
Session ID: 4
The business assembly for type Table bucket 0 cannot be loaded because of the following error: c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(16,186) : error CS1010: Newline in constant
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(19,193) : error CS1010: Newline in constant
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(21,204) : error CS1010: Newline in constant
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(23,184) : error CS1010: Newline in constant
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(26,198) : error CS1010: Newline in constant
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(31,173) : error CS1010: Newline in constant
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(33,184) : error CS1010: Newline in constant
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(35,170) : error CS1010: Newline in constant
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(38,178) : error CS1010: Newline in constant
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(16,143) : error CS1513: } expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(16,143) : error CS1026: ) expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(16,143) : error CS1002: ; expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(16,147) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(16,155) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(16,163) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(16,171) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(16,178) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(16,186) : error CS1519: Invalid token '"});"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(19,144) : error CS1513: } expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(19,144) : error CS1026: ) expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(19,144) : error CS1002: ; expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(19,149) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(19,158) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(19,167) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(19,176) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(19,185) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(19,193) : error CS1519: Invalid token '"});"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(21,145) : error CS1513: } expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(21,145) : error CS1026: ) expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(21,145) : error CS1002: ; expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(21,151) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(21,161) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(21,171) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(21,181) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(21,194) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(21,204) : error CS1519: Invalid token '"});"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(23,142) : error CS1513: } expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(23,142) : error CS1026: ) expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(23,142) : error CS1002: ; expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(23,145) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(23,152) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(23,159) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(23,166) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(23,175) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(23,184) : error CS1519: Invalid token '"});"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(26,145) : error CS1513: } expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(26,145) : error CS1026: ) expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(26,145) : error CS1002: ; expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(26,151) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(26,161) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(26,171) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(26,179) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(26,189) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(26,198) : error CS1519: Invalid token '"});"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(31,138) : error CS1513: } expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(31,138) : error CS1026: ) expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(31,138) : error CS1002: ; expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(31,143) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(31,149) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(31,156) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(31,165) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(31,173) : error CS1519: Invalid token '"});"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(33,139) : error CS1513: } expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(33,139) : error CS1026: ) expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(33,139) : error CS1002: ; expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(33,145) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(33,151) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(33,161) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(33,174) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(33,184) : error CS1519: Invalid token '"});"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(35,136) : error CS1513: } expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(35,136) : error CS1026: ) expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(35,136) : error CS1002: ; expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(35,139) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(35,145) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(35,152) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(35,161) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(35,170) : error CS1519: Invalid token '"});"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(38,139) : error CS1513: } expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(38,139) : error CS1026: ) expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(38,139) : error CS1002: ; expected
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(38,145) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(38,151) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(38,159) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(38,169) : error CS1519: Invalid token '",@"' in class, struct, or interface member declaration
c:\ProgramData\Microsoft\Microsoft Dynamics NAV\110\Server\MicrosoftDynamicsNavServer$NAV-TEST\source\Record\Record2121.cs(38,178) : error CS1519: Invalid token '"});"' in class, struct, or interface member declaration
</ii>

what can we do ?

SQL server role for managing user on NAV 6.02

$
0
0

Hi guys,

I'm discussing necessary SQL server roles and rights for NAV users to be able to add and delete NAV users.

I do not believe that SQL 'sysadmin' role is necessary in order to manage users in NAV, but what are the POLP (Principle of Least Privilege) rights then?

Thanks.


Does Dynamic Nav records failure longing attempts in the Log report.

$
0
0

Does Dynamic Nav record failure longing attempts in the Log report? If records, what are the details available in the system (date/time/User/IP or any other) If not why? How many failure attempts allow before locking the user.  How can system admin can recognize whether user account has locked or Not?

Pls note that this question is related to the web-based online dynamic Nav

Thanks

how Documents are saved in sql server using navision

$
0
0

hello everyone, I've a client who wants to retrieve documents from sql server using C# but has no idea how they saved it in the first place, all they know is that they used navision and hp scanner. 

I want to know if anyone can tell me how navision   save documents in the database? (field in navison database is content which is type image and stores blob) I tried to get those bytes and retrun them as pdf but it didnt work.

SQL VS NAV TIME DIFFERENCE

$
0
0

 Hi

I have nav database with BC spring 

Actually I am pulling some data from another database to NAV database using SQL query

It is showing correct date-time in SQL list but the same table in nav is showing different time

Please find attached document and advice

Warm Regards

Krishna

The global dimension codes are being changed in the table Sales Invoice Header.

$
0
0

When I open details it's like some actions are incomplete. There is a Rerun function in log entries for each line.
I

Create Item Charge Assignment through webservice

$
0
0

Hello,

I have a requirement to auto-create item charge assignments for freight POs. We will have the material PO referenced in the freight PO, so the requirement is to auto-create the charges using the linked receipts. I am trying this using webservice (Page id 5805 Item Charge Assignment (Purch)). However I don't see a Create method to create the record. This webservice has update, delete etc method but NO Create. I tried using Update method but it would require KeyId field which I am not sure what to pass. Tried passing blank, PO number etc but no luck

Has anyone used this page to create a webservice and has success in create item charge assignments?

Any help would be appreciated. 

Thanks

Shree

Difference between Depreciation and Write-down

$
0
0

Hey everyone, I was wondering what the difference is in Dynamics NAV.

I'd appreciate all help given!

The Item Journal Line already exists. Identification fields and values: Journal Template Name='PROD. ORDE',Journal Batch Name='CRONUSGRO',Line No.='-2147477296'

$
0
0

Microsoft Dynamics NAV

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

The Item Journal Line already exists. Identification fields and values: Journal Template Name='PROD. ORDE',Journal Batch Name='CRONUSGRO',Line No.='-2147477296'

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

OK

 

You may encounter this error when you try to open production Journal via released production order.

The major reason is number of data recoded for INT variable has exceeded. When user open production journal the system automatically creates temporary item journal lines. This has been generated via user ID & depend on the domain name. According to code unit 5510-Production journal Mgmt the following code will retrieve first ten characters from user ID.

ToBatchName := DELCHR(COPYSTR(User,1,MAXSTRLEN(ItemJnlLine."Journal Batch Name")),'>','0123456789');

When user opening production journal page the production journal batch is inherited by the usernames and it comprises of first 10 digits of the username. if company domain name longer than 10 characters irrespective of the username. All user’s id will refer same production journal batch, and this will affect to overflow this variable & error message appeared as above.

We have added additional code line & update toBatchName variable to create unique journal line user ID wise. Then temporary journal line will create user ID wise.

 

ToBatchName := COPYSTR(User,14,MAXSTRLEN(ItemJnlLine."Journal Batch Name"));

 

Further reference: -

https://en.wikipedia.org/wiki/Integer_(computer_science)


Overview of the new tables that were added to NAV 2017 and 2018

$
0
0

So the question i have is fairly simple.

Is there a place or a way to see the new tables that were added in NAV 2017 and 2018?

Thanks in advance.

Pass value from form (header) to subform (lines)

$
0
0

I have a Header table;

table 50108 "Production Time Log Header"
{
    DataClassification = ToBeClassified;

    fields
    {
        field(50000; "Entry No"; Integer)
        {
            DataClassification = CustomerContent;
        }
        field(50002; "Production No."; Code[20])
        {
            DataClassification = ToBeClassified;


        }
        field(50003; "Total"; Decimal)
        {
            FieldClass = FlowField;
            CalcFormula = sum ("Production Time Log Lines"."Run Time" where("Production No." = field("Production No.")));
        }
     
    }

    keys
    {
        key(PK; "Entry No")
        {
            Clustered = true;
        }
    }

    var
        myInt: Integer;

    trigger OnInsert()
    var
        recPTLH: Record "Production Time Log Header";
    begin
        Clear(recPTLH);
        IF recPTLH.FindLast() then
            "Entry No" := recPTLH."Entry No" + 1
        else
            "Entry No" := 1;
    end;

}

and a Line table;

table 50113 "Production Time Log Lines"
{
    DataClassification = ToBeClassified;

    fields
    {
        field(50000; "Entry No"; Integer)
        {
            DataClassification = CustomerContent;
        }
        field(50001; "Line No."; Integer)
        {
            DataClassification = CustomerContent;
            Editable = false;
        }
        field(50002; "Production No."; Code[20])
        {
            DataClassification = CustomerContent;
            //   TableRelation = "Production Time Log Header"."Production No." where("Entry No" = field("Entry No"));
            //  ValidateTableRelation = true;

        }
         field(50003; "Process"; Code[20])
        {
            DataClassification = CustomerContent;
            TableRelation = "Work Center";
        }
        field(50012; "Run Time"; Decimal)
        {
            DataClassification = CustomerContent;
        }


    }


    keys
    {
        key(PK; "Entry No", "Line No.")
        {
            Clustered = true;

        }
        key(T; "Run Time")
        {
            MaintainSqlIndex = false;
            MaintainSiftIndex = true;
            SumIndexFields = "Run Time";
        }
    }

    var
        myInt: Integer;

    trigger OnInsert()
    begin

    end;

}

and a Header page;

page 50111 "Production Time Log Card"
{
    PageType = Document;
    ApplicationArea = All;
    UsageCategory = Administration;
    SourceTable = "Production Time Log Header";
    RefreshOnActivate = true;


    layout
    {
        area(Content)
        {
            group(General)
            {
                field("Entry No"; "Entry No")
                {
                    ApplicationArea = All;
                }
                field("Production No."; "Production No.")
                {
                    ApplicationArea = All;
                    TableRelation = "Production Order"."No.";
                }
                field(Total; Total)
                {
                    ApplicationArea = All;
                }
            }
            part(Line; "Production Time Log Subform")
            {

                Visible = true;
                ShowFilter = true;
                UpdatePropagation = Both;
                SubPageLink = "Entry No" = field("Entry No");

            }
        }
    }

 
}

and a Subform;

page 50112 "Production Time Log Subform"
{
    PageType = ListPart;
    ApplicationArea = All;
    UsageCategory = Administration;
    SourceTable = "Production Time Log Lines";
    AutoSplitKey = true;
    DelayedInsert = true;
    MultipleNewLines = true;


    layout
    {
        area(Content)
        {
            repeater(Line)
            {
                field(Process; Process)
                {
                    ApplicationArea = All;

                }
         
                field(Runtime; Runtime)
                {
                    ApplicationArea = All;
                    
                }
            }
        }
    }
    }

}

I am trying to copy the Production Number that gets entered up on the Header to the Lines. So when a new document is created, let's say with Production No. = 100, for the line items that user creates, for every line I would like to save 100 as well. I can get this moved from Header to Line if I keep Production No. as my Primary Key. And my case does not allow that, because for every header with production no 100 I can have multiple Lines posted. Hence I made Entry No as a kind of Document No for my table and increment it by 1 every time. Inshort, how do I get my Production No from header flow to my lines table? Thanks a lot in advance for the help! I have seen 36 and 37 and could not figure it out.

Dimension Restrictions

$
0
0

Good Morning, 

This is my first post but I could really do with some help.

I have created my Dimensions that I see applicable to customers and then some that I see applicable for Items.

For my customers. I have created a dimension with a list of options of "Gold Customer, Silver Customer, Bronze Customer".

For my items. I have created a dimension with a list of options of "Key items, Add on Items, Other Items".

I do not want my product team to be able to allocate the customer dimension to the item card and then conversely, I do not want my customer service team to allocate item dimensions on the customer card. Can I restrict this so each team can only see the dimension relevant to the card they are responsible for?

I would really appreciate some advice on this.

Kind Regards

install problem with dynamics nav 2015 demo version

$
0
0

hi i have a windos 10 pro computer and have install the dynamics nav 2015 demo 

the install was done and then i become a error

the service 

microsoft dynamics nav server failt to start

this is the log file 

=== Logging started: 2019/11/24 11:31:09 ===
Executable: C:\Users\setup\Downloads\Compressed\navw12015\setup.exe v8.0.37874.0
Computer : DESKTOP-6FCVBOD
--- logging level: standard ---
RegistrySearch: Checking registry key existence. Id = 'SqlServerInstalled'
RegistrySearch: Checking registry key existence. Id = 'SqlNCLIInstalled'
RegistrySearch: Searching for registry key value. Id = 'DotNetFx45Release'
RegistrySearch: Searching for registry key value. Id = 'VstoInstalled'
Registry key not found. Key = 'SOFTWARE\Microsoft\VSTO Runtime Setup\v4R'
RegistrySearch: Searching for registry key value. Id = 'PowerShell30Installed'
RegistrySearch: Checking registry key existence. Id = 'WindowsSearchInstalled'
RegistrySearch: Searching for registry key value. Id = 'Excel14Installedx86'
Registry key not found. Key = 'SOFTWARE\Microsoft\Office\14.0\Excel\InstallRoot'
RegistrySearch: Searching for registry key value. Id = 'Excel14Installedx64'
Registry key not found. Key = 'SOFTWARE\Microsoft\Office\14.0\Excel\InstallRoot'
RegistrySearch: Checking registry key existence. Id = 'Outlook'
RegistrySearch: Checking registry key existence. Id = 'Outlook15'
RegistrySearch: Searching for registry key value. Id = 'VCPPSpLevel'
RegistrySearch: Checking registry key existence. Id = 'VCPPInstalled'
RegistrySearch: Checking registry key existence. Id = 'VCPP64Installed'
RegistrySearch: Checking registry key existence. Id = 'IISInstalled'
RegistrySearch: Searching for registry key value. Id = 'IISWinAuthInstalled'
RegistrySearch: Searching for registry key value. Id = 'IISASPNETInstalled'
Registry value not found. Key = 'SOFTWARE\Microsoft\InetStp\Components', Value = 'ASPNET'
RegistrySearch: Searching for registry key value. Id = 'IISASPNET45Installed'
RegistrySearch: Searching for registry key value. Id = 'IISNETFXInstalled'
Registry value not found. Key = 'SOFTWARE\Microsoft\InetStp\Components', Value = 'NetFxExtensibility'
RegistrySearch: Searching for registry key value. Id = 'IISNETFX45Installed'
RegistrySearch: Searching for registry key value. Id = 'IISISAPEXInstalled'
RegistrySearch: Checking registry key existence. Id = 'HttpActivationInstalled'
RegistrySearch: Searching for registry key value. Id = 'IISISAPIFIInstalled'
RegistrySearch: Searching for registry key value. Id = 'IISREQSTFIInstalled'
RegistrySearch: Searching for registry key value. Id = 'IISSTATICInstalled'
RegistrySearch: Searching for registry key value. Id = 'WebComponentsPrerequisitesInstalled'
Registry key not found. Key = 'SOFTWARE\Microsoft\Microsoft Dynamics NAV\80\Web Components Prerequisites'
Configuring package. Id = 'ARP'
MSI log file set to: C:\Users\setup\AppData\Local\Temp\setup.wix.msi.1.log
Done configuring package. Id = 'ARP' ReturnCode = 0
Configuring package. Id = 'SQLSysClrTypes'
MSI log file set to: C:\Users\setup\AppData\Local\Temp\setup.wix.msi.2.log
Done configuring package. Id = 'SQLSysClrTypes' ReturnCode = 0
Configuring package. Id = 'SQLSysClrTypes64'
MSI log file set to: C:\Users\setup\AppData\Local\Temp\setup.wix.msi.3.log
Done configuring package. Id = 'SQLSysClrTypes64' ReturnCode = 0
Configuring package. Id = 'ReportViewer'
MSI log file set to: C:\Users\setup\AppData\Local\Temp\setup.wix.msi.4.log
Done configuring package. Id = 'ReportViewer' ReturnCode = 0
Configuring package. Id = 'SQLNCLI_x64'
MSI log file set to: C:\Users\setup\AppData\Local\Temp\setup.wix.msi.5.log
Done configuring package. Id = 'SQLNCLI_x64' ReturnCode = 0
Configuring package. Id = 'SQLSMO'
MSI log file set to: C:\Users\setup\AppData\Local\Temp\setup.wix.msi.6.log
Done configuring package. Id = 'SQLSMO' ReturnCode = 0
Configuring package. Id = 'RoleTailoredClient'
MSI log file set to: C:\Users\setup\AppData\Local\Temp\setup.wix.msi.7.log
Done configuring package. Id = 'RoleTailoredClient' ReturnCode = 0
Configuring package. Id = 'SQLDemoDatabase'
MSI log file set to: C:\Users\setup\AppData\Local\Temp\setup.wix.msi.8.log
Done configuring package. Id = 'SQLDemoDatabase' ReturnCode = 0
Configuring package. Id = 'ServiceTier'
MSI log file set to: C:\Users\setup\AppData\Local\Temp\setup.wix.msi.9.log
Windows Installer: Error: Service 'Microsoft Dynamics NAV Server [DynamicsNAV80]' (MicrosoftDynamicsNavServer$DynamicsNAV80) failed to start. Verify that you have sufficient privileges to start system services.
Done configuring package. Id = 'ServiceTier' ReturnCode = 1603
Configuring package. Id = 'OutlookAddIn'
MSI log file set to: C:\Users\setup\AppData\Local\Temp\setup.wix.msi.a.log
Done configuring package. Id = 'OutlookAddIn' ReturnCode = 0
SUCCESS: Package Microsoft Dynamics NAV Setup Components executed sucessfully.
SUCCESS: Package Microsoft System CLR Types for SQL Server 2012 executed sucessfully.
SUCCESS: Package Microsoft System CLR Types for SQL Server 2012 executed sucessfully.
SUCCESS: Package Microsoft Report Viewer Redistributable 2014 executed sucessfully.
SUCCESS: Package SQL Server Native Client executed sucessfully.
SUCCESS: Package Microsoft SQL Server 2012 Management Objects executed sucessfully.
SUCCESS: Package Microsoft Dynamics NAV Client Components executed sucessfully.
SUCCESS: Package Cronus Sample Database for Microsoft Dynamics NAV executed sucessfully.
ERROR: Package Microsoft Dynamics NAV Server Components failed with error. See detailed message above.
SUCCESS: Package Microsoft Dynamics NAV Outlook Add-In executed sucessfully.
=== Logging stopped: 2019/11/24 11:39:57 ===

please help me

Printing Bank Reconciliations won't work

$
0
0

Hi All,

Can't seem to fix this error message... Anyone has any clues?

I get this when I try printing Posted Bank Recs. When I'm viewing the Bank rec and trying to print it.

Viewing all 29197 articles
Browse latest View live


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