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

XML Order Import Articledescription

$
0
0
Dear Forum members im quit new to NAV and new to this forum.
I have a question about XML order import.

This is a XML code provided by Microsoft MSDN

<Root>
<Header>
<DocumentType></DocumentType>
<SellToCustomerNo></SellToCustomerNo>
<No></No>
<BillToName></BillToName>
<BillToAddress></BillToAddress>
<BillToCity></BillToCity>
<BillToContact></BillToContact>
<BillToCountryRegion />
<BillToPostCode></BillToPostCode>
<Line>
<DocumentType></DocumentType>
<Type></Type>
<ItemNo>ArticleNr.</ItemNo>
<LineNo>10000</LineNo>
<Description></Description>
<UnitOfMeasure></UnitOfMeasure>
<Quantity></Quantity>
<UnitPrice></UnitPrice>
</Line>
</Header>
</Root>

This code works well the XMLport import the file fine.
Only problem is that i dont want to give a Description within the XML i want NAV to fill the Description
that is allready given in the ArticleDatabase.

Does anybody know how i can fix that....
Thanks in advance.

Regards
DigitP

Cannot start navision

$
0
0
While opening the development environment I get the error "The file name C:\Users\name\Appdata\Local\Temp contains a character that cannot be used. Check the file name. You can find additional informations about file names in the documentation for your operating system". How can I solve he problem? Thanks

Code to deduct values between field

$
0
0
Hi All,

My company would like to roll out customer loyalty program...a part of tasks will be make use our current Nav 5.0 (with LS-Retail POS 5.0) to accumulate customer's purchase amount ($1 = 1 points). Currently we are using this already as my predecessor had written some Reports to accumulate the transactions and to holding the points and change them to VIP or Premember (with 6 months $5000 purchase can be VIP rule).

My new request will now be how to make Nav to deduct points and make it much dynamic (to switch the points exchange mechanism to whatever $1 = x points). As am very working in Nav with my low-end experiences, not a programmer, but I am thinking to make an additional field to hold the points to be deducting (based on customer's how many points they want to deduct) in the Customer table, since my predecessor had created and we are using a field called "Points" to represent the points that customer has.

I tried to add additional fields in Customer table and try to make some code in that new field ( i just on validate and on lookup) but don't know how... etc below requirements. Or you could advise a better method using codeunit?

If customer."to deduct points" <> 0 Then, customer."points" deduct "to deduct points" value.

then I have to ask the cashier to update a customer form and this will trigger to input the "to deduct point" value to perform the above.

I know this solution is very manual as I cannot figure out the way to make use of LS-Retail POS Loyalty scheme function, cos we don't have maintenance with vendors for a long time.

Thank you!

Patrick

Hi can anyone help we are using ms nav classic 2009 in our office

$
0
0
Hi can anyone help we are using ms nav classic 2009 in our office which was victimized by a certain ransomware that the last back up that i have was also infected by this ransomware now i cant restore the back up coz it says that the back up is not a ms nav classic copy, though it was a back up from the nav classic
how can i restore this file in the nav

get table property: DataPerCompany

$
0
0
hi,

is it possible to get a certain table-property out of the sourcecode (in this case datapercompany) ?

i'm processing all fields of all tables of all companies with recordref and fieldref and do not want to repeat tables with property datapercompany=no because of the hughe number of records.

are table and field properties saved in an "unvisible-table" like field-table?

NAV Database Test fails

$
0
0
All,

Our customer has encountered a NAV database crash over the holidays. In fact the entire VM that housed the SQL Server and NAV crashed. Long story short, the NAV Database is back up and running, SQL Services are back up and running, however when we ran CHECKDB and File->Database->Test, we encountered the following errors:

8934,"42000",[Microsoft][ODBC SQL Server Driver][SQL Server]Table error: Object ID 71723358, index ID 1, partition ID 72057596749676544, alloc unit ID 72057596779298816 (type In-row data). The high key value on page (3:19496106) (level 0) is not less than the low key value in the parent (3:7934865), slot 232 of the next page (3:19496107).
8934,"42000",[Microsoft][ODBC SQL Server Driver][SQL Server]Table error: Object ID 71723358, index ID 1, partition ID 72057596749676544, alloc unit ID 72057596779298816 (type In-row data). The high key value on page (3:19496106) (level 0) is not less than the low key value in the parent (3:7934865), slot 232 of the next page (3:19496107).
8934,"42000",[Microsoft][ODBC SQL Server Driver][SQL Server]Table error: Object ID 71723358, index ID 1, partition ID 72057596749676544, alloc unit ID 72057596779298816 (type In-row data). The high key value on page (3:19496107) (level 0) is not less than the low key value in the parent (3:7934865), slot 233 of the next page (3:19496108).
8934,"42000",[Microsoft][ODBC SQL Server Driver][SQL Server]Table error: Object ID 71723358, index ID 1, partition ID 72057596749676544, alloc unit ID 72057596779298816 (type In-row data). The high key value on page (3:19496107) (level 0) is not less than the low key value in the parent (3:7934865), slot 233 of the next page (3:19496108).
8934,"42000",[Microsoft][ODBC SQL Server Driver][SQL Server]Table error: Object ID 71723358, index ID 1, partition ID 72057596749676544, alloc unit ID 72057596779298816 (type In-row data). The high key value on page (3:19496108) (level 0) is not less than the low key value in the parent (3:7934865), slot 234 of the next page (3:19496109).
8934,"42000",[Microsoft][ODBC SQL Server Driver][SQL Server]Table error: Object ID 71723358, index ID 1, partition ID 72057596749676544, alloc unit ID 72057596779298816 (type In-row data). The high key value on page (3:19496108) (level 0) is not less than the low key value in the parent (3:7934865), slot 234 of the next page (3:19496109).

The database seems to be stable, but we want to eliminate these issues altogether. And before you ask, YES, these errors resulted AFTER the database crashed, since an earlier backup prior to the crash showed no such errors.

Does anyone have previous experience in dealing with AND resolving issues like the one above? The Object ID being referenced above turns out to be the Value Entry table?

Regards,

Cannot find Table 37

$
0
0
Hello together,

I have the weirdest of errors on my screen right now.
On NAV2015 Development Environment, I click on table 37 (Sales Line), I try to Run it (click on "Run" button) and I get this error:

"Cannot find Table 37"

:shock: :shock: :shock:

This is the only table with this problem. No other table, system or customized, produces this error.
I can open it in design mode, make changes, they are accepted, but still cannot run it.
I can even create a Page based on table 37... and it'll run without any problem.
I tried to delete the table (version NAVW17.10.00.35800) and replace it with the original one and even with a more advanced version... all in vain. Same error.

The database itself comes from a NAV2013R2 version, I installed a NAV2015 client on other server, then imported the old database into the new client. Everything following scrupulously the rules (https://msdn.microsoft.com/en-us/librar ... 80%29.aspx) and without any error... until now.

This is a Development database, so it's somehow important to have access to the table by running it.

Any idea what can be this all about?

I want to buy items from a customer and not set them up as a vendor.

$
0
0
I want to issue a return order/credit memo on an item to my customer. This item will be used in an assembly and then sold back to the customer. I cant use the return order because it needs to apply to a ledger for the item. Is there anyway to do this without setting them up as a vendor?

You have not Tender declared yesterday's sale. Contact IT

$
0
0
Dear Expersts,

I am just starting to Learn Microsoft Dynamics NAV- LS Retail. I am trying to log into a restored database through the POS- Client and I get the error, "You have not Tender declared yesterday's sale. Contact IT". What should I do.

Thanks

Dan

XMLPort Question

$
0
0
Hello,

Im new in Navision and i need to export some shipmentdata for our transport guy.
Some values i can get from a table but some tags that my transport guy needs are fixed value
such as our costumer number is there a way in XMLport that make a predefined value for an xml tag ?
example : <someTAG> ExampleText</someTAG> where the "ExampleText" is a fixed value for all XML exports.

WEB PAGE

$
0
0
zt86aym3uktq.png

Can anyone explain this web page result with an Option Field
"Document Type" passes the option string information correctly "quote,order, invoice,etc"
"Allocation priority" should pass the option string "1,2,3"
It does not instead we get "_x0031_"
Thanks All

Does NAV 3.7 work on to Windows Server 2008 and SQL server 2008 with 32 bit??

$
0
0
Hi Guys,

I just want to know whether NAV 3.7 runs smoothly on to 32 bit of Windows and SQL 2008. If it does not get supported then what is the highest configuration till which NAV 3.7 does work?

Your valuable input would be appreciated.

Thanks in advance!!

export Nav. object programmatically

$
0
0
Hi,
Can i programmatically export Navision object?

The functionality should open File-Save dialog and ask for exported file name, and then export the object to the local hard drive, all this should be done programmatically, ala:

Nav.OpenExportDialog(objID, '*.txt');
FileName := nav.GetExportedObjectFilePath;
//read file in location "FileName"

Or if possible then File-Save dialog shouldn't be shown at all if possible.

The solution would be a form with a button and if user presses the button the exporting would be done.

Can such functionality be done at all?

How to delete a small letter alphabet in code field in NAV?

$
0
0
Dear all,

Some external vendor has inserted a small letter character named "admin" in user id which is a code field in user system table . As a result of which I cannot able to open the user table form or cannot able to retrieve the record using report . and I cannot delete this record also.

When I try to open sql I cannot find the user table since its a system table.

Is there any alternative to delete the admin record from user system table?

I am getting a error as follows

"The User table contains a value in a Code field that cannot be used with Microsoft Dynamics NAV:

Field : User ID
Value : admin


Thanks in advance.

sekar.

spaces within string (COMPRESSARRAY)

$
0
0
I cant seem to get spaces to stick in the 5th line of my array. The SellToAddr variable is of type "text". How can I get spaces in between the pieces of the 5th line?

SellToAddr[1] := "Sell-to Customer Name";
SellToAddr[2] := "Sell-to Customer Name 2";
SellToAddr[3] := "Sell-to Address";
SellToAddr[4] := "Sell-to Address 2";
SellToAddr[5] := "Sell-to City" + "Sell-to County" + "Sell-to Post Code";
SellToAddr[6] := "Sell-to Country/Region Code";
COMPRESSARRAY(SellToAddr);

thanks

Rounding problem

$
0
0
Hello Guru,

NAV 2009. The customer have bought an add-on very long ago, it huge and relates to the Warehouse.
The customer made wrong decision and put base Unit of measure Case, which consists of 6 Jars. So, they produce in cases and sell in jars.
That's was wrong, but that's what we have to deal with now.

Now we've ended up with that tiny 0.000xx numbers in Item ledger Entries and Warehouse Ledger Entries.
And even more: if I make totals with a help of SQL server - the amount is correct. If I do it in the NAV Codeunit - I have those differences. NAV calculates the amount inside it, so..

I've tried Phys. Inventory Journal => Calculate Inventory with a filters >-0.001&<0.0001, but not much of a help. It won't find the smallest things.

Could anyone suggest something standard? or the only way - is to select it on my own and fill the Phys. Inventory Journal and then post?

Thanks for your time

Adding custom filters to the request form?

$
0
0
So I have a report that generates a column "Qty. Available" and would like to create a custom filter that filters a range of the amount in that column. Not really sure where to start. Can anyone help?

Select part of string

$
0
0
I have to save into a variable anly a part of a string,
i.e.: String: "name:Mark"
myVar: "Mark"

Index out of range

$
0
0
I created an array with dimension 10000, I insert the values with
      [...]
      Array[j] := Progr;
      j+=1;
      UNTIL Book.NEXT = 0;
and then I select the values I want.
  FOR k:=1 TO j-1 DO
    IF Array[j+1] - Array[j] <> 1 THEN
      counter += 1;
I tried to change the index but I always get the error "index out of range"... heeelpppp meee!! Thanks!

Re-open closed accounting periods in NAV 5.01

$
0
0
Hello Folks,

Is there a way to re-open closed accounting periods in NAV 5.01.
Thank you. endnavuser
Viewing all 2269 articles
Browse latest View live