Hi guys,
I am building some custom services for our customer but there’s one thing that we can’t get to work: using a datatype that extends from NoYesId.
I have a service that is used to create Service Orders in Ax. This service has been in use for a while now, so the service itself works. Now today i need to add a new field in the service, and this is what i did:
-
I created a new EDT that extends from NoYesId
-
I’ve added this field in the service with the following code:
[ SysEntryPointAttribute(true),
…
AifCollectionTypeAttribute(’_vatRecupEditable’ , Types::Integer)
]
public ServiceOrderId createServiceOrder(…
VATRecupEditable _vatRecupEditable)
…
After adding those 2 lines of code, i updated my CIL, but when i tried to deploy the service, i got the following error message:
The port XXX could not be deployed.
Error CS1501: No overload for method ‘CreateServiceOrder’ takes 21 arguments
I don’t know what causes this problem, and it only seems to happen when i use datatypes that extend from NoYesId.
Does anybody know whats wrong?