Dialog button Usage

In order to know the dialog button usage..
Use the Box Class. to get different types of boxes available.

DialogButton dialogButton;

dialogButton = Box::yesNo(strfmt(‘Dimension is not specified for the ledger account %1 \nDo you want to continue posting?’, ledgerJournalTrans.AccountNum),
,”Dimension validation”,”Dimension validation”);
if(strfmt(“%1”,dialogbutton) == “No”)
throw error(“Dimension not specified for the voucher.”);


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s