Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all 10032 articles
Browse latest View live

Calculating Available quantity for different departments

$
0
0
Hi

We have 2 sales departments - Retail and Wholesale

When we buy items for stock (Item variants), we would like some of the purchases to be "reserved" by our retail department.
Example:
We buy 1000 of one Item Variant

The 400 is reserved by Retail department. Retail department are allowed to sell up to 1000 but Wholesale are only allowed to sell 600. For both departments the standard available calculation should apply when entering a sales line (if we have 1000 in stock (600 for WHS) and 100 in open sales lines - WHS - thenonly 500 should be available for WHS and 900 for Retail)

We are running NAV 2016

Does anyone have inputs how to handle this?

We don't want to use two locations as this will require double stock. Meaning that we only want to handle our pick-bins as one stock.

I tried to browse MIBUSO for discussions concerning this, but i didn't found it

Looking foreward to hearing from you.

Regards
Mads Morre




















How To connect a serialPort to nav 2017

$
0
0
hi i have idea it's to connect NAV 2017 directlly to serialPort ( Bridger in this exemple ) and receiv the value from it , so wich plate form can be do this ( client desktop or web client ) and which technologie (api ,..) .
thank you

Jobs, WIP, budget help wanted

$
0
0
Hi,
Help wanted on debugging jobs and WIP calculation against budget etc.
We have a system running, set up with Jobs and WIP, but we need help understanding the WIP calculation and debugging the existing jobs.

Help will be through phone/teamviewer with a colleague. Payment discussed before starting up.

Thanks.

How to change client file name to server file name

$
0
0
I want to create a text file on a location that the user can choose.
using file management.savefiledialog the user can select location.

when the location is on a server drive the location is mentioned as
'K:\Data\file.txt'

the textfile is created as temporary server file.
when finished i want tod copy the temp file to the clientfilename.

the server cant find the path to 'K:'

when the filename is changed to \\server1\data\file.txt the server can find it and it works.


is there a function to change 'K:\Data\file.text' to '\\server1\data;file.txt'?

hopefully this description is clear enough.

thanks.



What Is Totalscausedby Function (report)?

$
0
0
Please give me Detail information

How to select some group from Matrix page?

$
0
0
Dear developers,
I want to select one or more group from matrix group on page inorder to using filter coding.
Example:
Purchase line by Vendors. Select Vendor1 and Vendor3. Should I use Boolean variable to select these matrix group? How to?
1hi9i0hk63xf.png

Facing Opening Balance Mismatching in between Ledger and Detail Trail Balance

$
0
0
Hi Everyone,
I am using Nav 2016, while i am generating ledger report then opening balance is showing same for all locations but when i am going to detail trail balance and checked by giving location filter then opening balance showing either Zero or in Negative amount. if i am checking without filter then it is showing the same amount with negative sign.

jn8fwlfxxcqh.png


Please reply as soon as possible. I will wait for your suggestions.
Thanks

How to contact Microsoft regarding Dynamics

$
0
0
Reading back through threads where customers have had significant issues with partners, the general suggestion is to first contact Microsoft. Does anyone know how to go about this in the UK? In trying to find contact details for anyone I just find myself in an infinite loop on MS sites.

Nav 2016 GST Report view error

$
0
0
I have done india GST setup in nav 2016 and after posting sales & purchase invoices when i tried to generate the GSTR-1 File format or GSTR -3B i am getting following below error message for any option selected j704c7iq7qs0.png

Nav2018 changed textconstant comment behavoir

$
0
0
In a textconstant you could use special 'Comment' language translations. These were stored as language '@ @ @'. Before 2018 when you provided no other languages using this textconstant, this would result in the value in the 'comment' language. In 2018 it will return an empty string if you don't provide any translations.

Not so happy about this change. It was a perfect way to store 'hard' text with no need for translation. For anyone using this system the same as I did, be aware your code will run differently. Now you will have to at least put this in the 'ENU' section.

Does anyone has any idea on how the Navision encrypt / decrypt works in NAV 2013 ?

$
0
0
I am trying to encrypt a text file and save the encrypted file in the disk. Then, use the encrypted file to decrypt and write the contents back to another text file. For the encryption / decryption, I am using the NAV codeunit 824 Encryption Mgt. functions. Although the encryption part seems to work, but when I try to decrypt the file, I get the following error:

This message is for C/AL programmers: A call to Microsoft.Dynamics.Nav.Encryption.RSAMachineKeyProvider.Decrypt failed with this message: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.

Do anyone have any idea on working with encryption / decryption in NAV 2013 ?

Report 2013 not shows all the data

$
0
0
This happends me sometimes, normally increasing the space for the variable in the layout its enought, but today not.

When I try to print a report with the Preview option I dont have any problem, but with the option Print -> PDF(for example) the report seems to skip some variable from report...

This is the report.
mv89m13j6uep.png


With the Preview Option
l6h2ndbiw2az.png


With the option (Print -> PDF) or (Preview -> print layout)
wfl6tlnmcuqd.png

tzt9iyi6ssfw.png

ku4uhbz5u09z.png

Report SAVEASPDF set option /filter on request page

$
0
0
Hi all,

I have written code which does a SAVEASPDF on the aged account receivable report. So far so good, code works.
But what I see is that the "Aged of" date is not the currect or workdate, what I would like it to be.
It's an option defined on the requestpage.

I have tried and searched how to set this field. Probalbly it goes through a report variable.
Could you give me a hint how to access this field in code?

Thanks,

Rob

How to create barcodes in navision without using LS retail

$
0
0
Hi Experts,
Please tell me how to create Barcode in Navision in LS retail we have Barcode table and Barcode Mask Table so how we can do that in navision because we don't posses those tables. :roll:

Problem with load a NavBarcode DLL

$
0
0
Hello guys I've a problem with barcodes
I've a function that loads a barcode but isn't work..NAV Tell me this message
bsfgbswsnj71.png

6n0ulhsa4ho2.png

The code:

LOCAL CreateBarCode(EncodeMe : Text[1024];VAR TempBlob : TEMPORARY Record Item)
TempBlob.INIT; // Init a new temp record
TempBlob.Picture.CREATEOUTSTREAM(stream); //Get a outstream from the blob to use to save the barcode image
Image := Barcode.CreateBarcode(EncodeMe,600,150,'right', 'ITF-14', FALSE,'RotateNoneFlipNone','BOTTOMRIGHT'); //generate a barcode image with the given settings
//Image := Barcode.CreateBarcode(EncodeMe,300,150,'center', 'Code 128', TRUE,'RotateNoneFlipNone','BOTTOMCENTER'); //generate a barcode image with the given settings
Image.Save(stream,ImageFormat.Bmp); //Save the image to the stream connected to the Tempblob , in the BMP format
TempBlob.INSERT(); //Save the record

Were i can load the dll, Could anyone help me? Thanks.

Can't open tablet client

$
0
0
Hello,

we recently setup a webclient and the universal app. Everything works fine except the tablet client, which runs into the following error when you try to connect with the app or try to resolve the tablet.aspx url:

error accessing website microsoft dynamics nav 2016 web client
URL: https://XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Type: System.InvalidCastException
Message: The object of type "Microsoft.Dynamics.Framework.UI.GroupControl" cannot be converted to object of type "Microsoft.Dynamics.Framework.UI.ActionControl".
StackTrace:
bei Microsoft.Dynamics.Nav.WebClient.Decorators.CueGroupActionDecorator.DoBuild(LogicalForm form, MasterPage pageDefinition, UIBuilderContext context)
bei Microsoft.Dynamics.Nav.Client.FormBuilder.PageBuilder.ExecuteDecorators(LogicalForm form, MasterPage definition, UIBuilderContext context)
bei Microsoft.Dynamics.Nav.Client.FormBuilder.PageBuilder.Build(MasterPage definition, BindingManager bindingManager, UIBuilderContext context)
bei Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.CreateLogicalForm(MasterPage metadata, FormState formState)
bei Microsoft.Dynamics.Nav.Client.FormBuilder.BuilderSession.CreateLogicalForm(Int32 formId, FormState formState, Int32 retryCounter)
bei Microsoft.Dynamics.Nav.Client.FormBuilder.NavigationTreeProvider.ProcessContent(IEnumerable`1 actionBaseDefinitionList, NavigationNode parentNode, UIBuilderContext context)
bei Microsoft.Dynamics.Nav.Client.FormBuilder.NavigationTreeProvider.ProcessNavigationGroups(LogicalControl parent, IEnumerable`1 actionBaseDefinitionList, NavigationNode parentNode, UIBuilderContext context)
bei Microsoft.Dynamics.Nav.Client.FormBuilder.NavigationTreeProvider.ProvideNavigationPane(MasterNavigation definition, UIBuilderContext context)
bei Microsoft.Dynamics.Nav.Client.Web.NavWebBuilderSessionInitializer.NavigationServiceTreeOnLoad(Object sender, Object e)
bei Microsoft.Dynamics.Framework.UI.UX2006.NavigationService.get_NavigationRoot()
bei Microsoft.Dynamics.Nav.Client.NavRunHomepagePropertyBagInvokedAction.Validate(FormPropertyBag queryParameters, UISession uiSession, Object invocationState)
bei Microsoft.Dynamics.Framework.UI.LogicalFormActivator.GeneratePropertyBagCommand(FormPropertyBag propertyBagToUse, UISession uiSession, Object invocationState)
bei Microsoft.Dynamics.Framework.UI.LogicalFormActivator.ValidateAndInvokePropertyBag(FormPropertyBag propertyBagToUse, UISession uiSession, Object invocationState)
bei Microsoft.Dynamics.Framework.UI.Web.WebPropertyBagInvoker.InvokeFormPropertyBag(FormPropertyBag propertyBag)
bei Microsoft.Dynamics.Framework.UI.Web.LogicalFormInitializer.<>c__DisplayClass1.<Create>b__0()
bei Microsoft.Dynamics.Framework.UI.LogicalOperationInvoker.InvokeAndHandleExceptions(Func`1 action, IExceptionHandler exceptionHandler)
Source: Microsoft.Dynamics.Nav.Client.WebClient

Has anybody dealt with this issue before and can help me?

Flowfields or variables?

$
0
0
Hi everyone,

I have to display some fields in a page that are coming from another table.
What is the better/cleaner solution? Add the fields as flowfields in the table and just show them in the page? or add them as variables directly on the page?
The fields do not require any calculation, just showing names and bank details...

Thanks in advance :smile:

Encrypt/Decrypt a text file in NAV2015

$
0
0
Hi all,
I am trying to use Navision encrypting functionality, how can i encrypt/decrypt a text file with n no's of records in it. Also when i try to to decrypt the text string,system throws an error "Unable to decrypt data. The data was encrypted using a different key."

Best practices in NAV2016/2017 for reading data from an external SQL database

$
0
0
Hi all,

We have to read (and potentially write) data from an external SQL database. The volume is not super-high (per day, new/modified record counts measured in the 100's at most, and about 6 tables). This data would be "staged" into temporary tables in NAV, then processed via a Codeunit called from a Job Queue Entry to create the "real" tables in NAV.

In pre-2016 days, I would be tempted to write ADO code, so one option is to write ADO.NET code.

I have also been reading about the new linked object "TableType" of "ExternalSQL" and the related commands to connect (e.g. REGISTERTABLECONNECTION and associated commands).

There are a few posts here on MIBUSO that talk about creating views directly in SQL, then using the "old style" linked objects. But there are a number of opinions in the NAV community that I respect that suggest NOT using views or custom stored procedures in a NAV database.

Are there any other techniques that would be considered "Best Practices" in the NAV2016/2017 era? Links to real examples would be appreciated.

Thanks,

Ron

Word Templates As Email Body

$
0
0
This is a nice feature because we can bring inside Navision the invoice e-mailing which we did formerly with an external tool. The issue is that the cover letter, the body of the email is for us just a long narrative text, nicely formatted, no database fields, just stuff like dear customer thank you for buying blah blah blah warranty blah blah we love you blah blah end. But I need it in two languages, so I cannot just type it as a fixed text in the Word template.

Creating a separate ML TextConstant for every section looks weird, and how do I even add the formatting? If I have a link in the middle of a long section, I create the text up to it as one text constant, the link as a second and the rest as a third one?

I would much rather write it directly in Word, but in that case I need to link a separate layout per language somehow.

Hmmm... one possibility would be customizing the Table77 GetEmailBody function that if the layout name ends with an _ like INVMAIL_ then it automatically goes looking for INVMAIL_ENU INVMAIL_DEU layouts depending on the report language...
Viewing all 10032 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>