I have set OData LinkedService to Business Central then in a datapipline I created a dataset with the LinkedService connection to download the General Ledger Entries. I have managed to download the companies but I am getting the following error for the GL.
I am not sure if this is the way to pass the parameters; I have changed the name multiple times, to Company, Companies, company, companies, companyname, defaultcompany etc.
Per MS guide it is companies: enter image description here
Even if I pass an existing company id and / or company name; I still get the same error.
enter image description here
Operation on target Copy data1 failed: Failure happened on ‘Source’ side. ErrorCode=ODataRequestNotSucceeded,’Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Requesting response from path G_LEntries and query failed with status code NotFound and message {“error”:{“code”:”Internal_CompanyNotFound”,”message”:”Cannot process the request because the default company cannot be found. You can specify a default company in the service configuration file, or specify one for each tenant, or you can add a query string in the form of “company=[name]”. You can see the available companies by accessing the default OData web service, Company. For more information, see “OData Web Services” in Help. ,Source=Microsoft.DataTransfer.Runtime.ODataConnector,’
I need a redirection or a pointer, whether this is how to pass the parameters or there is another way.
Graziella Spiteri is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.