on 2019 Jan 01 11:31 AM
<context type="OrderEntry" component="referenceListViewOrderEntries" module="customersupportbackoffice" principal="xxxxcustomersupportagentrole">
<list-view:list-view xmlns:list-view="http://www.hybris.com/cockpitng/component/listView">
<list-view:column qualifier="product.code" label="customersupportbackoffice.order.hierarchy.productcode" />
<list-view:column qualifier="quantity" label="customersupportbackoffice.order.hierarchy.qty" />
<list-view:column qualifier="basePrice" label="xxcustomersupportbackoffice.order.hierarchy.itemoriginalunitprice" />
<list-view:column qualifier="totalPrice/quantity" label="xxcustomersupportbackoffice.order.hierarchy.itemdiscountedunitprice" spring-bean="abstractOrderEntryPriceRenderer" />
<list-view:column qualifier="basePrice*quantity" label="customersupportbackoffice.order.hierarchy.itemoriginaltotalprice" spring-bean="abstractOrderEntryPriceRenderer" />
<list-view:column qualifier="totalPrice" label="customersupportbackoffice.order.hierarchy.itemdiscountedtotalprice" />
<list-view:column qualifier="quantityPending" label="customersupportbackoffice.order.hierarchy.pending"/>
<list-view:column qualifier="sapCancelQty" label="customersupportbackoffice.order.hierarchy.cancelled"/>
<list-view:column qualifier="quantityShipped" label="customersupportbackoffice.order.hierarchy.shipped"/>
</list-view:list-view>
</context>
<list-view:list-view xmlns:list-view="http://www.hybris.com/cockpitng/component/listView">
<list-view:column qualifier="materialId" label="customersupportbackoffice.order.hierarchy.productcode" spring-bean="xxxOrderConsignmentRenderer"/>
<list-view:column qualifier="shippedQty" label="xxxcustomersupportbackoffice.order.hierarchy.shipped"/>
<list-view:column qualifier="quantityStatus" label="xxxcustomersupportbackoffice.order.hierarchy.status"/>
<list-view:column qualifier="shippedDate" label="xxxcustomersupportbackoffice.order.hierarchy.shippedDate"/>
</list-view:list-view>
</context>
Request clarification before answering.
Hi - you need to write a custom cell renderer for each attribute and then the renderers need to be configured like
<context type="xxxConsignment" component="referenceListViewConsignmentEntries">
<list-view:list-view xmlns:list-view="http://www.hybris.com/cockpitng/component/listView">
<list-view:column qualifier="shippedQty" spring-bean="shippedQtyRenderer" label="ticustomersupportbackoffice.order.hierarchy.shipped"/>
</list-view:list-view>
</context>
I have attached the code of an OOTB renderer, PriceRenderer for your reference. You can find the following configuration for this bean in customersupportbackoffice-backoffice-spring.xml.
<bean id="refundEntryAmountRenderer" parent="priceRenderer">
<property name="myEntry" value="RefundEntry" />
</bean>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all their is not relation table between the order and Consignment.but we are having the one to one string relation like Order ID and Order Entry Id
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 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.