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

GST value changes (double,triple)as per no of page in changes in report?

$
0
0
hi all,
i have customize NAV2016IN standard report 407 purchase credit memo. As I enter no. of copies GST value become double,triple.. so on. how i kept it constant as in first page.
thanks in advance.

C# 8.0 in Nav2018 20783 JavaScript Add-In

$
0
0
I am currently developing a JavaScript Add-In for Navision 2018 and want my Add-In to resize based on data.
Since i only export an interface in my dll i want to implement a "default interface implementation" leading to an interface that looks like this:

2k4tk9dd2s0z.png

That is generally possible from C# 8.0/.Net 2.1 and upwards.

My problem now is if i change my dll to .Net 2.1 and compile no error is thrown butif i implement it into nav none of the events and function is accessible like shown in the following screenshot:
abd4hwbmt303.png

Executes external programs and operating system commands from Dynamics Busniess central (SHELL)

$
0
0
Hello

Dos anybody know i can i emplemt SHELL in extention 02 programming?

Regs.
Firas

File System in Extention Programming Dynamics BC Wave 2

$
0
0
Hello
How can transfer the below code to Extension code?

Regards
Firas



/Var
//Filesystem :File

CLEAR(Filesystem);
Filesystem.SETRANGE("Is a file",TRUE);
Filesystem.SETFILTER(Path,'C:\FilePlace');
Filesystem.SETRANGE(Name); //Update virtual tabel
Filesystem.SETFILTER(Name,'',' *.xml');

IF Filesystem.FINDSET(FALSE,FALSE) THEN Repeat
Until FileSystem.next = 0;

Create Dimension set id for the combination of three 'Dimension code': Dept,Project and Channel.

$
0
0
Hi Everyone,(Nav-2018)

I would like to create 'Dimension set id' for the combination of three 'Dimension code': Dept,Project and Channel in "Dimension set entry" table. for this i am following the below link:
https://dynamicsuser.net/nav/b/amol/posts/dimension-update-in-nav-2016

For this: Step:1. I have created one variable for record "Dimension set entry" with property temporary=yes,as they told.
Step:2. I am not able to get that how can i add all above three dimension code combination:Dept,Project and Channel by cal/code. and further to call GetDimensionId of codeunit:DimensionManagement.

Please guide me.

Thanks,
Mani.

How can i get rid of the error.

$
0
0
Hi All,

I have tried to change the sales order from codeunit.In that time i am getting the below error.

Microsoft Dynamics NAV
An attempt was made to change an old version of a Sales Header record. The record should first be reread from the database. This is a programming error. Identification fields and values: Document Type='Order',No.='1221'
OK


Can you please suggest me some steps to resolve this error.

Thanks in advance,
Jacob.A

Question for Devs re: 2017 vs. BC365

$
0
0
I have a bunch of SQL scripts that I run against a NAV 2017 DB to extract financial information (client requirement, not my idea).

My question is, will the SQL DB after upgrading to BC365 be similar enough that the fields that currently exist in the same table structure, or is it totally different? I understand there may need to be tweaks, I just want to know in advance if I'm going to have to do them all from scratch.

Thanks!

Issue in Event

$
0
0
Dear Sir,

In NAV 2016, there is an Event function called OnBeforePostItemJnlLine in Codeunit 22 Item Jnl.-Post Line.

I am subscribing the same function in my custom codeunit & call the Codeunit 22 Item Jnl.-Post Line to Post something.
It's working with a message "There is nothing to Post" & it does not clear the Page.

What to do without modifying any base ? Please suggest.

Regards,
navuser1

asp.net core 2.1 add web service for NAV

Cost loading on Partial GRN with partial Item charges assignment.

$
0
0
Hi Experts,

One of my clients has imported the Goods and it is laying out in the Bonded warehouse. he has received the Clearing agents' invoice of the total quantity whatever is import like handling charges freight, etc.

now they will do the partial multiple time in future, but they want to pay that clearing agents with that handling charges, etc and wants to load that cost on partial GRN now and in future.

what will be the best solution in NAV? except for creation of new Location for GRN.

Looking forward to nearby solutions.


Thanks in Advance.
Kams.

Turn off "An approval request has been sent." after send approval

$
0
0
hi all.
usually after we send approval request, it will prompt message "An approval request has been sent."
can we turn this off without changing the coding?
Thank you.

Creating a new company

$
0
0
Helo.

I'm trying to create a new company, but I'm having trouble to open it. When I try to open it, it starts to inicialize but stops with an error.

vg46ma0pq44w.jpg

Debugger showed me, that CodeUnit 2 pops up the error, however I have no clue where to start looking for the text that is mentioned in the error. Code stoped at line: InsertSourceCode(Flushing,Text99000004,Text99000005);

0ryi7dtn6kkf.jpg

Any ideas where to look or what to look for?

Thank you in advance for all the help.

John

Unable to upgrade from BC140 C/AL to BC150 AL because of destructive changes error

$
0
0
I have successfully converted our C/AL solutions to AL , merged the code with the BC150 base application source files and build a new base application app.
I'm trying to upgrade our BC140 database to BC150 combining the following two online documents from Microsoft:

https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/upgrade/upgrade-unmodified-application
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/upgrade/upgrade-technical-upgrade-v14-v15

I have technical upgraded to BC140 CU5 (14.0.35916) and after that doing the steps below.

# Load BC140 Cmdlets
Get-NAVAppInfo -ServerInstance BC140 -SymbolsOnly | % { Unpublish-NAVApp -ServerInstance BC140 -Name $_.Name -Version $_.Version }
Stop-NAVServerInstance -ServerInstance BC140

#Restart PowerShell and load BC150 Cmdlets
Invoke-NAVApplicationDatabaseConversion -DatabaseServer .\BCDEMO -DatabaseName BC150

Start-NAVServerInstance -ServerInstance BC150
Publish-NAVApp -ServerInstance BC150 -Path '.\.alpackages\System.app' -PackageType SymbolsOnly
Publish-NAVApp -ServerInstance BC150 -Path '.\.alpackages\Microsoft_System Application.app' -SkipVerification
Publish-NAVApp -ServerInstance BC150 -Path '.\Microsoft_Base Application_15.0.36145.0.app' -SkipVerification

Sync-NAVTenant -ServerInstance BC150 -Mode Sync

Everything goes well without any warnings or errors until the last step.
I get to following error:

Sync-NAVTenant : The schema synchronization may result in deleted data. The following destructive changes were detected:
Table: 3, Payment Terms: Deleted
Table: 4, Currency: Deleted
Table: 5, Finance Charge Terms: Deleted
Table: 6, Customer Price Group: Deleted
Table: 7, Standard Text: Deleted
Table: 8, Language: Deleted
Table: 9, Country/Region: Deleted
Table: 10, Shipment Method: Deleted
Table: 11, Country/Region Translation: Deleted
Table: 13, Salesperson/Purchaser: Deleted
etc...
...aUpgradeMgt.SetTableSyncSetup(DATABASE::"PFProd. BOM Template Line",[Upgrade Table Id],TableSynchSetup.Mode::[Mode]);
DataUpgradeMgt.SetTableSyncSetup(DATABASE::"PFSalesperson Range",[Upgrade Table Id],TableSynchSetup.Mode::[Mode]);
DataUpgradeMgt.SetTableSyncSetup(DATABASE::"PFFreight Charge",[Upgrade Table Id],TableSynchSetup.Mode::[Mode]);
etc.

App information:

PS C:\WINDOWS\system32> Get-NAVAppInfo bc150pf

Id : 63ca2fa4-4f03-4f2b-a480-172fef340d3f
Name : System Application
Version : 15.0.36145.0
Publisher : Microsoft
ExtensionType : ModernDev
Scope : Global

Id : 437dbf0e-84ff-417a-965d-ed2bb9650972
Name : Base Application
Version : 15.0.36145.0
Publisher : Microsoft
ExtensionType : ModernDev
Scope : Global

PS C:\WINDOWS\system32> Get-NAVAppInfo bc150pf -SymbolsOnly

Id : 8874ed3a-0643-4247-9ced-7a7002f7135d
Name : System
Version : 15.0.36117.0
Publisher : Microsoft
ExtensionType : ModernDev
Scope : Global
Brief :
Description :
Compatibility Id : 0.0.0.0
Developer Tenant ID :
Privacy Statement :
EULA :
Help :
Url :
Logo :
Screen Shots :
Prerequisites :
Dependencies :
Package Id : 0362f08d-46f5-4c8d-ba19-75818cbac18e

Invalid function when consuming SOAP web service

$
0
0
Hi.
I have a problem to consume a web service made with SOAP in .net with Microsoft Business Central. It does not recognize the functions.
The fact is that I have been using the same web service since Nav 2009 and I have never had problems, but since Business Central (BC14 and BC15), it gives errors.
I discovered that the functions became [External] -> Scope ('Extension') -> Scope ('Cloud') depending on the version, but I've tried everything and it still doesn't work.
The SOAP Services of the service is active.
This is the error you make when calling the web service:

System.Web.Services.Protocols.SoapException: Method "Gfu_ObtUsuarios" is invalid!
en System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
en System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
en PasarelaWebServiceDvMobileLogistics.WS_Sailor.WS_MobileLogistic.Gfu_ObtUsuarios(String ps_Usuario, String ps_Password, String ps_IdAndroid, String& ps_xml)
en PasarelaWebServiceDvMobileLogistics.ServicioClientesAndroid.ObtUsuarios(Int32 p_nUsuario, Int32 p_nPassword, String p_strIdAndroid)

And in event viewer it gives this error:

Server instance: BC150
Category: Runtime
ClientSessionId: 15235b5c-0cf0-4507-82ea-1a1adbc21c47
ClientActivityId: e337ad39-51e8-40da-8837-dc15cd80fd6b
ServerSessionUniqueId: 3a8c2b8d-8354-439b-91dd-05995c6dbc89
ServerActivityId: bced3485-a43e-445f-95f8-ff333f0c46f7
EventTime: 12/17/2019 12:00:33
Message (ServiceBrokerException): RootException: ServiceBrokerException
Method "Gfu_User" is invalid!
ExceptionStackTrace:
at Microsoft.Dynamics.Nav.Service.SOAP.ServiceCodeunitXmlAdapter.Dispatch(XmlElement input, XmlWWriter output)
at Microsoft.Dynamics.Nav.Service.SOAP.XmlWWriter.Element(String name, XmlCallback elementHandler)
at Microsoft.Dynamics.Nav.Service.SOAP.XmlWWriter.Element(String name, XmlCallback elementHandler)
at Microsoft.Dynamics.Nav.Service.SOAP.XmlWWriter.SetNamespace(QNamespace namespace, XmlCallback nodeHandler)
at Microsoft.Dynamics.Nav.Service.SOAP.SoapHandler.Microsoft.Dynamics.Nav.Service.SOAP.IXmlRequestHandler.Dispatch(XmlElement input, XmlWWriter output)
at Microsoft.Dynamics.Nav.Service.SOAP.ServiceBroker.DispatchSoap(WebServiceUrlInfo relivantURLPart, XmlReader input, TextWriter output, NavTenant tenant, PerformanceLog perfLog)
at Microsoft.Dynamics.Nav.Service.SOAP.ServiceBroker.Invoke(Boolean isSoapMessage, Uri url, XmlReader input, TextWriter output, NavUserAuthentication navUserAuthentication, PerformanceLog performanceLog)
CallerStackTrace:
at Microsoft.Dynamics.Nav.Service.SOAP.ServiceBroker.Invoke(Boolean isSoapMessage, Uri url, XmlReader input, TextWriter output, NavUserAuthentication navUserAuthentication, PerformanceLog performanceLog)
at Microsoft.Dynamics.Nav.Service.SOAP.NavWebService.<>c__DisplayClass3_3.<ProcessMessage>b__2()
at Microsoft.Dynamics.Nav.Service.SOAP.Disposer.Scope(Code code)
at Microsoft.Dynamics.Nav.Service.SOAP.WCFUtil.GetPopulatedMemoryStream(StreamFillingCallback callback)
at Microsoft.Dynamics.Nav.Service.SOAP.NavWebService.ProcessMessage(Message message)
at SyncInvokeProcessMessage(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
at System.ServiceModel.Dispatcher.MessageRpc.Wrapper.Resume(Boolean& alreadyResumedNoLock)
at System.ServiceModel.Dispatcher.ThreadBehavior.ResumeProcessing(IResumeMessageRpc resume)
at Microsoft.Dynamics.Nav.Runtime.NavSynchronizationContext.<>c__DisplayClass1_0.<ClearThreadLocalStorageDelegate>b__0(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()


ProcessId: 9464
Tag: 000000D
ThreadId: 24
CounterInformation:
CustomParameters: 00000000-0000-0000-0000-000000000000

If anyone knew the problem, I would be very grateful, because I have been behind the problem for a long time.
Thanks.

The NAV 2013 R2 klient crashes witout any messages

$
0
0
When a certain user opens the customer card (page 21) of a certain customer and then opens the job list (page 89) NAV closes immediately without any messages.
What could be the reason for this?
If i'm doing the same there is no problem.

Can i create Flowfield with (Field A - Field B) or (Field A / Field B) without coding ?

$
0
0
Can i create Flowfield with (Field A - Field B) or (Field A / Field B) without coding ?

Error when printing a check in Navision

$
0
0
Good day,

My cashier attemps to print a cheque, which is always possible in Navision, but now is gettint an error message
"Seventy Eight Cents Results in a written number that is too long".

How to fix two invoices with one invoice number

$
0
0
Hello All,

My NAV has created two invoices to two different customers, however these invoices has the same invoice number! One is already posted but the other one failed because the number has already been posted. How do I sort this out?

How to mapping the xml file field name attribute to record field by looping

$
0
0
Hi Experts:
I produce a Item data to xml format file and passing to NAV code unit web service for receiving.
How could I map the xml file field name attribute to record field by looping field record and give the xml value when received the xml file.

the xml file format like this
<col_1 filedname="No." >001</col_1>
<col_2 filedname="Description">Test</col_2>

I want to insert a new item record and let the new record No.=001, Description=Test, ... etc.

Is it possible to do it?

Reservation of incoming documents

$
0
0
Dear Sir,

One of my clients storing their incoming documents in NAV 2016 Database as blob files. In this ways, the database size is getting increased day by day rapidly. To avoid unnecessary database increase, I have given a proposal to reserve the same (document wise) in separate place instead of NAV Database.

Kindly share, if you've a better solution on this matter.

Thanks in adv,
navuser1
Viewing all 10067 articles
Browse latest View live


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