Hi (NAV 2017, oData), Sorry if this has already been answered somewhere, I've had a look around and can't seem to find anyone who has had the same error as below: I'm using the oData method "AddToItemReclassJournal" to (obviously) post an item to the Reclass Journal, my problem is... If I leave the "Journal_Batch_Name" field blank, it defaults to the user that appears first in alphabetical order (seems strange to me, but hey ho...). The problem comes when I try to pass my own value to override the "default" batch name. Example: At the moment, we have a batch name called "ALAN", so if I do no pass anything through "Journal_Batch_Name" then by default, everything is getting posted under the "ALAN" Batch name. This is where it gets strange...if I pass "ALAN" through "Journal_Batch_Name" then, again, it posts under "ALAN", with no errors. However, if I try and pass "API" through "Journal_Batch_Name" I get an error: "The Item Journal Line already exists. Identification fields and values: Journal Template Name='RECLASS',Journal Batch Name='ALAN',Line No.='10000'". By contrast, if I remove "ALAN" from the list of batch names and don't pass anything through " Journal_Batch_Name" , everything is posted under "API" by default (assuming it's due to this being next alphabetically). BUT...if I then pass "API" through " Journal_Batch_Name", it posts fine, with no error (unlike before, when the default was "ALAN"). Very strange. Hopefully, I'm doing something silly and it's a 10 second fix, any suggestions would be great. Many thanks in advance!
↧
Forum Post: Passing Journal Batch Name when creating Item Reclass
↧
Forum Post: Format Validation of GUID field in NAV 2009
Hi everyone, I have created a new "GUID field" with a text data type due to an integration. I need to VALIDATE it. Now i know how to use the validation function. But i need to validate so when the GUID is manually entered through a form in NAV, I need to check if the format is correct or not. If it has an incorrect format. It has to throw an error. Example correct GUID: "CDEF7890-ABCD-1234-ABCD-1234567890AB" Incorrect GUID: "CDEF7890-ABCD-1234-ABCD-234567890AB" ('This has wrong format with a digit missing') I have checked into Evaluate and Format function in NAV, but i dont have an idea on how to use them with GUID field. Can anyone please guide me on what should i do to Validate the format of the GUID field? Thanks
↧
↧
Forum Post: RE: Format Validation of GUID field in NAV 2009
when you have GUID field in table , you cannot enter wrongly formatted Guid. Not exactly sure what more validation you require here
↧
Forum Post: RE: Passing Journal Batch Name when creating Item Reclass
I am guessing that you have added a page to Web Services and now try to use that webservice in odata??? If the answer is yes, then you have do understand that standard pages are not necessary made for webservices - So you kinda have to create your own version. Have you tried to see if it works, if you use directly (in a codeunit in NAV 2017) ?
↧
Forum Post: RE: Format Validation of GUID field in NAV 2009
Sorry about that i didnt mention this, The GUID field has been Created as a Text Data Type in the Table. I will edit it in the main thread.
↧
↧
Forum Post: RE: Format Validation of GUID field in NAV 2009
EVALUATE(quidvalue,textvalue) should validate
↧
Forum Post: RE: Certification : Dynamics 365 Business Central
But, some how there should be certification for NAV/BC for the recognition of the consultants expertise in the product.
↧
Forum Post: RE: Certification : Dynamics 365 Business Central
Well, not necessary - if you just google a bit on MB-70X then you'll se a LOT of sites selling the answers of the old exams. Meaning a lot of people that got certified simply purchased the answers instead of doing training. Furthermore a very big part of the questions on a site like this one, would NEVER had been asked if they just took a training class or two on the topic that they are asking. And on a daily basis I see code that are scaringly wrongly written. I see this as a result of that Microsoft Partners (especially in some regions of the world) that they do not want to invest in their employees - and certifications will not change that, unfortunately.
↧
Forum Post: RE: How do i get the Actuals on the Job?
make sure that invoice has job no and job task no before you post.
↧
↧
Forum Post: RE: Get the Nav Configuration Details and show it in Console Application using Visual Studio
Thanks, Erik. Can you please elaborate on the steps to get the config details in Powershell. Regards, Jacob
↧
Forum Post: RE: Get the Nav Configuration Details and show it in Console Application using Visual Studio
Take a look here and find it yourself docs.microsoft.com/.../overview
↧
Forum Post: RE: Certification : Dynamics 365 Business Central
[quote userid="98874" url="~/nav/f/developers/96458/certification-dynamics-365-business-central/502038"] Meaning a lot of people that got certified simply purchased the answers instead of doing training. [/quote] Palle, is it obligatory to do training? You wrote like it is not possible to pass the exam without any training
↧
Forum Post: RE: Certification : Dynamics 365 Business Central
Hi Red, No, training is NOT obligatory. Neither should it be, why should you be forced to participate in training, if you know the stuff already. The "problem" Microsoft is facing, is that one hand they know very well that certifications are not really worth much. But on the other hand, then how else can they "prove" that their partners and the their professionals know the product good enough to be able to implement it? But training is important, very important. Especially when we have big technology changes as we have in these years. We going from C/Side to VSCode, C/AL to AL, onprem to cloud. I fully agree with Palle, that there are a lot of partners who simply does not invest in their employees continued education. And that's the real problem !
↧
↧
Forum Post: RE: Is integrating Visual Studio 2017 with NAV possible?
Please join the discussion here instead: https://dynamicsuser.net/nav/f/developers/96449/get-the-nav-configuration-details-and-show-it-in-console-application-using-visual-studio This thread is closed.
↧
Forum Post: RE: Certification : Dynamics 365 Business Central
HI Erik. Thank you for answer and I ototally agree with 2 points: - investment in their employees is real problem. - it is hard to support Exams when we have changes from CU to CU Thanks for answer again.
↧
Forum Post: XMLPORT import error
Hello All, My requirement is to import Purchase Lines. What I did is, on PO page I gave two buttons(on push XMLPORT are running) one for export and other for import the data. Purchase Header will be available, so when I run POXMLExport following csv file is generating with PO No and headers only(Line No is removed from file). then user will edit file, for Item No, Loc Code and Qty and will import by button PurchLineImport. Export xmlport working fine but when I am trying to edited csv file I am getting following error. Import xmlport design is as below can someone tell me where and what mistake I am doing. using NAV 2017. Thanks in advance.
↧
Forum Post: RE: XMLPORT import error
Purchase Order with number (104001 in this case) has to be present in purchase header before it can be used in purchase lines
↧
↧
Forum Post: RE: XMLPORT import error
Thanks for reply Imran. Issue was with sequense of fields taken in xmlport. DocType should be prior to Doc No. Its importing now.
↧
Forum Post: RE: XMLPORT import error
definitely document type is prior to document no. :)
↧
Forum Post: RE: XMLPORT import error
sorry i didnt see the second screen shot, makes sense now, the document type must be there before document no. you are right
↧