on 06-24-2011 12:37 PM
Hi SDN,
I've an ecommerce 7.0 for ERP with a B2B configuration.
I want to deactivate the "delivery to" and "requested delivery date" on the item-level.
Is there a way to deactivate that?
Thanks,
Toni
By "deactivating", do you mean ""Read Only - not editable" or "Hidden" ? The "dynamic field control" though sound great doesn't always work as we desire. We had problem with at least one field and got a bug fix from SAP.
A simple JSP level editing of the field could easily make the UI level visibility changes, but the other functional behavior should also be checked for compliance to your requirements. If you want that "not editable", are you ok with the default value that gets in there? If you want it hidden, the item level dates get them by default from the header dates.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Easwar,
By "deactivating" i mean "Hidden". I don't want to see the popup "For which items should the new requested delivery date be valid?", therefore it must be hidden to deactivate that too.
For some bugfix from SAP, there is no time.
What you mean with JSP level editing?
Remove the fields manually on the jsp pages?
Thanks and best regards,
Toni
In order.jsp, i see that there is the possibility to deactivate exactly this fields.
if (! ui.isElementEnabled("order.item.deliverTo") .....
and
if (ui.isElementVisible("order.item.reqDeliveryDate").
But where i can set this visibilities?? In XCM --> UI, there are no entries for this 2 fields.
In which config-file i can find this?
Thanks and best regards,
Toni
Check the following XML file in \root\WEB-INF\xcm\sap\modification and look for
<UIElement name = "order.item.reqDeliveryDate"
description = "b2b.order.reqdeliverydate"
allowed = "true" >
<backend structureName = "ORDER_ITEM"
fieldName = "FROM_TIME_IO" />
</UIElement>
Change the value of allowed="false" and see what happens.. Same thing to the other filed as well. Change these settings and restart the application and see.
Hi Easwar,
Many thanks for your help.
Its working this way.
Extension to this:
If you don't want to display the popup which is asking "for which items you want to set the new date?", you can do this at the order.jsp.
Replace the onblur function of the field headerReqDeliveryDate with
on blur="updItemReqDeliveryDate(updTypeAll);"
Edited by: Toni Flückiger on Jun 30, 2011 9:16 AM
Hi DJ,
Thanks for your answer.
That i've already tryed. This change nothing on this fields.
I search the configuration for items, not for subitems.
Best regards,
Toni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Please try to do this through XCM configuration
Components > UI > XYZ (UI name given by you) > field - ui.fields.order.subitemDetailView:
Hope this will be useful
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.