Quantcast
Channel: NAV/Navision Classic Client — mibuso.com
Viewing all 2425 articles
Browse latest View live

Calculate Plan - Plan.Wksh. Batch Job creates too many lines in NAV2009 R2

$
0
0
Hello,

we use the planning batch "Calculate Plan - Plan.Wksh. Batch Job" for planning in NAV2009R2 for a customer project.
Purchases, transfers and production orders are to be planned.
The components are set up with item tracking (lot no.)
The production takes place in location '01'.

The components are located in location '02' and must be transfered. Stockkeeping units with replenishment method "transfer" is set up for the component.
Two transfers are required for replenishing the production.

location: 02 -> 17 -> 01

As soon as a lot no. is entered in the item tracking of the components (no reservation!) of a released production order, too many planning lines are created when running the batch again.
transfer from 02 to 17 (2x)
transfer from 17 to 01 (4x)

All published hotfixes are installed. In NAV 2017, this issue is clearly solved.

Looking at the planning run and the reservation management codeunits I can not find the cause.

Has anyone ever had this problem?
thanks in advance

SETSELECTIONFILTER in Actions

$
0
0
So, It was asked to me as learning exercise, to create an action in a page to pick a boolean Field based on the selected lines, so for exemple:

3 lines selected = Boolean Field of each line picked.

I created the code of this action in a codeunit to select the lines and fill the boolean field, but only fills the boolean field of the last line, I have 3 selected and the last one gets the boolean field filled. The action code only have 2 lines

CurrPage.SETSELECTIONFILTER(Rec); - This was supposed to make the function below to work on more than 1 line selected.
CUTest.PickLines(No.); - No. is the primary key of the table as parameter to know which lines are selected

Help me understand how should I use SETSELECTIONFILTER in this case and if I have to leave the SETSELECTIONFILTER in the page or in the codeunit with all the code.

P.S - I believe there's no need of showing the CU code here, but If you need to see it just ask.

Integrate WooCommerce webshop

$
0
0
How to Integrate WooCommerce webshop with Microsoft Navision?

No other language is visible than english

$
0
0
Hi!
I am usin Service Tier Administration Tool for the swedish version of NAV. The problem is that, when I start the NAV client through the tool, I only have the english language to choose. Any idea why and how to fix that because the swedish language does exists!

Report 10171 Costed Bill of Materials not found in NAV 2015

$
0
0
What report is used to break down the qty. per/cost of bom components used to build an assembled item? this report was used in the past but there is no such report in NAV 2015.

Converting a Database from NAV 2016 to NAV 2017

$
0
0
How to Converting a Database from NAV 2016 to NAV 2017?

Transfer Orders 2009 R2

$
0
0
We have never had a need for Transfer Orders but now we have. We have one main warehouse - with warehousing picks and put-aways etc. What I need is to set for other locations which I can transfer inventory to when it goes into off site storage.
The other location will not have warehousing and is a third party company. When we have confirmation that our driver has been unloaded - our logistics team will receipt the goods in to the other Location. At some point in the future we will transfer the inventory back to our warehouse.
I am able to ship goods - but they stay in the in transit location and I cannot receive them. I have the location set up with a goods in bin. If I try post the TO I get there is nothing to post. If I try actions functions create whse receipt I get - There are no warehouse receipt lines created.
It was working the other day when I didn't have a bin at the offsite location but we need it to have at least one bin so that we can do a bin contents from the item card and see how much we have in storage. The only articles I can find relate to 2015 / 2016 - anyone point me in the right direction?

How to post a Payment Journals?

$
0
0
guide me to post payment journals in finance and management section

You do not have the following permissions in data table Cost Center: Execute

$
0
0
Hi mates!

I have spent a lot of time fighting against this problem in Dynamics NAV 2015. My user is SUPER, SQL Roles are validated as DBOWNER. Even though I created a dedicated role just to include this table numbered as 1112 - Cost center, but always with the same problem at the moment of executing. I'm beginning to suspect of the license.... Any suggestion please?

how to create a new company in NAV 2009 and configure the required setup to post the Sales Order?

Diferent Count Columns in the same Dataset in Queries

$
0
0
Hello! So I'm here with a problem (might not be a big deal for you) with a development i'm actually doing. I have to create a chart for Productivity so i'm using tables 5772 and 5773 to count Picks and Put-Aways per worker. I'm trying to this with a table and with a query (testing both ways), but with a query seems to be more efficient, as I said I need to count the Picks and Put-Aways per worker so I created two columns to count the records (lines per header) and I can't find a way to count only the picks in one column and count the put-aways in other both under the same dataset. Here's the actual dataset:

4xgsibw1gi6d.png
(Currently both count colums do the same thing and count all the lines, and that's what I don't want, they must be different)

With a table, I tried to write to code for it and well worked for Put-Away with 341 lines inserted and the count field summed, but with the Picks there's workers that have over 100000, so this would mean low performance and if I i'm right there's no way of DISTINCT the records like in SQL using tables in NAV. I could create new keys for the tables but in this moment I'm not allowed to do that.

For me using a Query in this case would be better, hope you can help me or atleast give me suggestions.

Thank you!

XLPivot .SubTotals

$
0
0
Hi,

In excel vba - i can turn subtotals off for a field in a pivot table..

e.g. below..

For Each pt In ActiveSheet.PivotTables
For Each pf In pt.PivotFields
'First, set index 1 (Automatic) to True,
'so all other values are set to False
pf.Subtotals(1) = True
pf.Subtotals(1) = False
Next pf
Next pt

but in NAV - ( First 2 lines work fine - but the Subtotals line doesn't compile.. ( A variable is expected?)


xlPvtField := xlPivot.PivotFields('Product');
xlPvtField.Orientation := 1; //xlRowField


xlPvtField.Subtotals(1) := false ;

Any ideas ?

.Subtotals returns an array with no params , but the 1 is the Automatic totals.

Other option i have it to set the whole subtotals array... like the Excel VBA below.. \


.Subtotals = Array(False, False, False, False, False, False, False, False, False, False, False, False)

but not sure how to make the Array...


FOR i := 1 TO 12 DO BEGIN
ArrayFalse := FALSE;
END;

xlPvtField := xlPivot.PivotFields('Product');
xlPvtField.Orientation := 1;
xlPvtField.Subtotals := ArrayFalse;

That also doesnt compile... Array Dimensions must be identical...

Any ideas ?
Thanks,
Steve

Pivot table - How to hide subtotals?

$
0
0
Hi!
I'm making a excel pivot table out from Nav (5)
Everything works fine, but i need subtotals to be hidden.
Can anyone post the exact C/AL code for it?
In VB it is:
ActiveSheet.PivotTables("PivotTable1").PivotFields("My Field").Subtotals = _
        Array(False, False, False, False, False, False, False, False, False, False, False, False)

IN C/AL :
xlPivotField := xlPivotTable.PivotFields('My Field');
xlPivotField.Orientation := 1;
xlPivotField.Position     := 1;
xlPivotField.Subtotals   := ???;

Arabic data in Nav 5.0 SP!

$
0
0
Hi everyone,

If you have arabic data in your database (in awindow like analysis by dimensions) and you expoted it to excel by functions/export to excel the data in excel will be in unreadable format. Can anyone help us with this? By the way this only happens with 5.0 SP1 if you use 5.0 only this will not happen.

Thank you for your cooperation.
Best Regards

How to change code page in navision

$
0
0
Hi,

Do anyone can suggest me/guide me how to set codepage in navision.
I want type Arabic in Item card description field

Please warm regards
kris

Navision installed, can't connect, checksum error

$
0
0
Hi all,

I've just installed Navision Server 4.03 on an XP pro machine. I'm trying to connect to it from another machine with Navision client 4.0 SP3 installed and I get the following error:

"The network is not functioning correctly. A 'packet' has been corrupted (a checksum error).
This error indicates that the network is not completely reliable. Please note how often this type of error occurs in the network. Contact your system manager if you need assistance."

Does anyone know what may be causing this?

Problem with Drill down

$
0
0
I have a field in a table that sum another (I put the calcformula in the property of calcformula of the field). Then I show in a form.

In my database it works, but in the database of the customer not. The objects are the same in bouth case (form with same filter, same calcformula...etc)

In my database.
ybpqk3adrf80.png
f2rxld4ofk09.png
kjaqo2zgvrgv.png
psgoz9mwleqv.png


Customer
r4t6tmsup5gp.png
3wza1mzk6yty.png



In customer when you click on drill down of this field, you can see the values but, drill down field is still zero ( 0 ).
I repeat, the objects of two databases are THE SAME.

Thanks.

DISTINCT rows in a table based in conditions

$
0
0
Hello! I'm creating a chart based on data stored in a table with tables 5772 and 5773 as source of these data. I want Picks and Put-Away lines based on his header (per User). So I created a code to do it but it's not efficient and decreases NAV's performance.


// Works only for Put-Away - approximately 341 lines in the table
l_RecWhseActHdr.RESET;
l_RecWhseActHdr.SETRANGE(Type,l_RecWhseActHdr.Type::"Put-away");
l_RecWhseActHdr.SETFILTER("Assigned User ID",'<>%1','');
IF l_RecWhseActHdr.FINDSET THEN BEGIN
REPEAT
l_RecWhseActLines.RESET;
l_RecWhseActLines.SETRANGE("Activity Type",l_RecWhseActHdr.Type);
l_RecWhseActLines.SETRANGE("No.",l_RecWhseActHdr."No.");
IF l_RecWhseActLines.FINDSET THEN BEGIN
l_RecData.INIT;
REPEAT
l_RecData.Date := WORKDATE;
l_RecData.Time := TIME;
l_RecData.PutAwayCount += 1;
UNTIL l_RecWhseActLines.NEXT = 0;
END;
l_RecData.User := l_RecWhseActHdr."Assigned User ID";
l_RecData.INSERT(TRUE);
UNTIL l_RecWhseActHdr.NEXT = 0;
END;

If I do the same code for Picks the estimated number of lines would be 750000...
Here's an exemple of what the table (l_RecData) shows (not the real data):

USER - PutAwayCount
1 4
1 4
1 7
2 10

Here's what I want:

USER - PutAwayCount
1 15
2 10

I want the User to be unique and his fields summed like in SQL.

I tried to do this with a Query and worked for Picks or Put-Aways, not both. Because I needed two COUNT columns for the chart to show by user.

Problem while importing merged objects.

$
0
0
Hi guys
While upgrading from 5.0 to 2009-R2. As I import the merged objects to converted database in 2009-R2 I have got following error that I do not have permission to create a standard field in sales header table. I have confirmed about license. its right. please help.ts4lpm4kl7ob.png

How can define web services?

$
0
0
Hi,

How can define web services?

Regards,
A.M.
Viewing all 2425 articles
Browse latest View live