cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement same procedure like in Payment Wizard but using SDK?

marour
Participant
0 Kudos
15,509

Hello,

When I want to add an Invoice to the System I can open the standard Invoice Form in SAP and add one or using SDK I can create an Object from Type Document and specifiied it as an Invoice and set all variables that i have and then using the methode add() and I will have the same thing.

Now which process is that to do the same using SDK to make a payment like the one we get by using the payment wizard?

Any Ideas?

Accepted Solutions (1)

Accepted Solutions (1)

Johan_Hakkesteegt
Active Contributor
0 Kudos

Hi,

All wizards are hard coded into the B1 client. These wizards are not objects themselves. They simply access one or more objects/interfaces exposed in the DI API, and use them together as necessary.

With the SDK you can build your own wizard in the same way. Just determine which objects/interfaces you need, and use them together as neccesary.

Regards,

Johan

Answers (1)

Answers (1)

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi marour,

Kindly note that the wizards are not exposed in DI API.

Therefore, it would be difficult to get the same functionality most of the time.

Kind regards,

ANKIT CHAUHAN

SAP Business One Support

marour
Participant
0 Kudos

Hi ankit.chauhan1 ,

at the end the Payment Wizard is doing nothing else than creating an outgoing Invoices for all Invoices that are listet or have been choosen from the user inside the Payment Wizard itself

I thought i could be something like a payment wizard object so could have same functions like if i did it through the wizard directly.

Thank you for your replay