Adding item to custom multifield

I've created a custom multifield (by registering a new xtype in the clientlibs folder) and everything appears great when I first open the edit dialog. However, when I click the 'Add Item +' link, the new set of fields appears correctly, BUT the container is getting set to fill the entire width of the dialog. As a result, the up/down ordering buttons get pushed out of view. The first item's width is fine, but each subsequent item that's added ignores the width and fills the entire dialog.
Has anyone come across a similar issue? How else can I control the width of the custom multifield? I know creating custom multifields can get tricky, but I've kept it relatively simple (a textfield, radio, and richtext). I'm sure more information is need, if so, I'll be more than happy to provide.
Any help is greatly appreciated. Thanks!

Hello,
I have tried to overcome from this issue through widget customization but unfortunately i was not able to achieve it completely, but i can share what you can do to get some relax.
1. As you have added 2 extra fields it means now you will have "6" fields in one item set, to adjust it so that all will come in one row everytime you have to set this total count value "6" in widget.
          - If you are using cq5.5 then in multifield widget js file search for "config = CQ.Util.applyDefaults" (inside CQ.form.MultiField.Item) under this configuration you will find a property "columns" set this value to "6"
          - If you are using cq5.4 then same you have to by searching defualt config property inside (CQ.form.MultiField.Item)
2. Now to adjust the window size so that your fields doesn't move out of view, you have to set the width of panel (instead auto) which contains this multifield and also set the width of your multifield (instead auto)
     - To do that just set two properties accordingly "boxMinWidth" and "boxMaxWidth" (in pixel)
For more information about config property you can refer http://dev.day.com/docs/en/cq/current/widgets-api/index.html.
I hope above helps you to proceed. for more information let me know.
Thanks,
Pawan

Similar Messages

  • Adding items to custom list - performance issues - Request timed out error

    Hi,
    I am using VS 2010, c#.
    I am inserting records from an excel file, which contains 6000 records to a custom list.
    I am using the Visual webpart, and oledb connection. I am not using the openXML format, as i need to use "xls" and "xlsx" type.
    I am doing the below steps currently:
    1) From the file upload control, i am saving the excel to the sharepoint layouts - inside that a custom folder, to keep the records.
    2) Using the oledb connection to read the records and fill it in a datatable.
    3) Inserting the datatable values to a custom list.
    Looping through the datatable and inserting 3000 – 4000 records to List, I am getting the "Request timeout error".
    Below is the sample code, where i am looping the datatable and inserting the record:
    SPList prjCmpList = oWeb.Lists[strListName];
    SPListItemCollection prjCmpListItems = prjCmpList.Items;
    SPListItem prjCmpListItem;
    foreach (DataRow dr in dt.Rows)
    try
    prjCmpListItem = prjCmpListItems.Add();
    prjCmpListItem["Title"] = dr[0];
    prjCmpListItem["FirstName"] = dr[1];
    prjCmpListItem.Update();
    catch (Exception)
    I am using the "using block" for the spsite and web objects. When I see the execution time out in my web.config it is set to 3600.  But I am getting the request time out after 2 mins only.
    I have checked these link's : http://msdn.microsoft.com/en-us/library/aa973248%28v=office.12%29.aspx
    http://www.etechplanet.com/blog/how-to-import-an-excel-spreadsheet-in-sharepoint-and-save-it-as-a-custom-list.aspx
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/8664375c-fae0-483a-b43f-ce7d353b896a/importing-3000-records-to-sharepoint-list-causing-requesting-time-out-error?forum=sharepointadminlegacy
    However, I am following the best practices, and also the insertion of records is to be done programmatically.
    Has anyone faced this kind of issue? How to fix this?

    HI,
    Thanks for the reply.
    If the list has custom columns which consists of string and Date types, can the same type be used? Or should the list be an empty list without any columns?
    In the xml if it is put as "onerror= continue", how to fetch the records which error out?
    Also, in the datatable code block, which I had put in the first post, I am also trying as below:
    if(dt[1] != null)
    if(!string.IsNullorEmpty(dt[1].toString())
    prjCmpListItem["FirstName"] = dt[1].toString();
    Can these condition checks be performed with the "processbatchdata" approach?
    Thanks

  • Sharepoint throw a javascript error while adding items to sharepoint list

    sharepoint throw javascript error when adding item to list
    error called:  this._registeredValidators[validatorIdx].Validate is not a function
    any help please

    Hi,
    If you want to validatelist column, there is out of the box way to accomplish this with SharePoint
    There's a great blog that covers how to validate Strict Text Formats:
    http://sharepointsolutions.com/sharepoint-help/blog/2011/12/how-to-validate-strict-text-formats-in-sharepoint-2010/
    In addition, we can use JavaScript to validate column. Please make sure you use the code correctly.
    More information:
    http://chrisstahl.wordpress.com/2011/02/06/validate-a-sharepoint-list-column-with-regular-expression/
    http://blog.tallan.com/2013/09/16/how-to-add-custom-validation-logic-to-validate-a-phone-field-in-sharepoint/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Multiple items in custom form

    I'm new to Service Manager customization and try to do this task ,  I have custom management pack for our configuration items , I added a CI class "ITServer" which would have multiple harddisks, I created a Hard Disk Class and make a relationship
    (1 to many) using authoring tool, but how could I make user able to add multiple harddisk with different quantities , please advice 
    this management pack snippet
    <ManagementPack ContentReadable="true" SchemaVersion="2.0" OriginalSchemaVersion="1.1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <Manifest>
    <Identity>
    <ID>ITAssetsManagementPack</ID>
    <Version>1.0.0.0</Version>
    </Identity>
    <Name>ITAssetsManagementPack</Name>
    <References>
    <Reference Alias="System">
    <ID>System.Library</ID>
    <Version>7.5.8501.0</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    <Reference Alias="Console">
    <ID>Microsoft.EnterpriseManagement.ServiceManager.UI.Console</ID>
    <Version>7.5.1561.0</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    <Reference Alias="Alias_a4c8369f_0a7a_430c_979c_c1454b2a42c4">
    <ID>Microsoft.EnterpriseManagement.ServiceManager.UI.Authoring</ID>
    <Version>7.5.1561.0</Version>
    <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
    </References>
    </Manifest>
    <TypeDefinitions>
    <EntityTypes>
    <ClassTypes>
    <ClassType ID="Server" Accessibility="Public" Abstract="false" Base="System!System.ConfigItem" Hosted="false" Singleton="false" Extension="false">
    <Property ID="Model" Type="enum" AutoIncrement="false" Key="false" CaseSensitive="false" MaxLength="256" MinLength="0" Required="false" Scale="0" EnumType="ServerModel" />
    <Property ID="OpticalDrive" Type="enum" AutoIncrement="false" Key="false" CaseSensitive="false" MaxLength="256" MinLength="0" Required="false" Scale="0" EnumType="ServerModel" />
    <Property ID="PowerSupply" Type="int" AutoIncrement="false" Key="false" CaseSensitive="false" MaxLength="256" MinLength="0" Required="false" Scale="0" />
    <Property ID="AdditionalControllers" Type="enum" AutoIncrement="false" Key="false" CaseSensitive="false" MaxLength="256" MinLength="0" Required="false" Scale="0" EnumType="ServerModel" />
    <Property ID="OS" Type="enum" AutoIncrement="false" Key="false" CaseSensitive="false" MaxLength="256" MinLength="0" Required="false" Scale="0" EnumType="ServerModel" />
    <Property ID="Location" Type="string" AutoIncrement="false" Key="false" CaseSensitive="false" MaxLength="256" MinLength="0" Required="false" Scale="0" />
    <Property ID="Status" Type="enum" AutoIncrement="false" Key="false" CaseSensitive="false" MaxLength="256" MinLength="0" Required="false" Scale="0" EnumType="ServerModel" />
    <Property ID="SerialNumber" Type="string" AutoIncrement="false" Key="true" CaseSensitive="false" MaxLength="256" MinLength="0" Required="false" Scale="0" />
    <Property ID="RAIDController" Type="enum" AutoIncrement="false" Key="false" CaseSensitive="false" MaxLength="256" MinLength="0" Required="false" Scale="0" EnumType="ServerRAIDController" />
    </ClassType>
    <ClassType ID="CPU" Accessibility="Public" Abstract="false" Base="System!System.ConfigItem" Hosted="false" Singleton="false" Extension="false">
    <Property ID="Speed" Type="enum" AutoIncrement="false" Key="true" CaseSensitive="false" MaxLength="256" MinLength="0" Required="false" Scale="0" EnumType="ServerCPUSpeed" />
    </ClassType>
    </ClassTypes>
    <RelationshipTypes>
    <RelationshipType ID="ServerCPU" Accessibility="Public" Abstract="false" Base="System!System.Reference">
    <Source ID="Source_e5c33d1e_6a06_4726_8392_b2f1a2e18126" MinCardinality="0" MaxCardinality="1" Type="Server" />
    <Target ID="Target_75cae876_3f7c_4abf_8697_93fbd7cb8cdf" MinCardinality="0" MaxCardinality="2147483647" Type="CPU" />
    </RelationshipType>
    </RelationshipTypes>
    <EnumerationTypes>
    <EnumerationValue ID="ServerModel" Accessibility="Public" />
    <EnumerationValue ID="ServerCPUSpeed" Accessibility="Public" />
    <EnumerationValue ID="ServerRAIDController" Accessibility="Public" />
    </EnumerationTypes>
    </EntityTypes>
    </TypeDefinitions>
    <Categories>
    <Category ID="STSAssetsManagementPack.Category" Value="Console!Microsoft.EnterpriseManagement.ServiceManager.ManagementPack">
    <ManagementPackName>STSAssetsManagementPack</ManagementPackName>
    <ManagementPackVersion>1.0.0.0</ManagementPackVersion>
    </Category>
    <Category ID="CategoryId_85d33925_b744_4373_9d1f_74342a353553" Target="ServerModel" Value="Alias_a4c8369f_0a7a_430c_979c_c1454b2a42c4!Microsoft.EnterpriseManagement.ServiceManager.UI.Authoring.EnumerationViewTasks" />
    <Category ID="CategoryId_2d8ad646_6f28_4826_95f9_5b7fbdd99442" Target="ServerModel" Value="System!VisibleToUser" />
    <Category ID="CategoryId_fcdc4ecd_23e6_4579_be9a_028a4a76976d" Target="ServerCPUSpeed" Value="Alias_a4c8369f_0a7a_430c_979c_c1454b2a42c4!Microsoft.EnterpriseManagement.ServiceManager.UI.Authoring.EnumerationViewTasks" />
    <Category ID="CategoryId_38461602_58b6_4516_aee3_aaaeb7a9e597" Target="ServerCPUSpeed" Value="System!VisibleToUser" />
    <Category ID="CategoryId_f93e718b_1aad_4c9f_97f5_d737e5f29f12" Target="ServerRAIDController" Value="Alias_a4c8369f_0a7a_430c_979c_c1454b2a42c4!Microsoft.EnterpriseManagement.ServiceManager.UI.Authoring.EnumerationViewTasks" />
    <Category ID="CategoryId_6a943704_81f5_446d_9856_d549f0b33359" Target="ServerRAIDController" Value="System!VisibleToUser" />
    </Categories>
    <LanguagePacks>
    <LanguagePack ID="ENU" IsDefault="true">
    <DisplayStrings>
    <DisplayString ElementID="STSAssetsManagementPack">
    <Name>STSAssetsManagementPack</Name>
    </DisplayString>
    <DisplayString ElementID="Server">
    <Name>Server</Name>
    <Description>Specify your class description.</Description>
    </DisplayString>
    <DisplayString ElementID="ServerModel">
    <Name>ServerModel</Name>
    <Description>ServerModel</Description>
    </DisplayString>
    <DisplayString ElementID="SANSwitch" SubElementID="AdditionalControllers">
    <Name>AdditionalControllers</Name>
    </DisplayString>
    <DisplayString ElementID="Server" SubElementID="Model">
    <Name>Model</Name>
    </DisplayString>
    <DisplayString ElementID="Server" SubElementID="RAIDController">
    <Name>RAIDController</Name>
    </DisplayString>
    <DisplayString ElementID="Server" SubElementID="OpticalDrive">
    <Name>OpticalDrive</Name>
    </DisplayString>
    <DisplayString ElementID="Server" SubElementID="PowerSupply">
    <Name>PowerSupply</Name>
    </DisplayString>
    <DisplayString ElementID="Server" SubElementID="AdditionalControllers">
    <Name>AdditionalControllers</Name>
    </DisplayString>
    <DisplayString ElementID="Server" SubElementID="OS">
    <Name>OS</Name>
    </DisplayString>
    <DisplayString ElementID="Server" SubElementID="Location">
    <Name>Location</Name>
    </DisplayString>
    <DisplayString ElementID="Server" SubElementID="Status">
    <Name>Status</Name>
    </DisplayString>
    <DisplayString ElementID="Server" SubElementID="SerialNumber">
    <Name>SerialNumber</Name>
    </DisplayString>
    <DisplayString ElementID="CPU">
    <Name>CPU</Name>
    <Description>Specify your class description.</Description>
    </DisplayString>
    <DisplayString ElementID="ServerRAIDController">
    <Name>ServerRAIDController</Name>
    <Description>ServerRAIDController</Description>
    </DisplayString>
    <DisplayString ElementID="ServerCPU" SubElementID="Source_e5c33d1e_6a06_4726_8392_b2f1a2e18126">
    <Name>Source_e5c33d1e_6a06_4726_8392_b2f1a2e18126</Name>
    </DisplayString>
    <DisplayString ElementID="ServerCPU" SubElementID="Target_75cae876_3f7c_4abf_8697_93fbd7cb8cdf">
    <Name>Target_75cae876_3f7c_4abf_8697_93fbd7cb8cdf</Name>
    </DisplayString>
    <DisplayString ElementID="CPU" SubElementID="Speed">
    <Name>Speed</Name>
    </DisplayString>
    <DisplayString ElementID="ServerCPUSpeed">
    <Name>ServerCPUSpeed</Name>
    <Description>ServerCPUSpeed</Description>
    </DisplayString>
    </DisplayStrings>
    </LanguagePack>
    </LanguagePacks>
    </ManagementPack>

    Hi,
    At least you have to create a custom form with object pickers for HDDs, etc. and a gridview to present all added items.
    Cheers,
    Marat
    Site: www.scutils.com  Twitter:
      LinkedIn:
      Facebook:

  • How to clear vendor open items with customer open items in APP?

    Hi Experts,
    Our vendor is our customer - in this scenario how to clear vedor open items against customer open items. I have defined vedor is customer means I have given customer number in vendor master record, selected chek box 'clear with customer'.  Still problem is not solved, hence I am requesting you to help me in this regard.
    Thank you very much,
    Regards,
    Ganesh.

    Hi
    In FBCJ after payment you have clear manually vendor balance in F-44.
    If you want SPL GL in FBCJ then write a Substitution .
    1. step 001 - Special G/L Substitution
    2. Prerequisite - Transaction code = 'FBCJ'
    3. Substitution posting key -- Exit (need help from abap) exit name
                                              G/L Exit (need help from abap) exit name
                                              Special G/L Ind Exit (need help from abap) exit name
    you can't do this without ABAP help
    Best Of Luck
    Tanmoy

  • How to clear the open items and parked items for customer

    Hi Experts,
    I need to clear the open items and parked items for customer.
    So any one could let me know the transaction code and procedure for clearing the items for customer.
    Best regards,
    Kesava balaji.

    Hello,
    Parked items will have NO RELEVANCE, unless you post it.
    You CANNOT clear parked items.
    You can clear the posted items using F.13 or F-32
    Regards,
    Ravi

  • SSRS 2008 Work order Report , when added item descriotion , somehow costgroup id is not working , donot know why, ( need help)

    SSRS 2008 Production orders created report, when I added item description some how cost group id is not working ,
    my costgroup id did not break into labor , only Mat Cost showed in the total,
    my query is as below,  did I link the wrong field,   I want to show Labor total also
    can some one suggest what I did wrong .
    any advise will be great
    SELECT        PRODTABLE.PRODID, PRODCALCTRANS.COSTGROUPID, PRODTABLE.QTYCALC, PRODTABLE.PRODSTATUS, PRODCALCTRANS.COSTAMOUNT,
                             PRODCALCTRANS.COSTMARKUP, PRODCALCTRANS.REALCOSTAMOUNT, PRODCALCTRANS.CALCTYPE, PRODTABLE.DATAAREAID, PRODCALCTRANS.KEY3,
                             PRODCALCTRANS.CONSUMPVARIABLE, PRODCALCTRANS.REALCONSUMP, PRODTABLE.ITEMID, PRODTABLE.SCHEDDATE, PRODTABLE.FINISHEDDATE,
                             PRODCALCTRANS.KEY1, PRODCALCTRANS.TRANSDATE, PRODCALCTRANS.QTY, PRODCALCTRANS.KEY2, PRODCALCTRANS.COLLECTREFLEVEL,
                             PRODCALCTRANS.LINENUM, INVENTTABLE.ITEMNAME, INVENTTABLE.ITEMID AS Expr1, PRODTABLE.INVENTTRANSID
    FROM            PRODTABLE INNER JOIN
                             PRODCALCTRANS ON PRODTABLE.PRODID = PRODCALCTRANS.PRODID AND PRODTABLE.DATAAREAID = PRODCALCTRANS.DATAAREAID INNER
    JOIN
                             INVENTTABLE ON PRODCALCTRANS.DATAAREAID = INVENTTABLE.DATAAREAID AND PRODCALCTRANS.KEY1 = INVENTTABLE.ITEMID
    WHERE        (PRODTABLE.PRODSTATUS = 7) AND (PRODTABLE.DATAAREAID = N'AR1') AND (PRODTABLE.ITEMID = @itemid) AND
                             (PRODTABLE.FINISHEDDATE >= @Paramfromdate) AND (PRODTABLE.FINISHEDDATE <= @Paramtodate) AND (PRODCALCTRANS.COLLECTREFLEVEL
    = 1) AND
                             (PRODCALCTRANS.CALCTYPE >= 0)

    Hi Bitia,
    As per my understanding, after you add Item field to the report, it does not calculate total of matl group, right? If that is the case, please refer to the following steps to troubleshoot the problem:
    Modify the dataset used to retrieve data, delete the fields will not be used in the report.
    Run the query in SQL Server Management Studio (SSMS) to make sure that there is data for matl cost group.
    Make sure that row group and totals are correctly added.
    In addition, do you want to add Finished date to page header? If that is the case, we can use ReportItem to achieve the goal. Please refer to the following steps:
    In design surface, right-click the report and click Insert, then click Page Header.
    Drag Text Box from Toolbox to page header.
    Right-click inside of Text Box, then click Expression.
    In the expression text box, type the code like below:
    =ReportItems!FinishedDate.Value
    If the problem remain unresolved, please provide the screenshot of the report in design view, the following screenshot is for your reference:
    Reference:
    ReportItems Collection References
    Adding Grouping and Totals
    Thanks,
    Wendy Fu

  • Error Message while adding Item in Item Master Data- [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting the nvarchar value 's008 01' to data type int. (CINF)

    Dear Experts
    I am getting the following error message while adding item in Item Master data. I have modified the following SBO_SP_transactionNotification in SQL server after that could not able to add the item
    ALTER proc [dbo].[SBO_SP_TransactionNotification]
    @object_type nvarchar(20),                      -- SBO Object Type
    @transaction_type nchar(1),               -- [A]dd, [U]pdate, [D]elete, [C]ancel, C[L]ose
    @num_of_cols_in_key int,
    @list_of_key_cols_tab_del nvarchar(255),
    @list_of_cols_val_tab_del nvarchar(255)
    AS
    begin
    -- Return values
    declare @error  int                       -- Result (0 for no error)
    declare @error_message nvarchar (200)           -- Error string to be displayed
    select @error = 0
    select @error_message = N'Ok'
    --    IF @OBJECT_TYPE = '59' AND (@TRANSACTION_TYPE = 'A' or @TRANSACTION_TYPE = 'U')
      BEGIN
       IF EXISTS(
        SELECT T0.Price FROM IGN1 T0
        where  IsNull(T0.Price, '0') = '0' and T0.DocEntry = @list_of_cols_val_tab_del)
       BEGIN
        SELECT @ERROR=1,@ERROR_MESSAGE='Please insert the price !'
      END
    end
    -- Select the return values
    select @error, @error_message
    end

    Hi Rathna,
    Just put the SP like this, without the -- before the IF. A -- marks the line as a command therefore you need to uncomment and it will work.
    IF @OBJECT_TYPE = '59' AND (@TRANSACTION_TYPE = 'A' or @TRANSACTION_TYPE = 'U')
      BEGIN
       IF EXISTS(
        SELECT T0.Price FROM IGN1 T0
        where  IsNull(T0.Price, '0') = '0' and T0.DocEntry = @list_of_cols_val_tab_del)
       BEGIN
        SELECT @ERROR=1,@ERROR_MESSAGE='Please insert the price !'
      END
    end
    Hope it helps

  • Error : while adding Items to Cart and while going to Checkout

    Hi All
    When I add Items to cart and when I click on checkout button below Error is coming
    atg.commerce.pricing.PricingException: Failed to get an adjuster for pricing model Item Discount - Percent Off:200131
            at atg.commerce.pricing.DiscountCalculatorService.getAdjuster(DiscountCalculatorService.java:361)
            at atg.commerce.pricing.ItemDiscountCalculator.priceQualifyingItems(ItemDiscountCalculator.java:561)
            at atg.commerce.pricing.ItemDiscountCalculator.priceItems(ItemDiscountCalculator.java:312)
            at atg.commerce.pricing.ItemPricingEngineImpl.applyCalculator(ItemPricingEngineImpl.java:844)
            at atg.commerce.pricing.ItemPricingEngineImpl.applyPromotions(ItemPricingEngineImpl.java:673)
            at atg.commerce.pricing.ItemPricingEngineImpl.priceItems(ItemPricingEngineImpl.java:557)
            at atg.commerce.pricing.PricingTools.priceItemsForOrderTotal(PricingTools.java:2448)
            at atg.commerce.pricing.PricingTools.priceOrderSubtotalShipping(PricingTools.java:1795)
            at atg.commerce.pricing.PricingTools.priceOrderSubtotalShipping(PricingTools.java:1737)
            at atg.commerce.pricing.PricingTools.performPricingOperation(PricingTools.java:3064)
            at atg.commerce.pricing.processor.PriceOrderTotal.runProcess(PriceOrderTotal.java:138)
            at atg.service.pipeline.PipelineLink.runProcess(PipelineLink.java:233)
            at atg.service.pipeline.PipelineChain.runProcess(PipelineChain.java:343)
            at atg.service.pipeline.PipelineChainContext.runProcess(PipelineChainContext.java:185)
            at atg.service.pipeline.PipelineManager.runProcess(PipelineManager.java:453)
            at atg.commerce.pipeline.CommercePipelineManager.runProcess(CommercePipelineManager.java:101)
            at atg.commerce.order.purchase.PurchaseProcessHelper.runProcess(PurchaseProcessHelper.java:452)
            at atg.commerce.order.purchase.PurchaseProcessHelper.runRepricingProcess(PurchaseProcessHelper.java:358)
            at atg.commerce.order.purchase.PurchaseProcessHelper.runProcessRepriceOrder(PurchaseProcessHelper.java:317)
            at atg.commerce.order.purchase.PurchaseProcessHelper.addItemsToOrder(PurchaseProcessHelper.java:890)
            at atg.commerce.order.purchase.CartModifierFormHandler.doAddItemsToOrder(CartModifierFormHandler.java:3245)
            at atg.commerce.order.purchase.CartModifierFormHandler.addItemToOrder(CartModifierFormHandler.java:2870)
            at atg.projects.store.order.purchase.StoreCartFormHandler.addItemToOrder(StoreCartFormHandler.java:1299)
            at atg.projects.store.order.purchase.StoreCartFormHandler.handleAddItemToOrder(StoreCartFormHandler.java:1516)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at atg.droplet.EventSender.sendEvent(EventSender.java:582)
            at atg.droplet.FormTag.doSendEvents(FormTag.java:800)
            at atg.droplet.FormTag.sendEvents(FormTag.java:649)
            at atg.droplet.DropletEventServlet.sendEvents(DropletEventServlet.java:523)
            at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:550)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:128)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:191)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:655)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2425)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:169)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.multisite.SiteSessionEventTriggerPipelineServlet.service(SiteSessionEventTriggerPipelineServlet.java:139)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:477)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.ProfilePropertyServlet.service(ProfilePropertyServlet.java:208)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:437)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.projects.store.servlet.pipeline.ProtocolSwitchServlet.service(ProtocolSwitchServlet.java:287)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:469)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.URLArgumentPipelineServlet.service(URLArgumentPipelineServlet.java:280)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:370)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.sso.PassportServlet.service(PassportServlet.java:554)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:91)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:212)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.multisite.SiteContextPipelineServlet.service(SiteContextPipelineServlet.java:383)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1174)
            at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:857)
            at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:250)
            at atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:263)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:1
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
            at java.lang.Thread.run(Thread.java:662)
    22:29:13,662 ERROR [CartFormHandler]
    CAUGHT AT:
    CONTAINER:atg.commerce.CommerceException: An unknown error occurred while adding an item to the Order with id [o400001].; S
            at atg.commerce.order.purchase.PurchaseProcessHelper.addItemsToOrder(PurchaseProcessHelper.java:942)
            at atg.commerce.order.purchase.CartModifierFormHandler.doAddItemsToOrder(CartModifierFormHandler.java:3245)
            at atg.commerce.order.purchase.CartModifierFormHandler.addItemToOrder(CartModifierFormHandler.java:2870)
            at atg.projects.store.order.purchase.StoreCartFormHandler.addItemToOrder(StoreCartFormHandler.java:1299)
            at atg.projects.store.order.purchase.StoreCartFormHandler.handleAddItemToOrder(StoreCartFormHandler.java:1516)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at atg.droplet.EventSender.sendEvent(EventSender.java:582)
            at atg.droplet.FormTag.doSendEvents(FormTag.java:800)
            at atg.droplet.FormTag.sendEvents(FormTag.java:649)
            at atg.droplet.DropletEventServlet.sendEvents(DropletEventServlet.java:523)
            at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:550)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:128)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:191)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:655)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2425)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:169)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.multisite.SiteSessionEventTriggerPipelineServlet.service(SiteSessionEventTriggerPipelineServlet.java:139)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:477)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.ProfilePropertyServlet.service(ProfilePropertyServlet.java:208)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:437)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.projects.store.servlet.pipeline.ProtocolSwitchServlet.service(ProtocolSwitchServlet.java:287)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:469)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.URLArgumentPipelineServlet.service(URLArgumentPipelineServlet.java:280)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:370)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.sso.PassportServlet.service(PassportServlet.java:554)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:91)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:212)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.multisite.SiteContextPipelineServlet.service(SiteContextPipelineServlet.java:383)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1174)
            at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:857)
            at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:250)
            at atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:263)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:1
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
            at java.lang.Thread.run(Thread.java:662)
    Caused by: atg.commerce.CommerceException: An error occurred when running the pricing order chain after adding items to ord
            at atg.commerce.order.purchase.PurchaseProcessHelper.addItemsToOrder(PurchaseProcessHelper.java:901)
            ... 72 more
    SOURCE EXCEPTION:
    atg.commerce.CommerceException: An error occurred when running the pricing order chain after adding items to order [o400001
            at atg.commerce.order.purchase.PurchaseProcessHelper.addItemsToOrder(PurchaseProcessHelper.java:901)
            at atg.commerce.order.purchase.CartModifierFormHandler.doAddItemsToOrder(CartModifierFormHandler.java:3245)
            at atg.commerce.order.purchase.CartModifierFormHandler.addItemToOrder(CartModifierFormHandler.java:2870)
            at atg.projects.store.order.purchase.StoreCartFormHandler.addItemToOrder(StoreCartFormHandler.java:1299)
            at atg.projects.store.order.purchase.StoreCartFormHandler.handleAddItemToOrder(StoreCartFormHandler.java:1516)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at atg.droplet.EventSender.sendEvent(EventSender.java:582)
            at atg.droplet.FormTag.doSendEvents(FormTag.java:800)
            at atg.droplet.FormTag.sendEvents(FormTag.java:649)
            at atg.droplet.DropletEventServlet.sendEvents(DropletEventServlet.java:523)
            at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:550)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:128)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:191)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:655)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2425)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:169)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.multisite.SiteSessionEventTriggerPipelineServlet.service(SiteSessionEventTriggerPipelineServlet.java:139)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:477)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.ProfilePropertyServlet.service(ProfilePropertyServlet.java:208)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:437)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.projects.store.servlet.pipeline.ProtocolSwitchServlet.service(ProtocolSwitchServlet.java:287)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:469)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.URLArgumentPipelineServlet.service(URLArgumentPipelineServlet.java:280)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:370)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.userprofiling.sso.PassportServlet.service(PassportServlet.java:554)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:91)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:212)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.multisite.SiteContextPipelineServlet.service(SiteContextPipelineServlet.java:383)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:135)
            at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1174)
            at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:857)
            at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:250)
            at atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:263)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:1
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
            at java.lang.Thread.run(Thread.java:662)
    Anybody could provide the solution or rootCause to this issue(I know this error is throwing by pricing pipe line but why its throwing I am not getting) Please any body tell me ASAP, I am gated with this issue.
    ThanksInAdvance

    I don't know much about promotions, But it looks like that there is some problem while applying some promotions for the added item.
    Check for this id:200131
    atg.commerce.pricing.PricingException: Failed to get an adjuster for pricing model Item Discount - Percent Off:200131
            at atg.commerce.pricing.DiscountCalculatorService.getAdjuster(DiscountCalculatorService.java:361)
    Try adding some other item.
    FYI - if it's promotion issue and promotion for all order, issue will come for other item too
    Thanks,
    Nitin.

  • Line item screen (Customer, GL or Vendor),

    Hi
    In any Display line item screen (Customer, GL or Vendor), I am not
    able to see the field called "User ID" or "Entered By". How can i see
    the above line item screens with the field "User ID, Entered by" field.
    thanx in adv

    Hi,
    For GL line item display, Customer line item display and Vendor line item display you can use transactions codes FBL3N, FBL5N and FBL1N respectively. After the report is executed, you can click on layout icon and add the required fields.
    User name is there in the layout and you can add it in your layout and save it.
    Thanks
    Murali.

  • Commision based on item group & customer group

    Dear all,
    Does anyone have an idea about how to get commission based on item group & customer group sales?
    My customer wanted commission report based on item group or customer group & based on payment collection dated.
    Example
    Term given for customer A is 30 days.
    12/3/09 Inv 1000   RM 10,000   30 days payment
    20/4/09 Inv 2000  RM    5,000   60 days payment
    The term given is 30 days of the invoice month.
    Salesman will get commission if get the collection at May'09 for Inv 1000, & July'09 for iinv 2000 based on the invoice date month.
    The salesman get commission at any date of the month May'09. More longer collection, less commission they will get.
    Example:
    Salesman A
    Customer Group             1st of the month, 2nd of the month, 3rd of the month, 4th of the month
    Normal Dealer                         1.5%         ,  0.75%,              0.00%                   ,    -0.25%
    Sub Distributor                       0.5%         ,  0.25%,               0.00%                  ,    - 0.25%
    Any idea?
    Thanks in advance?
    Regards,
    Eric Tan

    Hi Eric
    SAP does not calculate commissions, but merely provide a mechanism to report on it. The multi level calculation you require can be achived with a custom query linked to a report layout. Standard SAP will not provide this type of calculation. You will need to look at the open transactions such as invoices and link to the relevant payment transaction to get the payment date. Then compare this date to the invoice due date to determine if the terms were adhered to or not. If not payment date - due date in number of days will be needed to calculate the effective commission percentage.
    Kind regards
    Peter Juby

  • Pre-populating a date/time column with the value entered in the last added item

    I have a list with a column called "expected finish date". Whenever the user adds the very first item in a list, he/she should have to enter a value for this column.
    I want to make all new item entries to pre-poplate this field with the value entered in the previously added item. This way, he/she wont have to re-enter the date every time (which rarely changes). How can this be done?

    could create a second list ("state") with column ("default finish date")...
    create a workflow on main list... if column is blank/empty, pull from second list... otherwise, update second list with the value that was entered.
    Or, customize the form (InfoPath or JavaScript)
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Recent Items in custom component.

    Hi Experts,
    Please provide me the necessary steps for showing  Recent Items in custom component.
    Thanks and Regards
      Raja

    Hi Raja
    Please refer the link:
    [Recent items - Tips to Customize |http://wiki.sdn.sap.com/wiki/display/CRM/Recentitems-Tipsto+Customize]
    This will help you.
    Regards
    Leon

  • SQL Query pricing modifier vs item vs customer

    Hi all,
    I'm writing a query to retrieve information about price modifier by item and customer. It works fine if the product_attr_value = item_id, but having a very basic knowledge of SQL I don't know how to map the item_id if the product_attr_value = 'ALL' (modifier applied to all items). Could someone please shed a light.
    Thanks

    Thanks all for replying.
    I tried passing it as null value and replacing it with inventory_item_id. it works so far but taking very long to complete.
    Below is the script:
    SELECT DISTINCT
    C.LIST_LINE_ID ADJUSTMENT_NUMBER,
    A.ACCOUNT_NUMBER ACCOUNT_NUMBER,
    F.SEGMENT1 ITEM_CODE,
    B.Name Name, B.Description Description
    FROM apps.HZ_CUST_ACCOUNTS_ALL A,
    apps.QP_LIST_HEADERS B,
    apps.QP_LIST_LINES C,
    apps.QP_QUALIFIERS D,
    apps.QP_PRICING_ATTRIBUTES E,
    apps.MTL_SYSTEM_ITEMS F,
    apps.MTL_ITEM_CATEGORIES G
    WHERE A.CUST_ACCOUNT_ID =D.QUALIFIER_ATTR_VALUE
    AND A.STATUS = 'A'
    AND B.LIST_HEADER_ID = C.LIST_HEADER_ID
    AND D.LIST_HEADER_ID = B.LIST_HEADER_ID
    AND C.LIST_LINE_ID = E.LIST_LINE_ID
    AND B.LIST_HEADER_ID = E.LIST_HEADER_ID
    AND NVL(DECODE(E.PRODUCT_ATTR_VALUE, 'ALL', null),F.INVENTORY_ITEM_ID) = TO_CHAR(F.INVENTORY_ITEM_ID)
    OR (E.PRODUCT_ATTR_VALUE = TO_CHAR(G.CATEGORY_ID) AND F.INVENTORY_ITEM_ID = G.INVENTORY_ITEM_ID)
    AND D.QUALIFIER_CONTEXT = 'CUSTOMER'
    AND D.COMPARISON_OPERATOR_CODE = '='
    AND D.ACTIVE_FLAG = 'Y'
    AND B.LIST_TYPE_CODE IN ('DLT','CHARGES')
    AND C.LIST_LINE_TYPE_CODE IN ('DIS','SUR')
    AND C.MODIFIER_LEVEL_CODE = 'LINE'
    AND B.ACTIVE_FLAG = 'Y'
    AND E.PRODUCT_ATTRIBUTE_CONTEXT = 'ITEM'
    AND ((SYSDATE BETWEEN B.START_DATE_ACTIVE AND B.END_DATE_ACTIVE)
    OR (SYSDATE > B.START_DATE_ACTIVE AND B.END_DATE_ACTIVE IS NULL)
    OR (B.START_DATE_ACTIVE is Null AND B.END_DATE_ACTIVE IS NULL)
    AND ((SYSDATE BETWEEN C.START_DATE_ACTIVE AND C.END_DATE_ACTIVE)
    OR (SYSDATE > C.START_DATE_ACTIVE AND C.END_DATE_ACTIVE IS NULL)
    OR (C.START_DATE_ACTIVE is Null AND C.END_DATE_ACTIVE IS NULL)
    ORDER BY F.SEGMENT1, A.ACCOUNT_NUMBER;

  • I was adding items with the intent of command z 'ing them back to their original when it crashed, autosaved, and my original numbers were lost to the temp numbers plugged in... how can i get back to the previous version? Because it had closed, command z

    I was adding items with the intent of command z 'ing them back to their original when it crashed, autosaved, and my original numbers were lost to the temp numbers plugged in... how can i get back to the previous version? Because it had closed, command z

    Sorry, this happened in CLOUD numbers....

Maybe you are looking for