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

Print txt file in a local printer

$
0
0

Hi all.

We have a development that generates a text file on the server and we want it to be sent directly to a local printer.

Using the dotnet component "ProcessStartInfo" does not work for us, because we depend on that component in client. We have thought about using the PrintDocument component of dotnet but it only generates blank printings.

Any idea? Thanks a lot.


Adjust Cost Item Entries

$
0
0

Hi

    I have below Data in Item Ledger Entries . when i run Adjust Cost Item Prices it is not correcting the difference of -0.26

Costing method is Fifo. Cost is Adjusted = 'Yes' . last Date Modified 26/03/2019.

Stock of this item is 0.

Date               Entry Type                            Amount          Cost per Unit    Applied entry to Adjust

 20/03/2019   Purchase                                21805.48       40.38                                Ticked

22/03/2019    -ve Adjustment                      21805.74       40.38

Thanks

Creating a page without source table

$
0
0

Hi,

I'm new to AL Language and would like to build a Freight Calculator as a project to get started.

I was able to create a Table, a list page and a card page using VS Code. With this created, I also managed to use the Configuration Packages Page to import data into my newly created Table... this was somewhat self explanatory.

Where I'm having a hard time is finding information about the followings:

My Table has 11 columns, Origin City, Service Type, Destination City, Destination Province, Base Rate, then 6 other columns of rates based on weight.

I need to create a UI where the user can select their Origin City, Service Type, Destination City and Province and input the weight that they would like to ship. The result would be the price for the freight.

I understand that this might not be as easy as doing it in c# Winform, but there must be a way.

I'm not looking for someone to write it for me but more info on where to get started.

Thanks in advance.

No. Series Question

$
0
0

Hi,

I have the S-ORD number series specified in S&R setup. Then in the number series relationship table for S-ORD, I added two other number series - S-BKT and S-SPC. This way, I can click the ellipsis button on the sales order and choose any of the three number series.

What I need to do is relate each ORDER number series (S-ORD, S-BKT, and S-SPC) to a specific posted sales invoice number series. For example, when posting an order from the S-BKT series, I want to have the posted sales invoice pull from the S-ORD+-BKT number series (for posted sales invoice). Similarly, an order posted from the S-ORD would pull the posted sales invoice from the S-ORD+ number series. I cannot figure out how to do this.

Does anyone know if this is possible?

Thanks,

Steve

Sales Document Import

$
0
0

We are implementing customer invoicing in NAV. I'm using the SALES DOC configuration package to import sales data for a customer with multiple lines and different revenue codes. When I import the package and try to create the sales documents in Sales Document Import List, I keep getting an error that the "Total Document Amount does not match Total of Invoice Lines." I've tried removing the total document amount, removing the unit price, and other things and nothing is working. 

Intercompany Payments/Receipts

$
0
0

Hi,

Client has purchase NAV 2018 with Extended Pack - Intercompany.

Is there a way to automate Payment in Intercompany?

e.g.  In Intercompany Partner - Company A has created B as Intercompany vendor.

when A make payment to B by selecting the invoice under Applied Entries, it is require such information been transfer to B Receipt Entry via intercompany.

Configure HMRC Vat Setup for NAV 2018 (GB Localization).

$
0
0

Hi,

Need help in setting up the HMRC VAT setup. I am getting below error when trying to get the authorization code.

{"error":"invalid_request","error_description":"redirect_uri is invalid"}


Web Service - Assembly BOM

$
0
0

Hello,

I have exposed Page 36 (Assembly BOM) and I traying to create some entries, but I am not able to do that, when I try to do so I get this error "'Type must not be   in BOM Component: Parent Item No." Ok, so I need to fill in this "Parent Item No" field, but I cannot see this field anywhere. The only place that I have found this field is undir Page 37 (Where-Used List) But that is no help, there is no Create method on that page.

There is similar situation here , But no answer.

Here is the code that I'm using and I'm using SOAP in Visual Studio 2019.

            var AssemblyBOMService = new AssemblyBOM_Service
            {
                UseDefaultCredentials = true
            };

            var BOMItem = new AssemblyBOM
            {
                No = "1235578",
                Type = NAVTestProject.AssemblyBOMService.Type.Item,
                Quantity_per = 0.5m,
            };

            AssemblyBOMService.Create(ref BOMItem);

Issue with LOT No. for Subcon order

$
0
0

Hi ,

One of my client is  working as where they  send the material to vendor for process (Subcon order), and receives the same.

On their demand we have introduced Item Tracking (LOT No.), Now the issue i am facing is as 

RPO 1 - ITEM 0001

subcon process (SUB001) is on 1st operation thus

DC made of 1000 KG to vendor of Raw material (RM0001) with LOT no. LOT0001

then they have issued the RPO of another item as below

RPO2 - ITEM 0002

Here item is different, but the raw material (RM001) required is same. (SUBCON ORDER - SUB002)

so again they have made DC of 500 KG to vendor of RM(RM0001) with LOT no. LOT0001.

while receiving the material from vendor for RPO2 (SUB002) suppose 100 KG, i applied the delivery challan and select the LOT (qty to consume) no. LOT0001.

On the subcon order (SUB002) it is showing QTY received 100 KG, as consumed. but its not getting deducted from the vendor location of that subcon order (SUB002), but instead its gets deducted from (SUB001) as the RM is same with same LOT no. i guess its using FIFO and thus reduces it from SUB001 

Is there any way to get the correct posting as if i receive the material for SUB002, then it will also show the consumed qty and also reduces the stock from vendor end.

Thanks in advance.

How to set up different applications ID for multi-tenant configuration and AzureAD integration.

$
0
0

Hello,

I have multi-tenancy configuration (BC365 -29537). Every tenant should be linked to different Azure AD and I have to setup different Azure Application ID for every tenant. But there is no any option to set this information. How it should be done?

Thank you,

K.

Type conversion is not possible because one of the operators contains an Invalid Type

$
0
0

Hi

  Type conversion is not possible because one of the operators contains an Invalid Type , Date += Text.

ADate DataType is Date.

ADate += FORMAT(DVLeLine."Posting Date") ;

Thanks

How to remove last character

$
0
0

Hi

  I want if last character is comma in a string then it should be removed in Rdlc report 

Thanks

Convert URL to QR Code

$
0
0

Hi All,

I need to add a QR Code to an LS Retail Sales Invoice. I have managed to get the VertificationURL and a System.String variable(length is 600). Now I need for some way to be able to show this on the receipt. I create a table and store the URL as a BLOB. Snippets of the code is below:

// Save in Table VerificationQRCode is a BLOB field of type bitmap. SignedInvoice.VerificationURL is a system string(dotnet) 

VerificationQRCode.CREATEOUTSTREAM(outstr);
outstr.WRITE(SignedInvoice.VerificationUrl);

And in LS POS Codeunit:

IF VerificationQRCode.HASVALUE THEN BEGIN
lBLOBRef.Blob := VerificationQRCode;
QRPath := FileMgt.BLOBExport(lBLOBRef, 'QrBmpExp.bmp', FALSE);
PrintBitmap(2,QRPath,1);

Now my issue is, as I suspect that I am saving the Text(URL) as BLOB instead of its QR Representation. Which could be why its not printing. The POS Utility code is a copy of existing LS Retail functionality so I am pretty sure PrintBitmap would be working. I believe my blob in the table is wrong.

I need some help here, does anyone have any knowledge in this area?

Web Services for API

$
0
0

Hi ,
we are using nav 2016 and our client wants develop API application for nav for that we created web services and we published it but .net team is asking the logic like

We would require the following API Documentation

1. Read only API for all Drop down values like Product Category, Visit Type, Country etc. We would also need the code login to send it with Read mode.
2. Search/Add/Update API for the Screens Vendor, Fair Visit, Factory Visit etc. We would also need the code logic to send it for search/add/update mode.
3. Login API
4. Vendor No, Visit No etc generation API

For the 1st and 2nd we have the API access but we need the code logic to be set

Request you to do needful .Thanks in advance

Barcode Font problem with NAV 2018 Reports

$
0
0

Hi everytbody,

I'm updating a report to NAV 2018 for a client. The old report uses a barcode font called Code-EAN.

My problem is that this font doesn't work(only displays numbers) when the report is generated in my new report. Neither on my local computer or the clients server. 

I've installed the font on both computers and tried to get it to work with the report and in MS Word but it will not work. 

Any suggestions? The barcode font has to be EAN-13 compatible.

Thanks in advance


Job

$
0
0

How can I see the budget vs actual?

NAV 2018 GB (11.0.19394.0) - VAT Statement Report (12) Preview Not Displaying Data

$
0
0

We have an user when running the standard out of the box VAT Statement report and previews, it displays no VAT £ data. If user then prints report, the data appears successfully. 

Has anyone else encountered issue before?

The problem is only occurring for one user too.  

Cost Centre Creation

$
0
0

We presently have Business Units to map certain costs under a office to that particular BU to be able to Filter expenses related to the BU .

 

What I also want is to create codes as and when necessary to map expenses in Navision to be able to run a report later for extracting expenses related to that particular code , For eg :

 

Lets take a hypothetical trip to Miami for few personnel of G2 for a conference , all the expenses are entered as they should be as per policy but along with them the expenses are also mapped to a code created for that particular trip for example code no 25 . Now if I filter in nav by code number 25 , I should be able to see all expenses related to Miami trip under code number 25 . The Gl entries remains the same as it is entered per policy . This would be just another means to extract reports for particular events or agendas without having to manually scrap for expenses from all the ledgers , we should just put a filter code and all of the expenses under various GL acs should appear related to the trip .

Please ask me if you need further clarifications on the same . 

 

Looking forward to hearing from the team as this would be a very important tool for analyzing expenses and keeping control .

 

Warm Regards
Kaushik

BC365 on-prem -

$
0
0

Hello,

I receive next error message while trying use the feature "Connect to Another Computer" in BC Administration console

I've already trying re-register dll library in Windows but with no luck. The dll file is not blocked: I've checked if too.

Kind regards,

Konstantin

BC365 on-prem - connect to another PC - module was not loaded

$
0
0

Hello,

I receive next error message while trying use the feature "Connect to Another Computer" in BC Administration console

I've already trying re-register dll library in Windows but with no luck. The dll file is not blocked: I've checked if too.

Kind regards,

Konstantin

Viewing all 19332 articles
Browse latest View live


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