Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Returns Document Type

(0) ShareShare
ReportReport
Posted on by 10

I am looking at restricting document type 'return' for a specific department. The objective is to the centralize and control the creation of the document type. I would prefer not to use the 'approval' option because I am not sure if it can be that flexible.

*This post is locked for comments

  • Rosemary Profile Picture
    10 on at
  • Suggested answer
    Bill Campbell Profile Picture
    10 on at
    RE: Returns Document Type

    Having re-read the thread - I would have to suggest that Harry has the right direction.  Putting a password on a field like that is passwording the whole field - not just the selection of the option - RETURN

    I believe from experience that the TASK and ROLE method will work for you.

    Let us know if this works, and as Harry says, be sure to tell us if we solved the problem..

  • Rosemary Profile Picture
    10 on at
    RE: Returns Document Type

    Not exactly Bill, I used the field level security option, but the password option comes up for all document types. I just wanted the password option for the return.

    I started with the option Harry suggested when I had to deal with something else.

    Ideally the user is expected to function with both invoice and return, but too many errors are coming up with the returns.

  • Suggested answer
    Redbeard Profile Picture
    12,931 on at
    RE: Returns Document Type

    Rosemary,

    The defaultuser id controls access to alternate or modified reports.

    Tasks are assigned to Roles

    Roles are assigned to Users (specific to companies)

    So you need to do the following:

    Take access for all document types out of the current task. Then create two separate tasks (at least). One should have access to all but the return document type, the other should have access to just the return document type.

    Once that's done, create two new roles and assign these tasks as appropriate to the role NoReturns and ReturnsOnly.

    Then you need to assign the NoReturns and ReturnsOnly Roles to the appropriate users in the right companies.

    Or you could use Field Level Security as Soma suggested.

  • Bill Campbell Profile Picture
    10 on at
    RE: Returns Document Type

    Rosemary, did you figure this out?  Let us know what you did to solve the situation as I am pretty sure someone else out there is going to come up with the same situation.

  • Suggested answer
    Bill Campbell Profile Picture
    10 on at
    RE: Returns Document Type

    If you 'remove' the option from the TASK that is attached to Default User then you are covering most of the user and restricting their access.

    Now create a new Task / Roll and assign this only to the users that you want to have the access.

    Bit of a work around, but it is one that I find works.

    Also, there is no password but the user password, and as we all have learned, that too can be shared, but a lot less of that happens if there are good security policies in place.

    let me know.

  • Rosemary Profile Picture
    10 on at
    RE: Returns Document Type

    I am familiar with field level security, the challenge with passwords is that it can be shared.

    But I will still test and put the option to the relevant individuals.

  • Suggested answer
    soma Profile Picture
    24,410 on at
    RE: Returns Document Type

    Better you can set a password for this document type field by using Field Level Security and share the password to appropriate department only.

    community.dynamics.com/.../field-level-security-in-gp-without-customization

    Hope this helps!!!

  • Rosemary Profile Picture
    10 on at
    RE: Returns Document Type

    I created a new Task ID, I am seeing it when I look at roles,  but wouldn't I have to change 'defaultuser' to this new Task ID?

  • Suggested answer
    Bill Campbell Profile Picture
    10 on at
    RE: Returns Document Type

    I would have to investigate deeper to provide a complete solution, but off the top of my head I would consider Security settings related to Document Access in Sales as a place to start.

    As an example, when you choose ADMIN_SALES_003* and choose Document Access as TYPE, Series: Sales - you will see a list of the documents that a user assigned to this Roll would have.  THIS IS NOT THE PLACE TO SET IT AS THIS IS ADMIN LEVEL - example only.

    You would have to find the Task ID that is used to Grant the access, then create a new one, make the modification you need and make sure you assign the two (or more) tasks to the correct user IDs

    This is just the 'beginning' of the solution, but I believe that without having to modify the application or create new code, you can restrict the access to the RETURN document Type to select users within the system.

    Let me know if this suggestion works for you and then we can invest more time to see what has to be done to make it work for you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,217 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,978 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans