Edit C:\Users\Administrator\Desktop\CGI\LIVRAISONS\V1.6.2\Livraison_20230112\02-APPLI\WEB-INF\classes\com\edeal\frontline\controller\actions\custom\GenerateGiftCheques.class
Êþº¾ 3S Acom/edeal/frontline/controller/actions/custom/GenerateGiftCheques -com/edeal/frontline/controller/actions/Action logger Lorg/apache/commons/logging/Log; <clinit> ()V Code Fcom/edeal/frontline/controller/actions/custom/ValiderOpportunityAction %org/apache/commons/logging/LogFactory getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; LineNumberTable LocalVariableTable <init> this CLcom/edeal/frontline/controller/actions/custom/GenerateGiftCheques; execute r(Ljava/util/Map;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Ljava/lang/String; Exceptions java/lang/Exception ! (com/edeal/frontline/navigation/FlRequest # $ *(Ljavax/servlet/http/HttpServletRequest;)V & ' ( getContext !()Lcom/edeal/frontline/FlContext; * , + com/edeal/frontline/FlContext - . getDataDictionary &()Lcom/edeal/frontline/DataDictionary; 0 initGchCgcID 2 4 3 %javax/servlet/http/HttpServletRequest 5 6 getParameter &(Ljava/lang/String;)Ljava/lang/String; 8 id : initInvGchID < initRempGchID > -com/edeal/frontline/custom/CmdGiftCheque_Bean = @ A 4(Ljava/lang/String;Lcom/edeal/frontline/FlContext;)V C D E cmdAlreadyGenerated 2(Lcom/edeal/frontline/custom/CmdGiftCheque_Bean;)Z G H I setAttribute '(Ljava/lang/String;Ljava/lang/Object;)V K success M O N java/lang/Boolean P Q valueOf (Z)Ljava/lang/Boolean; = S T U isCgcBypassPrint ()Z = W X Y getCgcNewNumber ()Ljava/lang/String; [ = ] ^ Y getCgcLogicalStartNu ` b a java/lang/String c d equals (Ljava/lang/Object;)Z f h g java/lang/Integer i j parseInt (Ljava/lang/String;)I l GiftCheque_Decalage * n o 6 getContextParameter q 4Le paramètre GiftCheque_Decalage doit être défini s u t org/apache/commons/logging/Log v w error *(Ljava/lang/Object;Ljava/lang/Throwable;)V y java/lang/StringBuilder x x | } ~ append (I)Ljava/lang/StringBuilder; x ? ? Y toString ? OptID ? [Ljava/lang/String; ? OptName = 'GiftCheque_Decalage' ? ? ? com/edeal/frontline/FlOptionBean ? ? listSummary Z(Lcom/edeal/frontline/FlContext;[Ljava/lang/String;[[Ljava/lang/String;)Ljava/util/Vector; ? ? ? java/util/Vector ? U isEmpty ? ? ? ? iterator ()Ljava/util/Iterator; ? ? ? java/util/Iterator ? ? next ()Ljava/lang/Object; ? java/util/Hashtable ? ¡ ¢ get &(Ljava/lang/Object;)Ljava/lang/Object; ? @ ? ¥ ¦ § setOptValue (Ljava/lang/String;)V ? © ª « save '()Lcom/edeal/frontline/OperationResult; ® Y getMessage s ° ± ² warn (Ljava/lang/Object;)V ? ´ µ U hasNext · GiftCheque_Decalage : x ¹ § x » } ¼ -(Ljava/lang/String;)Ljava/lang/StringBuilder; * ¾ ¿ À setContextParameter '(Ljava/lang/String;Ljava/lang/String;)V  Tg_ID Ä Tg_CmdGiftChequeID = ' Æ ' È ? É .com/edeal/frontline/custom/TmpGiftCheques_Bean ? Ë Ì Í elementAt (I)Ljava/lang/Object; È @ È Ð Ñ Y getTg_DesignationCC È Ó Ô Õ getTg_DateValidite ()Ljava/util/Date; È × Ø Y getTg_Beneficiary È Ú Û Y getTg_CmdGiftChequeID Ý ß Þ java/lang/Float P à (F)Ljava/lang/Float; È â ã ä getTg_MontantUnitaire ()F È æ ç Õ getTg_DeadlineDt È é ê ë getTg_Quantite ()I í *com/edeal/frontline/custom/GiftCheque_Bean ì ï ð "(Lcom/edeal/frontline/FlContext;)V M ò ó U booleanValue õ Ch_ ÷ Te1 ù TP û ý ü "com/edeal/frontline/DataDictionary þ ÿ getRefIdByCode J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ì § setGchStatusID PR ì § setGchDesignation ì setGchValidityDt (Ljava/util/Date;)V ì § setGchBeneficiary ì § setGchCgcID ì setGchDeadlineDt genererNum N(Lcom/edeal/frontline/custom/GiftCheque_Bean;Lcom/edeal/frontline/FlContext;)V ì Y getGchNumber Ý ä floatValue ì !" setGchMontant (F)V ì ©% STACK TRACE ?'( ë size =*+, setCgcGeneratedCcs (Z)V =./ § setCgcStartCcNumber =12 § setCgcEndCcNumber4 Or_6 FAC =89 § setCgcStatusID = ©< CR> KO ì @ ìAB, setGchConfImprD java/util/Date C ìGH ä getGchMontant ìJK Y getGchBeneficiary ìMN Y getGchDesignation ìPQ Õ getGchValidityDt ìST Y getGchCgcID =VW ä getCgcAmount =YZ" setCgcAmount\ RE 2^_` getSession "()Ljavax/servlet/http/HttpSession;b actorIDdfe javax/servlet/http/HttpSessiongh getAttribute &(Ljava/lang/String;)Ljava/lang/Object; ìjk ? clone ìmn setGchCrDt ìpq § setGchCreID ìst § setGchID ìvw § setGchOrigineID y{z java/util/Calendar|} getInstance ()Ljava/util/Calendar; GiftCheque_.EndDate? &unable to retrieve GiftCheque_.EndDate ??? $org/springframework/util/StringUtils ? d? / `??? split '(Ljava/lang/String;)[Ljava/lang/String; y?? setTime y? ¡? (I)I y??? set (III)V y?? d after y?? d before y??? add (II)V y¡¢ Õ getTime¤ 0com/edeal/frontline/FieldNotInitializedException¦ &com/edeal/frontline/FrontlineException¨ )com/edeal/frontline/AccessDeniedExceptionª $java/lang/CloneNotSupportedException¬ java/lang/NumberFormatException params Ljava/util/Map; request 'Ljavax/servlet/http/HttpServletRequest; response (Ljavax/servlet/http/HttpServletResponse; flRequest *Lcom/edeal/frontline/navigation/FlRequest; context Lcom/edeal/frontline/FlContext; dico $Lcom/edeal/frontline/DataDictionary; idCmdGch Ljava/lang/String; idGchInv idGchRemp mntAncienCC F cmd /Lcom/edeal/frontline/custom/CmdGiftCheque_Bean; nouvdecalage I prFlag Ljava/lang/Boolean; newNumber logicalNewNumber oldNumber newerNumber decalageChequeCadeau e (Lcom/edeal/frontline/FrontlineException; decalage newdecInt newD fields query [[Ljava/lang/String; list Ljava/util/Vector; tab Ljava/util/Hashtable; optid opt "Lcom/edeal/frontline/FlOptionBean; Ljava/lang/Exception; genereChqOk firstNumber lastNumber i idLigneCommande ligneCc 0Lcom/edeal/frontline/custom/TmpGiftCheques_Bean; designID dateVal Ljava/util/Date; benef comCC montantunit Ljava/lang/Float; dateEch quantite j chq ,Lcom/edeal/frontline/custom/GiftCheque_Bean; aimprimerID imprimerID numero 2Lcom/edeal/frontline/FieldNotInitializedException; ex ade +Lcom/edeal/frontline/AccessDeniedException; cmdajour factureState cheqCreeStateID cheqAimpStateID cheqInvalideStateID gch dateDuJour nouvChq benefAncienCC designAncCC dateAncienCC numCC cmdGch ancienMnt newMnt cheqRemplaceStateID actID &Ljava/lang/CloneNotSupportedException; aujourdhui Ljava/util/Calendar; dateValidite date3110 date0101 date0111 date3112 optEndDate endDate anneeenCours !Ljava/lang/NumberFormatException; LocalVariableTypeTable )Ljava/util/Vector<Ljava/util/Hashtable;>; StackMapTable java/util/Map &javax/servlet/http/HttpServletResponseÑ = ë getCgcMbm = setCgcMbm (I)V s! v ² CgcMbm fnie% GchNumber ')( "com/edeal/frontline/CounterFactory*+ getCounter 4(Lcom/edeal/frontline/FlContext;Ljava/lang/String;)I f- ?. (I)Ljava/lang/String; `012 equalsIgnoreCase (Ljava/lang/String;)Z4 0 `67 ë length9 GchNumber = ;=< com/edeal/frontline/Utils>? formatToSQL E(Lcom/edeal/frontline/FlContext;Ljava/lang/String;)Ljava/lang/String;A GchID ì ?D @STACK TRACE : query to find out if GiftCheque Number is unique = ìFG § setGchNumber isNumeroUnique Z nouvNum gchNumber dernNumGiftCheque giftChequeNumber flds listgc fe SourceFile GenerateGiftCheques.java ! ) ¸ ³ ± 3 *· ± "