-
how to delete a single character from a string?
I want to delete a single character from a string in an exact position. Example: remove_n_char("hello",1)-> "ello"...
-
Preferred Handheld scanners for NAV 2009 R2 Classic
All, Can someone recommend me a smart handheld scanner that would be suitable for NAV 2009 R2 Classic? This handheld would need the following: - Have a GUI - Support .NET applications - Can connect to NAV via .NET webservices. - Does not run Windows CE. These handhelds are needed for a Warehousing environment. Regards,
-
the code isn't working at all
I'm trying this: TableMonth.SETFILTER(Month , FORMAT(DATE2DMY(TableFiscal.DOB , 2))); FiscalCode += FORMAT(TableMonth.Letter); MESSAGE('%1',TableMonth.Letter); the message is empty.... why? thank you!
-
Sum a text to an integer
I have a "number" that is actually a text. I want to sum it to an integer... How can I do this? thanks!
-
How to create BOM and Post BOM Journal Entry
Hi , I don't know how to create BOM and Post BOM Journal Entry in Navision 4.0 SP2. Becuase i want to sold single "A" to my customer, but ILE & RG record of items "X" and "Y" should be updated instead of "A". So i want to create a new BOM item like "A" with 2 items code like "X" and "Y" and same 2 items were purchased, but…
-
how to delete a character from a string
I didn't understand the DELCHR function... I want to remove a single character from a string
-
array
how to control if some letters are contained in one string? example: Array[1] := 'a'; Array[2] := 'r'; Array[3] := 'h'; for i := 1 to LengthSrnm do if not LastName = Array......... thanks!
-
How to declare an array?
How can an array be declared? Thank you!
-
if in a function with an option
In a function I have a parameter that is an option. I have to write an if statement, like this if gender::'F' then... which is the correct syntax? thank you
-
Job Tasks
Hello, what is the difference between schedule cost, usage cost and contract cost in the Job Task Lines?
-
Issue with format
I have this function GetMonth(month : Text) ris : Text ArrayMonth[1] := 'A'; ArrayMonth[2] := 'B'; ArrayMonth[3] := 'C'; ArrayMonth[4] := 'D'; ArrayMonth[5] := 'E'; ArrayMonth[6] := 'F'; ArrayMonth[7] := 'G'; ArrayMonth[8] := 'H'; ArrayMonth[9] := 'I'; ArrayMonth[10] := 'J'; ArrayMonth[11] := 'K'; ArrayMonth[12] := 'L'; IF…
-
unblock item
has anyone know how can I unblock item. I ticked the box on item card which we don't use it anymore. but I needed to take it back. Thank you
-
Get part of string
How can I get a part of a string? Ex: get last two chars. Thank you!
-
Help in Merge tool while doing upgrade from NAV 4.00 to NAV 2009
Dear all, I am facing an issue while using merge tool. The issue is that when i try to merge it it shows too much conflicts. When i see the conflicts most of the conflicts is due to MLCaption property - The original one in MLCaption property is ENU , however in client customized version is DK, NOR etc . so it show me the…
-
File Handling during Auto-Text File Import via NAS
By utilizing the NAS function, we have developed a function that will import a text file automatically the data into NAV. We are using a Timer set to a specific frequency, and looking at a specific directory whether a file exists, or not. (The logic is executed only when there is a file). Generally, the function works…
-
Importing Files with Navision Application Server
I am working on a project developing automated text file importing using the Navision Application Server. Because you cannot use dataports with the NAS, I have written codeunits to handle the task of importing, parsing and creating records with my delimited text files. Right now I'm trying to use a global variable with a…
-
Upgrade from NAV 4.00 to NAV 2016.
Dear all, I am currently doing the project of Microsoft Dynamics NAV. My client is currently on NAV4.00 and he wants to shift to NAV 2016. So before upgrading to 2016, the first step is to upgrade to NAV 2009. For this, i have tried many tutorials, also the microsoft guide which is present in NAV 2009 setup. But i always…
-
Phys. Inventory Journal and Nonstock items
hello experts!! If when running the physical inventory journal shows us the nonstock items what is the difference between these and the normal products? They should not be in the physical inventory, right?
-
Relation of Work Center "Unit Cost of Calculation= Units" to Machine Center Cost
I have 2 Machine Centers with Unit Cost 2 and 3. I use them in a Work Center with no Unit Cost. The Unit Cost of Calculation is set to Units in the Work Center. I create a Routing with this Work Center and the 2 Machine Centers. When I complete a production order for 2 quantity using this Routing, the cost should show…
-
Serial No. Length Work Around (Already Know Not to lengthen)
I have read all of the "DO NOT LENGTHEN SERIAL NO." posts. With that out of the way, my client has a situation where they have to combine two halves which from factory typically are "married" with top half and bottom half having the same serial no. However, there are instances where the bottom or top half could go bad and…
-
i have design Sales Register
Please help whether i have twice of tax type VAT or CST but when Report Generate i have to need filter tax type . if i select VAT then only VAT type record appear . how can write filter for this issue
-
WHAT is Navision Documentation for Disaster Recovery?
A client is scheduled to sign up for Disaster Recovery, who would maintain a server seperately in some location and in case of any disaster they would restore the NAVISION data in 48 hours. Now in case of DISASTER what all is required to RESTORE NAVISION services to normalcy is to be documented.can anbody suggest me what…
-
Difference between MODIFY and MODIFY(TRUE)
Which is the difference between MODIFY and MODIFY(TRUE)? Which of the two is better?
-
Line No.
I need to add a comment into the purchase order comment table. How can I amend the current code so it finds the last line no and then adds 1000 to it to allow a new entry? IF QuantityChange THEN BEGIN IF Purchheader."Released Once" THEN BEGIN IF recPurchLine.Quantity <> xRec.Quantity THEN BEGIN recPurchCommentLine.RESET;…
-
SETFILTER on an option string
I have to set a filter on an option string but it gives me an error.... I'm trying this: TB1.SETFILTER("Customer Type",'<>%1','Business'); but it says that the type conversion is not possible..... please help me!
-
BACH ADJUST COST IN CLASSIC CLIEN 2009 R2
HI EVERY BUDY SOME YOU HELP ME A THANK YOU SO I NEED TI ADJUST ITEM COST SO WHEN RUN THE REPORT 795 THE COST OF ITEM CAN CHANGE UNITE COST I NEED THE CODE OF REPORT IF IT IS AN ODER CODE IN UNITE CODE OR TABLE PLAIZE GIVE ME A COMPIE TO READ AND COMPARE OR IF YOU HAVE A SOLUTION GIVE ME
-
disable buttons
Hello, im a NAV beginner, i want to know how i can disable the previous and next action buttons in the item card so that the user cannot scroll through the cards..
-
Code doesn't work
I'm trying this, but it doesn't work... helpppp REPEAT [..] AddressNameG.GET(Num1G); AddressSurnameG.GET(Num2G); MergedG := AddressSurnameG.Surname + ' ' + AddressNameG.Name; AddressG.Name := MergedG; AddressG.MODIFY; UNTIL AddressG.NEXT = 0;
-
code doesn't work
I'm trying this code, but it doesn'ty work. Why? thanks! AddressSurnameG.SETFILTER(No,'1'); AddressNameG.SETFILTER('3'); Merged := AddressSurnameG.Surname + ' ' + AddressNameG.Name; MESSAGE('%1',Merged);
-
Get the third record
I have a table with three fields (number, city, postcode), I have to get the city based on the number choosed. How can I do it?