Error in the Create Request Email

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Error in the Create Request Email

MarioF
Hi,

I have the following problem with the request. If I create a request (Order Application -> Request -> New Request) and then I set the statusId to accepted I received a mail but this mail has an error:

OFBiz - Your Request Is Created[]

Customer requestId is required: value:

The problem is in this screen:

<screen name="CreateCustRequestNotification">
        <section>                       
            <condition><not><if-empty field="custRequestId"/></not></condition>
            <actions>               
                <entity-one entity-name="CustRequest" value-field="custRequest"/>
                <entity-one entity-name="PartyNameView" value-field="person">
                    <field-map field-name="partyId" from-field="custRequest.fromPartyId"/>
                </entity-one>
                <set field="title" value="${uiLabelMap.OrderCustRequestNotificationMailCreation} #${custRequestId}"/>
            </actions>
            <widgets>
                <platform-specific><html><html-template location="component://order/webapp/ordermgr/request/CreateCustRequestNotification.ftl"/></html></platform-specific>
            </widgets>
            <fail-widgets>
                <label text="Customer requestId is required: ${parameters.custRequestId} value: ${custRequestId}"></label>
            </fail-widgets>
        </section>
    </screen>


It seems that this screen has no custRequestId value. How can I fix this?

Thanks in advance,
Mario.