Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

New Line rule in Table Component

Highlighted
Fergal Kavanagh
Occasional Advisor

New Line rule in Table Component

Hi all,

Is it possible within a table component to create a rule that when a new line is added to the table, the value for a field in the previous line is auto filled to the new line?

Thank you.

Fergal
2 REPLIES
Darshan Bavisi
Occasional Visitor

Re: New Line rule in Table Component

Hi Fergal,

Can you please elaborate on what exactly is the business need on this? That will help in understanding the exact issues and possible solutions. Why is this required? What kind of data is stored in the table component? etc..
Fergal Kavanagh
Occasional Advisor

Re: New Line rule in Table Component

Thanks Darshan,

The table holds details for a purchase. Fields include Quantity, description, part number, unit cost, total (which is calculated in a rule), charge code and nominal code.

In an order, most of the time the order will be charged to the one code even if it has many line items so the need is to auto populate the charge code and nominal code fields with the same value as selected for the first line. This can be changed by the user if required.

Thanks again Darshan

Fergal
//Add this to "OnDomLoad" event