web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Navision 9 Webservice error

(0) ShareShare
ReportReport
Posted on by 165

Hi,

I am trying to use the webservice page 7004 - Sales Line Discount but i get an error.

Do anyone know how to fix this so i can use the webservice?

Service:
User:
Type: Microsoft.Dynamics.Nav.Service.WebServices.ServiceBrokerException
Message: Naming conflict within the Sales Line Discounts object. Fields "SalesCodeFilterCtrl" and "SalesCodeFilterCtrl" are both transformed to "SalesCodeFilterCtrl". Please find new a name for one of those fields!
StackTrace:
at Microsoft.Dynamics.Nav.Service.WebServices.MetaPage..ctor(PageDefinition page)
at Microsoft.Dynamics.Nav.Service.WebServices.MetaPage.GetPageMetadata(Int32 pageId)
at Microsoft.Dynamics.Nav.Service.WebServices.ServiceFormWsdlAdapter..ctor(Int32 formId, String serviceName)
at Microsoft.Dynamics.Nav.Service.WebServices.MetadataManager.FindWsdlAdapter(String fullName)
at Microsoft.Dynamics.Nav.Service.WebServices.ServiceBroker.MetadataFor(UrlParser relivantURLPart, Uri orginal, TextWriter output)
at Microsoft.Dynamics.Nav.Service.WebServices.ServiceBroker.Invoke(Boolean isSoapMessage, String serviceName, Uri url, XmlReader input, TextWriter output, String sid)
at Microsoft.Dynamics.Nav.Service.WebServices.NavWebService.<>c__DisplayClass3.<>c__DisplayClass5.<ProcessMessage>b__1()
at Microsoft.Dynamics.Nav.Service.WebServices.Disposer.Scope(Code code)
at Microsoft.Dynamics.Nav.Service.WebServices.NavWebService.<>c__DisplayClass3.<ProcessMessage>b__0(StreamWriter streamWriter)
at Microsoft.Dynamics.Nav.Service.WebServices.WCFUtil.GetPopulatedMemoryStream(StreamFillingCallback callback)
at Microsoft.Dynamics.Nav.Service.WebServices.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.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
Source: Microsoft.Dynamics.Nav.Service.WebServices

I have a lot of webservice pages that work, but i get the same error on 9087 - Sales Line Details.

Any tips on how to fix this would be very helpful.

Thomas

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    keoma Profile Picture
    32,729 on at
    RE: Navision 9 Webservice error

    hi,

    check the fields in page 7004. each field must have a unique name (value in column Name). name SalesCodeFilterCtrl is used twice. maybe field CurrencyCodeFilter (or an other field) has the wrong value in the name column.

  • throha Profile Picture
    165 on at
    RE: Navision 9 Webservice error

    Where can i check the fields on a page ?

    Thomas

  • Suggested answer
    keoma Profile Picture
    32,729 on at
    RE: Navision 9 Webservice error

    in the development environment. to edit/change a page (or any other nav object) you need a developer license.

    in the dev.env. goto menu tools/object designer. in the object designer select tab "Page" and select the page with no. 7004. click on the button "Design" on the bottom/right corner. that opens the page in design mode. there you can change the page fields.

  • Verified answer
    Tharanga Chandrasekara Profile Picture
    23,118 on at
    RE: Navision 9 Webservice error

    In a page each field should have a unique value. To view the page in design view follow the following youtube guide.

    www.youtube.com/watch

    msdn.microsoft.com/.../dd338806.aspx

    After you go to design view check is there any duplicate field names available? If so rename them and then check the service.

    As Jonathan said you need to have a developer license to do this. If not you have to contact your NAV partner.

  • throha Profile Picture
    165 on at
    RE: Navision 9 Webservice error

    So if i don't have a developer license the Sales Lines Discount page wont work?

    And if i get a developer license, do the people who are going to use the stuff i make also need a developer license to access the pages i make ?

  • Verified answer
    keoma Profile Picture
    32,729 on at
    RE: Navision 9 Webservice error

    hi,

    yes, according to the error it won't work. this should be fixed. the person (or the company), who will fix that needs a dev. license.

    if you do not have a developer license, give that issue to the dev/support team (your nav partner). if you do not have a nav partner, you should contact a nav partner in your region.

    if you really want to buy a dev. license, follow:

    community.dynamics.com/.../105602.aspx

    community.dynamics.com/.../141910.aspx

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Saurav.Dhyani Profile Picture

Saurav.Dhyani 2 Super User 2025 Season 2

#2
RK-25090803-0 Profile Picture

RK-25090803-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans