Only One failure msg is displaying for bulk record deletion in dynamics 365 why? - microsoft-dynamics

Hi Folks,
I have executed bulk record deletion in dynamics 365 and due to behavioral action of those table relationship those records not deleted and shown failure message. my question is there i can see only one msg for one record deletion what happened to the second record deleted on the same bulk delete window?
above image you can see 2 failures of records but below image you can get only one failure response for that record
why was this happening? only display for record 001 not 002?

Related

Data is not retrieved in DynamoDB table but not in DynamoDBv2

This is the data I receive which inserts into my dynamodb table perfectly fine as seen in the image below.
However, I want it to be sorted into multiple columns so I changed the action to DynamoDBv2. Upon doing this, it stopped receiving the data. I tried to create a new table, role, and rule but it still did not receive anything. I tried to change the table back into the normal dynamoDB, and it worked but it saved all data (buttonPress and id) in a single column, which is not what I wanted.
Current Payload:
SQL Statement:
DescribeTable output:
Any input is very well appreciated.
Your rule should select both the keys from the payload also
SELECT Date, Time, buttonPress from topic

Power bi scheduled refresh fails with error but manual refresh successfully completed

Please help me in resolving the issue.
There are 6 reports in my workspace connecting to same database but only one report is facing the issue when it's dataset is refreshed. It's scheduled refresh fails with errorĀ 
Column '....' in table '....' contains a duplicate value '.....' and this is not allowed for columns on the one side of a many-to-one relationship or for columns that are used as the primary key of a table. Table: ......
But when refreshed manually after an hour or so it's successful.
There was no issue initially but I can see the report fails daily in past one month.
My analysis
There are no duplicates in the column mentioned in the error message as we are using "distinct" in transform data. I have checked the data as well and i could see no duplicates.
I am not using incremental refresh
Gateway connection is working fine as the rest of the reports are being successfully refreshed and the status also shows as successful.
4.there are no changes being made to the database during the interval of scheduled and manual refresh.
I want to know what would cause this issue.

Push changes to data in one Django model to another

I writing an application that has a change control workflow. Users retrieve data for a particular month and then they make edits to it and there is a review phase where they can approve records. There are 2 identical tables a master and a staging table. When the user loads up the application they load data from the master table and can edit it in a crud grid. When they hit the stage button I want that data to get pushed inserted into the staging table. How do i tell my view to do that. The staging table doesnt have the associated records yet, i want the records that are sent back as part of the push to get inserted there rather than doing an update to the master table?
Any advice would be greatly appreciated.
You can add new field name can be status in your master table which shows this record in staging process.
For example :
You inserted new record into master table so initial value of status will be 1 (new_created).
When you want to process Master table record you must change the status to 2 (in_staging) which is showing thia record in already in staging process can't process further.
Using new field can manage your process easily and you can check how many records are in staging process at a given time.
When you store the master record you can check which fields are changed or not in form.
Save master record with status 2 and copy the master record and save them into staging table.
After that when your staging completed you can use the same process to save your objects.

API Gateway generating 11 sql queries per second on REG_LOG

We have sysdig running on our WSO2 API gateway machine and we notice that it fires a large number of SQL queries to the database for a minute, than waits a minute and repeats.
The query looks like this:
Every minute it goes wild, waits for a minute and goes wild again with a request of the following format:
SELECT REG_PATH, REG_USER_ID, REG_LOGGED_TIME, REG_ACTION, REG_ACTION_DATA
FROM REG_LOG
WHERE REG_LOGGED_TIME>'2016-02-29 09:57:54'
AND REG_LOGGED_TIME<'2016-03-02 11:43:59.959' AND REG_TENANT_ID=-1234
There is no load on the server. What is causing this? What can we do to avoid this?
screen shot sysdig api gateway process
This particular query is the result of the registry indexing task that runs in the background. The REG_LOG table is being queried periodically to retrieve the latest registry actions. The indexing task cannot be stopped. However, one can configure the frequency of the indexing task through the following parameter that is in the registry.xml. See [1] for more information.
indexingFrequencyInSeconds
If this table is filled up, one can clean the data using a simple SQL query. However, when deleting the records, one must be careful not to delete all the data. The latest records of each resource path should be left in the REG_LOG table since reindexing of data requires at least one reference of each resource path.
Also, if required, before clearing up the REG_LOG table, you can take a dump of the data in case you do not want to loose old records. Hope this answer provides information you require.
[1] - https://docs.wso2.com/display/Governance510/Configuration+for+Indexing

How to get the transaction id of a duplicate transaction in authorize.net?

Some time I get duplicate transaction error (error code 11) in authorize.net. How can I get to know the duplicate transaction id so that I can verify it. Or, is there any way to get the transaction id by sending the invoice number or any other parameters? I am using AIM wrapper.
Unfortunately Authorize.Net does not report the ID of the duplicate transaction. The best you can do is get a transaction history and look for a very recent transaction that contains the same payment information. You can use their reporting API and make a call to getUnsettledTransactionListRequest.