Base solution for your next web application

Activities of "AuroraBMS"

Prerequisites

  • What is your product version: 9.2.0-RC.1
  • What is your product type (Angular or MVC): Angular
  • What is product framework type (.net framework or .net core):Core

Good day ANZ Team,

I'm currently in the process of testing the Master Detail grids and I seem to be running into issues.

I'm not sure if I am not following the correct process regarding this, had a look through the documentation and didnt see anything - not sure if anything has been posted anywhere yet.

The steps that I follow was:

  1. Create Master Table
  2. Create Child Table (Navigation Property added point to Master table)
  3. Update Header table with Naviagtion property - linking child table.

I've redone it multiple times to make sure that I am not missing something but I keep getting the below errors:

ERROR in src/app/main/itemMasterData/serialNumbers/serialNumbers.component.ts:67:41 - error TS2554: Expected 11 arguments, but got 10.

67 this._serialNumbersServiceProxy.getAll( ~~~~~~~ 68 this.filterText, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ... 77 this.primengTableHelper.getMaxResultCount(this.paginator, event) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 78 ).subscribe(result => { ~~~~~~~~~

src/shared/service-proxies/service-proxies.ts:9597:447 9597 getAll(filter: string | null | undefined, serialNoFilter: string | null | undefined, manufactureSerialNumberFilter: string | null | undefined, maxAbsEntryFilter: number | null | undefined, minAbsEntryFilter: number | null | undefined, activeFilter: number | null | undefined, inventoryDataItemCodeFilter: string | null | undefined, inventoryDataIdFilter: number | undefined, sorting: string | null | undefined, skipCount: number | undefined, maxResultCount: number | undefined): Observable<PagedResultDtoOfGetSerialNumberForViewDto> { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ An argument for 'maxResultCount' was not provided. src/app/main/itemMasterData/serialNumbers/serialNumbers.component.ts:90:[93m44 - error TS2554: Expected 1-2 arguments, but got 0.

90 this.createOrEditSerialNumberModal.show(); ~~~~~~

src/app/main/itemMasterData/serialNumbers/create-or-edit-serialNumber-modal.component.ts:38:18 38 inventoryDataId: any, ~~~~~~~~~~~~~~~~~~~~ An argument for 'inventoryDataId' was not provided.

Is there something that can be added into the templates to resolve this or what needs to be done to resolve this? If I am following the wrong process please let me know the correct process.

Regards, AuroraBMS

Good day ANZ,

I'm having quite an issue with the API timing out the whole time when trying to do a sync local database on xamarin. The local db works fine and general connection speed is also fine.

The basic amount of data that I am trigger a get for is around 100-200 info rows at a time. This is roughly 10-20 columsn of data per line.

The GetAll keeps timing out and I have tried adding UnitOfWork as well to it, not sure if this helps for get all API calls as well.

I need to be able to pull atleast 1000 records without a timeout trigger, I split it up in smaller calls anyways so the volume is lower. So 100-200 should be fine but timeouts are the main issue regardless of what I try. It is already timing out at around 55 roecords.

How can I adjust the timeout or get the data in a better way over the API to enhace the speed?

Test where performed after restarting IIS pools/sites and the SQL server itself. In short a clean remote test.

Any help on this will be greatly appreciated.

Regards, AuroraBMS

Good day ANZ Team,

We are in the process of rolling at a component of our solution a client which current threw a curve ball at us.

They have customers in non-sginal areas which leads the system to be unavailable when they enter those areas.

We can implement a local database on the solution to handle the data and also resync everything once they are in an area with signal.

The part that we are struggling with and not sure how to handle best is the offline login side. Is there an ideal way that we can bypass the login page in general and only have them login once they have signal again or try to sync data?

We are aiming to reach offline compatibility when no connection is available or signal is terrible. (Standard South Africa Issues)

Thank you,

Regards, Aurora-BMS

Good day,

I am trying to setup a tenant integration where the tenant will login via the API and retrieve and post data.

I do not see any specific method of how the Login is managed for Tenants.

The token auth does not have a field for the tenants as well.

Could you please assist with guidance on how to do an API login with a tenant? I would assume the tenant Id gets specified somewhere?

Regards, Gideon Badenhorst

Good day ANZ team,

First thing, thanks for the 8.7.0 non modal based update, it is quite handy and looking forward to using it a lot.

There is one thing regarding the Master-Detail which I don't quite understand and if other users can give input on their expectations regarding master detail it would be greatly appreciated as I am not sure if what I was expecting to come into play in the last few years was completely different as to the standard concept.

I am not sure if there is another reason for it being done this way but from my understanding a master-detail is normally a header with either just lines relating to it for example a sales order: Sales Order (Contains company and document info) Sales Order Lines (List of all items being ordered) And in some cases companies have multiple tabs with multiple line sets that relate to the "Sales Order Header in this case the master" as the detail.

This then becomes the Master-Detail view.

Could you please elaborate on what the goal was with the "Master-Detail" that was implemented on Power Tools and if we are missing something regarding the setup or usage of it.

At the moment the only results I am seeing from the "Create Master Detail" is the non modal pages which is not master detail at all?

Below a grid based master detail example which is the norm:

Example of a business or functional transacting environments Master Detail:

Please correct me if I am wrong in the above, there is no documentation that I could find on the new power tools feature but considering that this has been on the list for more than 2 years as a requirement people wanted, this is extremely basic and not a master detail concept at all.

I've generated linked entities: Item Master Data Batch Number Management The test was to see if Item Master will list all batch numbers relating to the item Master item selected as the lines for the item master. In short relational data to that item in a 1 to many form.


Then on the issues side: The issue I am running into is relating to Entity History:

ERROR in src/app/main/inventory/itemMasterDatas/itemMasterDatas.component.ts:93:14 - error TS2339: Property 'entityTypeHistoryModal' does not exist on type 'ItemMasterDatasComponent'.

93         this.entityTypeHistoryModal.show({

How can we go about resolving this manually in the time being?
This occurs after generation.

Thank you

Good day,

I am currently struggling a bit with timeout on the Mobile to API request. I'm probably explaining this horribly but what happens in short is that we have an integration on the API that connects to SAP Business One(ERP Package) due to the nature of this we have to check if there is a conneciton open, if it is not open we connect again. This in itself can be a lenghty process anything between 3seconds to 3-5minutes when seriously unlucky. This causes a bit of an issue as the submission of transactions can also take quite a bit of time depending on validation and amount of lines.

So when for instance during month end the company pulls reports it slow the SAP system considerably and this leads to delays in the integration.

From what I can see, the the API requests have a 30 second timeout duration, where can I change this to a longer period for the month end scenarios or high productivity times. Is there a way to allow the timeout for specific transactions like what was done with hangfire: [DisableConcurrentExecution(timeoutInSeconds: 10 * 60)]

Thank you!

Regards, Aurora-BMS

Good day ANZ team,

I have recently added in hangfire into our solution.

I noticed that hangfire only triggers on the main host company and not for the tenants or It might be that I am missing something on this side.

What I am basically trying to achieve is the following: -Process data imports into the specific tenants based on the predefined data queries triggered from a query table in that tenant. -The query execution itself is not an issue if I can access the repositories for that specific tenant in the list as I have a functional integration in place where the data comes from based on those queries.

How can I achieve data imports via hangfire per tenant of which each tenant has iets own database?

Thanks in advance!

Hi Guys,

If anyone can assist with the below it would be greatly appreciated.

I have currently activated all the hangfire functions and settings and struggling a bit with getting my head around the process of implementing recurring jobs etc.

The questions I basically have is:

Where should I create the Job execution component in the aspnetcore application side For example this: (The below code comes from the example provided by ANZ - I however dont quite understand how to implement it in the actual project) BackgroundJob.Schedule<GetServersJob>(x => x.ExecuteJob(null, new GetServersParamsInput()), TimeSpan.FromSeconds(10)) I want to check data continiously and update data during the day if something in another database has been updated.

I have the code for checking and also updating in the ANZ database ready but that is a minor to this whole scenario.

Does anyone have an example of a hangfire Job & Args implemented in aspnetzero angular/core? The part where the job gets setup with the say create customers if new data is available and that is check say every hour or so. For this I have looked through a lot of the questions here on the support portal as well as info on the aspboilerplate and various other points but I just can't figure out where and how to actually implement the functional side of hangfire jobs in this.

The data does not update frequently to place a burden on the system and I am trying to avoid creating an integration tool to write and update data externally.

any detailed guidence will be greatly appreciated as these kinds of implementations I am worried I will rather break the application then get it working.

Thanks in advance

Hi Guys,

Does anyone know where this referenced value is defined for the Power Tools generation Angular client side MainTemplate.txt: {DataTable_Import_Here}}{{TurboTable_Import_Here}};

As well as the segment that determines the below needs to be added because it is not there (It is not even part of the primeng package import { TableModule } from 'primeng/primeng';

Basically what is happening is everything relating to TableModule is generated as DataTableModule and this causes a ton of extra work just to fix it after every generation.

@ANZ Team - This might sound a bit rude, but can you please before a release Generate a new application, create a basic table and generate screens, run the application and test if power tools works correctly as this seems to be a regular occurance that something that should not be there is in the powertools app.

# List of issues:

Power Tools - DataTable not referencing TableModule and related primengDatatableHelper which should be primengTableHelper (based on version 8.2.1 Chart.js - This suddenly started making a comeback as an error when starting the template initially - quick fix but annoying if you constantly get a new version of the template from the downloaded zip and start working on it. Main-Module - Table issue with power tools as well. EpExportExcel - for excel being changed to Npoi and not updating the generation for export to export to excel with the correct create sheet paths and removing styling which is generated by the power tools as well for the sheet. ~~Entity Tracking - 8.4 suddenly does not support entity tracking anymore at all~~.** - I see this is in another post.

If the communtiy knows of a quick fix around this that is maybe config in Power Tools that can resolve this it would be greatly appreciated if it can be commented here if it is in the non-user code for Power Tools then I guess we will have to wait for a fix.**

Thanks, Aurora-BMS

Good day,

I downlaoded 8.4 now and started trying to get it up and runing to start migrating our projects.

The base version (unmodified) I tried to "npm run hmr" to start debuging.

The below is the error that I am getting:

ERROR in multi ./node_modules/tether/dist/css/tether.css ./node_modules/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.css ./node_modules/prismjs/themes/prism.css ./node_modules/bootstrap-timepicker/css/bootstrap-timepicker.min.css ./node_modules/bootstrap-daterangepicker/daterangepicker.css ./node_modules/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.css ./node_modules/bootstrap-switch/dist/css/bootstrap3/bootstrap-switch.css ./node_modules/bootstrap-select/dist/css/bootstrap-select.css ./node_modules/select2/dist/css/select2.css ./node_modules/rangeslider.js/dist/rangeslider.css ./node_modules/ion-rangeSlider/css/ion.rangeSlider.css ./node_modules/ion-rangeSlider/css/ion.rangeSlider.skinFlat.css ./node_modules/dropzone/dist/dropzone.css ./node_modules/summernote/dist/summernote.css ./node_modules/bootstrap-markdown/css/bootstrap-markdown.min.css ./node_modules/animate.css/animate.min.css ./node_modules/toastr/build/toastr.css ./node_modules/jstree/dist/themes/default/style.css ./node_modules/morris.js/morris.css ./node_modules/chartist/dist/chartist.css ./node_modules/socicon/css/socicon.css ./node_modules/font-awesome/css/font-awesome.css ./node_modules/quill/dist/quill.core.css ./node_modules/quill/dist/quill.snow.css ./node_modules/famfamfam-flags/dist/sprite/famfamfam-flags.css ./node_modules/primeng/resources/primeng.min.css ./node_modules/primeng/resources/themes/bootstrap/theme.css ./node_modules/bootstrap4-datetimepicker/build/css/bootstrap-datetimepicker.min.css ./src/assets/metronic/src/vendors/line-awesome/css/line-awesome.css ./src/assets/metronic/src/vendors/flaticon/css/flaticon.css ./src/assets/metronic/src/vendors/metronic/css/styles.css ./src/assets/metronic/dist/html/default/assets/demo/default/base/style.bundle.css ./src/assets/metronic/4x/datatables/datatables.min.css ./src/assets/metronic/4x/datatables/plugins/bootstrap/datatables.bootstrap.css ./src/assets/metronic/4x/css/invoice.css ./src/assets/Jcrop/css/Jcrop.css ./src/assets/primeng/datatable/css/primeng.datatable.css ./src/assets/primeng/file-upload/css/primeng.file-upload.css ./src/assets/primeng/autocomplete/css/primeng.autocomplete.css ./src/assets/common/styles/metronic-customize.less ./src/assets/common/styles/metronic-customize-angular.less ./src/assets/metronic/4x/css/pricing.min.css ./src/app/shared/core.less ./src/app/shared/layout/layout.less ./src/assets/fonts/fonts-poppins.css ./src/assets/fonts/fonts-roboto.css ./src/styles.css Module not found: Error: Can't resolve 'C:\8.4.0---BRM-License\angular\node_modules\ion-rangeSlider\css\ion.rangeSlider.skinFlat.css' in 'C:\8.4.0---BRM-License\angular'

Could you please assist.

Regards, Gideon Badenhorst

Showing 11 to 20 of 22 entries