Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Issue regarding Chain - Endchain

Former Member
0 Likes
543

Hi Experts,

I had an issue regarding chain - end chain.

I want to use a chain - endchain option for a table control column and a separate screen field can this be done ....

i have a table control field containing quantity field and the screen field contains the Total Quantity required ....

now the table controls Total Line Item Quantity should not be greater than Total Quantity ...

if it is greater then an error is poped up and these 2 fields i.e.

Total Quantity Screen field and Line Item Quantity Column should be in editable mode so the i can change any one of them and remove the error.

But it is not allowing me to keep both table control Field and Screen Field in one chain endchain ...

Thanks In Advance. . .

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
488

Its nort allowing you to put both screen field and tc in same chain and endchain block bcoz, Screen field loop is different (LOOP AT SCREEN...ENDLOOP) and tc loop is different.

U can try to use two chain ..end chain blocks.

-Sid

Hi Experts,

I had an issue regarding chain - end chain.

I want to use a chain - endchain option for a table control column and a separate screen field can this be done ....

i have a table control field containing quantity field and the screen field contains the Total Quantity required ....

now the table controls Total Line Item Quantity should not be greater than Total Quantity ...

if it is greater then an error is poped up and these 2 fields i.e.

Total Quantity Screen field and Line Item Quantity Column should be in editable mode so the i can change any one of them and remove the error.

But it is not allowing me to keep both table control Field and Screen Field in one chain endchain ...

Thanks In Advance. . .

2 REPLIES 2
Read only

Former Member
0 Likes
489

Its nort allowing you to put both screen field and tc in same chain and endchain block bcoz, Screen field loop is different (LOOP AT SCREEN...ENDLOOP) and tc loop is different.

U can try to use two chain ..end chain blocks.

-Sid

Read only

Former Member
0 Likes
488

Hi,

PROCESS AFTER INPUT.

CHAIN. "table control fields

FIELD col1.

FIELD col2.

FIELD col3.

MODULE check_chain ON CHAIN-REQUEST.

ENDCHAIN.

"screen fields

chain.

FIELD screeninput1 MODULE qntcheck.

endchain.

Now calculate the total line and compare with screeninput1 fields whether greater.... If its satisfy your requirement do your further coding to enable the table control fields using screen input 1.

Regards,

Harish