Sending email Agent/iBot OBIEE 11 G

Hello,
I've a problem. I create an Agent, configure in Analytics and in em, but the agent didn't send the email. The error is:
AgentID: /shared/POC/Agente
[nQSError: 75005] Failed to send AUTH command. 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 AgentID: /shared/POC/Agente
...Trying SMTP Delivery loop again... Sleeping for 6 seconds. AgentID: /shared/POC/Agente
[nQSError: 75005] Failed to send AUTH command. 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 AgentID: /shared/POC/Agente
...Trying SMTP Delivery loop again... Sleeping for 8 seconds. AgentID: /shared/POC/Agente
[nQSError: 75005] Failed to send AUTH command. 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 AgentID: /shared/POC/Agente
...Trying SMTP Delivery loop again... Sleeping for 8 seconds. AgentID: /shared/POC/Agente
[nQSError: 75005] Failed to send AUTH command. 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 AgentID: /shared/POC/Agente
Exceeded number of SMTP delivery retries.
Can anyone give a hand in this?
Ty
Edited by: lucas rehem on 13/10/2010 10:44

The answer is simple. I just didn't pay attetion ... The problem is the Authentication. I had configured all correctly but, my email server just was wrong. I just enter in http:/yourip:7001/em , enter in core application, implementation and email, and correct my configuration. After this I restarted the BI Service and the Agent/iBot send with sucess the email and the Graph.

Similar Messages

  • BI Ibots sender email address

    hi,
    does anyone know how to set up BI to send out different ibots with different sender email address? currently it is global. From the EM Core application --> Deployment --> Mail then on the top you set the 'mail address of the sender'. That turns out to be the global sender email address for all the ibots. however, i have a requirement where i need to send ibot reports to show the sender as a different address for different ibots along with the recipient.
    Thanks in advance for any inputs.
    Shamol

    Thanks SriniVEERAVALLI,
    I tried to create a profile in the WLS and granted admin right; after that i tried to run an ibot 'Run as' that profile, however, after trying that it still shows up with the global sender email address as a sender.
    Did you mean something different?
    Thanks again,

  • CC to somebody by agent in OBIEE 11G

    Hi experts,
    How to configure the agent for sending email by CC somebody?
    I can only see to, not see CC function.

    Hi Kobe,
    there is no way to CC a user when you send an iBot. The traditional way will be to have your managers also be part of the iBot so they will get a report too. But the managers will tipically have all the divisional offices they should be able to see, so rather than getting every report each divisional office user gets they will get 1 single report with all the divisional offices in them. The only other way will be to setup static iBots with hardcoded divisional offices so that you can replicate the non-managers iBots.
    How to send CC through iBot?
    Hope this help's
    Thanks,
    satya

  • Cannot send email from an iPhone to a Outlook group.

    Hi,
    My question is simple and I'd like an exactly same answer : Can iPhone users send emails from their iPhone's to one or more groups created in Outlook?
    This is my situation: our organization is using iPhone to provide email, calendar, contact, task etc. to some of their employees. We are using Airwatch MDM Agent on user's iPhone because we have an Airwatch server in place. I have an user and she has an iPhone 5 and she has created some groups in Outlook but these groups are not reflected in her Contacts in the iPhone. I have update her phone with the latest update, although I was almost sure that this was not the issue, then I've found some interesting posts on internet saying that this was a known problem for the users with the previous iOS but I thought this might has been corrected with the iOS, apparently not.
    Also I've tried ''the trick'' that is posted on several forums with the iCloud but neither so it's working. I am looking for a straight answer, if this works or not on iPhone's?
    Thanks,
    Sebastian.

    There indeed ARE apps in the app store that will do what you want.  Just search and find the one that best fits your needs.

  • Cannot send email from Exchange 2007 to Exchange 2013 - Coexistence

    Existing Exchange 2007 SP3 1 MBX, 2 CAS/HT, 2 ET servers.
    I have added an Exchange 2013 server with MBX/CAS role.
    Email will flow from Ex2013 server no problem.  Mail from Ex2007 systems cannot deliver to Ex2013 boxes, it dies in queue with a 4.4.7 expired message after issuing a delay message.
    I can telnet to ports 25, 587,717,465,475, and 2525 from Ex2007 HT role to new Exchange 2013 server.  I can send email from Ex2007 HT role server to new Exchange 2013 server using telnet to port 25.
    A ‘get-mailbox’ from the Ex2007 HT role server returns the server and database properly on the test users on Exchange 2013 server.
    The only strange thing I am seeing is from the Ex2007 systems, a ‘get-exchange server’ command shows the new Ex2013 server as role ‘16439’ which looks to perhaps be normal.
    Why is email not flowing to the new users on Exchange 2013?

    You should have exchange server authentication ticked in Default Receive connector in Exchange2007.
    Exchange 2007 and Exchange 2013 in the same subnet/network. if not please check any spam agent running between the networks. Are you running antispam on Exchange2013 ?
    MAS

  • Cannot send email when clicking lonk on web page

    I cannot send email when clicking link on web page. 
    When I would click the link to send via email I was being directed to hotmail to open new account.
    Today the tech tried to assist me and completely messed up my email capabilities by setting up
    windows live account.
    I am thoroughly disgusted with FIOS internet services..Every time I've called them in the past month problem has been with someone else whose portal services they are using.
    I cannot send emails because all my contact information cannot be moved.
    I'm paying for FIOS internet service that is almost non existent.
    THe VZ in home agent doesn't work nor does the FIOS information site.
    My next move is to get rid of FIOS.
    They create more problems then they solve with me.

    If I understand your problem correctly, you are having trouble when clicking on a MailTo link on any webpage? What loads when you click this type of link is a setting in your browser. If you tell us what browser you are using, we can try to direct you to the setting.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • Thunderbird will not send emails...but claims they are "sent" (no error message)

    Up until the beginning of this month my Thunderbird was working fine with my roadrunner email address. I have not downloaded any new software or made any changes to my settings during this time. Now I can no longer send emails (although it claims they are sent) and I never get an error message. I'm definitely in online mode, can receive all messages fine, and can send messages from my road runner server fine through webmail. I have checked to ensure no firewalls or antiviruses are blocking my outgoing messages and know the SMTP is correct. Please help!

    Hi...thanks so much for your help! It says "mail sent successfully" and shows it in my sent folder after I click send.
    Troubleshooting:
    Application Basics
    Name: Thunderbird
    Version: 24.4.0
    User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
    Profile Folder: Show Folder
    (Local drive)
    Application Build ID: 20140316131045
    Enabled Plugins: about:plugins
    Build Configuration: about:buildconfig
    Crash Reports: about:crashes
    Memory Use: about:memory
    Mail and News Accounts
    account1:
    INCOMING: account1, , (pop3) pop-server.tampabay.rr.com:110, plain, passwordCleartext
    OUTGOING: smtp-server.tampabay.rr.com:25, plain, none, true
    account2:
    INCOMING: account2, , (none) Local Folders, plain, passwordCleartext
    Extensions
    Important Modified Preferences
    Name: Value
    browser.cache.disk.capacity: 358400
    browser.cache.disk.smart_size.first_run: false
    browser.cache.disk.smart_size.use_old_max: false
    browser.cache.disk.smart_size_cached_value: 358400
    extensions.lastAppVersion: 24.4.0
    font.internaluseonly.changed: true
    font.name.monospace.el: Consolas
    font.name.monospace.tr: Consolas
    font.name.monospace.x-baltic: Consolas
    font.name.monospace.x-central-euro: Consolas
    font.name.monospace.x-cyrillic: Consolas
    font.name.monospace.x-unicode: Consolas
    font.name.monospace.x-western: Consolas
    font.name.sans-serif.el: Calibri
    font.name.sans-serif.tr: Calibri
    font.name.sans-serif.x-baltic: Calibri
    font.name.sans-serif.x-central-euro: Calibri
    font.name.sans-serif.x-cyrillic: Calibri
    font.name.sans-serif.x-unicode: Calibri
    font.name.sans-serif.x-western: Calibri
    font.name.serif.el: Cambria
    font.name.serif.tr: Cambria
    font.name.serif.x-baltic: Cambria
    font.name.serif.x-central-euro: Cambria
    font.name.serif.x-cyrillic: Cambria
    font.name.serif.x-unicode: Cambria
    font.name.serif.x-western: Cambria
    font.size.fixed.el: 14
    font.size.fixed.tr: 14
    font.size.fixed.x-baltic: 14
    font.size.fixed.x-central-euro: 14
    font.size.fixed.x-cyrillic: 14
    font.size.fixed.x-unicode: 14
    font.size.fixed.x-western: 14
    font.size.variable.el: 17
    font.size.variable.tr: 17
    font.size.variable.x-baltic: 17
    font.size.variable.x-central-euro: 17
    font.size.variable.x-cyrillic: 17
    font.size.variable.x-unicode: 17
    font.size.variable.x-western: 17
    mail.openMessageBehavior.version: 1
    mail.winsearch.enable: true
    mail.winsearch.firstRunDone: true
    mail.winsearch.global_reindex_time: 1386018562
    mailnews.database.global.datastore.id: d0565083-6917-4a0a-868f-37bebde1e81
    network.cookie.prefsMigrated: true
    places.database.lastMaintenance: 1398260550
    places.history.expiration.transient_current_max_pages: 104808
    plugin.importedState: true
    plugin.state.npdeployjava: 0
    print.printer_Lexmark_X264dn.print_bgcolor: false
    print.printer_Lexmark_X264dn.print_bgimages: false
    print.printer_Lexmark_X264dn.print_colorspace:
    print.printer_Lexmark_X264dn.print_command:
    print.printer_Lexmark_X264dn.print_downloadfonts: false
    print.printer_Lexmark_X264dn.print_duplex: -1574483314
    print.printer_Lexmark_X264dn.print_edge_bottom: 0
    print.printer_Lexmark_X264dn.print_edge_left: 0
    print.printer_Lexmark_X264dn.print_edge_right: 0
    print.printer_Lexmark_X264dn.print_edge_top: 0
    print.printer_Lexmark_X264dn.print_evenpages: true
    print.printer_Lexmark_X264dn.print_footercenter:
    print.printer_Lexmark_X264dn.print_footerleft: &PT
    print.printer_Lexmark_X264dn.print_footerright: &D
    print.printer_Lexmark_X264dn.print_headercenter:
    print.printer_Lexmark_X264dn.print_headerleft: &T
    print.printer_Lexmark_X264dn.print_headerright: &U
    print.printer_Lexmark_X264dn.print_in_color: true
    print.printer_Lexmark_X264dn.print_margin_bottom: 0.5
    print.printer_Lexmark_X264dn.print_margin_left: 0.5
    print.printer_Lexmark_X264dn.print_margin_right: 0.5
    print.printer_Lexmark_X264dn.print_margin_top: 0.5
    print.printer_Lexmark_X264dn.print_oddpages: true
    print.printer_Lexmark_X264dn.print_orientation: 0
    print.printer_Lexmark_X264dn.print_page_delay: 50
    print.printer_Lexmark_X264dn.print_paper_data: 1
    print.printer_Lexmark_X264dn.print_paper_height: 11.00
    print.printer_Lexmark_X264dn.print_paper_name:
    print.printer_Lexmark_X264dn.print_paper_size_type: 0
    print.printer_Lexmark_X264dn.print_paper_size_unit: 0
    print.printer_Lexmark_X264dn.print_paper_width: 8.50
    print.printer_Lexmark_X264dn.print_plex_name:
    print.printer_Lexmark_X264dn.print_resolution: 0
    print.printer_Lexmark_X264dn.print_resolution_name:
    print.printer_Lexmark_X264dn.print_reversed: false
    print.printer_Lexmark_X264dn.print_scaling: 1.00
    print.printer_Lexmark_X264dn.print_shrink_to_fit: true
    print.printer_Lexmark_X264dn.print_to_file: false
    print.printer_Lexmark_X264dn.print_unwriteable_margin_bottom: 0
    print.printer_Lexmark_X264dn.print_unwriteable_margin_left: 0
    print.printer_Lexmark_X264dn.print_unwriteable_margin_right: 0
    print.printer_Lexmark_X264dn.print_unwriteable_margin_top: 0
    Graphics
    Adapter Description: Intel(R) HD Graphics
    Vendor ID: 0x8086
    Device ID: 0x0152
    Adapter RAM: Unknown
    Adapter Drivers: igdumd64 igd10umd64 igd10umd64 igdumd32 igd10umd32 igd10umd32
    Driver Version: 8.15.10.2639
    Driver Date: 2-1-2012
    Direct2D Enabled: false
    DirectWrite Enabled: false (6.2.9200.16571)
    ClearType Parameters: ClearType parameters not found
    WebGL Renderer: false
    GPU Accelerated Windows: 0
    AzureCanvasBackend: skia
    AzureFallbackCanvasBackend: cairo
    AzureContentBackend: none
    JavaScript
    Incremental GC: 1
    Accessibility
    Activated: 0
    Prevent Accessibility: 0
    Library Versions
    Expected minimum version
    Version in use
    NSPR
    4.10.2
    4.10.2
    NSS
    3.15.4 Basic ECC
    3.15.4 Basic ECC
    NSS Util
    3.15.4
    3.15.4
    NSS SSL
    3.15.4 Basic ECC
    3.15.4 Basic ECC
    NSS S/MIME
    3.15.4 Basic ECC
    3.15.4 Basic ECC

  • Can't send email in Windows Mail

    On May 12th I was unable to send emails under Windows mail.  It would come back with an error message of  "0X800CCC0F".  In my account I'm using (POP3) incoming.yahoo.verizon.net and (SMTP) outgoing.yahoo.verizon.net.
    My SMTP port is 25 and my POP3 port is 110.  I receive emails but can't send any.  If I go to Verizon's email site I can send myself emails and receive them.  I don't like Verizon's setup so I've used Windows Mail with Vista and Outlook with Windows ME without any problems.  I've tried changing port numbers and checking and unchecking SSl and SPA until I'm not quite sure where I was originally.  Something must have changed 5 days ago but I not sure how to fix it.  Any suggestions would be most gratefully received.

    Glad to know I'm not the only one.  Around the same date I began having the same issues (right after Microsoft installed updates).  I use Vista and have had this problem ONLY with Verizon ISP every month, at least once a month.  This time, it hasn't stopped since the 12th. 
    Due to this, I finally gave up and ran the Verizon In Home Agent, which Norton suggested I do not do.  I should have listened to Norton.  The IHA lists that I have two Outlook email address, both of which are the same.  I checked my Outlook and I only have one listed.  BUT, since I used the IHA I now receive emails twice and can't send any at all unless I use Webmail.  The IHA says there are no problems with my email, but I still can't send. 
    If you figure out the resolution to this, I'd love to know....and I will definitely try the link to Microsoft that someone already listed.  I can't use the Windows Mail or Outlook to send. 

  • EM sending Email Notifications to late

    Hello at all,
    On a test instance with Oracle 11gR2 with Enterprise Manager Database Control I try to activate the Email Notifications in Enterprise Manager, so that I can use them for monitoring.
    So i configured following settings:
    Under Setup -> Notification method I gave him a valid mail address with a vaild SMTP server. The test mail was send successfully.
    Under Preferences -> General i gave SYS a valid mail address to receive. The execution plan i let in standard configuration, so everytime at everyday i will get an email, when something happenes. the test mail was send successfully too.
    Now i created an own rule to test the configuration:
    I went to Preferences -> Rules an add an rule. Name and description I named "test" and set "database instance". At availabillity I activated all checkboxed, so i should be informed when the instance goes down, comes up, getting an error, when the error is fixed, when agent is not available, when agebt is available again, when there is a metric error, when the metic error is fixed, when a blackout starts and when it ends.
    Metrics, policies and jobs ther wasn't defined anythind in standard, so i let it so and set nothing here.
    I activate the checkbox for sending emails to sys and sending repeat emails every 15 minutes 3 times at all.
    Now, to test this notification i logged into my testserver and killed the listener process, to see, what will happened. After 1 Hour waiting i didn't get any email, so i restartet the listener. after the listener was startet my outlook was fluted by emails from the server, that the listener was down. But why i didn't get them earlier.
    I checked the procedure with the database to, here i get it down by "shutdown abort" and "shutdown immediate". But i get the mails, that the database is down, when its up already. And thats to late!
    When I want to use such email notifications for productive servers and someting is going wrong, for that a notifications is configured of course, I want to get the mail directly, when that happened and not, hen the problem is fixed!
    For example, here an email from testing, where the listener was down, that i've get at 13:01 :
    Target Name=LISTENER_<hostname>
    Target Type=Listener
    Host=<hostname>
    Metric=Status
    Metric Value=0
    Timestamp=Feb 18, 2013 12:01:58 PM CET
    Severity=Critical
    Message=The listener is down: TNS-12541: TNS:no listener .
    Notification Rule Name=Listener Availability
    Notification Rule Owner=SYSMAN
    Notification Count=1
    What can i do here? Does anybody knows a tip or the solution?
    Thanks a lot for help.
    Best regards!
    David
    Edited by: 985104 on 18.02.2013 04:24

    Thanks for the link.
    In the document i read much about directories like: $ORACLE_HOME/oes/admin. My problem here is, that i haven't such directories so i think i'm not using oesmon.
    Should i have to use this?
    Do you need some log output?

  • Agents in OBIEE 11g

    Hi Experts,
    I am trying to create a agent in 11g. And deliver the report on to the phone/Handheld devices.
    Can some one help me with this?
    I would appreciate the help.
    Thanks,
    Kumar
    Edited by: 807167 on Nov 30, 2010 3:28 PM

    follow the steps the send email ( handheld device )
    1) install the scheduler schema required, either through RCU. the scripts are available at
    FUSION HOME/ .. /bifoundation\OracleBISchedulerComponent\coreapplication_obisch1\schema
    2) in fusion enterprise manager -> Business Intelligence -> deployment -> scheduler
    configure the database name, schema, username etc.,
    3) configure the smtp server name and port in config file
    instances\instance1\config\OracleBISchedulerComponent\coreapplication_obisch1
    instanceconfig.xml
    4) fusion enterprise manager -> Business Intelligence -> capacity management -> restart the scheduler
    5) then create an analysis -> then create an agant ( schedule ).. enter all the details like receipts, attachment etc., and save the analysis, agent
    6) open the job schedular using username, password.. you will find the agent ( your created is submitted )..
    7) once job is completed... u will receive the email as expected.
    Hope this helps.

  • Script to send email notification when sql server stops..

    Hi,
    I am looking for a script through which I can monitor sql server service status and if it down for any reason, I want to send email to Dba team.  How to achieve this? Did anyone has already done similar kind of monitoring?
    Again, I am not looking for any 3rd party monitoring system like SCOM etc.. I looking for a batch file or script outside sql which can solve this.
    Any help would be greatly appreciated.
    Thank you.

    There are two ways to do it:
    1). There is a job option wherein you can put the alert message and then in schedule option, select to alert you only when Sql Agent Services get restarted. So this way you will come to know when Sql Agent Services got restarted.
    2). From any centralize\third server apart from your database server\host, you can put a job to execute almost around every 5 minutes to check service status and then call a batch file which will call OSQL code to execute sql code for sending alert
    based on the message content you want to like below:
    Scripts below, even you can tweak more on this as per your environment requirement and even you can merge some scripts to make one out of two or similar, however keeping each separate one helps to track scripts.
    First Batch File with Name: ServiceStatusCheck.bat
    with below content
    Echo "Checking Service Status"
    :Query
    FOR /F "tokens=4 delims= " %%A IN ('SC QUERY "XXXXXXXXServiceNametobeCheckedPutHere" ^| FIND "STATE"') DO SET status=%%A
    IF "%status%"=="STOPPED" GOTO Shootout
    :Shootout
    'email for success in first attempt
    'Put path of batch file
    "D:\Script\Successemail.bat"
    Exit
    Second Batch file with below content which will call Sql file to send alert: File Name: Successemail.bat
    ECHO "Send Email Alert"
    OSQL -E -S XXXXXXXXX -i "D:\Script\Successemail.sql"
    ECHO "Done"
    Exit
    Third Sql File to send email: File Name: Successemail.sql
    Declare @bodyT varchar(200)
    Set @bodyT  =
    'Service was found in stopped status and Date & Time::'
     +replace(convert(varchar(20),GETDATE(), 102),'.','/')
     +'::'
     +convert(varchar(20),GETDATE(), 108)
    EXEC msdb.dbo.sp_send_dbmail
        @profile_name='Profilename',
        @recipients = '[email protected]',
        @body  = @bodyT,
        @subject = 'Service was found in stopped status, Check Details!!'
    GO
    Santosh Singh

  • ABAP program for sending emails

    Hello SAP developers,
    I need ABAP program for sending emails to my internet adress in background - just some simple header with no body and no attachement. Recipient should be specified due the parameter etc... Does program like this exist or i have to create it? I am not familiar with ABAP. I am basis admin so I am little bit lost in this. I have tried program code from this page ->
    http://www.sapdevelopment.co.uk/reporting/email/email_mbody.htm
    But anyway it does not work - there is an exception "no message send". SCOT is configured, mails are working fine from transaction SBWP.
    Thanks in advace
    JM

    I have already solved my issue through CCMS agents and RZ20 central autoreaction (sms) in Solution Manager.
    Regards
    JM

  • Highlight updated line in send email

    hi,
    is there anyway that i can highlight the changed value in when a record is updated and it sends the email?
    currently when a record is updated an email is sent with the every change in the recordset but i would like it to be able to highlight the particular elements of the form that were changed so it is clear to the user when they get the email what has been changed exactly?
    hope someone can help, i am guessing it will be some custom coding in the transaction but not sure where to start with it.
    many thanks

    hi thanks for all your help.
    please see below update record and send email code.  i just want it to send the values that have been updated to the user.
    thank you all once again for your help:
    <?php require_once('Connections/cbank.php'); ?>
    <?php
    //MX Widgets3 include
    require_once('includes/wdg/WDG.php');
    // Load the common classes
    require_once('includes/common/KT_common.php');
    // Load the tNG classes
    require_once('includes/tng/tNG.inc.php');
    // Make a transaction dispatcher instance
    $tNGs = new tNG_dispatcher("");
    // Make unified connection variable
    $conn_cbank = new KT_connection($cbank, $database_cbank);
    //Start Restrict Access To Page
    $restrict = new tNG_RestrictAccess($conn_cbank, "");
    //Grand Levels: Level
    $restrict->addLevel("1");
    $restrict->Execute();
    //End Restrict Access To Page
    // Start trigger
    $formValidation = new tNG_FormValidation();
    $formValidation->addField("AgencyTradingAgreementSignedDate", true, "date", "date", "", "", "");
    $formValidation->addField("DateReservationFormSentToProductProvider", false, "date", "date", "", "", "");
    $formValidation->addField("DateResFeeSentToProductProvider", false, "date", "date", "", "", "");
    $formValidation->addField("DateCertIDSentToPP", false, "date", "date", "", "", "");
    $formValidation->addField("DateClientRecvdContract", false, "date", "date", "", "", "");
    $formValidation->addField("DateDepositDue", false, "date", "date", "", "", "");
    $formValidation->addField("DateContractReturnedToPP", false, "date", "date", "", "", "");
    $formValidation->addField("DateDepositPaidToPP", false, "date", "date", "", "", "");
    $formValidation->addField("CaseComplete", false, "date", "date", "", "", "");
    $formValidation->addField("DateOfInvoice", false, "date", "date", "", "", "");
    $formValidation->addField("DateInvoicePaid", false, "date", "date", "", "", "");
    $formValidation->addField("DatePaidToAgent", false, "date", "date", "", "", "");
    $tNGs->prepareValidation($formValidation);
    // End trigger
    //start Trigger_SendEmail trigger
    //remove this line if you want to edit the code by hand
    function Trigger_SendEmail(&$tNG) {
      $emailObj = new tNG_Email($tNG);
      $emailObj->setFrom("{KT_defaultSender}");
      $emailObj->setTo("[email protected]");
      $emailObj->setCC("");
      $emailObj->setBCC("");
      $emailObj->setSubject("Update");
      //WriteContent method
      $emailObj->setContent("\n{Cash_Sale_ID}\n{clients_ClientID}\n{AgentID}\n{IFAID}\n{Regiona l_ID}\n{Area_ID}\n{Product_ProviderID}\n{ProductTypeID}\n{PropertyID}\n{AgencyTradingAgree mentSignedDate}\n{DateReservationFormSentToProductProvider}\n{DateResFeeSentToProductProvi der}\n{DateCertIDSentToPP}\n{DateClientRecvdContract}\n{DateDepositDue}\n{DateContractRetu rnedToPP}\n{DateDepositPaidToPP}\n{CaseComplete}\n{NPW}\n{GrossInvoice}\n{DateOfInvoice}\n {DateInvoicePaid}\n{AgentExpectedAmount}\n{MIPExpectedAmount}\n{AmountPaidToAgent}\n{DateP aidToAgent}\n{AmountRSMBonusPaid}\n{NetMIPAmount}\n");
      $emailObj->setEncoding("ISO-8859-1");
      $emailObj->setFormat("Text");
      $emailObj->setImportance("Normal");
      return $emailObj->Execute();
    //end Trigger_SendEmail trigger
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    mysql_select_db($database_cbank, $cbank);
    $query_rsAgents = "SELECT * FROM users WHERE AccessLevel <= 5";
    $rsAgents = mysql_query($query_rsAgents, $cbank) or die(mysql_error());
    $row_rsAgents = mysql_fetch_assoc($rsAgents);
    $totalRows_rsAgents = mysql_num_rows($rsAgents);
    mysql_select_db($database_cbank, $cbank);
    $query_rsIFA = "SELECT * FROM users WHERE AccessLevel = 7";
    $rsIFA = mysql_query($query_rsIFA, $cbank) or die(mysql_error());
    $row_rsIFA = mysql_fetch_assoc($rsIFA);
    $totalRows_rsIFA = mysql_num_rows($rsIFA);
    mysql_select_db($database_cbank, $cbank);
    $query_rsRegional = "SELECT * FROM users WHERE AccessLevel = 2";
    $rsRegional = mysql_query($query_rsRegional, $cbank) or die(mysql_error());
    $row_rsRegional = mysql_fetch_assoc($rsRegional);
    $totalRows_rsRegional = mysql_num_rows($rsRegional);
    mysql_select_db($database_cbank, $cbank);
    $query_rsArea = "SELECT * FROM users WHERE AccessLevel = 3";
    $rsArea = mysql_query($query_rsArea, $cbank) or die(mysql_error());
    $row_rsArea = mysql_fetch_assoc($rsArea);
    $totalRows_rsArea = mysql_num_rows($rsArea);
    mysql_select_db($database_cbank, $cbank);
    $query_rsProductProvider = "SELECT * FROM product_provider";
    $rsProductProvider = mysql_query($query_rsProductProvider, $cbank) or die(mysql_error());
    $row_rsProductProvider = mysql_fetch_assoc($rsProductProvider);
    $totalRows_rsProductProvider = mysql_num_rows($rsProductProvider);
    mysql_select_db($database_cbank, $cbank);
    $query_rsProductType = "SELECT * FROM producttype WHERE ProductTypeID <= 14";
    $rsProductType = mysql_query($query_rsProductType, $cbank) or die(mysql_error());
    $row_rsProductType = mysql_fetch_assoc($rsProductType);
    $totalRows_rsProductType = mysql_num_rows($rsProductType);
    mysql_select_db($database_cbank, $cbank);
    $query_rsPropertyRef = "SELECT CONCAT(ifnull(PropertyRef, ''), ' ', ifnull(SaleType, ''), ' ',ifnull(UnitNo, ''), ' ', ifnull(PropertyType, ''), ' ',ifnull(ProductName, ''), ' ',ifnull(Development, ''), ' ', ifnull(Country, ''), ' ',ifnull(PriceofProperty, '')) AS PropertyRef, PropertyID, ProductTypeID FROM properties WHERE ProductTypeID <= 14";
    $rsPropertyRef = mysql_query($query_rsPropertyRef, $cbank) or die(mysql_error());
    $row_rsPropertyRef = mysql_fetch_assoc($rsPropertyRef);
    $totalRows_rsPropertyRef = mysql_num_rows($rsPropertyRef);
    $ParamCash_rsClientsCash = "-1";
    if (isset($_GET['Cash_Sale_ID'])) {
      $ParamCash_rsClientsCash = (get_magic_quotes_gpc()) ? $_GET['Cash_Sale_ID'] : addslashes($_GET['Cash_Sale_ID']);
    mysql_select_db($database_cbank, $cbank);
    $query_rsClientsCash = sprintf("SELECT clients.ClientID, cash_sale.clients_ClientID FROM clients join cash_sale on clients.ClientID = cash_sale.clients_ClientID WHERE cash_sale.Cash_Sale_ID = %s", GetSQLValueString($ParamCash_rsClientsCash, "int"));
    $rsClientsCash = mysql_query($query_rsClientsCash, $cbank) or die(mysql_error());
    $row_rsClientsCash = mysql_fetch_assoc($rsClientsCash);
    $totalRows_rsClientsCash = mysql_num_rows($rsClientsCash);
    // Make an update transaction instance
    $upd_cash_sale = new tNG_update($conn_cbank);
    $tNGs->addTransaction($upd_cash_sale);
    // Register triggers
    $upd_cash_sale->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Update1");
    $upd_cash_sale->registerTrigger("BEFORE", "Trigger_Default_FormValidation", 10, $formValidation);
    $upd_cash_sale->registerTrigger("END", "Trigger_Default_Redirect", 99, "clients_Detail.php?ClientID={rsClientsCash.ClientID}");
    $upd_cash_sale->registerTrigger("AFTER", "Trigger_SendEmail", 98);
    // Add columns
    $upd_cash_sale->setTable("cash_sale");
    $upd_cash_sale->addColumn("clients_ClientID", "NUMERIC_TYPE", "POST", "clients_ClientID");
    $upd_cash_sale->addColumn("AgentID", "NUMERIC_TYPE", "POST", "AgentID");
    $upd_cash_sale->addColumn("IFAID", "NUMERIC_TYPE", "POST", "IFAID");
    $upd_cash_sale->addColumn("Regional_ID", "NUMERIC_TYPE", "POST", "Regional_ID");
    $upd_cash_sale->addColumn("Area_ID", "NUMERIC_TYPE", "POST", "Area_ID");
    $upd_cash_sale->addColumn("Product_ProviderID", "NUMERIC_TYPE", "POST", "Product_ProviderID");
    $upd_cash_sale->addColumn("ProductTypeID", "NUMERIC_TYPE", "POST", "ProductTypeID");
    $upd_cash_sale->addColumn("PropertyID", "NUMERIC_TYPE", "POST", "PropertyID");
    $upd_cash_sale->addColumn("AgencyTradingAgreementSignedDate", "DATE_TYPE", "POST", "AgencyTradingAgreementSignedDate");
    $upd_cash_sale->addColumn("DateReservationFormSentToProductProvider", "DATE_TYPE", "POST", "DateReservationFormSentToProductProvider");
    $upd_cash_sale->addColumn("DateResFeeSentToProductProvider", "DATE_TYPE", "POST", "DateResFeeSentToProductProvider");
    $upd_cash_sale->addColumn("DateCertIDSentToPP", "DATE_TYPE", "POST", "DateCertIDSentToPP");
    $upd_cash_sale->addColumn("DateClientRecvdContract", "DATE_TYPE", "POST", "DateClientRecvdContract");
    $upd_cash_sale->addColumn("DateDepositDue", "DATE_TYPE", "POST", "DateDepositDue");
    $upd_cash_sale->addColumn("DateContractReturnedToPP", "DATE_TYPE", "POST", "DateContractReturnedToPP");
    $upd_cash_sale->addColumn("DateDepositPaidToPP", "DATE_TYPE", "POST", "DateDepositPaidToPP");
    $upd_cash_sale->addColumn("CaseComplete", "DATE_TYPE", "POST", "CaseComplete");
    $upd_cash_sale->addColumn("NPW", "CHECKBOX_YN_TYPE", "POST", "NPW");
    $upd_cash_sale->addColumn("GrossInvoice", "DOUBLE_TYPE", "POST", "GrossInvoice");
    $upd_cash_sale->addColumn("DateOfInvoice", "DATE_TYPE", "POST", "DateOfInvoice");
    $upd_cash_sale->addColumn("DateInvoicePaid", "DATE_TYPE", "POST", "DateInvoicePaid");
    $upd_cash_sale->addColumn("AgentExpectedAmount", "DOUBLE_TYPE", "POST", "AgentExpectedAmount");
    $upd_cash_sale->addColumn("MIPExpectedAmount", "DOUBLE_TYPE", "POST", "MIPExpectedAmount");
    $upd_cash_sale->addColumn("AmountPaidToAgent", "DOUBLE_TYPE", "POST", "AmountPaidToAgent");
    $upd_cash_sale->addColumn("DatePaidToAgent", "DATE_TYPE", "POST", "DatePaidToAgent");
    $upd_cash_sale->addColumn("AmountRSMBonusPaid", "DOUBLE_TYPE", "POST", "AmountRSMBonusPaid");
    $upd_cash_sale->addColumn("NetMIPAmount", "DOUBLE_TYPE", "POST", "NetMIPAmount");
    $upd_cash_sale->setPrimaryKey("Cash_Sale_ID", "NUMERIC_TYPE", "GET", "Cash_Sale_ID");
    // Execute all the registered transactions
    $tNGs->executeTransactions();
    // Get the transaction recordset
    $rscash_sale = $tNGs->getRecordset("cash_sale");
    $row_rscash_sale = mysql_fetch_assoc($rscash_sale);
    $totalRows_rscash_sale = mysql_num_rows($rscash_sale);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:wdg="http://ns.adobe.com/addt">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>cash update</title>
    <style type="text/css" media="all">
    <!--
    @import url("css/common.css");
    -->
    <!--
    @import url("css/admin.css");
    -->
    </style>
    <style type="text/css" media="print">
    <!--
    @import url("css/admin_print.css");
    -->
    </style>
    <!--[if IE]>
    <style type="text/css">
    #outerWrapper #contentWrapper #content {
      zoom: 1;
    </style>
    <![endif]-->
    <!--[if IE 6]>
    <style type="text/css" media="all">
    @import url("../css/ie6.css");
    </style>
    <![endif]-->
    <link href="includes/skins/mxkollection3.css" rel="stylesheet" type="text/css" media="all" />
    <script src="includes/common/js/base.js" type="text/javascript"></script>
    <script src="includes/common/js/utility.js" type="text/javascript"></script>
    <script src="includes/skins/style.js" type="text/javascript"></script>
    <?php echo $tNGs->displayValidationRules();?>
    <!--[if IE]><script type="text/javascript" src="dmx/lib/excanvas-compressed.js"></script><![endif]-->
    <script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
    <script type="text/javascript" src="dmx/dmx.core.js"></script>
    <script type="text/javascript" src="includes/common/js/sigslot_core.js"></script>
    <script type="text/javascript" src="includes/wdg/classes/MXWidgets.js"></script>
    <script type="text/javascript" src="includes/wdg/classes/MXWidgets.js.php"></script>
    <script type="text/javascript" src="includes/wdg/classes/Calendar.js"></script>
    <script type="text/javascript" src="includes/wdg/classes/SmartDate.js"></script>
    <script type="text/javascript" src="includes/wdg/calendar/calendar_stripped.js"></script>
    <script type="text/javascript" src="includes/wdg/calendar/calendar-setup_stripped.js"></script>
    <script src="includes/resources/calendar.js"></script>
    </head>
    <body bgcolor="#FFFFFF">
    <?php
    echo $tNGs->getErrorMsg();
    ?>
    <form action="<?php echo KT_escapeAttribute(KT_getFullUri()); ?>" method="post" target="_top" id="form1">
      <table cellpadding="2" cellspacing="0" class="KT_tngtable" bgcolor="#FFFFFF">
        <tr>
          <td class="KT_th"><label for="AgentID">Agent:</label></td>
          <td><select name="AgentID" id="AgentID">
            <?php
    do { 
    ?>
            <option value="<?php echo $row_rsAgents['UserID']?>"<?php if (!(strcmp($row_rsAgents['UserID'], $row_rscash_sale['AgentID']))) {echo "SELECTED";} ?>><?php echo $row_rsAgents['FullName']?></option>
            <?php
    } while ($row_rsAgents = mysql_fetch_assoc($rsAgents));
      $rows = mysql_num_rows($rsAgents);
      if($rows > 0) {
          mysql_data_seek($rsAgents, 0);
       $row_rsAgents = mysql_fetch_assoc($rsAgents);
    ?>
          </select>
            <?php echo $tNGs->displayFieldError("cash_sale", "AgentID"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="IFAID">IFA:</label></td>
          <td><select name="IFAID" id="IFAID">
            <?php
    do { 
    ?>
            <option value="<?php echo $row_rsIFA['UserID']?>"<?php if (!(strcmp($row_rsIFA['UserID'], $row_rscash_sale['IFAID']))) {echo "SELECTED";} ?>><?php echo $row_rsIFA['FullName']?></option>
            <?php
    } while ($row_rsIFA = mysql_fetch_assoc($rsIFA));
      $rows = mysql_num_rows($rsIFA);
      if($rows > 0) {
          mysql_data_seek($rsIFA, 0);
       $row_rsIFA = mysql_fetch_assoc($rsIFA);
    ?>
          </select>
            <?php echo $tNGs->displayFieldError("cash_sale", "IFAID"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="Regional_ID">Regional Manager:</label></td>
          <td><select name="Regional_ID" id="Regional_ID">
            <?php
    do { 
    ?>
            <option value="<?php echo $row_rsRegional['UserID']?>"<?php if (!(strcmp($row_rsRegional['UserID'], $row_rscash_sale['Regional_ID']))) {echo "SELECTED";} ?>><?php echo $row_rsRegional['FullName']?></option>
            <?php
    } while ($row_rsRegional = mysql_fetch_assoc($rsRegional));
      $rows = mysql_num_rows($rsRegional);
      if($rows > 0) {
          mysql_data_seek($rsRegional, 0);
       $row_rsRegional = mysql_fetch_assoc($rsRegional);
    ?>
          </select>
            <?php echo $tNGs->displayFieldError("cash_sale", "Regional_ID"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="Area_ID">Area Manager:</label></td>
          <td><select name="Area_ID" id="Area_ID">
            <?php
    do { 
    ?>
            <option value="<?php echo $row_rsArea['UserID']?>"<?php if (!(strcmp($row_rsArea['UserID'], $row_rscash_sale['Area_ID']))) {echo "SELECTED";} ?>><?php echo $row_rsArea['FullName']?></option>
            <?php
    } while ($row_rsArea = mysql_fetch_assoc($rsArea));
      $rows = mysql_num_rows($rsArea);
      if($rows > 0) {
          mysql_data_seek($rsArea, 0);
       $row_rsArea = mysql_fetch_assoc($rsArea);
    ?>
          </select>
            <?php echo $tNGs->displayFieldError("cash_sale", "Area_ID"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="Product_ProviderID">Product Provider:</label></td>
          <td><select name="Product_ProviderID" id="Product_ProviderID">
            <?php
    do { 
    ?>
            <option value="<?php echo $row_rsProductProvider['Product_ProviderID']?>"<?php if (!(strcmp($row_rsProductProvider['Product_ProviderID'], $row_rscash_sale['Product_ProviderID']))) {echo "SELECTED";} ?>><?php echo $row_rsProductProvider['ProductProvider']?></option>
            <?php
    } while ($row_rsProductProvider = mysql_fetch_assoc($rsProductProvider));
      $rows = mysql_num_rows($rsProductProvider);
      if($rows > 0) {
          mysql_data_seek($rsProductProvider, 0);
       $row_rsProductProvider = mysql_fetch_assoc($rsProductProvider);
    ?>
          </select>
            <?php echo $tNGs->displayFieldError("cash_sale", "Product_ProviderID"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="ProductTypeID">Product Type:</label></td>
          <td><select name="ProductTypeID" id="ProductTypeID">
            <?php
    do { 
    ?>
            <option value="<?php echo $row_rsProductType['ProductTypeID']?>"<?php if (!(strcmp($row_rsProductType['ProductTypeID'], $row_rscash_sale['ProductTypeID']))) {echo "SELECTED";} ?>><?php echo $row_rsProductType['ProductTypeName']?></option>
            <?php
    } while ($row_rsProductType = mysql_fetch_assoc($rsProductType));
      $rows = mysql_num_rows($rsProductType);
      if($rows > 0) {
          mysql_data_seek($rsProductType, 0);
       $row_rsProductType = mysql_fetch_assoc($rsProductType);
    ?>
          </select>
            <?php echo $tNGs->displayFieldError("cash_sale", "ProductTypeID"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="PropertyID">Property Ref:</label></td>
          <td><select name="PropertyID" id="PropertyID">
            <?php
    do { 
    ?>
            <option value="<?php echo $row_rsPropertyRef['PropertyID']?>"<?php if (!(strcmp($row_rsPropertyRef['PropertyID'], $row_rscash_sale['PropertyID']))) {echo "SELECTED";} ?>><?php echo $row_rsPropertyRef['PropertyRef']?></option>
            <?php
    } while ($row_rsPropertyRef = mysql_fetch_assoc($rsPropertyRef));
      $rows = mysql_num_rows($rsPropertyRef);
      if($rows > 0) {
          mysql_data_seek($rsPropertyRef, 0);
       $row_rsPropertyRef = mysql_fetch_assoc($rsPropertyRef);
    ?>
          </select>
            <?php echo $tNGs->displayFieldError("cash_sale", "PropertyID"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="AgencyTradingAgreementSignedDate">Agency Trading Agreement Signed Date:</label></td>
          <td><input name="AgencyTradingAgreementSignedDate" id="AgencyTradingAgreementSignedDate" value="<?php echo KT_formatDate($row_rscash_sale['AgencyTradingAgreementSignedDate']); ?>" size="32" wdg:mondayfirst="true" wdg:subtype="Calendar" wdg:mask="<?php echo $KT_screen_date_format; ?>" wdg:type="widget" wdg:singleclick="true" wdg:restricttomask="yes" />
            <?php echo $tNGs->displayFieldHint("AgencyTradingAgreementSignedDate");?> <?php echo $tNGs->displayFieldError("cash_sale", "AgencyTradingAgreementSignedDate"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="DateReservationFormSentToProductProvider">Date Reservation Form Sent To Product Provider:</label></td>
          <td><input name="DateReservationFormSentToProductProvider" id="DateReservationFormSentToProductProvider" value="<?php echo KT_formatDate($row_rscash_sale['DateReservationFormSentToProductProvider']); ?>" size="32" wdg:mondayfirst="true" wdg:subtype="Calendar" wdg:mask="<?php echo $KT_screen_date_format; ?>" wdg:type="widget" wdg:singleclick="true" wdg:restricttomask="yes" />
            <?php echo $tNGs->displayFieldHint("DateReservationFormSentToProductProvider");?> <?php echo $tNGs->displayFieldError("cash_sale", "DateReservationFormSentToProductProvider"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="DateResFeeSentToProductProvider">Date Reservation Fee Sent To Product Provider:</label></td>
          <td><input name="DateResFeeSentToProductProvider" id="DateResFeeSentToProductProvider" value="<?php echo KT_formatDate($row_rscash_sale['DateResFeeSentToProductProvider']); ?>" size="32" wdg:mondayfirst="true" wdg:subtype="Calendar" wdg:mask="<?php echo $KT_screen_date_format; ?>" wdg:type="widget" wdg:singleclick="true" wdg:restricttomask="yes" />
            <?php echo $tNGs->displayFieldHint("DateResFeeSentToProductProvider");?> <?php echo $tNGs->displayFieldError("cash_sale", "DateResFeeSentToProductProvider"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="DateCertIDSentToPP">Date Certified ID Sent To Product Provider:</label></td>
          <td><input name="DateCertIDSentToPP" id="DateCertIDSentToPP" value="<?php echo KT_formatDate($row_rscash_sale['DateCertIDSentToPP']); ?>" size="32" wdg:mondayfirst="true" wdg:subtype="Calendar" wdg:mask="<?php echo $KT_screen_date_format; ?>" wdg:type="widget" wdg:singleclick="true" wdg:restricttomask="yes" />
            <?php echo $tNGs->displayFieldHint("DateCertIDSentToPP");?> <?php echo $tNGs->displayFieldError("cash_sale", "DateCertIDSentToPP"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="DateClientRecvdContract">Date Client Received Contract:</label></td>
          <td><input name="DateClientRecvdContract" id="DateClientRecvdContract" value="<?php echo KT_formatDate($row_rscash_sale['DateClientRecvdContract']); ?>" size="32" wdg:mondayfirst="true" wdg:subtype="Calendar" wdg:mask="<?php echo $KT_screen_date_format; ?>" wdg:type="widget" wdg:singleclick="true" wdg:restricttomask="yes" />
            <?php echo $tNGs->displayFieldHint("DateClientRecvdContract");?> <?php echo $tNGs->displayFieldError("cash_sale", "DateClientRecvdContract"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="DateDepositDue">Date Deposit Due:</label></td>
          <td><input name="DateDepositDue" id="DateDepositDue" value="<?php echo KT_formatDate($row_rscash_sale['DateDepositDue']); ?>" size="32" wdg:mondayfirst="true" wdg:subtype="Calendar" wdg:mask="<?php echo $KT_screen_date_format; ?>" wdg:type="widget" wdg:singleclick="true" wdg:restricttomask="yes" />
            <?php echo $tNGs->displayFieldHint("DateDepositDue");?> <?php echo $tNGs->displayFieldError("cash_sale", "DateDepositDue"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="DateContractReturnedToPP">Date Contract Returned To Product Provider:</label></td>
          <td><input name="DateContractReturnedToPP" id="DateContractReturnedToPP" value="<?php echo KT_formatDate($row_rscash_sale['DateContractReturnedToPP']); ?>" size="32" wdg:mondayfirst="true" wdg:subtype="Calendar" wdg:mask="<?php echo $KT_screen_date_format; ?>" wdg:type="widget" wdg:singleclick="true" wdg:restricttomask="yes" />
            <?php echo $tNGs->displayFieldHint("DateContractReturnedToPP");?> <?php echo $tNGs->displayFieldError("cash_sale", "DateContractReturnedToPP"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="DateDepositPaidToPP">Date Deposit Paid To Product Provider:</label></td>
          <td><input name="DateDepositPaidToPP" id="DateDepositPaidToPP" value="<?php echo KT_formatDate($row_rscash_sale['DateDepositPaidToPP']); ?>" size="32" wdg:mondayfirst="true" wdg:subtype="Calendar" wdg:mask="<?php echo $KT_screen_date_format; ?>" wdg:type="widget" wdg:singleclick="true" wdg:restricttomask="yes" />
            <?php echo $tNGs->displayFieldHint("DateDepositPaidToPP");?> <?php echo $tNGs->displayFieldError("cash_sale", "DateDepositPaidToPP"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="CaseComplete">Case Complete:</label></td>
          <td><input name="CaseComplete" id="CaseComplete" value="<?php echo KT_formatDate($row_rscash_sale['CaseComplete']); ?>" size="32" wdg:mondayfirst="true" wdg:subtype="Calendar" wdg:mask="<?php echo $KT_screen_date_format; ?>" wdg:type="widget" wdg:singleclick="true" wdg:restricttomask="yes" />
            <?php echo $tNGs->displayFieldHint("CaseComplete");?> <?php echo $tNGs->displayFieldError("cash_sale", "CaseComplete"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="NPW">NPW:</label></td>
          <td><input  <?php if (!(strcmp(KT_escapeAttribute($row_rscash_sale['NPW']),"Y"))) {echo "checked";} ?> type="checkbox" name="NPW" id="NPW" value="Y" />
            <?php echo $tNGs->displayFieldError("cash_sale", "NPW"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="GrossInvoice">Gross Invoice:</label></td>
          <td><input type="text" name="GrossInvoice" id="GrossInvoice" value="<?php echo KT_escapeAttribute($row_rscash_sale['GrossInvoice']); ?>" size="32" />
            <?php echo $tNGs->displayFieldHint("GrossInvoice");?> <?php echo $tNGs->displayFieldError("cash_sale", "GrossInvoice"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="DateOfInvoice">Date Of Invoice:</label></td>
          <td><input name="DateOfInvoice" id="DateOfInvoice" value="<?php echo KT_formatDate($row_rscash_sale['DateOfInvoice']); ?>" size="32" wdg:mondayfirst="true" wdg:subtype="Calendar" wdg:mask="<?php echo $KT_screen_date_format; ?>" wdg:type="widget" wdg:singleclick="true" wdg:restricttomask="yes" />
            <?php echo $tNGs->displayFieldHint("DateOfInvoice");?> <?php echo $tNGs->displayFieldError("cash_sale", "DateOfInvoice"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="DateInvoicePaid">Date Invoice Paid:</label></td>
          <td><input name="DateInvoicePaid" id="DateInvoicePaid" value="<?php echo KT_formatDate($row_rscash_sale['DateInvoicePaid']); ?>" size="32" wdg:mondayfirst="true" wdg:subtype="Calendar" wdg:mask="<?php echo $KT_screen_date_format; ?>" wdg:type="widget" wdg:singleclick="true" wdg:restricttomask="yes" />
            <?php echo $tNGs->displayFieldHint("DateInvoicePaid");?> <?php echo $tNGs->displayFieldError("cash_sale", "DateInvoicePaid"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="AgentExpectedAmount">Agent Expected Amount £:</label></td>
          <td><input type="text" name="AgentExpectedAmount" id="AgentExpectedAmount" value="<?php echo KT_escapeAttribute($row_rscash_sale['AgentExpectedAmount']); ?>" size="32" />
            <?php echo $tNGs->displayFieldHint("AgentExpectedAmount");?> <?php echo $tNGs->displayFieldError("cash_sale", "AgentExpectedAmount"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="MIPExpectedAmount">MIP Expected Amount £:</label></td>
          <td><input type="text" name="MIPExpectedAmount" id="MIPExpectedAmount" value="<?php echo KT_escapeAttribute($row_rscash_sale['MIPExpectedAmount']); ?>" size="32" />
            <?php echo $tNGs->displayFieldHint("MIPExpectedAmount");?> <?php echo $tNGs->displayFieldError("cash_sale", "MIPExpectedAmount"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="AmountPaidToAgent">Amount Paid To Agent £:</label></td>
          <td><input type="text" name="AmountPaidToAgent" id="AmountPaidToAgent" value="<?php echo KT_escapeAttribute($row_rscash_sale['AmountPaidToAgent']); ?>" size="32" />
            <?php echo $tNGs->displayFieldHint("AmountPaidToAgent");?> <?php echo $tNGs->displayFieldError("cash_sale", "AmountPaidToAgent"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="DatePaidToAgent">Date Paid To Agent:</label></td>
          <td><input name="DatePaidToAgent" id="DatePaidToAgent" value="<?php echo KT_formatDate($row_rscash_sale['DatePaidToAgent']); ?>" size="32" wdg:mondayfirst="true" wdg:subtype="Calendar" wdg:mask="<?php echo $KT_screen_date_format; ?>" wdg:type="widget" wdg:singleclick="true" wdg:restricttomask="yes" />
            <?php echo $tNGs->displayFieldHint("DatePaidToAgent");?> <?php echo $tNGs->displayFieldError("cash_sale", "DatePaidToAgent"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="AmountRSMBonusPaid">Amount RSM Bonus Paid £:</label></td>
          <td><input type="text" name="AmountRSMBonusPaid" id="AmountRSMBonusPaid" value="<?php echo KT_escapeAttribute($row_rscash_sale['AmountRSMBonusPaid']); ?>" size="32" />
            <?php echo $tNGs->displayFieldHint("AmountRSMBonusPaid");?> <?php echo $tNGs->displayFieldError("cash_sale", "AmountRSMBonusPaid"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="NetMIPAmount">Net MIP Amount £:</label></td>
          <td><input type="text" name="NetMIPAmount" id="NetMIPAmount" value="<?php echo KT_escapeAttribute($row_rscash_sale['NetMIPAmount']); ?>" size="32" />
            <?php echo $tNGs->displayFieldHint("NetMIPAmount");?> <?php echo $tNGs->displayFieldError("cash_sale", "NetMIPAmount"); ?></td>
        </tr>
        <tr class="KT_buttons">
          <td colspan="2"><input type="submit" name="KT_Update1" id="KT_Update1" value="Update record" /></td>
        </tr>
      </table>
      <input type="hidden" name="clients_ClientID" id="clients_ClientID" value="<?php echo KT_escapeAttribute($row_rscash_sale['clients_ClientID']); ?>" />
    </form>
    <p> </p>
    </body>
    </html>
    <?php
    mysql_free_result($rsAgents);
    mysql_free_result($rsIFA);
    mysql_free_result($rsRegional);
    mysql_free_result($rsArea);
    mysql_free_result($rsProductProvider);
    mysql_free_result($rsProductType);
    mysql_free_result($rsPropertyRef);
    mysql_free_result($rsClientsCash);
    ?>

  • The Send Email button function gives an Error

    Not sure what forum to post this in as I did some in Acrobat 9 and some in Designer 8.
    I created a name and address form and a dropdown combo in AA9 then saved and closed it.
    I then opened it in designer 8 and placed a "send by Email" button and closed it.
    I then opened the pdf file in Reader 9 (as a user would) Then filled out the form and clicked the "send by Email" button (sent to myself) it arrived as an .xml attachment and would not open....Just gave this error message
    Adobe Reader could not open 'poolcuetip_data(1).xml' because it is either not a supported file type or because the file has been damaged (for example. it was sent as an email attachment and wasn't correctly decoded).
    Is there a Fix for this error ?? (tried it several times)
    OR
    Can I put a "send email button" on the Acrobat form without having to open in Designer to do it.? If so How ??????
    TIA
    Tony

    You can create a button with Javascript to do what you want BUT it will
    not be reliable since:
    1) Some people use a web browser to receive and send email. Your button
    will not work.
    2) Some people will use a non-supported email client. For example, on
    the Mac, my email program Mailsmith won't work. Neither will
    Thunderbird. On the Windows side, my email client is Agent. It won't
    work either.
    It is nice that Adobe offers the possibility of using some email
    clients, BUT since it doesn't always work, it is an invitation to
    frustration.
    It is better to post the form on the web and use a script to get the
    information on the form. If you want, the script can email you the results!
    Mike

  • When sending emails with cc copy recipients, header does not show the cc copy email adds it was sent, but, messages are received by all. whats wrong?

    Our office email add experiencing this problem just the other day. Our email hosting provider havent found the solution yet despite my frequent follow ups.
    Our business partners in Malaysia are already complaining because, suddenly email heading formats changed. Emails they receive from us (we are using the orange outlook express and mozilla thunderbird) when received by them, doesnt show the Cc addresses to whom we sent the email to. But, it is confirmed being received by all, their email adds appearing only in "To:". They are now confused, thinking that we are not cc copying all concerned parties in our emails but in fact we are. We have done test messages and still same problem exists. Hope anyone could help. Thanks in advance!

    Confirm your headers are correct:
    when you view a 'Sent' email in Sent folder
    It shows headers TO and CC with email addresses
    When you click on 'Other Actions' and select 'View source'
    It says something like this:
    '''From - date here'''
    X-Mozilla-Status: 0001
    X-Mozilla-Status2: 00800000
    X-Mozilla-Keys:
    Message-ID: info
    '''Date: date here'''
    '''From: sending email address'''
    User-Agent:...Thunderbird/31.4.0
    MIME-Version: 1.0
    '''To: email address'''
    '''CC: email address'''
    '''Subject: subject title here'''

Maybe you are looking for

  • How to escape % or % in a String?

    Hi, friends, I need to use a string variable, but don't know how to escape <% and %> in string, I tried to put \ between < and %, but compiler said it was invalid escape character. and do I need to escape / , too? thanks for any help. the code is her

  • How do I install FCE-HD 3.5 on Lion?

    When I try to install FCE-HD 3.5, I get a pop-up that says "can't load, PowerPC apps no longer supported".  What gives? I bought this product from Apple Store in November 2007.  I have the product ID, the original packaging, etc.  I had it installed

  • 7.6 can only find files in the itunes folder - My Music files are all lost

    Since upgrading to itunes 7.6 all my old files that were located in My Music are no longer found by itunes. However all files in My Music/itunes are found. I have not changed the file names, what has happened? As I have loads of files in the old My M

  • HT201077 Unable to share photo stream

    Hi, My my friend sent me a photo stream request. When I click on "join this photo stream" it comes up with a messege; UNABLE TO Subscribe Photos was unable to subscribe to the shared photo stream'. Can someone help ? Thanks

  • Error - oracle.jbo.RowAlreadyDeletedException: JBO-25019

    Hi, I am getting this error upon commit when updating a record: Error - oracle.jbo.RowAlreadyDeletedException: JBO-25019: Entity row of key oracle.jbo.Key[2182 28F40F1AC7FE3D79C65FB880C996B40789A0F5999C132C7243FDBB6D3DA9D0D2 [email protected] ] not f