Group item mystery

Hi,
In copying grouped items from my master document to my new document, I use a line similar to the one below.
masterDoc.groups.item(n).duplicate newSection.pages.item(1)
(Where n = to the group item number.)
My question is: What is the logic behind the numbering of these groups? For instance: I could have an item on top of page 3 and it will be groups.item(1) and then an item on top of page 1 that will be groups.item(28)....
Thanks so much for your help.
Jon

I believe the numbering reflects the order in which the groups were created (although there might be an element of back-to-front per layer involved, too).
Dave

Similar Messages

  • Discount Groups - Items.  How to get the Buy One Get One Free discount in the Marketing Document

    Hi Experts,
    Can anyone help on this one please?...
    Under Stock Management -> Price Lists -> Special Prices -> Discount Groups -> Items -> I have selected a specific BP and then have selected a specific Item Code.  I have stated the Paid Qty as '4' and the Free Qty as '1'.
    The option 'Do Not Apply Discount Groups' is not ticked on the BP or the Item Master Data.
    There are no Special Prices for this Item for the BP.  Nor are there any period and volume discounts.
    Can anyone think of a reason why in the Sales Order I can never get the discount when putting in '3' in the Qty column on the SO please?
    Many thanks,
    Caroline

    Hi Gordon,
    Thanks for your email, and sorry for the confusion!
    I believe that when I enter '5' into the sales order the discount should come up as the Paid Qty is '4' and the Free Qty is '1'.
    Either way I can never get the discount into the Sales Order...
    Can you help please?  I was wondering if I had missed a setting somewhere or something...
    Thanks,
    Caroline

  • One tray for multiple button group items

    Hi,
    I have 3 button group items in my templaate ,in the propoerties of these button grps the tray is on .NOw I can see 3 trays when I execute my template instead I want to have one tray for these 3 button group items . How is this possible?
    THanks
    Sany

    OK, I'm having trouble again. I need multiple items to drag
    to one target. I'm putting all my actionscript in the same frame,
    and here's how it looks:
    stop();
    name_mc.onPress = function():Void {
    this.startDrag(true);
    name_mc.onRelease = function():Void {
    this.stopDrag();
    if (eval(this._droptarget) == safe_mc) {
    this.swapDepths(this._parent.getNextHighestDepth());
    this.removeMovieClip();
    address_mc.onPress = function():Void {
    this.startDrag(true);
    address_mc.onRelease = function():Void {
    this.stopDrag();
    if (eval(this._droptarget) == safe_mc) {
    this.swapDepths(this._parent.getNextHighestDepth());
    this.removeMovieClip();
    And I'm getting the following error message:
    **Error** Scene=Recap, layer=actions, frame=1:Line 21:
    Statement block must be terminated by '}'
    address_mc.onRelease = function():Void {
    **Error** Scene=Recap, layer=actions, frame=1:Line 27: Syntax
    error.
    Total ActionScript Errors: 2 Reported Errors: 2
    Do you know what I'm doing wrong?

  • WAD: Add variable to a called javascript function on button group item

    Hi All,
    I need your expertise regarding the following problem:
    To increase performance, I've decided to hide all analysis tables. To set these tables to visible, there is a button to switch the state for each table.
    Because this function is needed for each table, the function has two parameters for the analysis item name and the new state.
    Unfortunately, I get an useless error message after calling the function.
    The function in script item looks like
    function switchTable(itemName, newState)
    The function is started by a button of a button group item as javascript and the following script function
    switchTable('ANALYSIS_ITEM_1', 'VISIBLE')
    If I enter a without parameters, that will call the function with these parameters, it works.
    But if i try this directly from the script function in the button parameters, the function will be called correctly, but an error occurs and the analysis item wasn't displayed or the sendCommand wasn't processed completely.
    I hope there is a way to call javascripts by a button with variables, otherwise I would have to create many functions with only an other item_ref.
    Many thanks in advance and points of course for any help.
    Regards,
    Tobias

    One short note:
    It's possible to trigger the same function by an html input form button with onlick switchTable('ANALYSIS_ITEM_1', 'VISIBLE')
    and this works.
    Has anyone an idea what's the problem with a normal button item of the button group item?
    Another possibility is a menu item. The functions were called, but errors were shown.

  • How not to suppress printing grouping items

    In group by reports, the printing of group items is suppressed until the values change. How can I get the report to not suppress printing the duplicates values?

    In the select query , specify the group columns once more with alias names and make its frequncy below the grouped items..
    Now your report will work as though you have not grouped it and also will return the group values..
    For eg :
    Select emp_code,emp_Dept ,emp_name, emp_dept dept_wise_emp
    From employee_master
    First group is emp_dept
    Below level has rest of the columns..
    Select the sum /count of the desired columns from the report wizard...

  • Recursive tables (grouping items)

    I have a requirement to allow Users to create groups of items and groups of groups of items( via web interface). [Any item can fall under any number of groups and any group can fall within any number of groups]
    I planned to use 2 recursive tables, but I want to see if there are alternative solutions. [This also has to be flexible enough to work with Oracle and mysql]
    Also, if anyone has examples for the interface(using jsp), those are greatly appreciated.
    Any comments are welcome.
    Thanks in advance!

    I meant a table that has a foreign key which points to itself, but I would use 1 table (not 2 as I mentioned earlier).
    Another way of looking at it using Roles/Users vs. Groups/Item:
    (Probably making it muddier, but here it goes)
    For Example:
    Role Table
    role_id parent_id(references role_id)
    A          null
    B          null
    C          A
    D          C
    D          B [note Group D is child of group C and B]
    E          null
    RoleUserMap Table
    role_id          user_id
    A          1
    A          2
    A          3
    B          4
    B          5
    C          6
    C          7
    C          8
    D          9
    D          10
    D          11
    E          1
    E          2
    E          3
    E          4
    E          5
    E          11
    User Table
    user_id          name
    1          John
    2          Jane     
    3          Mary
    4          Bob
    5          Stephanie
    6          Bill
    7          Liz
    8          Kim
    9          David
    10          Ann
    11          Susan

  • Can't apply fills to grouped items

    Just switched to MX from 10. Applying fills or strokes to
    grouped items was very simple in 10 - now when I try to recolour
    groups of objects (or text converted to paths) I'm being
    continually frustrated. I add a fill to a group of objects and they
    don't change colour, so I have to ungroup them to apply the fill.
    Why oh why is it so?

    Nang-a-nator wrote:
    > Double click contents. This
    > will expand to tell you how many objects are in the
    group. if all objects have
    > the same fill and stroke properties this will be
    displayed here.
    This is good advice, but requires one more step. Uncheck
    Preferences>Object>'Changing object changes defaults'.
    For some reason, this
    preference interferes with the display of attributes of
    groups of identical
    objects. This is another FHMX pain if you're used to working
    with this
    preference enabled.
    Here's how I super- and sub-select on a Mac/English keyboard.
    Modify keyboard shortcuts to
    Subselect: F1.
    Superselect: tilde key (`) is already hard-coded into FH.
    These two keys are close together on the keyboard, so
    alternating between
    them allows you to dive down or swim up to group level.
    If, for example, you have a line of text converted to paths,
    with pointer
    too, option-click to subselect one path, then hit Tilde to
    superselect to
    group level, then hit F1 to subselect. You should now see the
    fill and
    stroke attributes in the object inspector. Change them there.
    Judy Arndt

  • HOW TO GROUP ITEM BY department (MaNganh)/ Category(MaNhom) in XtraReport from Stored Procedure result ?

    I have stored procedure result, i have succeeded bind it to xtrareport. But how can I group item by department (MaNganh) and category (MaNhom) in XTRA REPORT ? Please help me how to solve it ! (SQL SERVER 2008 R2) (DevExpress 10.2.8)

    I've made ​​it, and successful.By add GroupField: 
    GroupField groupField = new GroupField("MaNhom");
               GroupHeader1.GroupFields.Add(groupField);
               tblCell_Group_MaNhom.DataBindings.Add("Text", DataSource, "MaNhom");
    Thank you for HELP! 
    Master Can

  • Group Items - Pick List PLD

    Hi Guys,
    Is it possible to change the standard 2007A PLD Pick List document so that it can group items together?
    For example a pick list is created for 5 orders. In 3 of the orders is the same product, item AAA.
    Instead of the standard report grouping the documents so that AAA appears 3 times, is there a way to group items so that it will appear only once?
    Thanks,
    Liam.

    Hi Liam,
    Crystal would be easy to get this.
    Here's a link to how to do this in PLD (I've tried it - it takes some testing):  http://www.sdn.sap.com/irj/scn/businessone-elearning
    Part 3 - Depencies covers grouping & sorting.
    Hope that helps,
    Heather

  • IDCS2 Win: How to iterate all items in a group item?

    I want to access each item in a page group item, How to do that? Any guide or code snippet will help. Thanks in advance.
    Haikun

    you can use InterfacePtr<IHierarchy> hier(group, UseDefaultIID()); <br /><br />and then hier->GetChildCount() & hier->GetChildUID(n) or hier->QueryChild(n) to visit all its direct children.  Hier->GetDescendents gets a list of all items in the group (including items in a group that are in the group).<br /><br />Ian

  • Access Item Group Item of BoM

    Hello everyone,
    I'm trying to find/create an unambiguous link between the items that appear in a supply to production task and the line item of a Bill of Material (BoM) it's based on. The reason for this is that a customer would like the `line item details text' field that appears below each item in a BoM to appear on the supply to production task form in the same row as the corresponding item. Unfortunately this doesn't seem very simple --- practically all links back to the PBoM business object eventually lead to collections, which don't provide unambiguous links. I can't use material ID as a BoM variant can potentially have multiple versions of the same product but with different base quantities etc., so that's out the window. I found that going through production lot > released execution production model > production segment leads me to be able to grab the BoM/Variant/Item Group IDs fine, but the association that supposedly links to item group item is not set --- my guess is that this association is the one I need. Below is a screenshot of the code I'm using to try and access this --- as you can see, the ProductionBillOfMaterialItemGroupItem association is not set in either case, yet the corresponding association for item group is, and returns the correct item group ID. Anyone able to help/have experience with this? Thanks.
    Lewis

    Spoke to SAP about this. Whilst there's a 0..1 association from AcitivtyAssignment to ItemGroupItem, it's never set. Which makes me wonder why it's even there in the first place, but never mind.
    They suggested going via ItemGroup first. When I did this there was no 0..1 association from ItemGroup to ItemGroupItem, merely a collection of all items in the item group. When I pointed this out, they acknowledged that there is no link. So basically, this isn't possible per se; what I've done to emulate it is a bunch of calculations based on quantity etc., as well as use the ability to manually set the item group ID of a row in a BoM, to ensure I can reliably find the row of a BoM a production task row refers to. I suppose it's case closed on this; if anyone's interested in the code, they can send me a message.

  • Apply Fill Color to Group Item with Applescript

    Is it possible to set the fill color of a group item using applescript and CS3? The group contains paths and text that have the same fill color with no strokes.I am able to select the group and delete it or move it (with applescript) but have had no success in setting the fill color.
    Thank you in advance for help on this question. And thanks for everything I have picked up from browsing.

    Now that I am addressing the path items and text items of the group separately I am having some success. Now I am having difficulty getting the correct terms for assigning a Spot Color to the file. Here is a piece of the script.
    This works:
    tell application "Adobe Illustrator"
    set openDoc to document 1
    set ftClr1 to (first group item whose note is "Front3") of openDoc
    set ftClr1Paths to path items of ftClr1
    repeat with thisPath in ftClr1Paths
    set fill color of thisPath to {red:255}
    end repeat
    set textFrames to text frames of ftClr1
    repeat with thistext in textFrames
    set fill color of every line of thistext to {red:255}
    end repeat
    end tell
    Need help to set the fill color to a Spot Color that already exists in Swatches.
    Thanks
    Nick

  • PLD: Grouping Item description: Line number is not sequential

    Hi All,
    I am facing a typical problem.
    I have invoice PLD where I am grouping item description and other details like price and tax. Which is working correctly.
    However Line number is also getting grouped.
    ex  line 1(sl No) : xyz (item description)
          line 10(Sl No) :abc (item description) where in correct line number should be "line 2"
    Please let me know how can we solve this.
    Thanks In advance
    Regards,
    Aditya

    Thanks Fasolis,
    But I have added a column Linenum() both in repitative area and repitative footer where grouping is done.
    the value it retrieves is not sequential since grouping is done. That is the problem, the Field Linenum() gives the output like 1, 15, 55 etc.. based on the starting of line of the item description from transaction which is grouped in PLD.
    To be more clear example: there are 2 item codes with same description which is being grouped in PLD.
    In transaction,
    Line 1: itemcode 01: item name A Quantity: 3
    Line 2: Itemcode 02: item name A Quantity: 5
    Line 3: Itemcode 03: item name B Quantity: 10
    Line 4: Itemcode 04: Item name B Quantity: 15
    So in PLD
    Line 1: Item name A Quantity 8
    Line 3: Item name B Quantity 25
    Desired result should be
    Line 1: Item name A Quantity :8
    Line 2: Item name B Quantity : 25
    Regards,
    Aditya
    Edited by: Aditya Rao on Mar 7, 2012 10:10 AM
    Edited by: Aditya Rao on Mar 7, 2012 10:35 AM
    Edited by: Aditya Rao on Mar 7, 2012 12:48 PM

  • Diff between Gen Item Catg Group & Item Cat group In MM01

    HI Gurus,
    What is the difference between Gen Item Catg Group & Item Cat group In MM01?
    Cheers,
    Chitty

    Hi
    There are several posts on same issue you can find out in sdn threads
    Item Category determines the processing of any Item/material that we enter in a sales order and in this way it also effects the procesing of any sales doc in which it is used.
    Item Category Group is one of the component which along with the Sales Doc Type, The Item Usage and Higher Level Item Category decide about the Item Category in a sales doc.
    for example we can ERLA as item cat group and carry out the header level pricing or we can LUMF and do the item level pricing in case of a Sales BOM.
    General item category group talks about further classification of a material. Like NLAG- non stock material can be used to identify bom header items, service items.
    Item category group and general item category group difference
    Re: difference between general item category group /item category group

  • Difference - set g/l account by warehouse,item group,item level

    hi all,
    Pl. explain what is difference between setting
    g/l accounts by warehouse,item group,item level ?
    Jeyakanthan

    Hi Jeyakanthan,
    Let us consider an example that will make you understand this better. Consider that you are creating GRN's for Item A and Item B. The accounts that get updated are :
    1. Inventory Account/Stock account: gets debited
    2. Goods Received Not Invoiced Account : Gets Credited.
    Now let us consider that Item A has been grouped under the item Group Raw Materials and Item B has been grouped under Item group Finished Goods. Now as mentioned above if you choose the Set G/L accounts by as Item Group in the Accounting tab of the item Group Raw Materials you will have to choose the Inventory/Stock Account as Inventory -  Raw Material and for the Item Group Finished Goods the Inventory/Stock account has to be Inventory- Finished Goods. In all cases the Goods Received not Invoicved account will remain the same.When you create the GRN's the respective Inventory accounts will get debited and when you create the A/P Invoice for these the Goods Received Not Invoiced account will get Debited and the Vendor account will get credited.
    Now in case if your company manages goods according to the Warehouse i.e. if the company has different warehouses for different types of goods like Raw Material warehouse for Raw Materials , Finished Goods warehouse for Finished goods then you should set the G/L accounts by Warehouse so that in the item master in the inventory Tab the respective warehouse is chosen and the relevant accounts are updated. Just for example when you choose Set G/L accounts by Warehouse for item A then  in the accounting tab of the Raw Material Warehouse choose Inventoty  - Raw material.
    In the 3rd case consider that you are buying a Machine to be used in your workshop which is costing  you around Rs. 10,00,000/- and the management wants to know the monthly utilisation costing of the machine like power, labour charges and overheads for that particular machine then it is better to define G/L accounts based on that item i.e. if Item C is a machine for which the Management wants to know the costing details then it would be better off defining a G/L account as Inventory - Item C. This option is better to be used for capital goods or Fixed assets.
    For better understanding in the item master you need to initialise thru the Form settings the various G/L accounts like Goods received Not Invoiced accounts, Inventory accounts , Allocation Cost account etc.
    Hope this calrifies matters.
    Nagesh.

Maybe you are looking for

  • Problems with Boot Camp, OSX Lion Server 10.7.3, and Windows 7

    My new Mac Mini Server is running OSX Lion Server 10.7.3. I want to install Windows 7 as a dual boot. I start up Boot Camp and use an ISO image to create a USB boot disk. I don't seem to be able to use the DVD to install, so I use an ISO image on dis

  • File adapter receiver channel is not initialized.

    Hi iam wrking idoc-file scenario, as per the requirement i have created 4datatypes  4 mapping in IR with 4 communaction chanles in ID. the scenarios is working fine with 3 mappings.but in 4 the scenario the file genaraing properly , i have cheked in

  • Symptom preceding my Time Capsule Power On Failure: Apple TV2 Glitches

    Hope this helps someone. I spent days re-installing the system on my my Mac Mini and re-updating my Apple TV 2 firmware in an attempt to solve the problem with my AppleTV2 and Mac Mini losing connection with each other, before the Power On Failure of

  • Inconsistent datatypes: expected INTERVAL DAY TO SECOND got DATE

    Hi All, I am developing a Java application in which I construct a query and pass some values to get the results from the Oracle db. The code block is: Calendar calendar = Calendar.getInstance(); calendar.setTimeInMillis(30000); Date threshold = new D

  • DBWR is consuming high CPU

    Hi, I'm experiencing bug in Oracle version 10.2.0.3: 7385253 – DBWR IS CONSUMING HIGH CPU The explanation of the bug on metalink says its from version 10.2.0.4 and there is a patch. My question is, if this bug was also present in 10.2.0.3 and can the