Create Sales Order Out side Navision

jimclarkus
Member Posts: 25
Hello friends
i need some Help regarding Sales Order.
I have to develop E-Comm. portal and i want to Create New Sales Order Lines.
Now the problem is we are following the sample code written by FreddyK and Using ServiceHelper.
But i did not find any way how to get sales_order_lines with same web service SalesOrder.
Currently we create salesordersubform web service and accessing such web service separately but this is not proper way as i know(Reason i have all lines and methods available in SalesOrder web service and regarding methods to access lines why i should call again salesordersubform).
Any one can suggest me proper solution.
I got that i need to write some child class service helper and need to handle array type (Boolean, string, key, option , datetime, int , decimal) are handled in parent class.
i need some Help regarding Sales Order.
I have to develop E-Comm. portal and i want to Create New Sales Order Lines.
Now the problem is we are following the sample code written by FreddyK and Using ServiceHelper.
But i did not find any way how to get sales_order_lines with same web service SalesOrder.
Currently we create salesordersubform web service and accessing such web service separately but this is not proper way as i know(Reason i have all lines and methods available in SalesOrder web service and regarding methods to access lines why i should call again salesordersubform).
Any one can suggest me proper solution.
I got that i need to write some child class service helper and need to handle array type (Boolean, string, key, option , datetime, int , decimal) are handled in parent class.
0
Comments
-
ok i got your problem you want to make inherited class which can handle sale_order_line..
currently you can see
private MethodInfo readMultipleMethod;
private MethodInfo readMethod;
private MethodInfo createMethod;
private MethodInfo updateMethod;
private MethodInfo deleteMethod;
private MethodInfo isUpdatedMethod;
// Type information for the returned object
private System.Type objectType;
// Type of the Fields enum from the service (Customer_Fields, Vendor_Fields, ...)
private System.Type fieldsType;
// Type information for the Filter Class (i.e. Customer_Filter, Vendor_Filter, ...)
private System.Type filterType;
// PropertyInfo for the Field Property in the Filter Class
private PropertyInfo filterFieldProperty;
// PropertyInfo for the Criteria Property in the Filter Class
private PropertyInfo filterCriteriaProperty;
this allow you to handle fields via service helper.
If you want to access method like update_line, and other service for line via Only salesOrder web service you need to inherit servicehelper into another class add more functionality and use.
I had already done thisHimanshu Patel
Navision Consultant(Technical and Functional)
Phone No: 09979876474
Email : anshpat2826@gmail.com0 -
[Topic moved from 'NAV/Navision' forum to 'NAV 2009' forum]Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!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
- 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