Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void main(Args args)
- {
- DialogCustomize DialogCustomize;
- ;
- DialogCustomize = new DialogCustomize();
- if(DialogCustomize.prompt())
- {
- }
- }
- public boolean unpack(container packedClass)
- {
- Version version = RunBase::getVersion(packedClass);
- ;
- switch (version)
- {
- case #CurrentVersion:
- [version,#CurrentList] = packedClass;
- break;
- default:
- return false;
- }
- return true;
- }
- public container pack()
- {
- return [#CurrentVersion,#CurrentList];
- }
- public boolean getFromDialog()
- {
- ;
- return true;
- }
- Object dialog()
- {
- DialogRunbase dialog = super();
- ;
- dialog.addField(typeId(Transdate),'From Date');
- dialog.addField(typeId(Transdate),'To Date');
- return dialog;
- }
- class DialogCustomize extends RunBase
- {
- TransDate fromdate,todate;
- #define.CurrentVersion(1)
- #define.Version1(1)
- #localmacro.CurrentList
- fromdate,
- todate
- #endmacro
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement