AL icon indicating copy to clipboard operation
AL copied to clipboard

Function Expose Table 1060

Open Avanti05 opened this issue 8 years ago • 4 comments

Table 1060 Payment Service Setup contains two functions SaveSet() and LoadSet(). Could you please expose these for extension development?

Avanti05 avatar Jul 20 '18 09:07 Avanti05

The functions are local. Can you describe the scenario in which you need to directly call them from extension?

StanislawStempin avatar Jul 24 '18 08:07 StanislawStempin

We are adding a Payment Service but need to be able to enable/disable it on Sales Documents, if certain conditions are met.

I've created a table extension for the Payment Service Setup to do this, but would like to avoid duplicating existing functions on the extending table.

In that regard it would also be nice to have access to GetEnabledPaymentServices().

Avanti05 avatar Jul 24 '18 12:07 Avanti05

@Avanti05, How did you get to the point of being able to create a new payment service type? was there any documentation you found?

logandersen avatar Aug 07 '18 17:08 logandersen

Didn't find any documentation, but like notifications there is an event publisher for OnRegisterPaymentServices where you can insert the Payment Service. You can take a look at the MS wallet extension do get an idea of which fields to assign.

Avanti05 avatar Aug 15 '18 07:08 Avanti05