cancel
Showing results for 
Search instead for 
Did you mean: 

Service Layer Force Query Approvals

Fedias
Participant
0 Kudos
226

Hi,

Is there any way to force an approval which is set by custom query when creating a document using the Service Layer?

I know there is a limitation, but is there any workaround?

Accepted Solutions (0)

Answers (1)

Answers (1)

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi fediasvisionsoft,

Unfortunately, there is no workaround.

It is a limitation in the DI API and Service Layer.

The reason why it is not possible to trigger Approval Procedures based on User Queries via DI API and Service Layer is that it is not possible to get the correct value of ApprovalTemplatesID in DI API and Service Layer when the Approval Procedures is based on User Queries.

Kind regards,

ANKIT CHAUHAN

SAP Business One Support