on 2011 Apr 27 10:56 AM
Hi all
I'm writing an application to deal with my SAP Business One ( version 2007A SP1 Pl 09 ) using DI-API
I managed to create sales orders from an excel file using this
oSalesOrder.Lines.Add ( for each lines i need )
oSalesOrder.Add ( to create the sales order )
I need to do something more and so i'm asking some suggestion from you
1) I need to know the docnumber as soon i execute the oSalesOrder.Add and write it down on my execl application
2) I need to print automatically the order as soon i have created it using Crystal report
Some suggestions ??
Request clarification before answering.
Hi
To get the docnumber use
Dim strDocNum As String = ""
diCompany.GetNewObjectCode(strDocNum )
Regards
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
39 | |
7 | |
5 | |
3 | |
3 | |
3 | |
2 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.