A whine (and veiled query for advice)

A longish time ago, in a state far away.....
I had a license to Photoshop, the bee's knees of creative software.
(an even longer time ago, in another universe, I used PageMaker 1.0 on a Mac 512 with internal and extermal floppy drives and no hard disc, and THAT was the original "bee's knees of software" moment... but I digress)
I take my time upgrading, because I don't make (most of) my living using creative software, though I love it, and because (truth be told) I'm cheap.
So when I got around to upgrading my old PS license, Creative Suite was out. As I recall, it required an upgrade of my MacOS, which I intended to do, but put off. Shortly after I actually ordered the new software, CS2 had come out. I called and asked about a boost to CS2 for the price of shipping; it was granted. So far so good. I rec'd a package. It said something about Creative Suite 2 Premium. Not being a regular upgrader (nor indeed a regular purchaser of any software), I assumed I would only be able to access the Photoshop upgrade installation, based on my prior serial number. I tried to install. I got an error. I phoned support. The gentleman asked what package I had. I told him.
He said, "Oh, they sent you an upSELL package, not an upgrade."
"Oh?" says I.
"Yes. Tell you what I'm gonna do: I'm going to unlock the whole thing for you, for free."
I thanked him profusely and danced a merry jig....
....LITTLE KNOWING what a mess I had gotten myself into.
As is common knowledge, somewhere in recent years, an upgrade of the MacOS made CS2 effectively incompatible with operating system; Adobe Bridge was rendered inoperable on my Mac, while the main applications slllllooooooooowwwwwweeeeeedddddd wwwwwaaaaaaaaayyyyyy dddddooooooowwwwwwwwnnnnnnnnn.
So I've been limping along, in my cheap-******* way, trying to be patient with the software (I'm still only at OS 10.5.8, afraid of what Snow Leopard might do to my fragile software stalemate). But here's the thing: I do so little professional work, that I can hardly justify the $700ish to upgrade from CS2 to 5 (I know, "Where were you for CS3 and 4? Well, if I'd bought those, too, I'd be out EVEN MORE money now, wouldn't I?).
And here's another thing: I HATE ILLUSTRATOR. I know, the flagship vector art app. But I confess I was a FreeHand man--- especially waaaay back when v 4.0 came out (back when cell phones were still "neat-o" and dinosaurs roamed the earth), and I have never understood Illustrator. Just didn't click with me. And then damn Adobe went and bought out Macromedia (last version of FreeHand I had was 7, before the MacroMedia buy-out), and what happened to the best of FreeHand? Toilet, that's what. (I don't really know what happened, but that's my infrequent-buyer perspective.)
And here's another-nother thing: I'm old school (in case you missed that point), and all these apps are so complex, I really need training. I'm not dumb, I've been a Mac tech and advanced user for decades (I absolutely rely on a tablet--- doesn't that make me at least sorta cool??)--- I just don't use it enough to justify what--- with the requisite training--- is now REALLY EXPENSIVE SOFTWARE.
I use Photoshop quite often. I have loved (early) PageMaker, and really got good with QuarkXPress, and am tolerating InDesign, but....
The last "here's-the-thing" thing: I use to love Adobe. Thought their heads and hearts were aligned, and their products well-designed. Now.... well, they're just a really big software company, at odds with Apple. Crazy, or what? The two modern personal computing companies that MADE EACH OTHER'S FORTUNES (too strong?), bickering like pre-teen siblings. Anyway....
What's a feller to do? I must have Photoshop, I REALLY REALLY want a good page layout program. It'd be FUN to have the other stuff (I DO use Acrobat, though not to its fullest potential); love to learn about web design. But don't really have the money to prioritize for those bits. I'm getting so pissed off with the crankiness of CS2 on my Mac that I'm almost ready to chuck it (and the small income I make from using the products, for clients who are often personal friends of mine).
Any thoughts to share??
Thanks for reading. You have the skill of listening. That's invaluable in this world.
Cheers,
Ben in Ohio

As long as you have a valid serial number for CS2 and an Intel Mac you can upgrade to CS5.
Whether it would be worth it to you, nobody can answer.
Bob

Similar Messages

  • Processor and Graphics query for G4 PowerMac 'Digital Audio'

    Hey all, two questions here...
    Question 1
    Ive got ANOTHER new processor and graphics card for my Digital Audio G4. The processor i had in it before was a Sonnet Encore ST/G4 1GHz, ive replaced this with the same make of processor but at 1.4GHz. The processor works fine and the machine runs fine, but it isn't listed properly in the system profilers...
    In OS9 it's speed is described as "about 656Mhz" and in OSX its described as 0MHz!
    Im not too worried since everything seems to be working fine, but i want to be sure that its not going to suddenly blow up on me, and if anyone else has had things like this happen with these processors or configurations. Ive still got the 1GHz should anything go wrong, but newer, more powerful stuff is always good!
    Question 2
    The new graphics card i put in is a ATI Radeon 9600 Pro PC & Mac Edition. Ive read a few things on the internet about it sometimes not working with DA Power Macs but thought id chance it anyway, i can always sell it on if it didn't work...
    Well the card works in both OS9 and OSX and displays everything fine, its recognised by both systems and everything. The only problem is i can't change the display settings, on both systems the only display option ive got is x736 (or whatever it is thats closest to it), there are no other options available, i can't choose anything else in the Recommended menu, not can i change from Thousands to Millions of colours.
    Of course its generally agreed that these cards work better on G5s than G4s, despite it saying on the box that it supports G4s. Ive also downloaded the ATI Displays Control Panel to see if i can control it that way, but to no avail. Does anyone have any info or words of advice on this?
    Cheers all!

    Good to hear, thanks!
    Do follow the advice to add as much cooling as you can, & use the best Ceramique Thermal Paste you can find.
    Did you clear all the Caches yet?
    At this point I think you should get Applejack...
    http://www.macupdate.com/info.php/id/15667/applejack
    After installing, reboot holding down CMD+s, (+s), then when the DOS like prompt shows, type in...
    applejack AUTO
    Then let it do all 6 of it's things.
    At least it'll eliminate some questions if it doesn't fix it.
    The 6 things it does are...
    Correct any Disk problems.
    Repair Permissions.
    Clear out Cache Files.
    Repair/check several plist files.
    Dump the VM files for a fresh start.
    Trash old Log files.
    First reboot will be slower, sometimes 2 or 3 restarts will be required for full benefit... my guess is files relying upon other files relying upon other files! :-)
    Disconnect the USB cable from any Uninterruptible Power Supply so the system doesn't shut down in the middle of the process.
    Just sits there occupying very little space & never interfering, unless you need to invoke it in Single User Mode.
    Look for the 10.3 version of AppleJack 1.4.3.1 (326 KB) (For Mac Jaguar and Panther), here...
    http://mac.oldapps.com/applejack.php

  • An Apology to SDN and a Request for Advice

    After thinking about Mark Finnern's suggestion yesterday that I stop blogging so frequently, I realized that I had made an honest mistake about the way in which I was using the SDN blog area.
    Let me try to explain how and why this mistake occurred.
    First, it goes without saying that what SDN does well, it does extremely well.  I have used the Expert Forums on several critical occasions in the past few months, and they function "above and beyong".  I also keep a list  of "good_sdn_links" when I see great guides and explanations in blog posts, so I don't have to bother searching for them later, and here again, SDN is doing its job extremely well.
    But the fact that SDN does certain things very very well doesn't mean it is doing everything it should be doing.
    What do I mean by this?
    Well, many people here at SDN would agree with me that there are many things terribly wrong with the IT community today and inside the SAP community as well.  Furthermoe, it's my opinion that SDN is doing nothing to try and change these things, when it in fact can and should be trying to change them.
    So I decided to do my part as a "change agent" by posting a number of "perspective" posts which tried to communicate what I thought was wrong with IT and SAP today.
    But here's where the mistake came in. 
    First, I figured from my read count that I must be doing something right, otherwise, why would my blog posts have @52,000 reads since 10/1/2006, or about 440 reads per calendar day?
    Second, for all the criticism I received in personal emails about my blogs, I also received validation at SDN.  Let me give you an example of this.
    Two well-respected and long-time members of the SDN community indicated to me in personal emails that they had a lot of problems with my two long series of blogs on the WDA component WDR_TEST_UI_ELEMENTS and how it could be very easily converted to do many other useful things. 
    But at the same time as I was receiving this criticsm , I  responded to Thomas Szuecs in one of his threads and therefore took an opportunity to ask him if he knew the SAP developer of WDR_TEST_UI_ELEMETNS, and if so, to convey my gratitude to the developer of WDR_TEST_UI_ELEMENTS for writing such a wonderful piece of code.  He responded that he did know this developer and that this developer liked the series very much,
    Third, I have received blog responses from several SDNers indicating that my "perspective posts" were registering with them.  The one of these that I treasure most is from the SDNer who posted the following:  "I like the way you put your finger where it hurts - keep it up."
    So, you can see from the above three points how the mistake occurred - I figured that if I had 440 reads per day over four months, and if my technical posts were OK with key SAP developers, and if at least some readers were responding with indications that they understood what I was trying to do in my "perspective" posts, then I must be doing something right.
    But if you've been following some recent conversations in this Forum, you'll realize that I was doing something quite wrong.
    What I was doing wrong with my "perspective" posts was trying to use the blog space at SDN to effect change in the SAP community and therefore, in the larger IT community.
    And if you think about it, this was wrong for a very obvious reason: SDN has this "Suggestions" Forum that I'm posting in right now.
    So if I was really serious about trying to get SDN to become a change agent to help improve the SAP community and the larger IT community, then I should have been posting a particular kind of post to the Suggestion Forum, instead of "perspective" blogs.
    In particular, I should have been making Suggestion Forum posts which:
    a) clearly identify a problem in the SAP community that SDN can actually help to change;
    b) offering a concrete suggestion as to how SDN can help to change this problem.
    So - having finally realized my mistake, I want to start posting posts to this Suggestion Forum which do (a) and (b).
    But before I do, I want to ask two questions up front: one about frequency and one about content. 
    With respect to frequency, how often should I make one of these posts to the Suggestion Forum - weekly, every other day - you folks tell me.
    With respect to content, are there any topics that any one thinks inappropriate for a suggestion post?  In particular, would anyone object to Suggestion Forum posts on the following topics:
    a) in the SAP community (outside BI/A), matters relating to real business computation are being ignored in favor of an emphasis on tool technologies that have nothing to do with real business computation, but are important to SAP's marketing strategies; what can SDN to change this?
    b) in the SAP community, not enough support is being provided to the many external SAP developers who are stuck on systems at or above 4.6c and below 04s; what can SDN do to change this?
    c) in the SAP community, there is not enough awareness of deficiencies in the relational database model, and how carefully it must be used; what can SDN do to change this?
    d) in the SAP community, there is not enough awareness of how various "organizational pathologies" at customer sites constrain the ways in which SAP can be used to benefit customers; what can SDN do to change this?
    e) in the SAP community, there is far too little focus on SAP metadata, particularly at a time when SAP is trying to move into the Enterprise SOA paradigm.
    To sum up:
    1) If you think Suggestion Posts in any of these five areas are inappropriate, please take a moment to let me know. 
    2) If you think that Suggestion Posts should also be limited to a certain frequency, please also take a moment to let me know.
    3) If you've gotten this far in reading this post, thanks very much for your patience and for whatever advice you have the time and energy to provide.
    djh

    Hi Eddy -
    Thanks very much for the advice; it will probably work out that way anyway because right now I'm really interested in doing a good enough initial "trial-run" that  Valery/Rich will be willing to get involved in a mini-collaboration that I'm right now working to start up with an opening post in "Test/Playground".
    Anyway, since you're taking some time off, I beg you to take a look at the first two paragraphs of this link:
    <a href="http://www.kcoyle.net/granfalloons.html">ReCatsCradle</a>.
    and also then read Kurt Vonnegut's short novel "Cat's Cradle" if you haven't already.
    It is amazing how Vonnegut's notions of a "granfaloon" and a "karass" are related to various events that transpire here at SDN.
    Take care of yourself, buddy.
    Best regards
    djh

  • View and the query for the view giving different datasets

    I have a view created with the below syntax.
    CREATE OR REPLACE FORCE VIEW vw_name (/*column names*/ )
    AS SELECT /*column names*/ from tables
    When I execute the query with which the view is constructed , I m getting different data set which contains 4690 rows
    and when I exeute the view I m getting dataset which contains only 4657 rows.
    Can you please explain why the differnce in count when the source for both is the same.

    Can you please explain why the differnce in count when the source for both is the same.Answer should be one of the following
    1. The two query are not same
    2. The table data has been modified
    3. You are seeing at the wrong thing (manual error)

  • Cannot connect and run query for Access database

    Hi,
    I have a html file and a servlet file which contains code to connect to a database. I also have a sales database with customer table along with other tables in Access. I have created a DSN in Windows named sales which connects to the sales database. Now, when I am running the html form, the servlet does not run the query "Select * from Customer". It seems it cannot make any connection to the database.
    Any help is appreciated. I am very new to JDBC technology. Thanks.
    HTML FORM CODE:
    <html>
    <head><title>Sales</title></head>
    <body>
    <form action="http://localhost:8100/servlet/SalesServlet" method=POST>
    <strong>Select:</strong>
    <textarea cols=50 rows=8 name=select></textarea><p>
    <input type=submit value="Query">
    <input type=reset>
    </form></body></html>
    SALESSERVLET CODE:
    //Copyright (c) 2000, Art Gittleman
    //This example is provided WITHOUT ANY WARRANTY either expressed or implied.
    /* Queries the Sales database. Needs to be modified
    * to use metadata to correctly output the result set.
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import sun.jdbc.odbc.JdbcOdbcDriver;
    public class SalesServlet extends HttpServlet {
    Connection con;
    Statement stmt;
    public void init(ServletConfig sc) throws ServletException {
    super.init(sc);
    try{
    new JdbcOdbcDriver();
    String url = "jdbc:odbc:Sales";
    String user = "";
    String password = "";
    con = DriverManager.getConnection(url, user, password);
    stmt = con.createStatement();
    }catch (Exception e) {
    e.printStackTrace();
    System.exit(1);
    public void doGet(HttpServletRequest req,
    HttpServletResponse resp)
    throws ServletException, IOException {
    resp.setContentType("text/html");
    PrintWriter out = resp.getWriter();
    try{
    String query = req.getParameter("select");
    ResultSet rs = stmt.executeQuery(query);
    ResultSetMetaData rsMetaData = rs.getMetaData();
    int cols = rsMetaData.getColumnCount();
    while(rs.next()) {
    String s = "";
    for(int i=1; i<=cols; i++)
    s += rs.getString(i) + ' ';
    s += "<br>";
    out.println(s);
    }catch(Exception e) {
    e.printStackTrace();
    out.close();
    public void doPost(HttpServletRequest req,
    HttpServletResponse resp)
    throws ServletException, IOException {
    doGet(req,resp);
    }

    String url = "jdbc:odbc:Sales";
    String user = "";
    String password = "";
    con = DriverManager.getConnection(url, user, password);This might be causing your problem, but not sure. Since you don't need a username or password for the ODBC connection, you can just use
    con = DriverManager.getConnection(url);
    The username and password aren't needed, so you can just use the above call instead. Perhaps the ODBC is trying to find a user called "" with a password "" and puking on itself, who knows... but you should post whatever exceptions or specific problems you're having that make you think you're not connecting.

  • WCF and Azure: Looking for advice.

    We have a somewhat unique design problem.
    We have a very complex data object that has a
    very long initialization time upon startup.  Due to it's complexity, the data can not be cached off into a database. 
    Therefore we would like to keep the instance of the data in memory on a WCF server (Single instance, multi concurrency)
    We would like to use the power of Azure to launch more instances of WCF servers as we need them.  But at the same time, we need to a static endpoint address to that virtual instance returned back to us so the client can dynamically connect to that virtual
    machine over and over again as only that specific endpoint has kept the project in memory.
    So basically the algorithm looks like this:
    1.  <Client> Azure get me the lowest load WCF server, or create a new virtual instance of the WCF.
    2.  <Azure> Okay the machine binding address you want is \\123.45.67.89
    3.  <Client> Thanks.  I'll connect to 123.45.67.89 to retrieve my data.
    4.  <Client> 123.45.67.89->LoadProject("Y");
    5.  <Client> "TheDataWeWant" = 123.45.67.89->GetDataOnProject("Y", "RequestedDataKey")
    6.  <Client> Edit "TheDataWeWant" locally.
    7.  <Client> 123.45.67.89->Set Data("Y", "TheDataWeWant")
    8.  <Client> Okay I'm done.  123.45.67.89->CommitToStorageAndClose()

    Hi,
    >>Therefore we would like to keep the instance of the data in memory on a WCF server (Single instance, multi concurrency)
    If you used multiple instances, I suggest you could use azure cache (http://azure.microsoft.com/en-us/documentation/articles/cache-dotnet-how-to-use-service/
    ) to store your data.  
    From your algorithm shown, I think you could use azure cloud service or wcf webrole. You could make your clients connect to WCF service directly (http://www.codeproject.com/Articles/188464/Host-WCF-Services-in-an-Azure-Worker-Role
    ) and no need to consider the address and new instances address.  When clients handled process, you could save the data into the sql database or azure storage.Hope it helps. 
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can we combine Query for cancelled requisitions and query for internal requisitions without internal sales order into a single query

    Hi All,
    Greetings.
    I have two queries namely,
    1.Query for cancelled requisitions and
    2.Query for Internal Requisitions without Internal Sales Orders.
    I was on a task to combine those two queries..
    Can we do that? if so, please help me do that..
    Thanks in Advance,
    Bhaskar.

    Hi All,
    Greetings.
    I have two queries namely,
    1.Query for cancelled requisitions and
    2.Query for Internal Requisitions without Internal Sales Orders.
    I was on a task to combine those two queries..
    Can we do that? if so, please help me do that..
    Thanks in Advance,
    Bhaskar.

  • Insert and update query to calculate the opening and closing balance

    create table purchase(productid number(5) ,dateofpurchase date,
    qty number(5));
    create table inventory(invid number(5),productid number(5),
    idate date,openingqty number(5),closingqty number(5));
    Records in inventory:
    1,1,'01-jan-2009', 10, 20
    2,1,'03-jan-2009', 20, 30
    3,1,'04-jan-2009', 40, 50
    when I enter the purchase invoice for 15 qty on 02-jan-2009
    after say '15-jan-09' , a new record should get inserted
    with opening balance = (closing balance before 02-jan-2009)
    and all the opening and closing balance for that product should
    get affected.
    If the invoice for 20 qty is entered for the existing date say
    '03-jan-2009' in inventory , then the closing balance
    for 03-jan-2009 should get updated and all the following records
    should get affected.
    I need the insert for the first one and update query for the
    second one.
    Vinodh

    <strike>You can do this in one statement by using the merge statement</strike>
    Hmm, maybe I spoke too soon.
    Edited by: Boneist on 25-Sep-2009 13:56
    Thinking about it, why do you want to design your system like this?
    Why not simply have your purchases table hold the required information and then either work out the inventory on the fly, or have a job that calls a procedure to add a row for the previous day?
    If you continue with this design, you're opening yourself up to a world of pain - what happens when the data doesn't match the purchases table? Also when is the inventory cut-off to reset the opening/closing balances? Monthly? Annually? Weekly? If it's set to one of those, what happens when the business request the inventory for a particular week?
    Edited by: Boneist on 25-Sep-2009 13:59

  • Question/issue regarding querying for uncommited objects in Toplink...

    Hi, was hoping to get some insight into this problem we are encoutering…
    We have this scenario were we are creating a folder hierarchy (using Toplink)
    1. a parent folder is created
    2. child elements are created (in the same transaction as step 1),
    3. we need to lookup the parent folder and assign it as the parent
    of these child elements
    4. end the transaction and commit all data
    In our system we control access to objects by appending a filter to the selection criteria, so we end up with SQL like this example
    (The t2 stuff is the authorization lookup part of the query.) ;
    SELECT t0.ID, t0.CLASS_NAME, t0.DESCRIPTION, t0.EDITABLE,
    t0.DATE_MODIFIED, t0.DATE_CREATED,
    t0.MODIFIED_BY, t0.ACL_ID, t0.NAME, t0.CREATED_BY,
    t0.TYPE_ID, t0.WKSP_ID, t1.ID, t1.LINK_SRC_PATH,
    t1.ABSOLUTE_PATH, t1.MIME_TYPE, t1.FSIZE,
    t1.CONTENT_PATH, t1.PARENT_ID
    FROM XDOOBJECT t0, ALL_OBJECT_PRIVILEGES t2,
    ARCHIVEOBJECT t1
    WHERE ((((t1.ABSOLUTE_PATH = '/favorites/twatson2')
    AND ((t1.ID = t2.xdoobject_id)
    AND ((t2.user_id = 'twatson2')
    AND (bitand(t2.privilege, 2) = 2))))
    AND (t1.ID = t0.ID))
    AND (t0.CLASS_NAME = 'oracle.xdo.server.repository.model.Archivable'))
    When creating new objects we also create the authorization lookup record (which is inserted into a different table.) I can see all the objects are registered in the UOW identity map.
    Basically, the issue is that this scenario all occurs in a single transaction and when querying for the newly created parent folder, if the authorization filter is appended to the query, the parent is not found. If I remove the authorization filter then the parent is found correctly. Or if I break this up into separate transactions and commit after each insert, then the parent is found correctly.
    I use the conformResultsInUnitOfWork attribute on the queries.
    This is related to an earlier thread I have in this discussion forum;
    Nested UnitOfWork and reading newly created objects...
    Thanks for any help you can provide,
    -Tim

    Hi Doug, we add the authorization filter directly in the application code as the query is getting set up.
    Here are some code examples; 1) the first is the code to create new object in the system, followed by 2) the code to create a new authorization lookup record (which also uses the first code to do the actual Toplink insert), then 3) an example of a read query where the authorization filter is appended to the Expression and after that 4) several helper methods.
    I hope this is of some use as it's difficult to show the complete flow in a simple example.
    1)
    // create new object example
    public Object DataAccess.createObject(....
    Object result = null;
    boolean inTx = true;
    UnitOfWork uow = null;
    try
    SessionContext sc = mScm.getCurrentSessionContext();
    uow = TLTransactionManager.getActiveTransaction(sc.getUserId());
    if (uow == null)
    Session session = TLSessionFactory.getSession();
    uow = session.acquireUnitOfWork();
    inTx = false;
    Object oclone = (Object) uow.registerObject(object);
    uow.assignSequenceNumbers();
    if (oclone instanceof BaseObject)
    BaseObject boclone = (BaseObject)oclone;
    Date now = new Date();
    boclone.setCreated(now);
    boclone.setModified(now);
    boclone.setModifiedBy(sc.getUserId());
    boclone.setCreatedBy(sc.getUserId());
    uow.printRegisteredObjects();
    uow.validateObjectSpace();
    if (inTx == false) uow.commit();
    //just temp, see above
    if (true == authorizer.requiresCheck(oclone))
    authorizer.grantPrivilege(oclone);
    result = oclone;
    2)
    // Authorizer.grantPrivilege method
    public void grantPrivilege(Object object) throws DataAccessException
    if (requiresCheck(object) == false)
    throw new DataAccessException(
    "Object does not implement Securable interface.");
    Securable so = (Securable)object;
    ModulePrivilege[] privs = so.getDefinedPrivileges();
    BigInteger pmask = new BigInteger("0");
    for (int i = 0; i < privs.length; i++)
    BigInteger pv = PrivilegeManagerFactory.getPrivilegeValue(privs);
    pmask = pmask.add(pv);
    SessionContext sc = mScm.getCurrentSessionContext();
    // the authorization lookup record
    ObjectUserPrivilege oup = new ObjectUserPrivilege();
    oup.setAclId(so.getAclId());
    oup.setPrivileges(pmask);
    oup.setUserId(sc.getUserId());
    oup.setXdoObjectId(so.getId());
    try
    // this recurses back to the code snippet from above
    mDataAccess.createObject(oup, this);
    catch (DataAccessException dae) {
    Object[] args = {dae.getClass().toString(), dae.getMessage()};
    logger.severe(MessageFormat.format(EXCEPTION_MESSAGE, args));
    throw new DataAccessException("Failed to grant object privilege.", dae);
    3)
    // example Query code
    Object object = null;
    ExpressionBuilder eb = new ExpressionBuilder();
    Expression exp = eb.get(queryKeys[0]).equal(keyValues[0]);
    for (int i = 1; i < queryKeys.length; i++)
    exp = exp.and(eb.get(queryKeys[i]).equal(keyValues[i]));
    // check if need to add authorization filter
    if (authorizer.requiresCheck(domainClass) == true)
    // this is where the authorization filter is appended to query
    exp = exp.and(appendReadFilter());
    ReadObjectQuery query = new ReadObjectQuery(domainClass, exp);
    SessionContext sc = mScm.getCurrentSessionContext();
    if (TLTransactionManager.isInTransaction(sc.getUserId()))
    // part of a larger transaction scenario
    query.conformResultsInUnitOfWork();
    else
    // not part of a transaction
    query.refreshIdentityMapResult();
    query.cascadePrivateParts();
    Session session = getSession();
    object = session.executeQuery(query);
    4)
    // builds the authorzation filter
    private Expression appendReadFilter()
    ExpressionBuilder eb = new ExpressionBuilder();
    Expression exp1 = eb.getTable("ALL_OBJECT_PRIVILEGES").getField("xdoobject_id");
    Expression exp2 = eb.getTable("ALL_OBJECT_PRIVILEGES").getField("user_id");
    Expression exp3 = eb.getTable("ALL_OBJECT_PRIVILEGES").getField("privilege");
    Vector args = new Vector();
    args.add(READ_PRIVILEGE_VALUE);
    Expression exp4 =
    exp3.getFunctionWithArguments("bitand",args).equal(READ_PRIVILEGE_VALUE);
    SessionContext sc = mScm.getCurrentSessionContext();
    return eb.get("ID").equal(exp1).and(exp2.equal(sc.getUserId()).and(exp4));
    // helper to get Toplink Session
    private Session getSession() throws DataAccessException
    SessionContext sc = mScm.getCurrentSessionContext();
    Session session = TLTransactionManager.getActiveTransaction(sc.getUserId());
    if (session == null)
    session = TLSessionFactory.getSession();
    return session;
    // method of TLTransactionManager, provides easy access to TLSession
    // which handles Toplink Sessions and is a singleton
    public static UnitOfWork getActiveTransaction(String userId)
    throws DataAccessException
    TLSession tls = TLSession.getInstance();
    return tls.getTransaction(userId);
    // the TLSession method, returns the active transaction (UOW)
    // or null if none
    public UnitOfWork getTransaction(String uid) {
    UnitOfWork uow = null;
    UowWrapper uw = (UowWrapper)mTransactions.get(uid);
    if (uw != null) {
    uow = uw.getUow();
    return uow;
    Thanks!
    -Tim

  • Query for Opening And  Closing Stock

    Hi Experts...
    I need a report for Opening and Closing stocks and Goods Receipt and Goods Issue for Raw Materials and Finished Goods and Consumbles ..instead of going for different reports for each we need a combined report which can display for all Raw Materials, Finished Goods and Consumbles and we need it for a specific date range Material type(Raw MAterials,Finished Goods, Consumbales)
    and below is the format i needed.
                                                                           RAW MATERIALS /FINISHED GOODS/CONSUMBALES
                            Opening Stock                      Closing Stock         Goods Receipt                  Goods Issue
                             Qty   Value                             Qty   Value                     Qty   Value                      Qty   Value
    Item Name
    Regards,
    Vamsi.

    Hi Guys.
    I need an Inventory stock report with Item name, Opening Stock,Goods issue Quantity,Goods Received ,Item Price,Location ,(Closing Stock)Total Value.
    We need the input by Date Range and Item Group and Location(if Possible) Below is the Code i used to run the report.
    Pls Update the Query...
    Declare @FromDate Datetime
    Declare @ToDate Datetime
    Declare @Group nvarchar(10)
    Declare @Whse nvarchar(10)
    Set @FromDate = (Select min(S0.Docdate) from dbo.OINM S0 where S0.Docdate >='[%0]')
    Set @ToDate = (Select max(S1.Docdate) from dbo.OINM s1 where S1.Docdate <='[%1]')
    Set @Group = (Select Max(s2.ItmsGrpCod) from dbo.OITB S2 Where S2.ItmsGrpNam = '[%2]')
    Set @Whse = (Select Max(s3.Warehouse) from dbo.OINM S3 Where S3.Warehouse = '[%3]')
    Select @Whse as 'Warehouse', a.Itemcode, max(a.Dscription), sum(a.[Opening Balance]) as [Opening Balance], sum(a.[IN]) as [IN], sum(a.OUT) as OUT,max(a.Price) as 'Price', ((sum(a.[Opening Balance]) + sum(a.[IN])) - Sum(a.OUT)) as Closing from dbo.OITM I1
    Left JOIN (Select N1.Warehouse, N1.Itemcode, N1.Dscription,N1.Price, (sum(N1.inqty)-sum(n1.outqty)) as [Opening Balance], 0 as [IN], 0 as OUT
    From dbo.OINM N1
    Where N1.DocDate < @FromDate and N1.Warehouse = @Whse
    Group By N1.Warehouse,N1.ItemCode,N1.Dscription,N1.Price
    Union All
    select N1.Warehouse, N1.Itemcode, N1.Dscription,N1.price, 0 as [Opening Balance], sum(N1.inqty) as [IN], 0 as OUT From dbo.OINM N1 Where N1.DocDate >= @FromDate and N1.DocDate <= @ToDate and N1.Inqty >0 and N1.Warehouse = @Whse Group By N1.Warehouse,N1.ItemCode,N1.Dscription,N1.price
    Union All
    select N1.Warehouse, N1.Itemcode, N1.Dscription,N1.price, 0 as [Opening Balance], 0 as [IN], sum(N1.outqty) as OUT From dbo.OINM N1 Where N1.DocDate >= @FromDate and N1.DocDate <=@ToDate and N1.OutQty > 0 and N1.Warehouse = @Whse Group By N1.Warehouse,N1.ItemCode,N1.Dscription,N1.price) a ON a.ItemCode=I1.ItemCode
    where  I1.ItmsGrpCod = @Group
    Group By a.Itemcode
    Order By a.Itemcode
    Regards,
    Vamsi.

  • Query For Finding Yearly Opening and Closing Balance for All the Items

    Hi Experts,
    I am working on Query Based Report for finding the Yearly Opening and Closing Stock for all the Items
    i will give yearwise selection and I want opening and closing stock in between that years
    Warm Regards,
    Sandip Kokate
    Edited by: Sandipk on May 20, 2011 1:58 PM

    Hi,
    Declare @SDate DateTime
    Declare @EDate DateTime
    Declare @Whse nvarchar(10)
    Set @SDate= (SELECT min(F_RefDate)  FROM  OFPR T1 where  T1.[Name] ='[1%]' )
    Set @EDate= (SELECT max(T_RefDate)  FROM  OFPR T1 where  T1.[Name] ='[%1]' )
    Set @Whse=(Select Max(s2.Warehouse) from OINM S2 Where S2.Warehouse = '[%2]')
    BEGIN
    Select @Whse as 'Warehouse', a.Itemcode, max(a.Dscription) as ItemName,
    sum(a.OpeningBalance) as OpeningBalance, sum(a.INq) as 'IN', sum(a.OUT) as OUT,
    ((sum(a.OpeningBalance) + sum(a.INq)) - Sum(a.OUT)) as Closing ,
    (Select i.InvntryUom from OITM i where i.ItemCode=a.Itemcode) as UOM
    from( Select N1.Warehouse, N1.Itemcode, N1.Dscription, (sum(N1.inqty)-sum(n1.outqty))
    as OpeningBalance, 0 as INq, 0 as OUT From dbo.OINM N1
    Where N1.DocDate < @SDate and N1.Warehouse = @Whse Group By N1.Warehouse,N1.ItemCode,
    N1.Dscription Union All select N1.Warehouse, N1.Itemcode, N1.Dscription, 0 as OpeningBalance,
    sum(N1.inqty) , 0 as OUT From dbo.OINM N1 Where N1.DocDate >= @SDate and N1.DocDate <= @EDate
    and N1.Inqty >0 and N1.Warehouse = @Whse Group By N1.Warehouse,N1.ItemCode,N1.Dscription
    Union All select N1.Warehouse, N1.Itemcode, N1.Dscription, 0 as OpeningBalance, 0 , sum(N1.outqty) as OUT
    From dbo.OINM N1 Where N1.DocDate >= @SDate and N1.DocDate <=@EDate and N1.OutQty > 0
    and N1.Warehouse = @Whse Group By N1.Warehouse,N1.ItemCode,N1.Dscription) a, dbo.OITM I1
    where a.ItemCode=I1.ItemCode
    Group By a.Itemcode Having sum(a.OpeningBalance) + sum(a.INq) + sum(a.OUT) > 0 Order By a.Itemcode
    END
    I hope this will work for you.
    In above query you can also user OFPR.Code, OFPR, Category OFPR.Indicator instead of OFPR.Name.
    Regards
    Vaibhav Anharwadkar
    Edited by: Vaibhav Ancharwadkar on May 24, 2011 9:23 AM

  • QUERY FOR CUSTOMERS FULL DEBIT AND CREDIT WITH CLOSING BALANCE

    Hi Friends,
       I need query for CUSTOMERS FULL DEBIT AND CREDIT WITH CLOSING BALANCE for selection criteria from date and to date.
       I know the Trial Balance Report will sort out this issue... but i need routeday wise report
    1. Business Partner Master Data - i created one UDF field called U_Routeday (MONDAY, TUESDAY, WEDNESDAY,THURSDAY,FRIDAY)
    2. The query should be like selection criteria 
                                  - Routeday [%0]
                                  - Posting Date [%1]                           
                                  - Posting Date [%2]
    CardCode
    Debit
    Credit
    Balance
    D10503
    25031.50
    24711.50
    2962.00
    D10641
    5466.00
    7460.00
    285.00
    D10642
    2866.00
    142.00
    give any helpful query ASAP... Thanks in advance

    Hi,
    Try this query:
    Declare
    @fromdate as datetime
    Declare
    @Todate as datetime
    Declare
    @Code as nvarchar(25)
    set
    @fromdate = ( select min(Ta.[RefDate]) from OJDT ta where
    Ta.[RefDate] >= [%0])
    set
    @Todate = ( select max(Tb.[RefDate]) from OJDT tb where Tb.[RefDate]
    <= [%1])
    set
    @code = (select max(Tc.[ShortName]) from JDT1 tC where Tc.[ShortName]
    = [%2])
    SELECT
    [Name] as AcctName, [Jan]= sum([1]), [Feb]= sum([2]), [Mar]=
    sum([3]), [Apr]= sum([4]),  [May]= sum([5]), [June]= sum([6]),
    [July]= sum([7]), [Aug]= sum([8]), [Sept]= sum([9]), [Oct]=
    sum([10]), [Nov]= sum([11]), [Dec]= sum([12]), total = sum
    (isnull([1],0)+ isnull([2],0) + isnull([3],0) + isnull([4],0) +
    isnull([5],0) + isnull([6],0) + isnull([7],0) + isnull([8],0) +
    isnull([9],0)+ isnull([10],0) + isnull([11],0) + isnull([12],0))
    from
    (SELECT
    T0.[ShortName] as Name, sum(T0.[Debit]-T0.[Credit]) as T,
    month(T2.[RefDate]) as month FROM JDT1 T0  INNER JOIN OACT T1 ON
    T0.Account = T1.AcctCode INNER JOIN OJDT T2 ON T0.TransId =
    T2.TransId WHERE T2.[RefDate] between @fromdate and @todate and
    T0.[ShortName]  = @code  GROUP BY T0.[ShortName],T2.[RefDate] ) S
    Pivot
    (sum(T)
    For  Month IN ([1],[2],[3],[4],[5],[6],[7],[8],[9],[10],[11],[12])) P
    group
    by [Name],[1],[2],[3],[4],[5],[6],[7],[8],[9],[10],[11],[12]
    Let me know your result.
    Thanks & Regards,
    Nagarajan

  • Query for details of  Sale order , Invoice and COGS

    I Need the report cointing following based on month & Business partner
    Sale order, Sale Amount, Due date, Invoice Amount, Last Invoice date, COGS amount

    Hi Anantha,
    Please check below link and modify according to your requirement.
    Sales Order Query for  in SAP B1
    Query - Sales Orders linked to Deliveries
    My Top SQL Queries for SAP Business One
    Hope this helps
    Regards::::
    Atul Chakraborty

  • ABAP Query, To list both, the PO created and PO modified for a given period

    Hi
    I want to create a query that list the purchasing orders created or modified during a given period. however, the creation date and the modification date are two different fields stored in differents tables.
    if I have these two fields in the selection creteria screen, the relationship between them will be the operator AND. so this will not enable me to have the information targeted.
    My quetion, is there a possibility to have the Operator OR in the first selection creteria screen , between these 2 fields.?
    the tables are:
    for the creation EKKO
    for the change :
    MECDGRID
    CDHDR Change document header
    CDPOS Change document items
    thanks

    Hello,
    Fetch data from EKKO and do a for all entries on the table CDHDR on the field OBJECTID and EBELN and t-code = ME21N OR ME21 ETC.
    Similarly between CDHDR and CDPOS tables based on objectid`s.
    Hope this helps you in solving your problem!
    Regards,
    Reetesh

  • Microsoft Query for Office 2013 Home and Business

    Where can I get Microsoft Query for Office 2013 Home and Business version?  I have used it for years on my old XP machine with Office 2003.
    Thank you, Sue

    Hi,
    You seem got an error like "Microsoft query could not be started because it isn’t installed" when you used it. 
    It may be not installed yet. We can go to "Control Panel\All Control Panel Items\Programs and Features\Office 2013 Home and Business\change\Microsoft tools\MS query" and check if it is installed/enabled.
    If it is not installed, please use the Install CD/ full installation copy to reinstall it.
    http://social.technet.microsoft.com/Forums/office/en-US/eb7bfe7d-8fa4-4faf-8563-13ae8b04346d/microsoft-query-could-not-be-started-because-it-isnt-installed?forum=excel (It
    also applies to Excel 2013)
    Regards,
    George Zhao
    TechNet Community Support

Maybe you are looking for

  • Dynamic Series creation for Plot Chart

    Hi, I am using a plot chart which takes data from an external XML file. Based on certain fields in the data, I create 3 different plot series. I use a Combo box to show different plot series based on the selected value from it. I am placing another C

  • FPBW-Mass Activity

    Hi, We have a requirement to extract open items for our IS-U customer on a weekly basis. This is a full extract from DFKKOPBW. The sequence of activities: 1. Run FPBWS - To mark the previous extract for Deletion 2. Run FPBWD - To delete the marked ex

  • Recorded Sound, please help

    I shot a movie recently, and since the audio we recorded on some of the scenes sucked, we dubbed a few of them. Some of these scenes take place outside, but we dubbed them in a small room and when the recorded sound is placed over the scene, it sound

  • Gray screen of death on boot-up

    I have a 2.1 GHz MacBook with a 120GB hard-drive that I bought last November. I've been doing a lot with video and music and I keep running out of disk space. So, I keep deleting files that I thought I didn't need. Unfortunately, I must have deleted

  • Sub screen in t-code MFBF...

    Hi frnds, I want to add subscreen in t-code MFBF with some fields that shld be stored in table.. How to do that...