on 06-18-2007 3:38 PM
Hello,
I m creating a Sales Order with SabBobsCom in C# and ASP.NET.
Everything works fine, however i would like to display the auto generated OrderNumber so the customer can reference to this number. I hoped the value in DocNum was available, but that is not the case.
Please help.
Hi Johan,
You can use the GetNewObjectCode method of the company object to retrieve the DocEntry value of the order you've just created. You can then use this to retrieve the DocNum value.
More information on the GetNewObjectCode is the SDK Help Center.
Kind Regards,
Owen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I should be available after you add the Sales Order, remember when creating a new sales order you don't have the final number until you have added that sales order to the database.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
9 | |
5 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.