I’ve written a method directive on QuoteImpl.CreateOrder post that uses three different BOs: SalesOrder, BomSearch, and PartPlantSearch. “Check syntax” reports no problems. But when I enable and save, I get several compilation errors about types existing in more than one BO reference, as well as BOs not implementing the correct interfaces. All the issues are related to some “ETC Validation” thing, but there may be multiple separate issues here. I’ll try to isolate them.
Has anyone else run into this?
Server Side Exception
There is at least one compilation error.
CustomizationAdapter.cs(384,100): error CS0433: The type 'ETCAddrValidationTableset' exists in both 'Erp.Contracts.BO.Quote, Version=11.1.100.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992' and 'Erp.Contracts.BO.SalesOrder, Version=11.1.100.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992'
CustomizationAdapter.cs(389,30): error CS0433: The type 'ETCAddrValidationTableset' exists in both 'Erp.Contracts.BO.Quote, Version=11.1.100.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992' and 'Erp.Contracts.BO.SalesOrder, Version=11.1.100.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992'
CustomizationAdapter.cs(9,132): error CS0738: 'QuoteSvcCustomization' does not implement interface member 'QuoteSvcContract.ETCValidateAddress(int, int, out bool, out bool, out string)'. 'QuoteSvcCustomization.ETCValidateAddress(int, int, out bool, out bool, out string)' cannot implement 'QuoteSvcContract.ETCValidateAddress(int, int, out bool, out bool, out string)' because it does not have the matching return type of 'ETCAddrValidationTableset'.
CustomizationAdapter.cs(9,132): error CS0535: 'QuoteSvcCustomization' does not implement interface member 'QuoteSvcContract.ETCAfterAddressValidationOTS(ref QuoteTableset, ETCAddrValidationTableset, int)'
CreateOrder.CommonTypes.cs(167,55): error CS0433: The type 'QuoteQtyRow' exists in both 'Erp.Contracts.BO.Quote, Version=11.1.100.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992' and 'Erp.Contracts.BO.SalesOrder, Version=11.1.100.0, Culture=neutral, PublicKeyToken=5d3fa3c7105d7992'
Exception caught in: Epicor.ServiceModel