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

No. Series Relation

$
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

MakeSingleLevelAdjmt function in CodeUnit 5895

$
0
0
Hi

How below function works


LOCAL MakeSingleLevelAdjmt(VAR TheItem : Record Item)

Thanks

Call report by passing Parameter

$
0
0
Hi

I have below code and i want if Amt[2] > 0 then report is called by passing Item No



Item - OnAfterGetRecord()


FOR i := 1 TO 10 DO BEGIN
ILE.RESET;
Amt := 0;
Qty := 0;
End;

ILE[2].SETCURRENTKEY("Item No.","Entry Type","Posting Date","Location Code");
ILE[2].SETRANGE("Posting Date",StDt,EndDt);
IF ILE[2].FINDFIRST THEN REPEAT
ILE[2].CALCFIELDS("Cost Amount (Expected)","Cost Amount (Actual)");
Amt[2] += ILE[2]."Cost Amount (Expected)"+ILE[2]."Cost Amount (Actual)";
Qty[2] += ILE[2].Quantity;
UNTIL ILE[2].NEXT=0;



IF (Amt[2] > 0) THEN


Thanks

Insert the Comments into next row automatically.

$
0
0
Hi All,
I want to import Business record comments for the customer. Here the length of the Comment field is 80. So I am not able to insert more than that.

My Requirement is: If the length exceeds(more than 80), the comments are automatically inserted into the next row.

Please suggest me some c\al code.

Thanks in advance,
Jacob A.

statement

NAS shell commands

$
0
0
Hi all,

Hope som1 can help, I´m getting mad.


IF GUIALLOWED THEN
SHELL(T50161."PH Files Path"+'RequestToken.bat')
ELSE BEGIN
//SHELL(CONSTRequestToken);
CREATE(WshShell);
WshShell.Run(T50161."PH Files Path"+'RequestToken.bat');
CLEAR(WshShell);
END;



I know that for shell you have to use text constant so, I did that (guiallowed). Basically the constant and the path before it´s the same.

I could not make it work.

I tried with WshShell.run ('Windows Script Host Object Model'.WshShell) but again seems not doing anything.

Any ideas?

thanks!

Disposal Date must be the last date for Fixed Asset Error

$
0
0
Hi All,

I received the following error message when I tried to dispose of a Fixed Asset in a NAV 2009 R2 client:

'Disposal Date must be the last date for Fixed Asset No. = XX in Depreciation Book Code = YY'

This message appeared when I was posting a FA G/L Journal (FA Posting Type of Disposal). The fixed asset was migrated into NAV a number of years ago but it needs to be disposed of now. This field is not displayed on the form and cannot be edited in the table either.

Any help or pointers on this would be greatly appreciated!

Thanks.

Report Design Nav 2009 R2

$
0
0
Hi,

I am new to CSIDE and C/Al. I am using Nav 2009 R2.

I would like to design a report based on the following SQL Query. Please guide.

select [Item Category Code], sum(B.[Invoiced Quantity]) as Qty, sum([Cost Posted to G_L]) as Value
from [CRONUS International Ltd_$Item] A
inner join [CRONUS International Ltd_$Value Entry] B
on A.No_ = B.[Item No_]
where B.[Posting Date] <= '04/30/2019'
group by A.[Item Category Code]
order by A.[Item Category Code]

tdpj3nhpdbxd.png


Thanks,
Prasoothan

Delete Invoice Sales Orders and Purchase Orders

$
0
0
Hi,

Is it safe to run Delete Invoiced Sales Orders and Delete Invoiced Purchase Orders without any filters? I'm looking for thoughts and experiences with this.

Thanks,

Steve

Extra license for test database

$
0
0
Do we need extra license for the test database that will be installed in users' pc?

FINDSET REPEAT UNTIL

$
0
0
Hi All,

Previously, I've got issue after looping, not all my records are modified as I forgot to use second table variable after reading topic FINDSET on other forum. However, I saw there are 2 approaches as the following:

Rec1.SETRANGE(Field1,Value1);
IF Rec1.FINDSET THEN
REPEAT
Rec2.GET(Rec1.PrimaryKey);
Rec2.Field1 = Value2;
Rec2.MODIFY;
UNTIL Rec1.NEXT = 0

Rec1.SETRANGE(Field1,Value1);
IF Rec1.FINDSET THEN
REPEAT
Rec2 := Rec1
Rec2.Field1 = Value2;
Rec2.MODIFY;
UNTIL Rec1.NEXT = 0

are both do the same thing? are both guarantee that modify will be successful 100%?
Which one is the best?



Extra license for test database

$
0
0
Do we need extra license for the test database that will be installed in users' pc?

Got SQL error while Logging into NAV 2009 classic?

$
0
0
Hi All,

Login is existed for this user but still facing this error while logging into NAV.

" the following sql error or errors occurred. 15161,"42000" [microsoft ODBC SQL Server driver][SQl server] cannot set application role."

d7i5ajq3b0oi.png

Please suggest me some solution to overcome this issue.

Thanks in advance,
Jacob A.

Inventory Valuation

$
0
0
Hi

I have Item say Xyz with docNo = R0001 say value 100 , Qty 5 . It is issued against 2 document No's say I01 & I02

In I01 Qty = 4 Value should be 80 . Applied Entry R0001

In I02 Qty = 1 Value should be 100 . Applied Entry R0001

Is 80 & 100 value is stored in any table against that invoices or is calculated runtime.

Thanks

branch code missing

$
0
0
branch code missing in some of the g/l entries.

how to copy the records from one table to another table

$
0
0
hai all
i am new to navision programming
i have a problem in coping the records from a perticulat field of a table to another table
for example
item1 is the table which i have created
i want to copy all the item nos from item table to item1 table's itemno field which is not a primary key.
All the records should be copied at a time.
is it possible?
i have tried in so many ways but not able to get . ](*,)
i think it is understandable,
please help me in this senario
thanks in advance

branch code missing

$
0
0
branch code missing in some of the g/l entries.

How to show more than one VAT type on sales invoice print

$
0
0
Hi everybody,
I got stuck while creating new report which will use for sales invoices print.
I'm doing it via word layout, and i do not know how to map VAT amount field after creating it into NAV development.

Imagine if you have two different VAT types with for example 3,7 and 7,7 % on few lines in same document. What I want is to show both total VAT amounts on invoice.

I successfully created all of the fields in report, customer no, adress, total amount excl. vat in sales invoice line etc. but do not know how to show sums for every of VAT type grouped.

Can you help me with this, i want to do this through code of report also.

Thanks in advance

POS Item Lines

$
0
0
Hi

In LS Retail Pos Screen Item lines come from which table & which function or CodeUnit is used.

Thanks

Depreciation not accounted

$
0
0
I have some fixed assets not depreciated since September 2018. Acquired this on 8th Sep 2018.
Run the calculate depreciation for the asset. But it has not depreciated for the Sep 2018.
I need help
Viewing all 2200 articles
Browse latest View live