Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String n = "";
- if (wdContext.nodeAno().getLeadSelection() != -1) {
- wdThis.wdGetEstadoCuentaCustController().excuteBapi();
- n = wdContext.currentErrorElement().getType();
- if (n.equals("E"))
- {
- IWDMessageManager msgmgr = wdComponentAPI.getMessageManager();
- n = wdContext.currentErrorElement().getMessage();
- msgmgr.reportException(n, true);
- }else{
- wdThis.wdFirePlugToResult();
- }
- }
- else{
- IWDMessageManager msgmgr = wdComponentAPI.getMessageManager();
- msgmgr.reportException("Debe seleccionar un aƱo para realizar la Consulta", true);
- }
Add Comment
Please, Sign In to add comment