Programatically Adding Items
In 9.0.2, I need a simple interface to allow the users to add specific items into portal.
Currently, they need to do edit - add item - choose item type - enter item
attributes. This takes too much time. Is there an API or portlet to do this?
There are a few options:
1.Simplify the edit experience by using the page portlet instead of the full page. The page portlet offers an abbreviated edit mode that may be more acceptable to your users.
2. Edit the item type to minimize the number of attributes that the user needs to add. You have a lot of control over the Add Item and Edit Item screens.
3. Use WebDAV to allow users to upload files directly from their desktop. WebDAV support is much better in 9.0.2.6 than it was in 9.0.2.
4. The new improved List View in 9.0.2.6 offers another editing experience that your users may find more intuitive. You can publish a link that will take the user directly to the List View, avoiding the need to enter Edit mode and then switch to List view.
5. Develop your own Add Item Portlet using the content management APIs. These are new in Portal 9.0.2.6.
Regards,
Jerry
PortalPM
Similar Messages
-
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 -
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
endHi 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.
ThanksInAdvanceI 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. -
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 pleaseHi,
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 -
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 -
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....
-
reset printer settings....still no print....plus added items to menu bar...they're gone from bar & customize window...title bar changed
Firefox doesn't print some pages well, but if you have this problem on all pages, there may be some problem with Firefox's ability to work with your printer driver. If it's only particular pages, can you post the URLs for an assessment?
I'm not clear on what happened with Cut, Copy & Paste: you moved them from the menu drop-down to the toolbar and then they disappeared?
If you return to Customize mode, try clicking Restore Defaults and see whether things return to normal.
When you say "toolbar background" do you mean a theme you were using in an earlier version of Firefox? Otherwise, there's not much to see.
If Firefox is becoming transparent or showing some desktop or showing other display glitches it may be incompatible with your graphics card drivers. The standard workaround for that is to disable Firefox's use of hardware acceleration for graphics.
3-bar menu button (or Tools menu) > Options > Advanced
On the "General" mini-tab, uncheck the box for "Use hardware acceleration when available"
This will take effect the next time you exit out of Firefox and restart it. -
Programatically adding command links in ADF Tree?
Hi,
I am using Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660. Can anyone please provide me some sample code for programatically adding dynamically generated ADF command links in the nodes of ADF Tree(Tree nodes in it are created using View Object - Drag & drop of data control). Now how can i add links in the nodes generated.
Thanks,
VikHi,
try setting partialSubmit=true on the command link. Just in case it fires the action method before the context menu displays
Frank -
Personalization: Adding Items in the Review Page
Hi,
I have successfully added items in the previous page (Employment Type) before the review page. I was able to submit it and see the changes in APPS.
Right now, whenever I reach the review page and I did some changes with my newly added items, these items are, naturally, not displayed in the Review Page. I thought it will be as simple as creating items in the Review Page (thru Personalization, of course) but I couldn't add the current and proposed value. Couldn't even display the static texts properly in the Review Page.
So how can I add items in the Review Page?? I tried using the same view attribute and view instance but it didn't give me any value.
I'm still new with OAF personalization so any recommendations on books to read are welcome.
Thanks!
NHi,
From your description, my understanding is that you want to show the number of unread mails on the home page of SharePoint.
Here is a solution from codeplex
for your reference:
http://exchangewp.codeplex.com/
You could
also refer to this article(SharePoint UnRead Email Solution):
https://pinpoint.microsoft.com/Applications/12884948334?locale=en-ye/writereview&wa=wsignin1.0.
Best Regards
Vincent Han
TechNet Community Support
Thanks Vincent, That will help me get somewhere.
Regards,
Gagandeep Singh
My CRM blog |
My SharePoint blog -
New Price Updates for newly added Items Through VA02
Hi All,
Through VA02 ,If you change first date in line item we have written code in MV45AFZB(USEREXIT_NEW_PRICING_VBKD
) for updating price for that item.
Now the issue is if u add one more new line item through VA02 itself..here we were not getting that line item detials.because its not yet saved.
We want to update prices for newly added items also.Hi Reddy,
For translation of any text , goto SE63 -> in menu TRANSLATION -> R/3 Enterprise - > Transport object -->
for Transport Entry of Object : R3TR SHI3 ZABC
then select target & source lang. click EDIT.
Hope this helps you.
Reagards,
Aby -
How to restrict adding Item Sales Order without itemcost
Hi Experts,
Can i restrict sap user on adding "Sales Order" (Items) if they are adding items without itemcost on item master?Insert this in your SBO_SP_TransactionNotification stored procedure after the line
-- ADD YOUR CODE HERE
IF @transaction_type IN (N'A', N'U') AND @object_type = '17'
BEGIN
If exists
(Select 1
From RDR1 O INNER JOIN OITM I ON O.ItemCode = I.ItemCode
Where I.AvgPrice = 0
and O.DocEntry=@list_of_cols_val_tab_del)
begin
SET @error = 1
SET @error_message = N'Item without cost ! '
end
END
This code is applicable if you do not set the Manage Item Cost per Warehouse. If you set it, use the modified code of Rahul.
Edited by: István K#rös on Oct 12, 2010 1:59 PM -
Make a list with the last 100 added items
Anybody knows how to have a List that only store the last 100 added items? A kind of a que which always has 100 items.
Thank you !
ostenseI am sure there is a simpler way to do what you are trying to do but ...
public class LastList extends LinkedList {
private final int maxSize;
public LastList(int maxSize) {
this.maxSize = maxSize;
public void addFirst(Object o) {
super.addFirst(o);
trim();
public void addLast(Object o) {
super.addLast(o);
trim();
public boolean add(Object o) {
boolean ret = super.add(o);
trim();
return ret;
public boolean addAll(Collection c) {
boolean ret = super.addAll(c);
trim();
return ret;
public boolean addAll(int index, Collection c) {
boolean ret = super.addAll(index, c);
trim();
return ret;
public void add(int index, Object element) {
super.add(index, element);
trim();
private void trim() {
while(size() > maxSize)
removeFirst();
} -
Positioning a programatically added button
Hi All,
We have programatically added a button to a region it is positioned at the bottom of that region but we want to set it at the top.
So is there any property with which we can change the position of the button programatically?
Pls let me know.
AkshataI figured out what was wrong... there were two problems and
one caused the other. The first problem is that I'm retarded. Which
is why I didn't notice that the view states are case sensitive and
my XML and hard coded values were in a different case than the
actual states. -
ComboBox very slow adding items when in userControl
I have 4000 items or so, to add in a ComboBox. When I add ComboBox directly to the form, populating it takes around 20ms, (witch is fine). But I need to add this ComboBox to several forms so i created user control that has only ComboBox in it. Code for adding items remains identical but somehow performance droped significantely to 5sec (witch is unacceptable).
Anyone has any ideas?DataRow[] rows;
.code for filling rows
foreach (DataRow row in rows)
comboBox1.Items.Add(row["Name"].ToString());
this is what i been doing now.
can you please give example how to do it with AddRange().
And im calling this part of the code after Load event of the parent control (parent of the my user control)
Maybe you are looking for
-
Problem with PHP not working and Extra space in form I can't get rid of
This is my first time doing a form, much less using php. I would appreciate your help on the problems below. 1. in the form when you go to the website there is too much vertical spacing between the form fields. 2.the Message field has script inside t
-
More than one condition for a formula
HI We have another field that has to 5 values, and if the field is blank, we have to write on the report 'Missing'. I am not sure how one codes for this. If else if else etc?
-
Bill of Lading & Letter of Credit form names
Hi Everyone, Can you give the SAP standard form names for Bill of Lading and Letter of Credit? Regards, Sugopa
-
Interactive Form with ABAP DDIC Interface
Hi, I'm new on adobe interactive forms and I have some problems. I have a form with a abap dictionary based interface. When I test my web dynpro application with the interactive form, it is not interactive. :-P And yes the property "enabled" of the
-
Action doesn't execute in player
In the app I'm working on (AS 2.0) I have several buttons. I've added an action to each of those buttons: on (release) gotoAndPlay("fr_test"); When in Flash, if I enable (Control) Simple Buttons and Simple Actions, this action works like it shoul