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

Need to recive more quantity than PO quantity when workflow is enabled.

$
0
0
Hi,

I need to receive more quantity than PO when workflow is enabled and partial quantity is already received.

Thanks in advance,
Srinivas

BC13 - Copy company

$
0
0
Morning,

Is anybody familiar with the error message:
tenant numeric id must be set

Im trying to copy a company in BC. But when i try to do that the client closes with above error.
In the past the database was part of multitenancy, but migrated back to single tenant.
I cannot find a solution for this

Cash Receipt With Different Customer Name

$
0
0
Good day,

Our NAV system is integrated with an online payment system that exports customer payment transactions into NAV. In turn NAV would automatically generate invoices and cash receipts for our customers.

However, there is something wrong since one of our customer's cash receipt is generated with a different name (NAV picks the name of the different customer).

Could someone please assist on solution to fix this issue?

Thanking you in advance.

Nagaboona.

NAV 2016 - scanning barcode/QR using Android phone and camera?

$
0
0
Hi everyone, does anyone has experience with scanning barcodes/2d codes using Android phone and rear camera?
I tried to use standard NAV functionality to take picture, save it to server and then feed picture to ZXING.net library which has capability to decode barcodes/2d codes. But my solution is not reliable.
I tried to resize bitmap, tried to change camera output quality... nothing helped - scanning of codes is not reliable and only 1/5 attempts resulted in success.
My code:
NAVCamera::PictureAvailable(PictureName : Text;PictureFilePath : Text)
TempPath := FileMgt.ServerTempPath + '\' + PictureName;
FILE.RENAME(PictureFilePath,TempPath);
CLEAR(VtResult);
CLEAR(SystemBitmap);
CLEAR(ZXingBarcodeReader);
CLEAR(ZXingBarcodeResult);
SLEEP(250);

SystemBitmap := SystemBitmap.Bitmap(TempPath);
///resize image if too big
IF SystemBitmap.Height > 1000 THEN BEGIN
BmpHeight := ROUND(SystemBitmap.Height / 5,1,'=');
BmpWidth := ROUND(SystemBitmap.Width / 5,1,'=');
SystemBitmap := SystemBitmap.Bitmap(SystemBitmap,BmpHeight,BmpWidth);

END;

SLEEP(250);

ZXingBarcodeReader := ZXingBarcodeReader.BarcodeReader;
VtResult := ZXingBarcodeReader.Decode(SystemBitmap);
//IF VtResult.ISTEXT THEN
Result := FORMAT(VtResult);
MESSAGE(Result);
//SLEEP(500);
CLEAR(SystemBitmap);
//FileMgt.DeleteServerFile(TempPath);

NET variables:

ZXingBarcodeReader DotNet ZXing.BarcodeReader.'zxing, Version=0.16.0.0, Culture=neutral, PublicKeyToken=830ae994e36ac27d'
ZXingBarcodeResult DotNet ZXing.Result.'zxing, Version=0.16.0.0, Culture=neutral, PublicKeyToken=830ae994e36ac27d'
SystemBitmap DotNet System.Drawing.Bitmap.'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

Any help will be appreciated. Thanks a lot.

NAV BC - Grey Area on Sales Order

$
0
0
Hello Everyone,

Is there any way to make the ship-to address section 'ungrey' in order to add 1 time info. We would just like to make this editable after selecting the ship to codef7dzq6l0172f.jpg

SAVEASEXCEL in old format

$
0
0
Hi there

I have client which is working on Dynamics NAV 2017. There is one function which is creating one of the reports in excel and send on their customer e-mail. The problem starts when some of the customers use old xls formats and they can open only xls formats. When I'm using SAVEASEXCEL function the format by default is xlsx ... I've tried to change name with DocumentNo.xls in extension but in background the file is xlsx - not xls.

So, my question is: Can we save in Dynamics NAV 2017 option for saving files in old excel format (xls).

Best Regards

Unexpected or wrong xRec in OnModify

$
0
0
Hello there, (I'm using NAV 2016 (9.00.47838))

I got a strange problem by using xRec in OnModify:
I want to do something only after OnModify if a boolean field is changed: Ensure that only one record is the Default record.
IF Rec.Default AND NOT xRec.Default THEN BEGIN

The problem is: Sometimes are Rec and xRec equal!

Yes, I know that similar questions are spreaded in the www.
Yes I know that the behaviour is different between internal call and external call and GUI call. And normally GUI call should work!
In my case there is only page interaction: Sometimes working, sometimes not working. > Changing behaviour without changing objects!

A simple table:
Only two fields:
  FIELDS
  {
    { 1   ;   ;Code                ;Code10         }
    { 2   ;   ;Default             ;Boolean        }
  }
  KEYS
  {
    {    ;Code                                    ;Clustered=Yes }
  }
Code only in OnModify:
    OnModify=VAR
               TestSKM@50000 : Record 50202;
             BEGIN
               IF Rec.Default AND NOT xRec.Default THEN BEGIN
                 TestSKM.SETFILTER(Code, '<>%1', Code);
                 TestSKM.SETRANGE(Default, TRUE);
                 IF TestSKM.FINDSET(TRUE) THEN
                   REPEAT
                     TestSKM.VALIDATE(Default, FALSE);
                     TestSKM.MODIFY;
                   UNTIL TestSKM.NEXT = 0;
               END;
             END;

And a simple list page created by the wizzard.

So I filled the list with the codes '1', '2', ..., '7'

When setting the Default in a record after leaving the record (MODIFY) all other records should be set to Default = FALSE.

I cannot find a rule. Sometimes it works, sometimes it doesn't work.
Sometimes setting Default from top record to bottom record works.
Sometimes Setting Default from bottom record to top record leaves all record Default = TRUE.

Is there any Explanation?

With kind regards
s_keim

How to rename the error?

$
0
0
For example I have an error

m1vx2io1irp0.png


And I have to change text in this error: "Unit Price LCY" to "Unit Cost"
How can I do it?

Manufacturing Finance Assistance required

$
0
0
Hello,

Some bad bespoke has resulted in Inventory WIP still being present in Finished Production Orders. We could Create a General Journal to migrate the WIP Value from the WIP G/L to the Finished Goods Adjustment G/L Code set up. This however still leaves the Value Entries in WIP and therefore an unbalance.

How is it possible for us to flush through the outstanding WIP from a Finished Production Order?

This occurred because bespoke caused the Expected Capacity Need to not update correctly on the routing lines.

Appreciate any advice.

How to add new language to business central?

$
0
0
I'm trying to translate business central on another language that is not supported from Microsoft and referring this link: https://dynamics.is/?p=3277

My question is how to add my language to select list of languages, anyone can help?

Thanks for your time :smile:tdmyz7769wxj.png

Create xml signature in a Secure Envelope in NAV2017

$
0
0
Hi. I would like to create an xml file, and in the Signature there is a tag called DigestValue. The content of this file is calculated based on Method in the feild DigestMethod. My problem is that I cannot find a description of how to calculate the content of DigestValue. Thankful if anybody could point me in the correct direction.
Thanks, Rune.

Blog Series Part 8: Combine Sales Document and POST in AL for MSDYN365BC.

JSONBuffer

$
0
0
Dear all,

I'm trying to read a JSon File withing the JsonBuffer table.

The structure of my Json is the following :

ljlscqbbu9z4.png

What i'm trying to achieve is getting the coordinates out of the Json file to store into database fields.

I'm trying to achieve this by the following code :

codeunit 50112 HttpGeoCodingMgmt
{
    procedure GetLongLat()
    var
        uri: Text;
        ResponseInReadibleFormat: Text;
    begin
        uri := 'http://dev.virtualearth.net/REST/v1/Locations/*******************************';
        CallExternalWebService(uri, ResponseInReadibleFormat);
        GetResultofWebservice(ResponseInReadibleFormat);
    end;

    local procedure CallExternalWebService(uri: Text; var ResponseInReadibleFormat: Text)
    var
        RequestMessage: HttpRequestMessage;
        HttpClient: HttpClient;
        ResponseMessage: HttpResponseMessage;
        Content: HttpContent;
    begin
        RequestMessage.Method := 'GET';
        RequestMessage.SetRequestUri(uri);
        HttpClient.Send(RequestMessage, ResponseMessage);
        Content := ResponseMessage.Content;
        Content.ReadAs(ResponseInReadibleFormat);
    end;

    local procedure GetResultOfWebservice(var ResponseInReadableFormat: Text)
    var
        JsonBuffer: Record "JSON Buffer" temporary;
        TokenSearchText: text;
        GeoCodeResult: Text;

    begin
        TokenSearchText := 'coordinates';
        JsonBuffer.ReadFromText(ResponseInReadableFormat);
        // JsonBuffer.GetPropertyValue(GeoCodeResult, TokenSearchText);
        // message('%1',GeoCodeResult);
        JsonBuffer.FindArray(JsonBuffer, TokenSearchText);

    end;


}

My JSONBuffer containsfollowing records :

lwzsd3cvdufb.png

Hopefully, someone can tell me what i'm doing wrong or what i have to do too get the coordinates as result.

Kind regards

Steve

Objects added on the Department menu distorts the tab of the role center page

$
0
0
Hello,

I had developed some new objects which were added to the Departments menu suite of Dynamics NAV 2016. Once the FOB was imported, all these objects came up in a distorted manner on the tab of the role center page. Is this a common issue?

Thanking you for your answers.

Liizz

Blog Series Part 1: Customer Requirement for AL Development MSDYN365BC


services module functionality

$
0
0
Hi experts!! NAV2018

I have a new project for a company that rents machinery.

The machinery it rents is the company's fixed assets, not products.

I am looking at the services module but I do not see anywhere how it can be rented
a fixed asset, only products of services and products.

I have thought about creating service products for each fixed asset that is rented but it forces me to have one per client if you cannot put it in contracts

Can you think of a better idea?

Thank you by advance.

Printing Check Infinite Loop Error

$
0
0
When I am printing Check from Payment journal. The report run for infinite loops and gave close program error.

What could be possible reason for the infinite loop of report?

NAV 2016 Error: "A profile with ID 'Windows' could not be found."

$
0
0
Attempting to login to a NAV 2016 instance, via OAuth:
c6qo7p3z90hg.jpg
Can't find any help on the internet with this one. Thanks.

Default Ship To on Customer Card

$
0
0
Hi,

Here is an issue I've found on NAV2018 and BC Online:



1. On a customer card for customer TOM, the tax area is set to NONTAX

2. On ship to code A for the customer, the tax area is set to 92861

3. On the Shipping fast tab, I set the Ship To Code to 92861
4. I create a sales order for TOM.

5. The default ship to is set, but under the Invoicing fast tab and on the lines, the tax area = NONTAX



This seems like a bug to me. The tax information should be coming from the ship to.

If I set the Ship To Code to DEFAULT (Sell to Address) than back to Alternative and pick 92861, the tax area is correctly updated.

Please advise if anyone as come across this.

Thanks,

Steve

OK button on StandardDialog page

$
0
0
How to prevent closing page after clicking OK button if error occur?
Viewing all 10032 articles
Browse latest View live


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