Web service for item tracking lines
casanova
Member Posts: 194
hi all
I want to develop sales order for header and lines
including for item tracking lines
for sales order, header and lines no problem
but for item tracking lines, i published page 6510 Item Tracking lines
once i add in web reference using this web service it has error message like this
i want to insert serial no or lot no using web service
any clue?
thanks
I want to develop sales order for header and lines
including for item tracking lines
for sales order, header and lines no problem
but for item tracking lines, i published page 6510 Item Tracking lines
once i add in web reference using this web service it has error message like this
- <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> - <s:Body> - <s:Fault> <faultcode xmlns:a="urn:microsoft-dynamics-schemas/error">a:Microsoft.Dynamics.Nav.Service.WebMetadata.ServiceBrokerException</faultcode> <faultstring xml:lang="en-US">Naming conflict within the Item Tracking Lines object. Fields "Text020" and "Text020" are both transformed to "Text020". Please find new a name for one of those fields!</faultstring> - <detail> <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">Naming conflict within the Item Tracking Lines object. Fields "Text020" and "Text020" are both transformed to "Text020". Please find new a name for one of those fields!</string> </detail> </s:Fault> </s:Body> </s:Envelope>
i want to insert serial no or lot no using web service
any clue?
thanks
0
Comments
-
Create a Codeunit and add a function with parameters in insert the serial no.
CreateReservEntry.SetDates( 0D, 0D); CreateReservEntry.CreateReservEntryFor( DATABASE::"Item Journal Line", ItemJnlLine."Entry Type", ItemJnlLine."Journal Template Name", ItemJnlLine."Journal Batch Name", 0, ItemJnlLine."Line No.", ItemJnlLine."Qty. per Unit of Measure", 1, 'Serial no put here', 'Lot No.'); CreateReservEntry.CreateEntry( ItemJnlLine."Item No.", ItemJnlLine."Variant Code", ItemJnlLine."Location Code", ItemJnlLine.Description, ItemJnlLine."Posting Date", ItemJnlLine."Document Date", 0, 2);
Change the ItemjnlLine with sales line variable.0 -
I know this is an old post, but I'm facing the same issue. We are using webservices to insert sales invoices and would like to insert the serial no at the same time. Is a codeunit really the only way? This seems like a NAV bug that should be fixed.
For us, we do not have a dev license, so cannot create a codeunit. What is our option now? Is there a canned codeunit that we can import?0 -
You'll need a solution center to do the dev work. Shouldn't take more than half an hour.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 322 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
