The scheduler has a PluginsToExclude section you can populate in the config; is there something similar for the REST API service?
I have a number of "UI-only" plugins that I really don't need the API wasting its time compiling and loading.
pricerc wrote:The scheduler has a PluginsToExclude section you can populate in the config; is there something similar for the REST API service?
I have a number of "UI-only" plugins that I really don't need the API wasting its time compiling and loading.
{
"ResponseStatus": {
"ErrorCode": "InvalidOperationException",
"Message": "ExecuteReader: Connection property has not been initialized.",
"StackTrace": "[SalesQuoteMAKEORDERRequest: 28/10/2022 02:42:25]:
[REQUEST: {QuoteID:c5c39382e410413b815b}]
System.InvalidOperationException: ExecuteReader: Connection property has not been initialized.
at System...SqlCommand.ValidateCommand(String method, Boolean async)
at System...SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System...SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System...SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System...SqlCommand.ExecuteReader(CommandBehavior behavior)
at Jiwa...JiwaODBC.database.ExecuteReader(SqlCommand SQLCommand, CommandBehavior CommandBehaviour)
at Jiwa...JiwaODBC.database.ExecuteReader(SqlCommand SQLCommand)
at Jiwa...JiwaInventory.Classification.ReadDefaultRecord()
at Jiwa...JiwaInventory.Inventory.Setup()
at Jiwa...JiwaApplication.BusinessLogicFactory.CreateBusinessLogic[BusinessLogicType](IJiwaForm Client)
at AERP...AerpInventoryLibrary.GetInventoryFromID(String InventoryID) in :line 58
at AERP...AerpInventoryLibrary.GetCategory1ExpiryDateFromInventoryID(String InventoryID) in :line 68
at AERP...BusinessLogicPlugin.SalesOrderLines_AddInventoryItemEnd(SalesOrderLine Item) in :line 961
at Jiwa...SalesOrderLineCollection.AddInventoryItem(String InventorySeed, SalesOrderLineInventorySeedTypes InventorySeedType, Object& NewKey, SalesOrderLine KitHeader, Int32 LineNumber)
at Jiwa...SalesOrder.CreateNew(NewSalesOrderTypes NewSalesOrderType, String DebtorSeed, Boolean DebtorSeedIsID, String InvoiceHistoryID, String JobID, String QuoteHistoryID, String LogicalWarehouseID)
at Jiwa...SalesQuote.MakeOrder(SalesOrderTypes eOrderType)
at Jiwa...JiwaServiceModel.SalesQuoteServices.Post(SalesQuoteMAKEORDERRequest request) in :line 21169
at lambda_method(Closure , Object , Object )
at ServiceStack.Host.ServiceRunner`1.<ExecuteAsync>d__13.MoveNext()",
"Errors": []
}
}
SBarnes wrote:Is your api user in the admin group?
Users browsing this forum: No registered users and 5 guests