i am not able to paste my code here in code editor
PUBLIC class DT_UpdateDialoge_DK extends RunBase
{
DialogField dialogtransDate;
DialogField dialogcostType;
DialogField dialogMerchantId;
DialogField dialogVatID;
DialogField dialogamountCurr;
TrvExpMerchantId trvExpMerchantId;
TrvExpMerchantId trvExpMerchantIdVatID;
TrvTransactionCurrencyAmount currencyAmount;
TrvDateStd transDate;
TrvCostTypeEDT costType;
FormDataSource formDataSource;
Object dialog()
{
Dialog dialog = super();
;
dialog.caption("Update Line");
dialog.addTabPage("Tab page");
DialogGroup dialogGroup = dialog.addGroup("Dialog group");
// Add a field for a name to the dialog. This will populate the field with
// any value that happens to be saved in name from previous uses of the
// dialog.
dialogtransDate = dialog.addField(extendedTypeStr(transDate));
dialogtransDate.label("TransDate");
dialogcostType = dialog.addField(costType);
dialogcostType.label("CostType");
dialogMerchantId = dialog.addField(extendedTypeStr(trvExpMerchantId));
dialogMerchantId.label("TransDate");
dialogamountCurr = dialog.addField(extendedTypestr(TrvTransactionCurrencyAmount));
dialogamountCurr.label("AmountCurr");
dialogVatID = dialog.addField(trvExpMerchantIdVatID);
dialogVatID.label("VatID");
return dialog;
}
public static void main(Args _args)
{
DT_UpdateDialoge_DK demoDialog= new DT_UpdateDialoge_DK();
// Display the dialog. This only returns true if the the user clicks "Ok" and validation passes.
if (demoDialog.prompt())
{
//Logic when Ok is clicked goes here
}
}
}