Cannot select a record in Global address book addresses by NON SysAdm user - axapta

Opening a Home/Common/Global address book Global address book form I get this error
Cannot create a record in Global address book (DirPartyTable). Party
ID: ******, ***. The record already exists.
With my user (is not sysADM) I'm NOT able to select a record in CompanyInfo.
I done a debug (Debug-NO_SysADM), my user is not able to get a record in ComanyInfo by this query
select companyInfo
where companyInfo.DataArea = _currentCompany_
This query NOT get an helpful record, but actually the record in CompanyInfo Table exist.
There is any parameter to exclude some roles/user to check-find record in this table? Or there is any way to justify this.
Thanks

Related

Firestore Indexes - for each UserID or UID

I am creating task entries by Firestore User.ID or UID..For every new User.ID collection...i get an error message that says a index has to be created by that particular User.ID which is not feasible given that in my solution i can have any number of users...cannot be running back to create an index for each user
Individual Index by UserID
Trying desperately to find a solution...i thought right or otherwise that i have to create a Single Field Exemption for User.UID...which i did as shown below BUT it does not work....My query is by User.ID on the field priority.....What is worse...i now cannot delete that Single Field Exemption...when i click on it...it is highlighted but no menu option appears...
Single Field Exemption
Any idea how to delete it and more importantly how to not have to create an index for each User.ID...As normal...Googles documentation is totally useless .....it does not answer to specific situations.
Affected Entries
Example Affected Entries
When an authenticated user enters a task document...it records their UUID as a new entry (marked in RED) and associated documents...Every time a new entry is made for a new user....it is not updated but an error message is obtained that says index needs to be created ..the index id is the user UID. It asks for every new user...

Sending emails from Oracle 12c to each user for records they have yet to complete

I have several users who have incomplete records in the database. Some users have multiple incomplete records. I need to send each user a standard email that adds only the titles of the records that they need to complete.
I have limited Oracle knowledge and don't know where to begin doing this. What I do know is that I need to get a query of all users with incomplete records and as I loop through each user, send an email to that user that includes a sub-query of the records that they have that is incomplete.
The result will look something like this:
From: noreply#ficticious.com
To: bob#ficticious.com
Subject: You have Incomplete Records that need to be completed.
Dear Bob, you have the following records that are incomplete that we need completed in order to process your request:
Record A, Record D, Record F (query results)
Thanks for completing these records soonest.
Management
Any help leading me to the right path would be greatly appreciated.

NoSQL query of items,lists, Groups and Users using Firebase

Am looking at the data structure in this post and want to know how you would go about getting the emails of users who belong to a certain group when they could belong to several groups and the GroupID stored against that user is the current group they are participating in?
Do you store the email addresses with the userid under the "members" or, instead, for each member of the group, get that user's email address from the "users" document userid (this would mean iterating through the group/members collection and doing a query for each user. Not very efficient).
Am used to SQL so this is all new to me.
You should have a single node for each user
/users/UID/emails/
/users/UID/emailunread/
/users/UID/settings/
/users/UID/details/
/users/UID/payments/
So you can simply do a subscription for a singular node path this.myDatasubscription = this.DB.list('users/' + this.uid).snapshotChanges() ensuring changes like new emails or account settings will detected and rolled out in real time back to the app, so your are using angular/ng or something similar client side then your variables {{this.email_list}} should update real time with no page changes.
Take a look at this one.
error: Property 'getChildren' does not exist on type 'DataSnapshot'

Querying Thunderbird's SQLite message database from C#

I want to query email messages stored by Thunderbird from a C# application I am developing.
Currently I can get some message parts such as From address and Subject by querying the SQLite database, global-messages-db.sqlite.
SELECT subject FROM messagesText LIMIT 10;
I have not been able to locate the body of messages. I have searched for documentation of Thunderbird's storage but I can't find anything that describes where this is stored.
Where are the bodies of messages stored?
From my own experimentation, it seems you can get the list of messages with the below.
select * from messages;
In that result set, you'll notice each message has an id. To get the content of a particular message you can do the following.
select c0body,c1subject,c2attachmentNames,c3author,c4recipients from messagesText_content where docid = 1234;
This is assuming the id of the message you want is 1234.

Users who have created most number of content (node) drupal

I am trying to create a block which displays the users who have created most number of content(nodes) in the site... how can I do this? for example "List of users who have written most number of articles"
Check User Activity Module.
You can get the data with a simple SQL query on the node table. My SQL is a little rusty but it would be something like this:
SELECT uid, count(nid) FROM node WHERE type = 'whatever' GROUP BY uid ORDER BY count(nid) DESC
First result will be the user will the most nodes of type whatever, second result user with the second most nodes, etc. etc. Then just parse the results and shove it into a block. I'm not going to write how to do all that though :)

Resources