![]() |
#9 |
Участник
|
Тоже столкнулся с такой проблемой.
Решается так: К примеру, в стандартной таблице Address, у меня есть свои поля. Проверка на Best Practices дает, что мол такое то поле не имеет parm метода в AxBC-класса. Ну в общем все как описывает kia ![]() Идем в: Tools\Development Tools\ Application Integration Framework\ Update document service. В открывшемся окне нужно выбрать класс который нам нужен(для таблицы Address). Кстати выбирать нужно только классы которые унаследованны от AifDocumentService!!! Почему? см код метода getServiceParameters класс AifServiceClassGenerator: X++: ... serviceDictClass = new SysDictClass(className2Id(_serviceClassName)); if (serviceDictClass == null || serviceDictClass.extend() != classnum(AifDocumentService)) { // The service class is not a document service return null; } ... ProdProjEInvoiceService SalesSalesEInvoiceService TrvExpenseService SmaServiceOrderService SmaServiceAgreementService ReturnReturnOrderOutService ReturnReturnOrderInService LedgerGeneralJournalService AssetAssetConditionService AssetAssetGroupService AssetAssetLocationService AssetAssetMajorTypeService AssetFixedAssetService TrvTrvPBSMaindataService DirAddressService DirContactPersonsService PricePriceDiscJournalService PricePriceListService PurchPurchReqService SalesSalesInvoiceService SalesSalesOrderService SalesSalesPackingSlipService InventASNService InventCountingJournalService InventInventoryOnHandService InventInventoryTransactionsService InventProfitLossJournalService InventTransferJournalService InventConfigTableService InventDeliveryModesService InventInventColorService InventInventDimCombinationService InventInventItemGroupService InventInventLocationService InventInventSizeService InventItemService InventUnitService InventUnitConvertService BomBillsofMaterialsService ProdProdPickingListService ProdRouteCardService CustFreeTextInvoiceService CustCustomerGroupsService LedgerChartOfAccountsService LedgerDimensionsService LedgerExchangeRatesService LedgerPurchaseInvoiceService PaymPaymentTermsService CustCustomerService LedgerCashDiscService LedgerCustPaymJournalService VendVendGroupService VendVendTableService LedgerVendorPaymentService InventPickingListService ProjProjectHourJournalService В этом списке ищем слово Address, находим класс "DirAddressService". В окне "Update Document service" выбираем этот класс, активируем все галочки которые только можно! И жмем "Ok". Ждем... После нескольких минут, идем в таблицу Address, жмем AddIns\ Chech Best Practices. И видим что ошибки больше нет. ![]() |
|
|
За это сообщение автора поблагодарили: Raven Melancholic (2), nano3 (1). |