ServiceEnabled Attribute
Version: Available or changed with runtime version 2.0.
Exposes a method to the service.
Applies To
- Method
Syntax
[ServiceEnabled]
Example
[ServiceEnabled]
procedure Post(var ActionContext: WebServiceActionContext)
var
SalesHeader: Record "Sales Header";
SalesInvoiceHeader: Record "Sales Invoice Header";
begin
GetDraftInvoice(SalesHeader);
PostInvoice(SalesHeader, SalesInvoiceHeader);
SetActionResponse(ActionContext, SalesInvoiceHeader.Id);
end;
See Also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for