cancel
Showing results for 
Search instead for 
Did you mean: 

Changing Layout SUM-Line of form PTRV_EXPENSE_FORM

Former Member
0 Kudos

Hi,

I have activating the field SHORTTXT in table IT_RECEIPTS_TAX_FREE_1RC_1PC in the kontext-menu. Then adding a new cell in the referencing table in Data-view and make a binding of the new field.

When testing the form, the SUM-line of the corresponding table will be displayed as shown in the attached file.

Where I have to change the layout to make the SUM-line totally yellow-highlighted?

Thanking you in anticipation

Dietmar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Sample Code From

 

[[data.MainPage.Receipts_tax_free_2RC_1PC.Receipts_tax_free_2RC_1PC.DATA.SUM_LINE::ready:layout - (FormCalc, client)]]

if ( not ( not HasValue($) )) then

$.parent.REC_DATE.border.fill.color.value = "255,255,153"

$.parent.RECEIPTNO.border.fill.color.value = "255,255,153"

$.parent.EXP_TYPE_NAME.border.fill.color.value = "255,255,153"

$.parent.REC_AMOUNT.border.fill.color.value = "255,255,153"

$.parent.REC_CURR.border.fill.color.value = "255,255,153"

$.parent.REC_RATE_CHAR.border.fill.color.value = "255,255,153"

$.parent.PAY_AMOUNT.border.fill.color.value = "255,255,153"

endif

Similarly should be added for the new field

Former Member
0 Kudos

Hallo Tharanggany,

your information was very helpfull!!

Many thanks!

Dietmar

Answers (1)

Answers (1)

Former Member
0 Kudos

HiNot Active Contributor Dietmar,

Please check the Scripting done for other fields to display it in yellow color.

Similarly you need to incorporate it for the SUM-line field.

Regards,

Tharanggany