Hello,
I have apply Update Package CU12 to customised(VAR, USR Layer) CU10. Compile application went successfully but error occur during CIL. error shows on PurchTable->Insert Method. on following Line
TradeBLWIFormCodes::createRecord(TradeBLWICustVend::Vendor, this.RecId, this.OrderAccount, TradeBLWITypeOfForm::PurchTable);
Error Message is,
"The TradeBLWIFormCodes class is obsolete. Class is not used anymore. Use methods on table Data DictionaryTablesTradeBLWIJournalPurposeCodes instead."
Some AIF services also showing errors,
ApprovalsServices
DocumentHandling
ExpenseServices
SysWindowsAppApprovalsServices
TimesheetServices.
For ApprovalsServices error Message is->
Faulted: System.OperationCanceledException: AIF service group not activated. Service group: ApprovalsServices. Error: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not load type 'Dynamics.Ax.Application.SysCustomChartAxis' from assembly 'Dynamics.Ax.Application, Version=6.3.5000.133, Culture=neutral, PublicKeyToken=null'.
at Microsoft.Dynamics.Ax.Services.ServiceHelper.GetKnownTypes(ICustomAttributeProvider provider)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.ServiceModel.Description.TypeLoader.GetKnownTypes(Object[] knownTypeAttributes, ICustomAttributeProvider provider)
at System.ServiceModel.Description.TypeLoader.UpdateOperationsWithInterfaceAttributes(ContractDescription contractDesc, ContractReflectionInfo reflectionInfo)
at System.ServiceModel.Description.TypeLoader.LoadContractDescriptionHelper(Type contractType, Type serviceType, Object serviceImplementation)
at System.ServiceModel.Description.ContractDescription.GetContract(Type contractType, Type serviceType)
at System.ServiceModel.ServiceHost.CreateDescription(IDictionary`2& implementedContracts)
at System.ServiceModel.ServiceHostBase.InitializeDescription(UriSchemeKeyedCollection baseAddresses)
at System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses)
at Microsoft.Dynamics.Ax.Services.AxServiceHost..ctor(Type serviceType, String serviceGroupName, String portType, Boolean integrationEnabled, Boolean portDeployedToIIS, Boolean isXppService, ServiceElement serviceElement, Uri[] baseAddresses)
at Microsoft.Dynamics.Ax.Services.AifHelper.PublishServices(String serviceGroupName)
--- End of inner exception stack trace ---
at Microsoft.Dynamics.Ax.Services.AifHelper.PublishServices(String serviceGroupName)
at Microsoft.Dynamics.Ax.Services.AifHelper.PublishAllServiceGroups(Dictionary`2 faultedServices)