So we have a BC 2019 spring installation with object still in C/AL (legacy development)
When we open the Sales Order Page 42, we get this error:
"The record in table Payment Service Setup already exists"
When debugging, this is the stack call:
Page 42 OnOpenPage calls PaymentServiceVisible := PaymentServiceSetup.IsPaymentServiceVisible;
This, triggers a suscript event in a codeunit we don't have access to, codeunit 1360 MS - WorldPay Standard Mgt.
Seems like this codeunit is trying to create duplicate keys in the "Payment Service Setup". Is this a bug? What's this codeunit supposed to do and how can we disable this feature?