Are there any predefined user available fields in the ANZ header or footer? I have a situation where I need to show which warehouse a user is working for a tenant and I would like to show the warehouse code or name without changing the default framework.
How do I override the default Id field for a table in ANZ? I have created a master/detail situation with Purchase Orders and the detail table needs to be a composite key.
The scenario:
PurchaseOrder.Id is the the primary key of the parent master table. The child table, PurchaseOrderDetail should be a composite of PurchaseOrderDetail.PurchaseOrderId + PurchaseOrderDetail.LineNbr. I have been unable to determine how best to override the framework to make ANZ allow me to remove the default Id incremental created field and instead use the defined PurchaseOrderDetail.PurchaseOrderId field as the key in this entity/Dto.
Thanks,
Matt
I know this is not a Swagger help forum but I was wondering if anyone has a solution for ANZ creating mulitple interfaces for the same table? I have a static code table to hold things such as status, grade and condition and different inventory and warehouse screens use this table. The RAD tool creates the same CodeLookupTableDto interface for each which then confuses Swagger. Is there an attribute or other marking mechanicsm to overcome this situation? Any ideas/examples are greatly appreciated.
Thx
I am sure this is documented somewhere or just my lack of knowlege with MacOS but how do I generate the correct service proxies for Mac development like is performed in Windows development. When I perform npm start on my Mac I get service proxy errors and I am sure its due to the differnence.
The actual error is
ERROR is src/app/shared/layout/header.component.ts(243,35): error TS2339: Property 'prepareCollectedData' does not exist on type 'ProfileServiceProxy
I could be confusing two different issues however I am lost at this point as none of the documents show how to perform what I suspect may be the issue.
Thanks.
We upgraded from ANZ v6.0 to v6.1 Angular + Core today and found that all users without Administration rights still have the Administration menu heading. Did we miss something in the code merge? We performed EF update-database, cleared browser cache, rebuilt the proxy with ./refresh.bat, and performed a new yarn for all package updates.
Does the current version of ANZ support any type of workflow/approval process and queuing with something like MSMQ? How are others performing and managing this style in your application?
Thanks,
Matt
I know this is not exactly an ASPNetZero question however I would like to know if anyone using the framework would be willing to provide some pointers/sample code of a Purchase Order/Sales Order style master/detail set of screens. I am trying to make sure I don't code this type of situation inside the framework incorrectly and then have a pain in the future with maintenance.
Thank you,
Matt
I have noticed that the menu no longer slides left when you click the "3 hypen" icon at the top in v6. I looked to see if this had been reported yet but did not see anything here in the support group. I apologize I do not know what the actual name of this activity is so hopefully my description is clear enough.
Thank you,
Matt
I have a very strange issue which I am unable to track down the root cause. I have a new Categories table which I have generated a navigation property to my Codes table to for statuses with the RAD Tool. The Category entity and DTO have a CodeId property generated however when the code is executed for GetAll in Categories I get CodeId is an invalid column name. Here is the complete error message. I am sure its something I did not do correctly however I have something similar working with two other tables without issue. I am looking for insight into what to look for as I am still learning this greate framework!
ERROR 2018-10-08 10:08:50,378 [9 ] Mvc.ExceptionHandling.AbpExceptionFilter - Invalid column name 'CodeId'.
System.Data.SqlClient.SqlException (0x80131904): Invalid column name 'CodeId'.
at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__122_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.ExecuteAsync(IRelationalConnection connection, DbCommandMethod executeMethod, IReadOnlyDictionary`2 parameterValues, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.BufferlessMoveNext(DbContext _, Boolean buffer, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.AsyncQueryingEnumerable`1.AsyncEnumerator.MoveNext(CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.AsyncQueryMethodProvider.GetResult[TResult](IAsyncEnumerable`1 valueBuffers, Boolean throwOnNullResult, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.TaskResultAsyncEnumerable`1.Enumerator.MoveNext(CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.MoveNext(CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.ExecuteSingletonAsyncQuery[TResult](QueryContext queryContext, Func`2 compiledQuery, IDiagnosticsLogger`1 logger, Type contextType)
at F2TEK.SKUHive.Inventory.CategoriesAppService.GetAll(GetAllCategoriesInput input) in D:\Projects\C-Sharp\SKUHive\aspnet-core\src\F2TEK.SKUHive.Application\Inventory\CategoriesAppService.cs:line 55
at lambda_method(Closure , Object )
at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextExceptionFilterAsync()
ClientConnectionId:b69e3411-e6c3-4533-abaa-f03557620d7a
Error Number:207,State:1,Class:16
This is my first upgrade between releases of ASPNetZero and I am wondering if there are specific details I missed. I had a compile issue with the ExeclExporter and found the corrected code within the product itself with the TempCache. My environment is AspNet Core with Angular 6. I was using v5.6.2.
All of my Angular Actions are not working. I am assuming a change was done in either the input or div statements so the question is where do I find the details of the breaking change so I know what action I need to take to correct the non-functioning Action events on the screen now. Is there a script I should run or do I need to do diff's on the framework code to just "learn" how to fix this.
Thank you,
Matt