Globally change values of multiple objects under same layer?

It appears there is no way to do this but I'm going to ask any how in case I'm wrong.
I have some 200 objects (individual dots for city names, all the same width and height) on a map, and all under one layer. I would like to change the size of these dots globally without selecting and editing each individual object. Using the selection or direct selection tool and selecting two or more dots treats them as a group rather than allowing me to change the all objects together. I have tried with each dot grouped and ungrouped, but each time two or more are selected the width and height of the size of the entire selected area surrounding the dots appears rather than the actual width and height size of the dots. Transform and Transform Each allows percentages, but I want to put in a specific width and height number for all the objects. I believe I once select all such objects in the past and then deselected one object which (as I recall) allowed me to enter specific the common width and height numbers for the objects, but this does not now work (if it ever did in the past). Any ideas? (Working in CS3)

mbaka2 wrote:
I use graphic styles all the time but never thought of using it via a symbol for the dot (too long in Freehand) [...]
Hey, don't blame FreeHand! It has symbols, too!
Be glad you were working with dots and not shield-shaped highway signs.
FreeHand’s Find & Replace path shape, swap object with symbol (Library Panel), and set fixed dimensions (Object Panel) give the user several ways to do what you want to do. It’s not so easy in AI.
James Talmage has written a useful ‘replace with symbol’ script. You can find it here:
http://www.illustrationetc.com/AI_Javascripts/ReplaceScripts.htm
See this discussion for James’ post on editing the script to keep the replacement symbol size uniform:
http://forums.adobe.com/message/2026525#2026525
I recently made a request for a ‘Transform each to fixed dimesions’ feature in AI. You can head over to the Feature Requests forum and add your vote, if you feel so inclined.
http://forums.adobe.com/thread/447620?tstart=0

Similar Messages

  • Adding multiple servlets under same application

    Hi,
    We are trying to add multiple servlets (2 to be precise) to an Application.
    We are using j2ee1.3 server and deploytool for deploying the same.
    Is it possible to have a single context root in which i'll be able to place both servlets with different aliases to access them?
    The moment I specify same contextRoot in Web context tab of Application, i get an error saying Deployment failed because "mycontextroot" already exists.
    When I assign two different context roots to each servlet, they can function, but then the URL for each changes inspite of being in the same application.
    Any suggestions are welcomed.
    Thank you,
    Manish.

    Hi,
    I did not quite follow the solution and I am wondering if it will solve a problem I am having.
    I wish to define multple jax-rpc endpoints, but I want the classes servicing those endpoints to be able to communicate with one another. I tried placing them both in the same war and entering two endpoints in the jaxrpc-ri.xml file, but it didn't like the second endpoint entry being there.
    Is there a way to do this?

  • Select multiple objects faster, on layer panel?

    Hi everyone. I've asked my designers friends, but nobody knews the answer - so I need to post here.
    Question : Is it possible to select a few objects by "sliding a mouse", on layer panel?
    For example, you can hold down the mouse, slide to lock multiple objects. It's fast and easy!
    But if I need to select, say, only red, blue, yellow stars... I need to click the ◎ icons to select each sublayer.
    This drives me nuts, especially when I have so many objects to be selected on layer panel.
    I use CS6 on Mac.
    Is there any secret shortcut key to select objects on layer panel by "sliding a mouse"?
    Thanks bunch!!

    Hi Monika,
    Thanks for response.
    Not in CS6!?  Sad to know.
    If there is a way to do it, ---magically--- please someone let me know....
    Thanks, have a good day!

  • Layering Problem:Assigning multiple objects to a layer removes previous layering

    HI!
    I have a massive problem.
    Let's say I have 5 objects, object "1" to object "5".
    If I assign object "1" to layer "a", object "2" to layer "b", and so on until object "5"
    to layer "e", and then assign all 5 objects to layer named "all", here's what happens:
    1) objects "2" till "5" are removed from layers "b" till "e"
    2) All 5 objects are placed in layers "a" and "all"
    What I want is for them to stay in their respective layers AS WELL as their newly appointed layer(s). This problem does not occur if I assign
    objects 1-5 one by one into layer "all".
    I'm doing something more complicated with 100 shapes and a few hundred connectors and assigning them one by one is just not acceptable.
    Is there a way I can fix this? I couldn't find anything online...

    HI!
    I have a massive problem.
    Let's say I have 5 objects, object "1"
    to object "5".
    If I assign object "1" to layer "a",
    object "2" to layer "b", and so on until object "5" to layer "e", and then assign all 5 objects to layer named "all", here's what happens:
    1) objects "2" till "5" are
    removed from layers "b" till "e"
    2) All 5 objects are placed in layers "a"
    and "all"
    What I want is for them to stay in their respective
    layers AS WELL as their newly appointed layer(s). This problem does not occur if I assign objects 1-5 one by one into layer "all".
    I'm doing something more complicated with 100
    shapes and a few hundred connectors and assigning them one by one is just not acceptable.
    Is there a way I can fix this? I couldn't find
    anything online...

  • Global Address List for multiple people with same name?

    When writing a new email, I want to add a name from the global address list of my microsoft exchange Contacts group. I select the blue plus button and type in the name. If there is more than one person in my company with the same name, both people will show up. However, Mail is not letting me see the details of either of the two people so I don't know which one is the right one.
    However, if I start from Contacts, Groups, Exchange and type in that person's name, when I select a name, a second screen will show up with the details (email address, title, etc) of the person. That way, I know which one is the correct person who I want to email. Why can't I do this directly from Mail? If I need to send an email to multiple people from the GAL, I don't want to have to search for them via Contacts.
    Thanks!

    I don't know the exact and complete specification of your intended schema...
    anyway, from what I can see in your post, I assume that
    <deed>
        <deed_type>
            <name>Quit Claim</name>
            <value>Sheriff</name>
        </deed_type>
        <deed_type>
            <name>sheriff's deed</name>
            <value>Sheriff</value>
        </deed_type>
        <deed_type>
            <name>Warranty</name>
            <value>W</name>
        </deed_type>
    </deed>would be the "proper" way to go...
    which makes your "deed_type" a complexType, including a sequence of two kinds of xs:string elements : "name" and "value"

  • Multiple objects with same name when rebuilding index online

    I am looking for advice on how to handle a race-condition in sql server, related to reading metadata while an online index rebuild is being performed.
    The problem is as follows:
    At some point we execute the following statement:
    SELECT 
    obj.object_id AS id, 
    scm.name AS scm, 
    obj.name AS name, 
    obj.type AS type, 
    ds.name AS dataspace_name, 
    prop.value AS description, 
    part.data_compression_desc as compression_desc
    FROM sys.objects AS obj
    INNER JOIN sys.schemas AS scm ON obj.schema_id = scm.schema_id
    INNER JOIN sys.indexes AS idx ON obj.object_id = idx.object_id AND idx.type IN (0,1)
    INNER JOIN sys.data_spaces AS ds ON idx.data_space_id = ds.data_space_id
    INNER JOIN (SELECT object_id, data_compression_desc FROM sys.partitions WHERE index_id IN (0,1) /*Heap, Clustered*/) AS part ON part.object_id = obj.object_id
    LEFT OUTER JOIN sys.extended_properties AS prop ON obj.object_id = prop.major_id AND prop.minor_id = 0 AND prop.class = 1 AND prop.name = 'Description'
    WHERE obj.type = 'U' OR obj.type = 'S'";
    The statement returns some metadata for indexes (indices?), the purpose of wich is not the subject.
    When executed while an online index rebuild is running, a race condition occurs: When the rebuilding enters the final phase, the new index, which have the same name, becomes visible and thus results in two rows with the same name (from sys.object). I am unaware
    if this only occurs for clustered index (which is what we have observed).
    We became aware of this behaviour, as we added the metadata to a .Net Dictionary using name as key, and received a duplicate key exception. We have, hoewever, not been able to reproduce the situation, due to the nature of the race condition, and we found very
    little documentation on the subject.
    What we would like to do now, is to differentiate between the two. We see two options:
    1) We could just use the first of the rows and ignore the second. This solution would require that the metadata for both rows are identical.
    2) We could discern the "real" index from the "rebuilding" index. This requires some kind of extension of the Where-part.
    We have not been able to determine if the requirements for either option is present, as we havent found any documentation, nor have we been able to test for differences, as we cannot reproduce the situation.
    We would also like some way of reproducing the situation, so ideas as to how to do that is welcome.
    Can anyone direct me to relevant documentation, or alternate solutions.
    HRP

    1. Use the index with the lower fragmentation to identify the newly rebuilt index (as it almost always will have lower fragmentation)
    2. To reproduce, block the online index rebuild process by trying to alter the table's definition in a transaction (and don't commit, which will place schema lock on the table)
    Satish Kartan http://www.sqlfood.com/

  • Counter function value to multiple elements as same value in different node

    I need your help!
    I have a counter function and value of that needs to be passed to two elements of Node A and Sub Node B..
    Ex: Mapping
    Map Counter function to NodeA.Element1 and also to NodeB(subnode).Element2
    Expected Result:
    NodA.Element1 = 1
    NodeB.Element2 =1
    but I am getting the result as
    NodA.Element1 = 1
    NodeB.Element2 =2
    I understand the reason.. since the counter function is called each time..
    so my questions is how do I the expected result as mentioned--
    NodA.Element1 = 1
    NodeB.Element2 =1
    remember the XML is multiple occurence(1.. unbounded for both the nodes)
    Thanks-Gopal

    I think  I did not explain phrase it correctly..Technicallyh NodeA.Element1 value should be copied to NodeB.Element2..As long as I can generate counter to NodeA.Element1 and hold the value somewhere to copy to NodeB.Element2, that would be fine..
    the above suggestion you guys made would not work as it will create two different set of sequences.. however Index suggestion might work differently but still I might go out of sequence if I have multiple detail record for each master record..
    Here the expected output (concise)
    Record 1 - NodeA.Element1 = 1
    Record 2 -NodeB.Element2=1
    Record3- NodeA.Element1 =2
    Record4 - NodeB.Element2=2  -->two detail records
    Record5 - NodeB.Element2=2  --> two detail records
    please help

  • Unable to change password in new email under same ID name

    I would like to change passward but now i have new email how i can do? and still would like to be same ID log in name

    You didn't post a four digit version, so it is difficult to answer your question.
    Also as you didn't post the trigger code, you are asking me to look in my crystal ball.
    Fact:
    you are logging in as a non-sys user
    Fact:
    The after logon trigger code contains a bug, as it uses a collection which has not been initialized (this is in the error message you didn't try to understand)
    Result: the after logon trigger raises an exception and you can not login.
    Solution: fix the code.
    This is all quite obvious and you don't need the assistance of 'Gurus'.
    Sybrand Bakker
    Senior Oracle DBA

  • How to change value of Integer object ?

    I wrote a program:
    public class Tester{
         public static void changeValue( Integer a, int b ){
              a.valueOf(b);
         public static void main( String[] args ){
              Integer a = new Integer(15);
              Tester.changeValue(a, 20);
              System.out.println(a); // It will print to screen the value 15, but i want it is 20.
    }Can you help me?????

    Create a Value Object.
    public class MyInteger {
        // The encapsulated property (required).
        private Integer value;
        // Always declare a default no-arg constructor if you have declared another constructors (javabean spec).
        public MyInteger() {
            // Default constructor, keep alive.
        // This constructor is here so that you don't need to call setValue() after default construction (optional).
        public MyInteger(Integer value) {
            this.value = value;
        // The getter of the encapsulated property (required).
        public Integer getValue() {
            return value;
        // The setter of the encapsulated property (required).
        public void setValue(Integer value) {
            this.value = value;
        // The string representation of this object which pleases reading in logs (optional).
        public String toString() {
            return "MyInteger[" + String.valueOf(value) + "]";
    public class Tester {
        public static void changeValue(MyInteger myInteger, int b) {
            myInteger.setValue(new Integer(b));
        public static void main(String[] args) {
            MyInteger a = new MyInteger(new Integer(15));
            Tester.changeValue(a, 20);
            System.out.println(a);
    }

  • Can you have multiple accounts under same apple id?

    We have 1 main apple id for our household so that anything we buy can be shared onto any of our devices. However this is a problem when we use giftcards. When 1 child redeems their gift card onto the account, they can't stop the other sibling from using their money accidentally. Is there a way to set-up separate subaccounts while still being able to share content among all of us?

    iCloud isn't designed as a multi-user service. Either you all have the same ID, and all your data is available to everyone, or you all have separate IDs and keep your data separate. You can share calendars, so that for example you could all have your own calendars but have one which is common to everyone:
    http://help.apple.com/icloud/#mm6b1a9479
    If you want to share contacts you will have to do it manually. If you want to do file transfer you will have to find a third-party alternative.

  • Locking objects under same user ID

    I have an user id in a SAP instance and i have prepared a report in that. The user ID is shared and I want to lock my  report from others so that it does not get hampered. Is it possible?

    Hi,
    If you dont want others to change your report/prg apart from the user id which you have used to develop that report, you can set editor lock so that other's cannot do any changes to that report.
    Hope it helps you.
    Thanks
    KH

  • Do multiple objects of class are handled as process or threads?

    Hi
    I was thinking that how multiple objects of same java class are handled on any app server?
    Will it be Thread based or Process based executtion.
    I think it will be Process based handling for different objects as they do not have anything to share(Pls correct if I am wrong)
    I have below basic questions for any concurrency handled by Java framework fo any app server
    1) If I have one non static method which has below two lines
    if(file.exists() == true) ///line 1
    file.delete(); //line 2
    So for one request one new object has been created which comes to execute method which has above 2 lines,
    If it executes first line and meanwhile ,App sever switches to second object execution which executes both line then now when First object's execution will be started ,it will be error some?
    Is it right understanding ,if yes then what should we do?
    2) If I have one static method for all objects share same space with same above definition thn what will happen?
    Thanks in advance
    Ab

    Peter__Lawrey wrote:
    abhishah4444 wrote:
    If answer is yes then what is the way to avoid these type of scenarios.It depends on what the situation is and what the concequence is.
    Sometimes it is simpler to compensate rather than avoid the scenario.
    e.g. it may be simpler to just ignore the error rather that try to enforce some locking.
    For example, what happens if you or another program deletes the file at the wrong moment and both threads fail. Can you synchronise the user as well? no.
    Can I use synchonised here for method definition which will make sure that only one thread completes both lines other will wait till time?Yes. but you could still get a failure.
    It depends and what you are trying to achieve.
    You need to look at a real example.I appreciate your help but I still have some things going in my mind which I am putting here, if you find inappropriate ,can you put in simple words for my understanding.
    When we say for two web rquest , app server will create 2 threads that means thoes two thread are specific to app sever which use same resource of app server ,but independent of java classes.So when each request creates one object each for java class, two threads are two independent processes for app server as we dont have any static variables or static functions for that java class.
    Why do you say
    Yes. but you could still get a failure.
    It depends and what you are trying to achieve.Will synchonised(this){
    if(f.exists())
    f.delete();
    will not take care of serialisation here,I think it will
    Edited by: abhishah4444 on Aug 12, 2008 2:53 PM

  • Setting values of an Hue/Sat adjustment layer.

    Hi everyone!
    I'm sorry to but I desperatly search a function for photoshop CS5 that changes values of an HUE/Saturation adjustment layer.
    I searched several times on internet but couldn't find.
    I also tried with the scriptlistener but when I'm changing values of the adjustment layer, nothing writes in the logs.
    Could someone else please ? Thanks in advance.

    Does this help?
    #target photoshop
    setHueSatForLuminance ([0, 60, 0], [9, -30, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0]);
    // hue/sat-layer function;
    function setHueSatForLuminance (master, red, yellow, green, blue, cyan, magenta) {
    // =======================================================
    var idMk = charIDToTypeID( "Mk  " );
        var desc43 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref8 = new ActionReference();
            var idAdjL = charIDToTypeID( "AdjL" );
            ref8.putClass( idAdjL );
        desc43.putReference( idnull, ref8 );
        var idUsng = charIDToTypeID( "Usng" );
            var desc44 = new ActionDescriptor();
            var idType = charIDToTypeID( "Type" );
                var desc45 = new ActionDescriptor();
                var idpresetKind = stringIDToTypeID( "presetKind" );
                var idpresetKindType = stringIDToTypeID( "presetKindType" );
                var idpresetKindDefault = stringIDToTypeID( "presetKindDefault" );
                desc45.putEnumerated( idpresetKind, idpresetKindType, idpresetKindDefault );
                var idClrz = charIDToTypeID( "Clrz" );
                desc45.putBoolean( idClrz, false );
            var idHStr = charIDToTypeID( "HStr" );
            desc44.putObject( idType, idHStr, desc45 );
        var idAdjL = charIDToTypeID( "AdjL" );
        desc43.putObject( idUsng, idAdjL, desc44 );
    executeAction( idMk, desc43, DialogModes.NO );
    // =======================================================
    var idsetd = charIDToTypeID( "setd" );
        var desc46 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref9 = new ActionReference();
            var idAdjL = charIDToTypeID( "AdjL" );
            var idOrdn = charIDToTypeID( "Ordn" );
            var idTrgt = charIDToTypeID( "Trgt" );
            ref9.putEnumerated( idAdjL, idOrdn, idTrgt );
        desc46.putReference( idnull, ref9 );
        var idT = charIDToTypeID( "T   " );
            var desc47 = new ActionDescriptor();
            var idpresetKind = stringIDToTypeID( "presetKind" );
            var idpresetKindType = stringIDToTypeID( "presetKindType" );
            var idpresetKindCustom = stringIDToTypeID( "presetKindCustom" );
            desc47.putEnumerated( idpresetKind, idpresetKindType, idpresetKindCustom );
            var idAdjs = charIDToTypeID( "Adjs" );
                var list3 = new ActionList();
                    var desc12 = new ActionDescriptor();
                    var idH = charIDToTypeID( "H   " );
                    desc12.putInteger( idH, master[0] );
                    var idStrt = charIDToTypeID( "Strt" );
                    desc12.putInteger( idStrt, master[1] );
                    var idLght = charIDToTypeID( "Lght" );
                    desc12.putInteger( idLght, master[2] );
                var idHsttwo = charIDToTypeID( "Hst2" );
                list3.putObject( idHsttwo, desc12 );
                    var desc48 = new ActionDescriptor();
                    var idLclR = charIDToTypeID( "LclR" );
                    desc48.putInteger( idLclR, 1 );
                    var idBgnR = charIDToTypeID( "BgnR" );
                    desc48.putInteger( idBgnR, 315 );
                    var idBgnS = charIDToTypeID( "BgnS" );
                    desc48.putInteger( idBgnS, 345 );
                    var idEndS = charIDToTypeID( "EndS" );
                    desc48.putInteger( idEndS, 15 );
                    var idEndR = charIDToTypeID( "EndR" );
                    desc48.putInteger( idEndR, 45 );
                    var idH = charIDToTypeID( "H   " );
                    desc48.putInteger( idH, red[0] );
                    var idStrt = charIDToTypeID( "Strt" );
                    desc48.putInteger( idStrt, red[1] );
                    var idLght = charIDToTypeID( "Lght" );
                    desc48.putInteger( idLght, red[2] );
                var idHsttwo = charIDToTypeID( "Hst2" );
                list3.putObject( idHsttwo, desc48 );
                    var desc49 = new ActionDescriptor();
                    var idLclR = charIDToTypeID( "LclR" );
                    desc49.putInteger( idLclR, 2 );
                    var idBgnR = charIDToTypeID( "BgnR" );
                    desc49.putInteger( idBgnR, 15 );
                    var idBgnS = charIDToTypeID( "BgnS" );
                    desc49.putInteger( idBgnS, 45 );
                    var idEndS = charIDToTypeID( "EndS" );
                    desc49.putInteger( idEndS, 75 );
                    var idEndR = charIDToTypeID( "EndR" );
                    desc49.putInteger( idEndR, 105 );
                    var idH = charIDToTypeID( "H   " );
                    desc49.putInteger( idH, yellow[0] );
                    var idStrt = charIDToTypeID( "Strt" );
                    desc49.putInteger( idStrt, yellow[1] );
                    var idLght = charIDToTypeID( "Lght" );
                    desc49.putInteger( idLght, yellow[2] );
                var idHsttwo = charIDToTypeID( "Hst2" );
                list3.putObject( idHsttwo, desc49 );
                    var desc50 = new ActionDescriptor();
                    var idLclR = charIDToTypeID( "LclR" );
                    desc50.putInteger( idLclR, 3 );
                    var idBgnR = charIDToTypeID( "BgnR" );
                    desc50.putInteger( idBgnR, 75 );
                    var idBgnS = charIDToTypeID( "BgnS" );
                    desc50.putInteger( idBgnS, 105 );
                    var idEndS = charIDToTypeID( "EndS" );
                    desc50.putInteger( idEndS, 135 );
                    var idEndR = charIDToTypeID( "EndR" );
                    desc50.putInteger( idEndR, 165 );
                    var idH = charIDToTypeID( "H   " );
                    desc50.putInteger( idH, green[0] );
                    var idStrt = charIDToTypeID( "Strt" );
                    desc50.putInteger( idStrt, green[1] );
                    var idLght = charIDToTypeID( "Lght" );
                    desc50.putInteger( idLght, green[1] );
                var idHsttwo = charIDToTypeID( "Hst2" );
                list3.putObject( idHsttwo, desc50 );
                    var desc51 = new ActionDescriptor();
                    var idLclR = charIDToTypeID( "LclR" );
                    desc51.putInteger( idLclR, 4 );
                    var idBgnR = charIDToTypeID( "BgnR" );
                    desc51.putInteger( idBgnR, 135 );
                    var idBgnS = charIDToTypeID( "BgnS" );
                    desc51.putInteger( idBgnS, 165 );
                    var idEndS = charIDToTypeID( "EndS" );
                    desc51.putInteger( idEndS, 195 );
                    var idEndR = charIDToTypeID( "EndR" );
                    desc51.putInteger( idEndR, 225 );
                    var idH = charIDToTypeID( "H   " );
                    desc51.putInteger( idH, blue[0] );
                    var idStrt = charIDToTypeID( "Strt" );
                    desc51.putInteger( idStrt, blue[1] );
                    var idLght = charIDToTypeID( "Lght" );
                    desc51.putInteger( idLght, blue[2] );
                var idHsttwo = charIDToTypeID( "Hst2" );
                list3.putObject( idHsttwo, desc51 );
                    var desc52 = new ActionDescriptor();
                    var idLclR = charIDToTypeID( "LclR" );
                    desc52.putInteger( idLclR, 5 );
                    var idBgnR = charIDToTypeID( "BgnR" );
                    desc52.putInteger( idBgnR, 195 );
                    var idBgnS = charIDToTypeID( "BgnS" );
                    desc52.putInteger( idBgnS, 225 );
                    var idEndS = charIDToTypeID( "EndS" );
                    desc52.putInteger( idEndS, 255 );
                    var idEndR = charIDToTypeID( "EndR" );
                    desc52.putInteger( idEndR, 285 );
                    var idH = charIDToTypeID( "H   " );
                    desc52.putInteger( idH, cyan[0] );
                    var idStrt = charIDToTypeID( "Strt" );
                    desc52.putInteger( idStrt, cyan[1] );
                    var idLght = charIDToTypeID( "Lght" );
                    desc52.putInteger( idLght, cyan[2] );
                var idHsttwo = charIDToTypeID( "Hst2" );
                list3.putObject( idHsttwo, desc52 );
                    var desc53 = new ActionDescriptor();
                    var idLclR = charIDToTypeID( "LclR" );
                    desc53.putInteger( idLclR, 6 );
                    var idBgnR = charIDToTypeID( "BgnR" );
                    desc53.putInteger( idBgnR, 255 );
                    var idBgnS = charIDToTypeID( "BgnS" );
                    desc53.putInteger( idBgnS, 285 );
                    var idEndS = charIDToTypeID( "EndS" );
                    desc53.putInteger( idEndS, 315 );
                    var idEndR = charIDToTypeID( "EndR" );
                    desc53.putInteger( idEndR, 345 );
                    var idH = charIDToTypeID( "H   " );
                    desc53.putInteger( idH, magenta[0] );
                    var idStrt = charIDToTypeID( "Strt" );
                    desc53.putInteger( idStrt, magenta[1] );
                    var idLght = charIDToTypeID( "Lght" );
                    desc53.putInteger( idLght, magenta[2] );
                var idHsttwo = charIDToTypeID( "Hst2" );
                list3.putObject( idHsttwo, desc53 );
            desc47.putList( idAdjs, list3 );
        var idHStr = charIDToTypeID( "HStr" );
        desc46.putObject( idT, idHStr, desc47 );
    executeAction( idsetd, desc46, DialogModes.NO );

  • How to change Payment Terms in multiple orders at same time?

    How to change Payment Terms in multiple orders at same time?
    I have got 10,000 Order, I need to change the payment terms for all these Orders.
    Can I Know the way out for this.
    Regards,
    Dantham Conpolwedson
    Edited by: Dantham Conpolwedson on Mar 25, 2009 11:18 AM

    Hi
    There are as many options for that
    You can go for
    1)MASS t code
    2) LSMW  (by recording)
    3)BDC (by recording)
    and the most easiest way is by doing the MASS tcode
    goto MASS and enter the object type as BUS2032
    execute now select the sales order haeader data and execute and now enter the sales doc from and to range and execute now all the sales dox will be displayed
    and from the menu click on select fields  and select the terms of payment
    now select the terms of payment row and enter the new values  and click on carry out new changes
    regards

  • Advise on using DBMS_XA with multiple branches under one global transaction

    Dear all
    I need some advise on using DBMS_XA from PL/SQL with tightly coupled multiple branches under one global transaction. Basically, I've successfully written some PL/SQL code that in 3 different sessions attaches to 3 different branches of one global transaction and before ending each branch they can see each others uncommitted data. So far so good.
    However, I'm not sure I completely understand how each branch must call xa_end, xa_prepare and xa_commit correctly using two phase commit and my calls result in errors like:
    ORA-24767: transaction branch prepare returns read-only (XA error code 3 = Transaction was read-only and has been committed)
    ORA-24756: transaction does not exist (XA error code -4 = XID is not valid)
    ORA-02051: another session or branch in same transaction failed or finalized
    This is the structure of my programs (3 SQL*Plus sessions):
    main: Uses xid 123|0 (branch 0 of global transaction 123). This should be the coordinator that commits using two phase commit across the 3 branches
    m1.xa_start tmnoflags
    m2.DML
    m3.Wait for thread A + B to manually be started and run xa_end
    m4.xa_end tmsuccess
    m5.xa_prepare
    m6.xa_commit false
    thread A: Uses xid 123|A (branch A of global transaction 123)
    a1.xa_start tmnoflags
    a2.DML -- thread A can see main and thread B's data
    a3.xa_end tmsuccess
    a4.xa_prepare -- required?
    a5.Should we also call xa_commit false?
    thread B: Uses xid 123|B (branch B of global transaction 123)
    b1.xa_start tmnoflags
    b2.DML -- thread B can see main and thread A's data
    b3.xa_end tmsuccess
    b4.xa_prepare -- required?
    b5.Should we also call xa_commit false?
    The failing steps are:
    m5
    m6
    a4
    a5
    b4
    b5
    Before starting calling xa_end I see 3 rows in V$GLOBAL_TRANSACTION, eg (hex 7B = decimal 123):
    FORMATID GLOBALID BRANCHID BRANCHES REFCOUNT PREPARECOUNT STATE FLAGS COUPLING
    203348753 0000007B 00000000000000000000000000000000 3 3 0 ACTIVE 0 TIGHTLY COUPLED
    203348753 0000007B 0000000000000000000000000000000A 3 3 0 ACTIVE 0 TIGHTLY COUPLED
    203348753 0000007B 0000000000000000000000000000000B 3 3 0 ACTIVE 0 TIGHTLY COUPLED
    Thanks a lot in advance.
    Cheers
    Finn

    OK, I've figured it out. This is poorly documented as it's not well explained how to handle the various return codes. Turns out that all but the last xa_prepare calls return dbms_xa.xa_rdonly (tightly coupled branches are combined -- "read only" optimization), the last one returns dbms_xa.xa_ok and this is when you should call xa_commit.
    Now my next problem is that DBMS_XA doesn't work from within jobs (DBMS_JOB and DBMS_SCHEDULER), which makes it very difficult to use DBMS_XA. My purpose of using DBMS_XA is to coordinate work across multiple sessions in one transaction but if I can't easily create the multiple sessions, I'm stuck.
    When called from a job, xa_start throws:
    ORA-24789: start not allowed in recursive call
    on Oracle 11.2. In Oracle 11.1 it works, but xa_end fails with
    ORA-25352: no current transaction
    so I guess in fact the xa_start call didn't really work either, even though it returned tm_ok.
    I'm now trying to find a workaround on how to use DBMS_XA from within jobs, please comment if you have any suggestions. Or if you have any suggestions on other means of establishing the concurrent sessions (I wouldn't like to resort to external programs that need username/password to connect as password management would be a security issue).
    Thanks in advance.
    Cheers
    Finn

Maybe you are looking for