- Create a new Dynamics 365 for Finance and Operations project in Visual Studio and name it BuildingCustomService.
- In the project, create a new class, which will serve as a data contract for our custom web service. Name this class PacktCustBalanceDataContract. This class is decorated with the DataContract attribute and the data methods are decorated with DataMemberAttribute. We will create the following data methods in our class, which will be exposed to the external world as parameters:
[ DataContractAttribute, SysOperationGroupAttribute('Date', "@ApplicationPlatform:SingleSpace", '1') ] class PacktCustBalanceDataContract { TransDate transDate; CustAccount accountNum; DataAreaId dataAreaId; /// <summary> /// Gets or sets ...