Hi Deepak
I have written below code inside service implementation for loading the
parent entity then iterated with list until my condition was satisfied. Is
it a correct approach of any other suggestions?


<entity-condition entity-name="FinAccount" list="finAccountList">
                        <condition-expr field-name="finAccountId"
from-field="newEntity.finAccountId" />
</entity-condition>
                <iterate entry="finAccount" list="finAccountList">
            <if>
                <condition><if-compare field="finAccount.finAccountId"
operator="equals" from-field="newEntity.finAccountId"/></condition>
                <then><set field="createAcctgTransEntryParams.glAccountId"
from-field="finAccount.postToGlAccountId"/></then>
            </if>            
                </iterate>

But the value of createAcctgTransEntryParams.glAccountId  is null. Please
suggest me what's the mistake
Regards,
Prasanthi
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Not-able-to-navigate-to-a-screen-tp2221044p2222360.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to