Hi guys,
Hope you're having great holidays and have been able to unplug a bit. I'm getting there, right after I finish my fight with AIF :)
I'm making a number of changes to the SalesSalesOrderService. I have no problem with AIF picking up new fields I had created on SalesTable and SalesLine. However, I also need to add extra datasource to the AxdSalesQuery, feeding off the SalesLine level. When I did it and followed the usual procedure - regenerate AxBC classes and then refresh services from AifService form - I'm getting errors on the schema level. It stats complaining that one of the _BR types is not there. I thought fine, I have no need for Brazil-related fields so I went ahead and deleted SalesTable_BR and SalesLine_BR datasources in the query but it's still complaining about the same type even though I can see it didn't include _BR classes into the project so it's clearly recognizing they're no longer needed. I can still see the old fields in AifDocumentField table though and they are a part of the schema in the schema store. The other issue, equally important, is that the system didn't pick up my new datasource fields into the schema even though it correctly generated AxBC classes for it.
I've done some research on it and it seems that AifDocumentField contents can be regenerated based on the xml schema. How do I completely regenerate that schema in the schema store though? I even tried deleting the corresponding metadata from several tables - AifDocumentField, AifDocumentSchemaTable and AifSchemaStore but I couldn't make AX recreate it.
So my question is - what do I need to completely regenerate AIF schema and fields? If there's no good procedure, feel free to throw classes/methods my way and I'll try to build up a job to do it.
*This post is locked for comments
I have the same question (0)