Skip to Content
0
Former Member
Nov 27, 2006 at 01:58 PM

Problem getting next document number

48 Views

Hello All,

I recently joined SAP "business" and I'm working with SAP BO.

I'm using the SDKs sample of OrderingAndInvoice, to Invoice an Order that already exists in the system.

I removed from the sample the Add Order Function and replaced it with a "Fetch Orders" function instead. When I select my order, from a popup form, I add the order lines into the grid appears in the 1st tab (I deleted the last 2 tabs). instead of Adding Items (Lines of Orders). This works fine, but when the time is reached to invoice this order, the oCompany.GetNewObject command does not fetches any documet number and apparently crashes.

What is it that I do wrong?

Please help me with this!