Quantcast
Channel: Microsoft Business Solutions online community
Viewing all 14219 articles
Browse latest View live

how to repeat header row of tablix table on each page in report?

$
0
0
hi experts i want to fix table heading fixed on each page of report tried things:
9vu9jlgxpjwy.png

Please delete

Report or query which mimics the logic in the FindApplnEntries

$
0
0
Hi all

I am trying to write either a report or query which mimics the logic in the FindApplnEntriesDtldtLedgEntry() function of page 61 Applied Customer Entries. I have tried several approaches:
  1. Exposing Page 61 as a webservice and attempting to call it externally passing a recid or entry number (was told by our external developer that Local functions are not available outside of the object).
  2. Creating a codeunit that takes the logic of the FindApplnEntriesDtldtLedgEntry() function and calling that (I could not make this work).
  3. Creating a report which had that function embedded in it but I was not able to make this work.
  4. Creating a report which joins from Cust. Ledger Entry to Detailed Cust. Ledger Entry and so on using Applied Cust. Ledger Entry No being equal to Cust. Ledger Entry.Entry No, and Cust. Ledger Entry No. being equal to Entry No as per the function itself
  5. Creating a query which had that function embedded in it but I was not able to make this work.

I have also looked at report 211 - Customer - Payment Receipt as it seems to be close to what I am trying to achieve however that seems to be limited to payment document types whereas I would like to look at essentially every line of the Customer Ledger Entry and produce the output (i.e. if Credit Note, then what invoice it was applied to, exactly as you can see in the page view.

I am interested to know what approaches others here would take to solve this problem, or if there is something obvious I am missing. My preference would be to use like a web service passing Cust. Ledger Entry No. and getting a response but I understand this is not possible.
I am new to NAV and appreciate any help that can be offered - but not expecting others to do my work for me :)

Modified standard report translation in AL

$
0
0
Hi guys, Im pretty new to NAV so maybe someone can help me out. Im trying to create some new reports based on standard ones with small modifications. These reports have translation present in the system itself, but Visual Code only gets me the english xlf file...my question is, whats the easiest way to do this translation, without manually copypasting thousands of lines from the old translation file of the standard reports?

Restoration of Nav 2009 database.

$
0
0
Hi Everyone,

I am trying to restoration process for NAV 2009 database using SSMS 2017 version, but I am not able to do. Will you please guide me for NAV 2009 Database restoration, which version of SSMS is suitable.

Thanks,
Mani.

Permission Sets from NAV2018 to BC

$
0
0
Is there any easy way for upgrade/migrate manually created permission sets from NAV2018 to BC?

How to setup/run demo LS retail POS in Cronus database.

$
0
0
Hi Team,

I want to run demo POS(to sale item etc..) for demonstration in cronus database. i am using navision 2016(9.0.51103.0).
i have already installed LS client and service component. when i am trying to find Run client page from top right search bar, it is not showing up.

Please help me on this.

Thank you.

data upgrade to 2018 issue with product group

$
0
0
Going from 2013R2 to 2018
The database has multiple companies and the item category and product group tables have been modified to have their data per Company set to NO

It fails on the first Company, running the data upgrade in serial mode.

It's failing on

The function UpdateItem in the company initialization codeunit 104000 in company ABC has failed due to the following error: 'Unable to upgrade Product Group (MEDICAL,CONSUMABLE) because of Code duplication. Please make sure that this product group has a unique Code, and retry the upgrade.'..

product code CONSUMABLE only exists for item category code MEDICAL, it's not duplicated in any other item category

What can I do?

Can BC (Webclient) do an Unattended Read and Write file to computer client?

$
0
0
Hi all,

Is this possible for the BC client to read or write a file from certain path in computer client ( who logged in to BC via web client)? if it is possible, what is the AL code for it?

I normally use Blob export / import, but they need the user to browse the file location which I'd like to suppress.

regards.

Run Webclient via External Program with Credential included.

$
0
0
Hai all,

I'd like to create a small program (c# desktop program) that Would consume a BC web service. For that every user must logged in with their NAV credential for the web service connection would work. what I wan't is, after some activity is done on my program, the user would somehow trigger the program to run BC Webclient (on its default web browser). I know that we can run web client using URL, but I want that user won't need to enter user name and password again while accessing the webclient, instead, the credential they were provided on my little program would be used to log in to BC web client.

Regards.

Can't define SAF-T Invoice Type and Number of digits right

$
0
0
Hi everyone,

I need to define in table 308 / 309 the number of series to export my saf-t file to send to finances. So If I define like the picture below, in my saft file I get error in "invoice no" field and "invoice type" because if is of type "FT-" and should be only "FT".

Here are some images of my problem. Anyone who work with saft knows how can I solve this situation? I can't modify my codeunit "Export SAF-T PT 4" to solve this problem by code. I should modify some configuration or the number of digits in my series table but I can't find a way to define well the right number.

0gnbfxxxevvv.png
efazze9f7d8e.png

Too Slow Integration Between Dynamics NAV 2016 And Dynamics 365 (On Premise)

$
0
0
Hello everyone,

Please I have a too slow integration with integration Dynamics NAV 2016 CU2 And Dynamics 365 (On Premise).

Everything looks good on the server and network side, but when I check the input frequency at the CRM Integration Record table (T 5331), I noticed that it is too slow (1record per 20 seconds and more).

Also, I had a problem two days ago sync and I deleted the records of a specific table in the table integration record (T 5151), and after that, the synchronization has become too slow.

Is there anyone who has an idea about the source of the problem?

Thank you so much.

Call an asmx web service from NAV

$
0
0
I am a complete beginner in web services. Can anyone please help me in call an external asmx web from NAV 2016 and pass a parameter during the call?
I understand this is not a step by step training forum, but a step by step process in calling the web service and then passing a parameter will rescue me.
My apologies ahead :s

Why Send to Excel is not enabled in few pages of Dynamics NAV?

$
0
0
Hi All,

We have been facing an issue on Send to Excel functionality of Dynamics NAV. For few few pages, Microsoft Excel option is grayed out where as word, print and attachment options are fine. Mostly, worksheet type pages are missing the Send to Excel option. But the same worksheet page in Cronus database is absolutely fine and we are able to export the data without any problem.

Please help me with this issue if anyone had come across the similar issues and resolved the same.

Thanks,
Jithin.

finsql not finishing its process

$
0
0
Hi people, I am doing an upgrade. I am running the finsql command finsql.exe Command=generatesymbolreference,Database=DATABASE,ServerName=SERVER however it is still running for the last hour, I am tracking it in the task manager and I can't find neither navcommandresult nor naverrorlog... any ideas?

deleted posted bank reconciliation

$
0
0
hello, I deleted a posted bank reconciliation.. what can i do to fix it?

Is the any exam/training in AL extensions?

REPORT.RUNREQUESTPAGE

$
0
0
I need to memorize the parameters of some reports to be able to execute them later.
Using these indications I was able to manage the task.
Unfortunately for some reason in some cases it seems that the XML file read from the BLOB field is corrupt.
When this happens the file on the screen shows an incorrect XML syntax and obviously sends the execution of the report in error.
If, for the same report, it saves the data in a test file and reloads it, the error does not occur and the procedure runs correctly.
What can it depend on?

This is corrupt XML:
bqzska1vip39.png

Configure package

$
0
0
we are using Import excel file to generate Sales orders in bulk with using configuration package.
the same way can we link references attachment file sale order.

xmlport can't insert barcode in table

$
0
0
Hi everyone,

I need to export table data from item/barcodes and item unit of measure table from one store to another. My idea is to always have the same info in this table in both of stores.

In order to do this I've created a xmlport to export data to a text file from item table. If table don't have the record it will be created, else if it exists I need to update.

Then I've created a xmlport to import data from text file to all this tables and I have the design of this object like the image below,


kjme12o1ha4l.png

And my code,
Item - Import::OnBeforeModifyRecord()
IF Item.GET(No) AND Item.FINDFIRST THEN BEGIN
  Item.SETRANGE("No.",No);
  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');
  Item.MODIFY(TRUE);
  MESSAGE('Produto %1 atualizado com sucesso', No);
END ELSE BEGIN
  nbOfError += 1;
  MESSAGE('Ocorreu um erro a atualizar o produto %1', No);
END;

Item - Import::OnBeforeInsertRecord()
MESSAGE('no %1',No);

IF NOT Item.GET(No) THEN BEGIN
  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');
  Item.INSERT(TRUE);
  nbOfSuccess += 1;
  MESSAGE('Produto %1 inserido com sucesso', No);
END 

Item Unit of Measure - Import::OnBeforeInsertRecord()
MESSAGE('item unit of measure %1',ItemUnitOfMeasure);
IF NOT "Item Unit of Measure".GET(No,BaseUnitOfMeasure) THEN BEGIN
  EVALUATE("Item Unit of Measure"."Item No.",No);
  EVALUATE("Item Unit of Measure".Code, BaseUnitOfMeasure);
  "Item Unit of Measure".INSERT(TRUE);
  MESSAGE('Produto %1 inserido em "Item Unit of Measure"', No);
END ELSE BEGIN
  nbOfError += 1;
  MESSAGE('Ocorreu um erro a acrecentar o produto %1 em "Item Unit of Measure"', No);
END;

Item Unit of Measure - Import::OnAfterInsertRecord()

Item Unit of Measure - Import::OnBeforeModifyRecord()
MESSAGE('item unit of measure %1',ItemUnitOfMeasure);
IF "Item Unit of Measure".GET(No,BaseUnitOfMeasure) AND "Item Unit of Measure".FINDFIRST THEN BEGIN
  "Item Unit of Measure".SETRANGE("Item No.",No);
  "Item Unit of Measure".SETRANGE(Code,BaseUnitOfMeasure); 
  EVALUATE("Item Unit of Measure"."Item No.",No);
  EVALUATE("Item Unit of Measure".Code, BaseUnitOfMeasure);
  "Item Unit of Measure".MODIFY(TRUE);
  MESSAGE('Produto %1 atualizado em "Item Unit of Measure"', No);
END ELSE BEGIN
  nbOfError += 1;
  MESSAGE('Ocorreu um erro a acrecentar o produto %1 em "Item Unit of Measure"', No);
END;

CodBarras - Import::OnBeforeModifyRecord()
MESSAGE('barcode %1',Barcode);
IF CodBarras.GET(Barcode) AND CodBarras.FINDFIRST THEN BEGIN
  CodBarras.SETRANGE("Barcode No.",Barcode);
  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));
  CodBarras.MODIFY(TRUE);
  MESSAGE('Produto %1 atualizado em "CodBarras"', No);
END ELSE BEGIN
  nbOfError += 1;
  MESSAGE('Ocorreu um erro a modificar o produto %1 em "CodBarras"', No);
END;

CodBarras - Import::OnBeforeInsertRecord()
MESSAGE('barcode %1',Barcode);
IF NOT CodBarras.GET(Barcode) THEN BEGIN
  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));
  CodBarras.INSERT(TRUE);
  MESSAGE('Produto %1 inserido em "CodBarras"', No);
END ELSE 


My problem is with CodBarras Table and Unit of Measure Table. It says that is been updated or created but this table remains empty because Barcode message is empty.. Maybe I'm in the wrong trigger? I'm new in xml port and I'm a little confused of how to do this...

Another thing I've repaired is when the item is already created nothing changed.

My text file have this info,

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

Viewing all 14219 articles
Browse latest View live


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