Clearing a page after an action

Hello Everyone,

How could i clear the fields of a page after having some actions done??

Is it Possible to open the Customer Card in page mode-New?

Working on Nav13 R2

Thanks in advance

You need to open the customer page from any action?

if yes, when you add the action in page then there is a property called RunPageMode for that action

set it to Create Mode and try

Thanks Mohana

But i need to open the page from runmodal(21) using code??

N can u also suggest me how to clear all the fields in a page after an action?

click the new button.

by code, try following:

write in action trigger.

create a local var.rec2 of same. type as rec.

rec2.init;

rec = rec2;

currpage.update;