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

2 report headers

$
0
0
I want to use 2 report headers in a report, so for page 1 to use Header1 and the next page(s) Header2. I'm struggling to achieve that. I tried a few approaches but neither one of them worked. I'm not using the Report Page Header but defining both headers in the tablix. The reason for this approach is (compare i.e. report 10075 - Sales Order) to eliminate header space for reports with multiple pages. Base report 10075 has this huge header and shows up on each page. I want to avoid that by defining 2 different headers.
Any ideas?

Powershell Publish APP

$
0
0
Is there another way then using the Powerfull Powershell to Publish developed APP's (VSC - AL) to the NAV Folders ?

Problem now is the needed accessrights for using Powershell and the possible danger with using Powershell

BC 365 - Team Member permissions

$
0
0
Hello,

I have a question about the Team member license for BC 365.

Has the user with an team member license rights to an customized installed extension (App)?

Kind regards,

Scanner lector de Códigos de barras

$
0
0
Buenas noches:

En mi empresa estamos intentando integrar unas pistolas PDA para poder implementar el almacén avanzado. Para esto, hemos adquirido una PDA CK3X de Intermec con un sistema operativo Windows Embedded handle 6.5.3. Por lo que he podido leer, se pueden descargar APPs que se conectarían con Navision (NAV 2018 en nuestro caso) para poder llevar a cabo todas las tareas asociadas. El problema es que no consigo encontrar ninguna o las que encuentro parece que necesitan un sistema operativo superior. ¿Alguien ha implementado estas pistolas en su almacén que pueda ayudarme?

Muchas gracias de antemano.

Controlling Cursor/Focus on Phone/Tablet/Web Client while Scanning Barcodes

$
0
0
Hello, some of our customer needs to use NAV with mobile devices in Warehouses. They want to make processes with bar code system. We have a problem on Mobile clients which is even you disable other fields, making false of editable and quick entry property of the page, after scanning the bar code, the cursor goes away or focuses other field. This behavior makes impossible to make continuous scanning such as Inventory Counting or Adding multiple Items(Bar codes) to i.e Transfer Order. User always have to click the bar code scanning field after scanning a bar code which is very unproductive and time consuming action. Any ideas to resolve this issue?

Pick According to FEFO and reservations

$
0
0
Hi All

I have a customer using "Directed Put-away and Pick","Pick According to FEFO" and "Require Shipment".

They want to reserve a salesline to a specific LOT-No. But the pick does not care about that reservation - it picks according to FEFO no matter if the reservation is for another LOT.

Is it true, that "Pick According to FEFO" is overruling a reservation or am I missing something? If yes - can I somehow easy do something to let the Reservation win the battle over FEFO?

BR..

Multiple line of items of PO on the report not printing?

$
0
0
Hi all,
I have to create custom Purchase order report in which multiple copies of PO report.
I have done that using page loop and copy loop but one poblem is
PO having multiple item say 4 item lines then report only showing first line item
any solution so i get all four items printed on report
Documentation()


OnInitReport()

OnPreReport()

RecCompany.GET();
RecCompany.CALCFIELDS(RecCompany.Picture);

RecCountry.RESET;
RecCountry.SETRANGE(Code,RecCompany."Country/Region Code");
IF RecCountry.FINDFIRST THEN
CompanyCountry:=RecCountry.Name;


OnPostReport()

Purchase Header - OnPreDataItem()

Purchase Header - OnAfterGetRecord()

"Purchase Header".CALCFIELDS("Amount to Vendor");
Vendors.GET("Purchase Header"."Buy-from Vendor No.");

RecNoseries.GET("Purchase Header"."No. Series");


i:=0;
PurchCmmntLine.RESET;
PurchCmmntLine.SETRANGE(PurchCmmntLine."Document Type","Purchase Header"."Document Type");
PurchCmmntLine.SETRANGE(PurchCmmntLine."No.","Purchase Header"."No.");
IF PurchCmmntLine.FINDFIRST THEN REPEAT
    i +=1;
    POComments[i]+=PurchCmmntLine.Comment;
  UNTIL PurchCmmntLine.NEXT=0;



CLEAR(vStateCode_Location);
CLEAR(vStateName_Location);
CLEAR(LocationName);
CLEAR(LocationName_Add1);
CLEAR(LocationName_Add1);
CLEAR(LocationName_city);
CLEAR(LocationName_GSTIN);
CLEAR(LocationName_Pincode);
CLEAR(LocationName_Email);
CLEAR(LocationName_homepage);
RecLocation.RESET;
RecLocation.SETRANGE(Code,"Location Code");
IF RecLocation.FINDFIRST THEN BEGIN
  LocationName:=RecLocation.Name;
  LocationName_Add1:=RecLocation.Address;
  LocationName_Add2:=RecLocation."Address 2";
  LocationName_city:=RecLocation.City;
  LocationName_GSTIN:=RecLocation."GST Registration No.";
  LocationName_Pincode:=RecLocation."Post Code";
  LocationName_Email:=RecLocation."E-Mail";
  LocationName_homepage:=RecLocation."Home Page";
  RecState.RESET;
  RecState.SETRANGE(Code,RecLocation."State Code");
  IF RecState.FINDFIRST THEN BEGIN
    vStateName_Location := RecState.Description;
    vStateCode_Location := RecState."State Code (GST Reg. No.)";
  END;
END;



CLEAR(ShippmentMethod_Desc);
RecShippmentMethod.RESET;
RecShippmentMethod.SETRANGE(RecShippmentMethod.Code,"Shipment Method Code");
IF RecShippmentMethod.FINDFIRST THEN
 ShippmentMethod_Desc:=RecShippmentMethod.Description;

CLEAR(Payment_Desc);
RecPaymentTer.RESET;
RecPaymentTer.SETRANGE(RecPaymentTer.Code,"Purchase Header"."Payment Terms Code");
IF RecPaymentTer.FINDFIRST THEN
  Payment_Desc:=RecPaymentTer.Description;
  



Purchase Header - OnPostDataItem()

CopyLoop - OnPreDataItem()
NoOfLoops := ABS(NoOfCopies)  + 1;
IF NoOfLoops <= 0 THEN
  NoOfLoops := 1;
CopyText := '';
SETRANGE(Number,1,NoOfLoops);
OutputNo := 1;

CopyLoop - OnAfterGetRecord()
IF Number > 1 THEN BEGIN
  
  OutputNo += 1;
END;
IF OutputNo=1 THEN
  BEGIN
  CopyText:=Text001;
   END;
IF OutputNo=2 THEN
  BEGIN
  CopyText:=Text002;
    END;
 IF OutputNo=3 THEN
BEGIN
  CopyText:=Text003;
  END;
 IF OutputNo>=4 THEN
BEGIN
  CopyText:=Text004;
END;
CurrReport.PAGENO := 1;

CopyLoop - OnPostDataItem()

PageLoop - OnPreDataItem()

PageLoop - OnAfterGetRecord()

PageLoop - OnPostDataItem()

Purchase Line - OnPreDataItem()
"Sr.No":=0;

Purchase Line - OnAfterGetRecord()
MESSAGE('%1',"Purchase Line"."No.");
"Sr.No"+=1;
TotalAmt:=0; TotalGst:=0;TotalAmt1:=0;RoundValue:=0;
RecPurchaseLine.RESET;
RecPurchaseLine.SETRANGE(RecPurchaseLine."Document No.","Purchase Line"."Document No.");
IF RecPurchaseLine.FINDSET THEN BEGIN
   REPEAT

         TotalAmt+=RecPurchaseLine.Quantity*RecPurchaseLine."Unit Cost";
         TotalGst+=RecPurchaseLine."Total GST Amount";
   UNTIL RecPurchaseLine.NEXT=0;
END;





CLEAR(GST1);CLEAR(GST_Amt);
DetailGDTEntryBuffer.RESET;
DetailGDTEntryBuffer.SETRANGE("Document No.","Purchase Line"."Document No.");
DetailGDTEntryBuffer.SETRANGE("No.","No.");
DetailGDTEntryBuffer.SETRANGE("Document Type",DetailGDTEntryBuffer."Document Type"::Order);
DetailGDTEntryBuffer.SETRANGE("Transaction Type",DetailGDTEntryBuffer."Transaction Type"::Purchase);
DetailGDTEntryBuffer.SETRANGE("Line No.","Purchase Line"."Line No.");
IF DetailGDTEntryBuffer.FINDFIRST THEN
 REPEAT
    IF DetailGDTEntryBuffer."GST Component Code"='CGST' THEN BEGIN
      GST1[1]:=DetailGDTEntryBuffer."GST %";
      GST_Amt[1]:=DetailGDTEntryBuffer."GST Amount";
   END;
  IF DetailGDTEntryBuffer."GST Component Code"='SGST' THEN BEGIN
     GST1[2]:=DetailGDTEntryBuffer."GST %";
     GST_Amt[2]:=DetailGDTEntryBuffer."GST Amount";
     END;
    IF(DetailGDTEntryBuffer."GST Component Code"='IGST')OR(DetailGDTEntryBuffer."GST Component Code"='UTGST') THEN BEGIN
    GST1[3]:=DetailGDTEntryBuffer."GST %";
    GST_Amt[3]:=DetailGDTEntryBuffer."GST Amount";
    END;
  UNTIL DetailGDTEntryBuffer.NEXT=0;

TotalAmt1:=ROUND((TotalAmt+TotalGst),1,'=');
RoundValue:=TotalAmt1-(TotalAmt+TotalGst);

CheckReport.InitTextVariable;
CheckReport.FormatNoText(AmountInWords,TotalAmt1,'');

Purchase Line - OnPostDataItem()

Export to multiple sheet in excel - Nav 2018

$
0
0
I'm looking for an exemple of how to export data to excel in Navision 2018 using multiple sheets.
We have a custom report for one of our client in nav 2013 R2 that export orders informations to different excel spreadsheet.
Now that we are upgrading them to 2018, the code is not working anymore

Here is part of the code in 2013 R2 that is working fine:
ExcelBuf.OnlyCreateBook('ABC', 'ABC',COMPANYNAME, USERID,TRUE);
ExcelBuf.DELETEALL;

Here is the error message we get in 2018 when running the same report
2kpieei71xe2.png

Here is where in the code of the excel buffer table it's failing
51gur3l85zeb.png
l6skgsc9tvh1.png

Chinese Character overlap in the report

$
0
0
Hi All,
I have some customers using nav 2017 and nav 2018
but when they print using chinese characters, sometime is overlap
any advise to resolve this?
Thanks
mvni95ye9bw4.png


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?

Nav 2009 - Webservice

Send to excel incorrect translation

$
0
0
Hi,

We have a nav2017 running with french translation. In the general entries page, everything is translated correctly. But when the page is sent to excel, all options fields is in English in excel.

Anyone knows why?

Jordi

only single item shows on purchase order of report?

$
0
0
Hi all , this is my second post about issue.
i have created custom report for purchase order as it is multiple copies such as original,duplicate etc.
on purchase order there are four items but report printing first item only .
how i can get all item in line level of report
thanks in advance

Odata URL + Filters not working from linux client

$
0
0
Hi, I hope someone can help me with this.

If I query an Odata URL published in NAV/BC, I can use filters. If I paste the string below in a web browser It applies the filters for country region code:
http://myhost:9323/BC150/ODataV/Company('CRONUS%20Nederland%20BV')/CustomerList?$filter=Country_Region_Code%20eq%20%27US%27
The result visible in the browser only contains data for customers that are US based.

But if I run the same url in a Linux prompt, this way:
curl -v --ntlm -u 'username:password' "http://myhost:9323/BC150/OData/Company('CRONUS%20Nederland%20BV')/CustomerList?$filter=Country_Region_Code%20eq%20%27US%27"
The result just ignores the filter part of the URL. All customer records are returned, so it is not an access/authorisation issue.

Does anybody know how to execute curl (or any other linux command) on an URL, and successfully filter the dataset?
I tested this on an NAV2013 and on an BC15 service. Both have the same issue.

Unable to apply filter on Virtual Date Table

$
0
0
Hi,

We are facing a problem in NAV 2015 CU 8. Your help will be much appreciated.
I don’t know, it is due to some code bug or some NST bug.

But sometime, NAV is not able to apply filter out data on the Date Table. It is always picking first entry from Date Table.
Rest virtual tables are working fine.
And the common thing is, every time Memory utilisation of NAV Application servers reaches to 99%.
But after NAV Application server memory utilisation restore back to normal. Still this issue persists.

Frequency of this issue is not very high. But every time we have to restart NAV services to get it back to normal and it impacts user Business.

Code:

Date.RESET;
Date.SETRANGE("Period Type",RecDate."Period Type"::Year);
Date.SETRANGE("Period Start",FromDate,ToDate);
IF Date.FINDSET THEN REPEAT
InsertIntBuf(Contr."Contract No.",Date."Period Start",Date."Period Start");
UNTIL Date.NEXT=0;

Error:


4dgieeziyjmv.jpg




Can someone help regarding this issue.


Replace the warehouse shipment line while selecting the different record.

$
0
0
Hi all,

I have created one new warehouse shipment. Here (Ribbon->Getsource Documents).
I can able to select any record from the source document page(without considering the 'Destination no' field).

If i try to insert another record, it has to delete/replace the first record with a new record in the warehouse shipment line.


please suggest me some ideas.

Ex: 1) initially i have selected record, destination no(from source document) - C0001 ->respective records sales order's line is added to the warehouse shipment line
2)If I am selecting another, destination no(from source document) - C0002 -> it should replace the first records line from the warehouse shipment line.
I have attached the screenshot: here i have added sales order 1030 first,then added 1033. I want to replace 1030(first added) with 1033(recently added)

0ilcd0rr23rg.png


Thanks in advance,
Jacob.A



How to integrate NAV with Sage

$
0
0
Hi All,

I have to investigate and resolve issues of salary/employee costs calculation inside NAV 2013 R2 database and Sage. User insert data in NAV so the integration should be somehow designed to transfer data from NAV to Sage (client version 15x).

I do not know anything about Sage, but I do have a lot experiences with NAV, so I just need to understand how data are transferred in Sage from NAV.
I sure can read the code of NAV, but I would like to have some general overview of standard integration NAV-SAGE, if there is any.

Thank you
BR Damjan

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 row/document if he needs.

How it possible? Kindly suggest me the design.

Thanks,
Navuser1

Report printed in Folio format

$
0
0
Hi everyone,

Is someone knows if there is a link between NAV and the printing property "Paper Size" ?
Few days ago, reports in NAV has been printed in the Folio format for some users (not for all) and we have not idea what happened.

Thanks,
Michael.

Is there any way to hide a standard report from search box by extension?

$
0
0
Hello everyone,

I am working on D365BC on-prem with extension. I would like to customize standard report

So, I export the report as text file then convert it to AL. After I've published the extension. There are two reports in search box (a standard report and a new one).

Is there any way to hide the old report from search box?


Thank you
Viewing all 10032 articles
Browse latest View live


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