Purchasing hierarchy SQL

Hi,
Does anyone have any SQL to show Purchasing hierarchy employee positions, limits etc?
Many thanks

user10590173 wrote:
Hi,
Does anyone have any SQL to show Purchasing hierarchy employee positions, limits etc?
Many thanksAbsolutely:
SELECT *
FROM mi_data.pt_purchase_hierarchy_data;)

Similar Messages

  • Purchasing Hierarchy change

    Hi Everyone.
    How do i enter a user into  a hierachy structure that has already been created.
    Or how do I replace one user with another on a hierachy table.
    Answers from both HRM and PO responsibilities are most welcome.
    Which forms (path) do I open to get to those functions.
    Thank you.

    Hi,
    check this link
    http://erpschools.com/articles/position-based-approval-hierarchy-in-purchasing
    Thanks
    -Arif.

  • Purchasing hierarchy

    Hello ,
    again i have a couple of questions about purchasing position hierarchy please.
    one: how can i force the purchasing buyer to enter purchase orders that are above a specific amount all the time,; say that all purchase orders must be equal or more to 100$?Give me details please..
    two: can i skip a level in the middle of the approval hierarchy levels for purchase orders that are in the amount range say 100$ to 200 $? if possible how can i do it? please provide me with details..
    i need to solve this matter urgently..
    Please help me.

    Vikram,
    1) When you define the Employee in HR, you need to assign a Supervior (under Assignments). That forms the Employee-Supervisor hierarchy automatically. Also ensure to define Job flexfields in HR, and assign a Job to each Employee.
    2) In PO module - Financial Options setup form - select that you are using Employee-Supervisor hierarchy for that Operating Unit. Also define Approval Groups (approval authority in terms of dollar value, account segments range, item category etc), and assign these groups to the Jobs.
    These two setups should suffice for using Emp/Sup forwarding method for purchasing documents. System would derive an employee's approval limits based on his job and check if he can approve a given PO/Requisition (of course, the Document Types setup determines whether you allow the document owner can approve it). If he cannot, then it would look for his Supervisor and his approval limits. It goes on until it finds a suitable approver, or exhausts the entire hierarchy.
    Chandu Tadanki | Manager
    Oracle Support Services
    Oracle India Private Limited | #3, Bannerghatta Road | Bangalore, India 560029
    .

  • Equivalent of Hierarchy SQL in Oracle

    Hi All,
    We have some performance issues with 'CONNECT BY PRIOR' SQL statement and trying to find an alternate SQL which gives the same output.
    Example:
    ENum Mgr
    Julie
    Andrew Julie
    Mark Andrew
    Matt Andrew
    Wyatt Julie
    Jenny Wyatt
    SELECT enum, mgr FROM <table> START WITH enum IS NULL
    CONNECT BY PRIOR enum = mgr;
    Output:
    Julie
    ---Andrew
    ------Mark
    ------Matt
    ---Wyatt
    ------Jenny
    ---Joel
    How do I get the same output without using CONNECT BY PRIOR command. I dont mind creating a new table that will keep all the possible combinations between enum and mgr columns.
    Please provide your solution. I really appreciate it.
    Thanks in advance,
    Rao

    We have some performance issues with 'CONNECT BY PRIOR' SQL statementWhat is the explain plan for the query?
    what is the tkprof output for the query?
    what optimizer is in use?
    how stats are generated, if they are?
    what is the data volume in the source table?
    how much time does the query take currently?
    where is the resultset of the query consumed - asp, jsp, java, vb.net ....?

  • Hierarchy SQL

    All,
    My input data looks like this:
    Parent_Column          Child_Column          Levels_from_Parent
    100000               100000                    0
    100000               110000                    1
    100000               111000                    2
    100000               111100                    3
    100000               111110                    4
    100000               210000                    1
    100000               211100                    2
    100000               211110                    3Output I want is:
    level1          level2          level3          level4          level5          level6
    100000     110000     111000     111100     111110     111110
    100000     210000     211100     211110     211110     211110In the above example for the parent value 100000 there are 2 child hierarchies one with beginning ‘11’ and another with ‘21’ and they both have different levels. ‘11’ end with 4 levels and ‘21’ ends with 3 levels in it. The output I want is upto 6 levels with filling the levels that are not available with the immediate lower account     .
    Thanks in advance!

    Hi,
    Whenever you have a problem, post CREATE TABLE and INSERT statements for your sample data. Without that, don't expect any solutions you may get to be tested.
    You can do something like this:
    SELECT    MAX (parent_column)                              AS level1
    ,       MAX (CASE WHEN levels_from_parent <= 1 THEN child_column END)     AS level2
    ,       MAX (CASE WHEN levels_from_parent <= 2 THEN child_column END)     AS level3
    ,       MAX (CASE WHEN levels_from_parent <= 3 THEN child_column END)     AS level4
    ,       MAX (CASE WHEN levels_from_parent <= 4 THEN child_column END)     AS level5
    ,       MAX (CASE WHEN levels_from_parent <= 5 THEN child_column END)     AS level6
    FROM       table_x
    WHERE       levels_from_parent     >= 1
    GROUP BY  SUBSTR (child_column, 1, 2)
    ;I'm guessing that parent_column and child_column are strings.

  • Licensing of a Test SQL Server

    Hi,
    My question is regarding the use of SQL in a Development Environment. We have a VL Agreement. We have a Historical server using SQL in a 2 server cluster with a SAN. We purchased a SQL 2012 Standard Server for each server plus CAL's for all devices
    and users. For testing, a single server with local storage is used to develop and test changes before changing the production cluster. We have 2 Developers that will use the test server and 2 Developer Licenses were purchased. We used the production version
    of the SQL media to create the test server instead of the Dev version of the media. Are we compliant?

    Hi RonAtSE,
    For more detailed information regarding to the license issue, please call
    1-800-426-9400,
    Monday through Friday, 6:00 A.M. to 6:00 P.M. (Pacific Time) to speak directly to a Microsoft licensing specialist. For international customers, please use the Guide to Worldwide Microsoft Licensing Sites to find contact information in your locations.
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Problems installing SQL Server 2014 Dev on Windows 7 64 bit

    I just purchases Microsoft SQL Server 2014 Dev edition from the Microsoft store, downloaded the 64bit version, and tried to install it. The install fails consistently on the Install File Setup (after the product code and accepting the license) with
    the following error:
    The following error has occurred:
    Unable to open Windows Installer file 'D:\SQL2014Dev\Sqldev_eng_mar14\redist\VisualStudioShell\VC10SP1\x86\vc_red.msi'.
    Windows Installer error message: 1: 2203 2: D:\SQL2014Dev\Sqldev_eng_mar14\redist\VisualStudioShell\VC10SP1\x86\vc_red.msi 3: -2147286960 .
    Click 'Retry' to retry the failed action, or click 'Cancel' to cancel this action and continue setup.
    My system is running Windows 7 Home Premium x64, which looks like it's supported for this product.
    Does anyone have any suggestions?

    Hi
    Please make sure firewall is turned off when you are installing SQL Server. Also make sure you are not installing from CD drive, install it from Local Drive.
    For such issues MS has released support article to fix any missing installer. You can refer to below support article
    https://support.microsoft.com/kb/969052?wa=wsignin1.0
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • SQL*Loader-500 Issue

    Hello
    Using Oracle 11g, I am trying to load a table from data in csv files with oracle SQL Loader,
    table : purchase
    control file : purchase.ctl
    Even if I am giving the right path for control file I still get the error :
    SQL*Loader-500: Unable to open file (purchase.dat)
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: The system cannot find the file specifiedSo why is SQL Loader looking for the file purchase.dat??
    Any help is appreciated

    Talend is the right solution to load data. Now about your problem, have you configured Talend in order to transfer the data? Because Talend can easily transfer the files.
    Maybe you might be able to go to the Talend website to get more information there: http://www.talend.com/

  • SQL 2005 key

    Hello,
    can anybody support me the key for the SQL 2005??
    on our last installation we got a cd from the sql 2000 which including the standard SQL key.
    This time we downloaded the SQL 2005 but we dont have a key for the installation..
    Thank you and best regards
    Serkan

    Hi Serkan
    Where did you purchase the SQL? If from SAP then they will provide a key. If from a reseller then they will provide the key. From the word  download you used, I am assuming that it is a "pirate copy" in which case no-one in the forum can help you with a key as this would be illegal.
    Unfortunately you must pay for licenses for SQL regardless what software you purchase or install.
    Kind regards
    Peter Juby

  • SCOM 2012 Reporting Components with a shared SQL cluster

    Hi, we are planning to install SCOM 2012 but i am a bit confused around the reporting components.
    We have a shared SQL Enterprise cluster with multiple instances which we would like to use for our OperationsMananger and OperationsManagerDW databases. However after trying a test SCOM deployment, installing the SCOM reporting components on a VM requires
    a local running copy of SQL reporting services.
    Is this true? It seems ludicrous to have to purchase an additional license of SQL just to run the reporting components of SCOM. We have spent a lot of money on our SQL cluster and we would like to use it. We dont want to install the SCOM reporting components
    on the shared SQL cluster.
    If this is true, can you tell me which license of SQL we require? Just to run SQL reporting services on a VM should just require a standard SQL license, right?
    Also if we have to purchase a SQL license for this standalone VM, would you recommend having the OperationsManagerDW database on the shared SQL cluster or on the VM where the standalone instance of SQL reporting services resides.
    Surely this is something that other people have an issue with? I would have thought most people would want to use a shared SQL cluster. Any help is much appreciated.

    Just to add that SQL Reporting Services isn't cluster aware so the best you could do is to install stand-alone onto a node of the cluster.
    To reinforce what Scott is saying, see this screenshot of the install of SCOM reporting:
    http://www.systemcentersolutions.co.uk/images/easyblog_images/42/scom/CTP2/Install/SQRS9.png
    Technically you can install SCOM reporting on a shared SQL Server Reporting Services instance but as Scott (and the screenshot) state - it will overwrite any existing security settings on existing reports.
    Scott is also correct that SQL Server Standard Edition is included as part of the licensing cost of System Center 2012 as long as the SQL instance only runs components of System Center.
    cheers
    Graham
    Regards Graham New System Center 2012 Blog! -
    http://www.systemcentersolutions.co.uk
    View OpsMgr tips and tricks at
    http://systemcentersolutions.wordpress.com/
    I have one SQL 2012 Server with a few instances.   1 for Scom, 1 for SCCM and 1 for Service Manager.  The instance shows up as blank for reporting services on the SCOM.   Do I have to install SQL on the SCOM box also?  Why Can't
    it see the instance on my 2012 SQL box?  It is in a different instance than SCCM.

  • Purchasing document security problem

    we are on 12.0.6
    There are four document security options [Purchasing, hierarchy, Private and Public]
    We had hierarchy set for Standard Purchase orders which means only the doc owner, subsequent approvers, and individuals above the document owner in the security hierarchy can access the document
    Now there are people from finance dept and planning dept who want to vie PO`s and PO summary but this is not possible due to the hierarchy option set
    If we change the setting to purchasing, than all buyers can view eachother documents which again we dont want to happen
    whats the solution for it
    Any suggestions plz

    the same reply from another user was mines too as now i have two accounts due to the migration thing that happened a month back
    "suppose one of the parts of hierarchy is as follows
    User C with approval group assigned, below him is user B and then user A..
    User A makes the PO and submits for approval, user B gets it in the notification summary and approves it which then routes to user C who when approves it is finally approved
    now where to put the accounts and audit users in the hierarchy..on the level with user B, if so then still they cannot see PO`s because hierarchy security option means "only the doc owner, subsequent approvers, and individuals above the document owner in the security hierarchy can access the document"
    If i put the users between user B and C than the PO routing would go through them and that is not needed at all
    so what to do"

  • JSP w/ SQL Server 2000

    Hi,
    I have experience with J2SE but not so much J2EE, including JSP, so I would like some input from those who are better equipped to solve this problem. My employer purchased an SQL Server 2000 and asked me to build a solution to access the database. Instantly, the .NET platform comes to mind, but the company has invested quite a bit of money to build a J2EE infrastructure (which I don't exactly know what it means). I would like to know, first if it is possible to build a JSP/J2EE solution, and if so, what the advantages and disadvantages of building a JSP/J2EE solution. If I'm using any terms incorrectly, feel free to correct me, and I would appreciate any input.
    Thanks in advance!

    There really isn't a problem accessing MS/SQL from Java. Microsoft even provides a reasonable driver to allow you to run the Java on any platform and talk to the SQL server.
    I'm guessing that asking a J2EE vs. .net opinion in a Java forum will show bias and my answer should be taken in that light.
    One of the first things to understand is that there are levels of J2EE. The entire J2EE spec is gigantic. JSP's and Servlets are a fairly small part of that. With an application server such as Tomcat you can take advantage of some pretty powerful concepts like JSP's and Servlets without diving into some of the more complicated parts.
    The disadvantage to that is that you will need to plug some other object to relational mapping to talk to your database. For a small database this is pretty easy. When you get to have a large DB it can be a pain.
    Based on the way you've asked this I presume that you are in a Microsoft only shop. It may be that a .net solution would work. But if there is already some amount of J2EE based code it seems like it would be easier to continue down that path. From my perspective the huge advantage is that you're not limited to one platform. You're welcome to use MSFT O/S's but you don't have to.
    It sound like a disadvantage is your personal background. You sound tentative about it and are maybe more comfortable in the MSFT world. Java works very well under recent Microsoft O/S's and I feel that the quality of the development environments (IDE's) are pretty much up to par with Microsoft's. This may fall down a little when it comes to HTML builders but it is pretty close.
    Good luck!

  • Down grade SQL 2014 to SQL 2012 server

    Hi,
    I have purchased SQL 2014 paper license but I want to use SQL 2012 server can we use same licensing for SQL 2012. Can we downgrade the SQL 2014 to 2012.
    Thanks & Regards

    Hello,
    yes, you can downgarde you r SQL Server 2014 to 2012 Version. for Customers who have licensed software through a Microsoft Volume Licensing program are eligible to use prior versions of the software edition that they have licensed. This is known as
    a downgrade right.
    In general, the
    Volume Licensing Service Center (VLSC) provides download access only to the current (N) and the last (N-1) version of products(2014, 2012). however, as of December 2012, a limited set of N-2 and N-3 prior product versions remain available for download through
    the VLSC. for SQL Server you can also downgrade to 2012, 2008 R2 and 2008.
    Note: In addition to VLSC download software access, Volume Licensing customers can order physical media (CD/DVD) copies of their licensed software through the VLSC.
    if you purchase your SQL Server as FPP(BOX) product, you can also downgrade it to 2012 but you Need to have the media + key product of 2012 Version.
    thanks
    diramoh

  • SQL Cal licence

    Hi every body.
    I need a new profesional licence for a new user. Do I also buy a new SQL CAL licence or it is enought with the SAP Profesional user licence ?

    Dear Tornel,
    Here is what I've got from partner portal about SQL cal license and SQL licensing for B1 :
    MS SQL SERVER LICENSING ESSENTIALS FOR SAP BUSINESS ONE
    Introduction
    With this document, SAP wants to provide you with clear guidelines regarding the Microsoft SQL Licensing structures relating to SAP Business One.
    The full and detailed SQL Server restrictions are included in the SAP Business One pricelist in the additional provisions. These provisions are the legal restrictions which apply to the SQL Server license purchased from SAP.
    Although a lot of attention has been put into this document, no rights can be derived from this document and the 'conditions for Use of Microsoft SQL Server when licensed from SAP' is the only document that describes the terms and conditions that apply.
    Content of this document:
    Run-time license
    Run-time license restrictions
    Run-time license and data reporting guidelines
    What is the difference between Client Access License (CAL) and Per CPU licensing
    How to determine my SQL Server licensing for SAP Business One?
    Frequently Asked Questions
    Practical examples of complex network environments
    Back to Top
    Run-time license
    SAP Business One supports the Microsoft SQL Server database system. SAP offers a run-time license of Microsoft SQL Server as an optional service to its customers. Using the run-time restricted SQL Server licensing is not mandatory for SAP Business One. The end-customer has to ensure proper licensing for SQL Server which can also be done with an SQL Server license purchased from a Microsoft partner (Commercial license).
    When a Microsoft SQL Server license is purchased from SAP, a run-time restricted license of MS-SQL Server 2005 'Standard edition' is licensed. The 'run-time' restricted license has additional restrictions in use compared to the commercial MS-SQL Server 2005 Standard Edition licenses. Please note that a customer do not have to purchase SQL licenses from SAP in any instance. SAP resells the SQL licenses as a convenience for partners and customers.
    A commercial SQL license cannot be purchased from SAP, but need to be purchased from a Microsoft Reseller.
    Back to Top
    Run-time license restrictions
    A run-time restricted license of MS-SQL Server purchased via SAP is a license which can only be used in combination with the SAP Business One Software. This means that the license cannot be used in combination with other software products. In general the restrictions are:
    The SQL Server run time license cannot be used to develop new software applications.
    Customers or Partners who are developing new applications /add-on's (for example using SAP Business One Software Development Kit) cannot use the runtime license of SQL Server. Developers have to use the commercial versions or development license of Microsoft.
    The SQL Server run-time license cannot be used in conjunction with any software application, databases or tables other then the SAP Business One application except for add-ons developed with the SDK.
    For example, when a third party application is running outside the SAP Business One environment at the customer's, for example a specific time-registration application or some 'own developed' system, the runtime license cannot be used.
    Partner add-ons developed with the SAP Business One Software Development Kit can be used with SAP Business One running on a run-time restricted license of SQL Server.
    The SQL Server run-time license cannot be used as a 'stand-alone' software application.
    Back to Top
    Run-time licenses and data reporting
    It is allowed to use a reporting tool to run queries or reports from existing tables in the SAP Business One databases.
    Using for example Excel / Crystal Reports or any other reporting tool to connect directly to the SAP Business One database is allowed as long as it is used for reporting purposes only subject to a valid run-time restricted MS SQL Server license.
    Back to Top
    What is the difference between a 'per CPU' and a CAL license?
    Per CPU licensing
    A 'Per CPU' license can be used to license an SQL Server installation on a server and link the license to a single processor. In case a server has 2 CPU's and both CPU's will be linked to SQL Server, 2 'Per CPU' licenses are required. Within the SQL Server management console you can select how many of the CPU's in the server will be used. For a 'per CPU' license it does not matter how many users connect to the SQL Server.
    Back to Top
    Client Access Licensing (CAL)
    The CAL licensing allows you to install SQL Server to one SQL Server and assign the license to that server. Within this installation it is allowed to run as many instances as you need.
    The number of logins is determining the number of SQL CAL licenses. A login user is a network user that accesses SAP Business One. A login user can have one or more user licenses assigned. For example; User A has a limited logistics and a limited financial user license assigned to the same login username. In this case there is one login user who only needs one CAL even though the number of SAP user licenses is different.
    Please note that when the license of the SAP user licenses changes this might have an effect on the required CAL licenses and additional CAL licenses have to be purchased. To avoid licensing errors, SAP strongly advices to keep the number of CAL licenses equal to the maximum number of user licenses in SAP Business One.
    The CAL licenses are per user and cannot be used for concurrent connections.
    Back to Top
    When is a 'Per CPU' license mandatory?
    A 'per CPU' license in mandatory if you cannot determine how many users will connect directly or indirectly to the SQL Server. For example, when an internet Web shop is linked to an SQL Server database, the number of web users cannot be determined and a 'per CPU" license is required. This also applies to other (internal) Web based solutions where the number of users connection cannot be controlled.
    For SAP Business One a 'per CPU' license is mandatory for:
    the e-Commerce server
    The DI-Server if the number of users connecting to the DI-Server based add-ons cannot be determined.
    Please note that a valid 'per CPU' license is required. This does not mean that the license has to be purchased from SAP.
    Back to Top
    How to determine my SQL Server licensing for SAP Business One?
    When you determine the SQL Server licensing you have to ensure that all servers running SQL Server are licensed. See also FAQ's
    If you already have a valid SQL Server license or purchased such from other suppliers, you do not need to purchase an SQL Server license from SAP.
    Ensure the Licensed version SQL Server is supported by SAP
    Ensure the license is not another 'run-time' restricted license from another software vendor
    Ensure the license has enough CAL / 'per CPU' licenses available to also be used with SAP Business One.
    Do you purchase the e-Commerce server?
    The e-Commerce server always requires a valid 'per CPU' license for MS-SQL Server for each CPU used by MS-SQL Server. The 'per CPU' license can be a 'run-time' restricted license from SAP or a commercial license from a Microsoft partner.
    Please note that every server where SQL Server is installed requires proper licensing. If the e-Commerce server uses a different SQL Server as SAP Business One, both servers have to be licensed. In this case the e-Commerce server can have a 'per CPU' license where as the SQL Server for SAP Business One could run on a CAL or CPU licensing.
    Which SQL Server license do you need when you purchase the DI-Server?
    If you already have a 'Per CPU' license available you do not need an additional 'Per CPU' SQL Server license providing the existing licensed SQL Server is used.
    Can you determine the number of named users accessing the DI-Server through the add-ons?
    No >> you should license SQL Server 'per CPU'
    Yes >> a 'per CPU' license is not mandatory but depending on the number of logins it might be cost effective. Every user has to have a CAL.
    When in doubt, SAP strongly advices to use 'per CPU' licensing for the DI-Server.
    Client Access License (CAL) License
    You do not need a CAL license if you already have valid 'Per CPU' license available for the specified SQL Server.
    You need one CAL SQL Server license for each login in SAP Business One.
    Example 1: a license with 4 Professional users and 1 Limited CRM, 1 logistics users and 1 limited financial user is in total 7 users in SAP Business One. If the licenses are assigned to also 7 logins then you would need 7 CAL licenses.
    In case the 1 limited financial user and 1 limited logistics license has been assigned to one login (1 user can have multiple licenses assigned), then you would only need 6 CAL licenses.
    Back to Top
    Below you can find a flowchart that could assist you to chose between 'per seat' or 'per CPU' licensing.
    here is a link for more detail:
    https://websmp203.sap-ag.de/%7Esapidb/011000358700000705282008E
    Rgds,

  • Need SQL 2008 R2 Evaluation Version

    I know that Microsoft has released SQL 2012 now, but my company wants to move some of old servers to SQL 2008 R2 now. In this regard we are looking for SQL 2008 R2 Evaluation now, could you help where to get the same??
    I tried many links but all of them direct to SQL 2012 download :(
    Also, if my company decides to purchase SQL 2008 R2 now, will Microsoft will priovide us the license??
    Any help on this is appreciated...
    San...
    San...

    Yes,
    I'm pretty sure that's what happened recently for one of my clients. They wanted a production server for the BI solution I developed for them on SQL Server 2008 R2. The decision was taken to not invest further resources in migrating this solution to SQL
    2012 at this stage. (This is a complex multi-terra byte solution) So they purchased a SQL Server 2012 license then downgraded to SQL Server 2008 R2.
    The network infrastructure team of your company will have a contact with a Microsoft licensing expert. This licensing expert should be able to tell you how to get the media / download for SQL Server 2008 R2 via this licensing route.
    I also recommend trying migrating your databases to SQL Server 2012 using a desktop using a developer's license. You may then be able to communicate to your company a cost benefit analysis of upgrading to SQL Server 2012. A developer license costs around
    50 USD; -
    http://www.amazon.com/SQL-Server-Developer-Edition-2012/dp/B007RFXQAM/ref=sr_1_1?ie=UTF8&qid=1368170189&sr=8-1&keywords=sql+server+2012+developer+edition
    As long as your don't use the above for your production server installation you are OK.
    Kind Regards,
    Kieran.
    If you have found any of my posts helpful then please vote them as helpful. Kieran Patrick Wood MCTS BI, PGD SoftDev (Open), MBCS http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood

Maybe you are looking for