Module line item formula not working

Highlighted
Contributor

Module line item formula not working

Hi

I am trying a simple formula to populate the line item 'Destination Org (Source)'  in my module 'Comp Incoming PR/PO'.  

The formula is  comp_pro_po_supply.Destination Org. 

Any help is appreciated.

Thanks

Regards

Prabakaran

7 REPLIES 7
Highlighted
Valued Contributor

Re: Module line item formula not working

Hi @praba71 

I am not 100% sure I understand your ask or where the problem lies, but I do have a question for you that may help you think about this.

You are using a numbered list where you have the display name set to -14 for all list items, why?

Also, you are using list properties, you should avoid doing so and instead create a System module dimensioned by the comp_pro_po_supply list and store these properties in the module. You can later access the properties much easier.

Einas
"Give a Man a Fish, and You Feed Him for a Day. Teach a Man To Fish, and You Feed Him for a Lifetime"
Highlighted
Contributor

Re: Module line item formula not working

Thanks @einas.ibrahim  for the response. I have corrected the formula for the Display name. The formula now is  Requisition Number & "-" & TEXT(Req Line Number) .  It is showing correct values now,  

Also, you mention about creating a system module dimensioned by the list comp_pro_po_supply . Can you please provide more details on how to do this?

 

Thanks again

Prabakaran

Highlighted
Contributor

Re: Module line item formula not working

Hi @einas.ibrahim  , i got the issue fixed.. Thanks again

Regards

Prabakaran

Highlighted
Valued Contributor

Re: Module line item formula not working

Hi @praba71 

I'm glad you got the formula to work.

System modules are created to adhere to Best Practice.
One type of these system modules is modules to hold list properties instead of actually using list properties. We are moving away from using list properties.

If you haven't yet, please read the Planual as a guide to Best Practice.

Also, this post by @Misbah will give you more details on the how and why we should use System modules for lists.

Einas
"Give a Man a Fish, and You Feed Him for a Day. Teach a Man To Fish, and You Feed Him for a Lifetime"
Highlighted
Occasional Contributor

Re: Module line item formula not working

Hi @praba71 ,

 

The source 'Destination Org' is a list property of the 'comp_pro_po_supply" list, however, the target module 'Comp Incoming PR/PO' is using a different list ('svr_pro_po_supply") as its dimension. Since the source and target dimension don't match, your formula won't work unless there is a linkage/relationship between the two.

 

What is the relationship between the two lists? We can create a list property to establish the mapping of the two lists and then use a lookup formula to populate the line item 'Destination Org (Source)' .

Contributor

Re: Module line item formula not working

Hi @emmaliao  , I got the issue fixed by correcting the dimension of the module.. Thanks 

Regards

Prabakaran

Highlighted
Regular Contributor

Re: Module line item formula not working

hi @praba71 

 

the module in which you are trying to refer the formula applies to a different dimension than the source list you are taking values from, 

you need to establish mapping between both lists via a module or property in the target dimension or you need to change dimension to the same list that you are referring the property from