Check Voucher Report

we have that training book but doesnt contain any codes, it just intruduce and explain the environment and function but regarding codes none.

You have to set the filter on second dataitem same as first one…

thanks it somewhat minimize the uncontrolable records it retrieve,i’v learn but still it retrieve unessary records. the filter in the original gnl.jrn.line is Posting Date.

hai.just how to ease this thing as only coding excel.[:P]

is it not posible in navision to code as textbox1.text = textbox2.text?

You have to use source expression values here like…

GenJrnLine.Name := GenJrlLine2.Name;

how to define the variable under ‘Global C/AL symbol’?

I follow your suggested format of code

“Gen. Journal Line”.“Description”:=“Integer”.txtDescription;

but it pop up an error

"Define the Variable under ‘Global C/A L symbol’

and i define it in C/A L Globals → Variable, i added txtDescription and data type Text

but still it pop up "Define the Variable under 'Global C/A L symbol.

what should i do?

Why did you use Integer.txtDescription?

it means txtdescription field in integer table…

txtDescrption is the new textbox i added and i name it txtdescription from its property.

it’s not connected to any field of any table,

only the Description has the field from GenJrnLine.

i just want it to reflect.to the new textbox.

am i doing wrong?

Yes, you are doing wrong…

If you want to assign GenJrnLine description to new txtdescription use

txtDescrption := GenJrnLine.Description;

why it still pop up an error of verify C/A L global symbol?

What did you write and what did you set on c/al globals?

under C/A L GLOBALS Variable i create new variable txtDescription and datatype Text and has default length 30

and the code please…

ops…sorry[:P] and the code is

, Body (1) - OnPreSection()

txtDescription := Gen. Journal Line.“Description”,

I suggest you to read some basic technical documents and contact your seniors in office…

txtDescription := .“Description”;

or

txtDescription := “Gen. Journal Line”.Description;