how i solve this task

mohmd
Member Posts: 51
hello
I add a new field "item No.2"in a table named "item journal line"
i want to get "item No2" from table "item"
how i write the code in order to solve it
I add a new field "item No.2"in a table named "item journal line"
i want to get "item No2" from table "item"
how i write the code in order to solve it
0
Best Answer
-
You must write
IF Item.GET("Item No.") THEN
"No." in Item Journal Line is not Item No.1
Answers
-
when do you want to get this info?
while validating Item no. in Journal line?
check how the description field is flowing from item card.
You need to check Item No. field Onvalidate trigger.
or you can create a flowfield1 -
You can write the code under "Item No. - OnValidate()"
VALIDATE("item No.2","Item No");
0 -
i have write the code under "Item No. - OnValidate()"
VALIDATE("item No.2","Item No");
but it still like it is
when i run the table item journal line, "item no 2 " still empty
and this when i run the table item
how i solve it
inorder to get the" item no2" to be appear onthe table" item journal line"
0 -
did you check description field flow?
you need to same for Item No. 20 -
yes i check the description
but i canit solve it
can you help me by writing the code0 -
I am sorry. I cant help you with code.
you just need to replace description fields with Item No2 in new code.0 -
i have replace description fields with Item No2 in new code ,but there is no change
0 -
the item no 2 still empty
0 -
insert VALIDATE("item No.2",Item."No .2"); after GetItem0
-
i have write this code
IF Item.GET("No.") THEN
"Item No.2":=Item."No. 2";
and the item no.2 dont appaer
0 -
You must write
IF Item.GET("Item No.") THEN
"No." in Item Journal Line is not Item No.1
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions