cancel
Showing results for 
Search instead for 
Did you mean: 

Backoffice customization -Widget

0 Kudos
519

Hi Team,

I have question regarding Backoffice order entry widget.

We have requirement like creation order entry widget, whenever we create new order entry in existing order the default existing should be added in widget like '

Thank You.

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

here the current b2bunit is not assigned as default using the property below.

@

<wz:assign property="serviceFee.b2bUnit" value="ctx.parentObject"/>

any one what is wrong here

adiputera
Active Participant
0 Kudos

Hi,

I think it's because you called wrong variable, at wz:initialize property, it's newServiceFee, but when you assign it, you're calling serviceFee, it should be newServiceFee

adiputera
Active Participant
0 Kudos

Try these to add the default value of quantity:

	<context type="OrderEntry" component="create-wizard">
		<wz:flow id="OrderEntryWizard" title="create.title(ctx.TYPE_CODE)">
			<wz:prepare id="prepareOrderEntry">
				<wz:initialize property="newOe" type="ctx.TYPE_CODE"/>
				<wz:assign property="newOe.quantity" value="1"/>
			</wz:prepare>
			<wz:step id="step1" label="create.orderentry.essential.label">
				..........
			</wz:step>
		</wz:flow>
	</context>
0 Kudos

<wz:assign property="newOe.quantity" value="1"/>'

this does not work