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

How to Filter in Report?

$
0
0
Hey Guys,

i'm working on my first report, to provide informations about salescredit-memos for our sales-representatives.

Now I'm trying to add a filter to the report.
Our NAV supplier added an custom option field named "Return Operation" to the table 115 (sc-credit memolines), which
shows if the return is accepted or refused.

So I've added a CAL Global (boolean) and also an option field to the request page. (show only accepted)
Now I have to write some CAL Code so that the report will only print / display all lines (accepted and refused) or just the accepted.

I'm pretty sure that I've have to put it in the OnAfterGetRecord-Trigger, but I have no idea about the syntax.

pls help :D

Problems with Role Center

$
0
0
Hi Guys:

First of all thank you for read this.

I have an issue with the page of Role Center and i want to ident the pages.

Can I do something like the page of department ?

7x0i158l92xt.png

I have this on the Development Enviroment:

j4fym50m8mve.png

And this is the results:

r6loey4g2wsp.png

I try to ident, create another Action and ActionGroup and its impossible..

How can I fix it ? To have anything like Department.

Regards.

Cannot debug call to web service

$
0
0
We want to debug an external web service call as the NAV process, that as called via a NAV web service, does not work right. What ever we do, we cannot get the debugger activated. We see data changing in the database, but the debugger is never triggered.

If we trigger the process manually, by either running the codeunit or using the UI, the debugger is triggered. And even if we trigger trigger the web service using SOAP UI, the debugger is also triggered.

So we thought to add and ERROR message to the code and see what would be recorded in the Event Log. Triggering the process manually would indeed create entries of the error in the event log. But when the external process was calling the web service there were no Event Log entries for the ERROR.

We seem to run out of options, but may any of you has some useful hint(s). Thanx in advance.

Web Client 2017

$
0
0
I was wondering if anyone else has experienced issues with opening multiple tabs to different companies in IE?

Any ideas would be gratefully received

Bank Reconciliation - Expand / Collapse

$
0
0
I have 10 years with Nav2009, and about 2 months with Nav2017.

I have a customer who wants his bank reconciliation deposits to ALWAYS appear in EXPANDED format.. NEVER COLLAPSED.. He is willing to forego the collapse functionality all together. THere is never a reason he wants to see it in collapsed format.

Anyone know how to ALWAYS show deposits in collapsed format?

Thanks
Scott Wilson

How to put code in between for AL extension?

$
0
0
Hi All.
I am planning to migrate all my code from C/AL to AL
some can use events
but how about if i want to put my code in between nav standard code

for example
In table 37 (Sales Line), there is function name CalcVATAmountLines
in the middle of the function there is code like this
//Nav Standard
 CASE QtyType OF
          QtyType::General:
            BEGIN
              VATAmountLine.Quantity += "Quantity (Base)";
              VATAmountLine.SumLine(
                "Line Amount","Inv. Discount Amount","VAT Difference","Allow Invoice Disc.","Prepayment Line");
            END;

I want to change to my customized code like this
I have added 3 more parameters for sumline function
//CAL Customization
CASE QtyType OF
          QtyType::General:
            BEGIN
              VATAmountLine.Quantity += "Quantity (Base)";
              VATAmountLine.SumLine(
                "Line Amount","Inv. Discount Amount","VAT Difference","Allow Invoice Disc.","Prepayment Line",2,"Document Type","Document No.");
            END;

and in the table 290 (VAT Amount Line)

[External] SumLine

"Line Amount" += LineAmount;
IF AllowInvDisc THEN
"Inv. Disc. Base Amount" += LineAmount;
"Invoice Discount Amount" += InvDiscAmount;
"VAT Difference" += VATDifference;
IF Prepayment THEN
"Includes Prepayment" := TRUE;
//Start Customized
"Transaction Type" := ParTransactionType;
"Document Type" := ParDocumentType;
"Document No." := ParDocumentNo;
//End Customized
MODIFY;

all the bold one is my customized code
how should i do that in AL?
Thanks before

business central aka NAV 13 technical upgrade from NAV 8 error message table nav app setting

$
0
0
i'm trying to do a technical upgrade from a NAV 2015 database in Business Central aka NAV 13 but i get an error message
"you do not have permission to read NAV app setting table"

Anyone have a solution?

Business Central Tenant Admin


LS Retail

$
0
0
Hi, is there a forum specifically discuss all about LS Retail on Dynamics NAV?

Edit Reclas. Dimensions and Edit Dimension Set Entries

$
0
0
NAV 2017 (version 10.0.19421)

Hi experts!! thanks in advance!!

I need to edit dimensions in posted documents.

I see that there are the pages 480 Edit Dimension Set Entries and 484 Edit Reclas. Dimensions

They are supposed to be precisely what I need, but they do not work or I do not know how they work

Does anyone know how they go?

External DLL - integration with NAV2017

$
0
0
Hi everyone,

I am having trouble solving this issue and welcome any ideas.

(I am running NAV 2017 32-bit version - my DLL and all its dependencies are 32-bit.)

I have created a codeunit that uses a DLL - and everything works great on my machine. I have copied all of the necessary DLLs to customer's server and local Addin folders - and it does not work on their computer - I get an Error:

Can not load an ..... instance of the following .N E T Framework object ...

The DLL listed in this error is not the one I am using in the code directly but one of the dependencies - but it is also copied in all necessary locations.

Everything works great after I repeated the process on my coworker's computer - connected to the customer's server.

And, after some experimenting, I was able to make it work on the customer's computer as well. So what is the problem then? It only works when I run my codeunit from the Development Environment first.

The process to make it "work" on the customer's pc is:
  1. Launch NAV client (32-bit).
  2. Launch Development Environment
  3. Run my Codeunit from Development Environment -> the function called in OnRun executes correctly
  4. Run the same function from an action in NAV client -> function executes correctly

Without the third step, I always run into the "Cannot load an instance ..." error. After restarting the client application the error comes back.

So to sum things up:
  • Everything works on my laptop from locally-hosted NAV server
  • Everything works on my laptop from customer's NAV server
  • Everything works on my coworker's pc from customer's NAV server
  • Everything works on customer's pc - but only when first executed from Development Environment

I hope this is not too convoluted.

I am lost here. I am thinking it is some windows security related issue? I do not know that much about that though. I will be happy to try out any ideas you throw at me.

Extension Challenges

$
0
0
I have recently started moving our existing IP into using subscriber events, but I have come across a number of challenges which I was hoping to get some advice on:

Exit Clauses with Functions on a Table:

Example: In certain circumstances I would like to stop the "UpdateDirectUnitCost" being triggered (Exited) when I have a parameter set on the Purchase & Payables Setup.

1) I cannot add the code to the subscriber event for the field as this would involve adding conditional code before function call within the field validation

2) I can utilise the OnBeforeModify, using Rec & XRec, but it seems massively clumsy/error-prone

3) I could add an Exit directly into the UpdateDirectUnitCost Function, but does this contravene best practice

Style Expressions On Page:

Example: In certain circumstance I would like to use the style expression to alert users to specific conditions

1) As far as I can see there is no way to work with Events to set the StyleExpression, as with the above I could leave the existing code but does this contravene best practice?

Thanks for the help in Advance

Tim

NAV 2009 Sp1 NTLM setting

$
0
0
Hello
I couldn't find any info on how to enable NTLM for web services. Does anybody know the key that need to be added to the customSetting.config file?

Thanks.

Fixed Exchange Rate on SO/PO

External DLL with Amd64 (not MSIL) processor architecture

$
0
0
I have to call function in external DLL which is displayed with Amd64 processor architecture. Development environment "could not load type xxxxx ...". tried to pack the DLL into wrapper written in Visual Studio - warning about mismatch between AnyCPU and Amd64 and wrapper could not be loaded anyway.
Is the way to solve problem?

Dimensions Issue

$
0
0
Hi Dear,

I am unable to see the dimension in the 'GL by dimensions', however when I go to the individual GL entries, the entries in that period has dimensions.
I could not see the dimensions in the global dimension column added in the ledger entries table, however if I select the individual entry and click on the dimensions button in the action bar, the entry has a dimensions.

Can anyone guide in this regard.

Import-NAVdata taking up a HUGE amount of space

$
0
0
Hi

I have a NAV 2015 navdata file that I extracted from the LIVE system at customer site.
When I try to import this on my developer server using the exact same version on a SQL 2016 the database grows to enormous sizes.

the navdata file is 2.8 GB - a fairly small database.
I have tried all sorts of things - currently the import is working on import of company no 2 from that file and the database file (.mdf) has grown to 85GB and the transaction log has grown to 15GB - and is has been running for quite a few hours now.

These sizes make absolutely no sense to me.
If i do the same import job on a SQL 2012 - it runs smoothly - no big issues, database files or long import times.

Have anybody experienced this kind of behaviour on SQL 2016 and knows which properties or settings to tweak to make the import work?

Where are the Profile settings stored in Dynamics NAV?

$
0
0
Hello,

I wanted to put a custom action in a specific category of the home tab, but through the development environment that wasn't possible because apparently the profile settings override those customizations. There was already a question regarding this same problem here.
I know that I can personalize the ribbon in Dynamics NAV for a profile using configuration mode. But what I want to know is where those settings are stored, and if it's possible to access and edit them.

Thank you.

OCR workflow

$
0
0
Hi there !

Wondering if anyone here has experience of creating a workflow using OCR template, that will create the invoice, release it and allow posting of it?

Discount offers in ls retail 2013 r2

$
0
0
Dear Friends,

We are implement the promotion in our stores.
Promotion is
Customer should buy more than 450Rs and above

Customer can buy more than 450Rs he is eligible for 10% discount and Maximum discount is 200 per transaction

How to SETUP in Discount offer without customization
Viewing all 10068 articles
Browse latest View live


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