Help Code Explaination

tonypang
Member Posts: 101
IF NOT (Ship OR Invoice OR Receive) THEN
ERROR(
Text020,
FIELDCAPTION(Ship),FIELDCAPTION(Invoice),FIELDCAPTION(Receive));
what mean of this line of code.
Ship, Invoice and receive= boolean type
Thank you
ERROR(
Text020,
FIELDCAPTION(Ship),FIELDCAPTION(Invoice),FIELDCAPTION(Receive));
what mean of this line of code.
Ship, Invoice and receive= boolean type
Thank you
NAV
0
Comments
-
2 (x + y) = 2x + 2y
so NOT (Ship OR Invoice OR Receive) = NOT Ship OR NOT Invoice OR NOT ReceiveNAV - Norton Anti Virus
ERP Consultant (not just Navision) & Navision challenger0 -
TempSalesLine.SETFILTER("Shipment No.",'<>%1','');
what mean by this line of the code?
%1 ?
Hope all the master can reply me.
Thank you.NAV0 -
one more line need to help
TableIDArr[1] := DATABASE::Customer;
ThanksNAV0 -
have you read the cside developers guide? at this rate you will get the whole thing copied and pasted here.David Singleton0
-
yes.
Some of the code very difficult to understand .
I got go through all the note.
but i still can't understand post it here.
Thank you so muchNAV0 -
tonypang wrote:yes.
Some of the code very difficult to understand .
I got go through all the note.
but i still can't understand post it here.
Thank you so much
%1 is in the manuals, so you should be able to learn that from them.
I know it can be hard, but step one is to read the manuals. If you don't want to read the books, then find a course and pay to take it.David Singleton0 -
thank you.NAV0
-
idiot wrote:2 (x + y) = 2x + 2y
so NOT (Ship OR Invoice OR Receive) = NOT Ship OR NOT Invoice OR NOT Receive0 -
idiot wrote:so NOT (Ship OR Invoice OR Receive) = NOT Ship OR NOT Invoice OR NOT Receive
Yeah, that actually equals NOT Ship AND NOT Invoice AND NOT Receive. The NOT negates everything, and the negative / opposite of OR is AND.
But yes, you need to read the manuals more carefully, Tony. It's one thing if you are asking the purpose of code in the application, quite another if you are asking basic syntax questions.
Conditionals, setting filters, array syntax....every one of them is in the application designers guide or the development coursework.
Don't get discouraged. NAV takes a long time to learn well. Hard work will pay off.0
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