Create sales order in specific no series using page service

bzuidgeest
Member Posts: 3
I have a programming task that requires me to create a sales order in navision using the page webservice. I can add an order fine and it is made in the default order number series.
However I need to be able to specify which number series to use (To distinguish web sales). We cannot set the series to manual input, that is not an option. Any other way?
I know enough about webservices, but I'm not very navision literate, so please make answers complete
However I need to be able to specify which number series to use (To distinguish web sales). We cannot set the series to manual input, that is not an option. Any other way?
I know enough about webservices, but I'm not very navision literate, so please make answers complete

0
Comments
-
In NAV it is easy - just set the No. Series field to the code of the no. series before insert. But in webservice is one problem. When using Create, it pass only the primary key values. Thus this way doesn't work. But I am not sure if it is problem of all versions or only NAV 2009R2.0
-
Hi bzuidgeest,
Use code unit to create new document as your requirement.
Regards,
YukonMake Simple & Easy0 -
Is creating a codeunit really the only option? We do not have a developer license for NAV2013 so we would have to buy that or something. The standard web service should be able to do anything the interface can, but that's only my opinion. I really do not like using multiple separate calls to reach a single goal.0
-
Hi bzuidgeest,
I still can't find another way for this. You need to avoid the "Confirm,Input" such kind of function. If not you will be facing with "call back" error. If you don't have dev license or partner how to ....You still need 1 code unit to archive to get some Navision function if you want to use Navision function(eg. Release Doc.).kine wrote:But I am not sure if it is problem of all versions or only NAV 2009R2.
Not only on NAV2009R2.
Regards,
YukonMake Simple & Easy0
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
- 320 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