How to define search string to update the encashment date in check register

HI experts,
I have an issue with the check . the check encashment date is not getting updated . we are using electronic bank statement and the bank statement files are MT940 format . the EBS is working fine but in case of check payment we receive a 12 digit check number i.e ( 000000001618)  in the MT940 files where as  in the SAP system we have maintained check lot with a 10 digit number i.e ( 0000001618) i have already defined the interpretation algorithm and the search string but the search string only works when i change the sap system check lot to 12 digits as per the MT940 files. How can i define a search string to clear the 12 digits check number in MT940 with the 10 digit in system so that it get cleared and the check encashment date get updated in check information .
could anyone help me .
Thanks

Hi
Try keeping the 1st two digits of search string as b;ank. i.e. ############ (12 digits) mapped to __##########. I used underscore to denote balnk space. Using this when you recevie say 000000001618 (12 digits), it will be mapped to 0000001618 (10 digits). Then your interpretation algo will use this 10 digit number.
Thanks
Nikhil

Similar Messages

  • How to prevent multiple users from updating the same data in coherence

    Hi,
    I have a Java Web Application and for data cache am using coherence 3.5. The same data maybe shared by multiple users which maybe in hundreds. Now how do I prevent multiple users from updating the same data in coherence i.e. is there something in coherence that will only allow one user a time to update. If one user is in a process of updating a data in coherence and some other user also tries to update then the second user should get an error.
    Thanks

    I have a question on the same line. How can I restrict someone from updating a cache value when I a process is already working on it. I tried locking the cache key but it does not stop other process to update it , it only does not allow other process to get lock on it.

  • How can i change encashment date on check register?

    frnds
    by mistake, i marked wrong enchashment date on one of the check in check register,
    can i delete tht date frm the check register?
    please help, it is urgent,
    thanks
    Manish

    Hi
    You can use FCH6. But remember if you are trying to change the encashment date, the system will not accept a date prior to the check issue date.
    Regards
    Aravind

  • How to get where the search string appears in the results

    Hi every one
    i am new to Oracle Text
    this is my project environment "EJP 3.0+seam+JSF"
    in my part i need to implement smart searches within large text objects.
    So i planed to use Oracle text with context type indexing.
    I my search part i need to display where the search string appears in the results
    i don't know how to archive it,
    is it achived by CTX_DOC.GIST ?
    this is my table format
    Tbl_Book
    book_id Book_Title Book_description
    Tbl_Author
    author_id book_id author_name
    in my first table i index the Book_Title and Book_description columns
    EXEC CTX_DDL.DROP_PREFERENCE ('expert_concat_datastore')
    drop index Tbl_Book_Index force;
    BEGIN
    CTX_DDL.CREATE_PREFERENCE
         ('expert_concat_datastore', 'MULTI_COLUMN_DATASTORE');
    CTX_DDL.SET_ATTRIBUTE
         ('expert_concat_datastore', 'COLUMNS', 'Book_Title,Book_description');
    END;
    alter table Tbl_Book add (dummy varchar2(1))
    begin
    Ctx_Ddl.Drop_Section_Group
    group_name => 'my_section_group'
    exception
    when others then
    /* OK if DRG-12203: section group MY_SECTION_GROUP does not exist */
    if instr ( SQLERRM, 'DRG-12203' ) != 0 then null;
    else raise_application_error ( -20000, SQLERRM ); end if;
    end;
    begin
    Ctx_Ddl.Create_Section_Group
    group_name => 'my_section_group',
    group_type => 'basic_section_group'
    Ctx_Ddl.Add_Field_Section
    group_name => 'my_section_group',
    section_name => 'title',
    tag => 'Book_Title'
    Ctx_Ddl.Add_Field_Section
    group_name => 'my_section_group',
    section_name => 'description',
    tag => 'Book_description'
    end;
    create index Tbl_Book_Index on Tbl_Book ( dummy )
    indextype is ctxsys.context parameters (' datastore expert_concat_datastore section group my_section_group');
    begin
    Ctx_Ddl.Drop_Section_Group
    group_name => 'my_section_group'
    end;
    in my second table i index the author_name column
    drop index Tbl_Author_Index force;
    create index Tbl_Author_Index on Tbl_Author (author_name) indextype is ctxsys.context parameters('filter ctxsys.null_filter section group ctxsys.html_section_group');
    begin
    Ctx_Ddl.Optimize_Index (
    idx_name => 'Tbl_Author_Index',
    optlevel => Ctx_Ddl.optlevel_fast
    end;
    my search result is only in my Tbl_Book.
    Because it is my primary one.
    So this is my query in EJP 3.0
    select t from Tbl_Book t LEFT JOIN t.AuthorCollection c wherecontains(t.dummy, 'java within title or(java within description)',10) > 0 or contains(c.author_name ,'thiagu',20) > 0 ) ORDER BY SCORE(10), SCORE(20)
    here i need to get single SCORE how to do that ?
    i dont know how to highlight the search string in the result ?
    is it archived by CTX_DOC.MARKUP ?
    please any one help me
    By
    Thiagu.m

    Weird.  I have multuple monitors and the boot stuff always appears on my main monitor.
    See if smc and pram reset clears the problem.
    I have multiple screens on my Mac Pro. A normal screen, a projector and a USB-to-DVI converter.
    What video card are you using?  And USB-to-DVI is not the usual way for connecting monitors.  I wonder if that is confusing things.  So out of curiousity what happens if that monitor is not connected?

  • When and how to update the "saved data" in report ?

    Hi,
    The BO version is "BusinessObjects Enterprise 12.0"
    The case is that, some reports are uploaded withe saved data. while viewing the reports, the reports return the old data.
    How to view the update data while click the "View" in CMC/InfoView ?
    I have tried to schedule it , then can see the update data in "View the latest instance".
    Is there any approach to refresh/update the saved data in the report ?
    Thanks and regards,
    Forest
    Edited by: Forest lin on Dec 5, 2008 12:12 PM

    Hello Forest lin,
    I recommend to post this query to the [BusinessObjects Enterprise Administration|BI Platform; forum.
    This forum is dedicated to topics related to administration and configuration of BusinessObjects Enterprise, BusinessObjects Edge, and Crystal Reports Server.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all BOE Administration queries remain in one place and thus can be easily searched in one place.
    Best regards,
    Falk

  • How to regularly update the Master data/Text/ Hierarchy for BW DEV?- Urgent

    Hi Experts,
    Can anyone help me to understand how to update the Master data/Text/ Hierarchy regularly for BW DEV.
    Since all the new query developments are taking place in DEV, users are not finding the latest Masterdata/ Texts /Hierarchy in the DEV system.
    I have searched in SDN and got a document "HOW TO DOWNLOAD A HIERARCHY TO A FLAT FILE". However, is there any other way to upload the master data automatically on periodical basis.
    Please help urgently.
    Advance Thanks,
    BW USA

    If you want to extract master data from PRD in order to load in DEV, i suggest to do this (its a tricky thing):
    For example, you want to download 0EMPLOYEE
    1-In PRD, transaction RSD1
    2-Enter 0EMPLOYEE
    3-Copy the Master table for 0EMPLOYEE (/BI0/MEMPLOYEE)
    4-transaction SE16
    5-Enter the table name /BI0/MEMPLOYEE
    6-in the selection screen, go to "Options" Menu and select "User parameters", and now select "Standard List SE16"
    7-Execute
    8-Now its show's up the 0employee data, go to "System" menu - List - Save - Local File
    9-After you have the flat file, only rest create Infopackae in DEV Env. and load it from the flat file.
    Asigns points if useful.
    Regards

  • How long does it take to update the iPhone 4?

    How long does it take to update the iPhone 4?

        Interesting question, beachn! If I understand correctly, you're trying to see how long it will take to update the software/operating system of an iPhone 4. If that's the case, the during of a software update will depend greatly on the speed of your computer and/or your phone. I've seen the process vary from 4 minutes to an hour. If I did not understand correctly, please describe what you mean by update. Thanks!
    Dion M.
    VZW Support
    Follow us on Twitter www.twitter.com/vzwsupport

  • How to write a procedure for update the table

    Hi all
    can any body please tell me how to write a procedure to update the table......
    I have a table with about 10,000 records...........Now I have add a new column and I want to add values for that like
    registration Code Creidits
    13213 BBA
    1232 MCS
    I had add the creidit now i want to update the table.........the new value want to get by SQL like
    Creidit = select creidit from othere_table...........
    Hope u can understand my problem
    Thanks in advance
    Regards
    Shayan
    [email protected]

    Please try the following --
    update Program_reg a
    set TotalCreidit = ( select tot_cr <Accroding to your logic>
                                from Program_reg b
                                where a.Registration = b.Registration
                                and    a.Enrollment = b.Enrollment
                                and    a.code = b.code
    where a.Registration in ( select distinct Registration
                                        from Program_reg );
    N.B.: Not Tested....
    Regards.
    Satyaki De.

  • Define Search String for EBS

    Has anyone ever used target field EBFK0A1 BDC Account Type successfully?  If so, can you please explain the basic settings?
    We want to influence changing the G/L account number for posting area 1, line item 1.  Any specific examples would be very helpful.  We wish to avoid the creation of a new posting rule for each G/L account.
    Regards,
    Sandy

    When creating search strings, I use both the mapping and the target field - the mapping is the value that is assigned to the target field.  Take my ACH RETURN example from my previous post.  The text ACH RETURN comes through in the note to payee and I use that to change the posting rule to posting rule Z120.
    I set up a search string with search string value "ACH RETURN" and the following mapping:
    A->Z
    C->1
    H->2
    space->0
    R->blank
    E->blank
    T->blank
    U->blank
    R->blank
    N->blank
    Then in the search string usage, I assigned the search string to target field "Posting Rule".
    When the BAI file is loaded, if SAP finds "ACH RETURN" in the note to payee, it maps that value to Z120 and then assigns Z120 to the Posting Rule.  Make sense?
    No, we do not have any cross-company transactions coming through in our BAI files.
    We do not have any cases where one transaction in the BAI file offsets transactions in multiple GL accounts.  We do have situations where one transaction in the BAI file offsets multiple transactions in one GL account.  For most of those cases, I'm using interpretation algorithm 121 (Reference document number search without test read) and using a search string to extract the reference number from the note to payee that matches to the reference number on the documents.
    We do, however, have a scenario where we use a user exit to select multiple transactions from a GL account to clear against one transaction from the bank statement.  The user exit is ZXF01U01 (Enhancement FEB00001, Function Module EXIT_RFEBBU10_001).  We have logic in the user exit to find the line items to clear and populate those line items in table T_FEBCL.  SAP then uses T_FEBCL to post the BAI transaction.  If your user can come up rules for clearing the transactions from the multiple GL accounts, you might be able to use this user exit to accomplish the clearing.
    If the user cannot come up with rules that you can program, then I would suggest a process change.  Either the postings need to be originally made as one posting to one account.  Or once the multiple items are posted, they need to be manually cleared into one account/one posting prior to the BAI file being loaded.  Or you leave the process of posting to multiple GL accounts as is and the user has to clear the postings manually via post-processing (FEBA/FEBAN).
    Hope this helps!
    Regards,
    Shannon
    Edited by: Shannon Moberg on Jun 16, 2010 9:55 AM

  • How we can update the  System Date,in java

    Hi guys,
    can U pls help me...
    How we can update the System Date,in java
    I need to get the System Date and time continuosly thruogh threads concept.kindly help me
    Thanking u in Advance

    System.currentTimeMillis() will give you the current
    system date and time as a long value.
    ~I think the OP wants to change the system time not just get the system time.

  • How do you search your iPod in the new iTunes?

    how do you search your iPod in the new iTunes?

    When you plug in your iPod, this button pops up next to the "iTunes Store" button. But you click on word iPod & not that arrow next to it cause that will eject the iPod from iTunes.

  • HT4623 Approximately how long should it take to update the iOS 7.0.2.....?  So far it has taken over 8 hours and the bar is still not half way.

    Approximately how long should it take to update the iOS 7.0.2....?  So far it has been over 8 hours and the bar is not even half way....

    Something have gone wrong somewhere.
    Try and reset your iPad.
    Hold the Sleep and Home button down for about 10 seconds until you see the Apple Logo.

  • How to use Add Query Criteria for the MySQL data Base in Netbeans ?

    How to use Add Query Criteria for the MySQL data Base in Netbeans Visual web pack.
    When the Query Criteria is add like
    SELECT ALL counselors.counselors_id, counselors.first_name, counselors.telephone,counselors.email
    FROM counselors WHERE counselors.counselors_id = ?
    when i run this Query in the Query Window
    i get a error message Box saying
    Query Processing Error Parameter metadata not available for the given statement
    if i run the Query with out Query Criteria its working fine.

    *I am glad I am not the only one who have this problem. Part of issue has been described as above, there are something more in my case.
    Whenever I try to call ****_tabRowSet.setObject(1, userDropList.getSeleted()); I got error message as shown below:*
    The Java codes are:
    public void dropDown1_processValueChange(ValueChangeEvent event) {
    Object s = this.dropDown1.getSelected();
    try {
    this.User_tabDataProvider1.setCursorRow(this.User_tabDataProvider1.findFirst("User_Tab.User_ID", s));
    this.getSessionBean1().getTrip_tabRowSet1().setObject(1, s);
    this.Trip_tabDataProvider1.refresh();
    } catch (Exception e) {
    this.log("Error: ", e);
    this.error("Error: Cannot select user"+e.getMessage());
    SQL statement for Trip_tabRowSet:
    SELECT ALL Trip_Tab.Trip_Date,
    Trip_Tab.User_ID,
    Trip_Tab.Destination
    FROM Trip_Tab
    WHERE Trip_Tab.User_ID = ?
    Error messages are shown below:
    phase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@5abf3f) threw exception: com.sun.rave.web.ui.appbase.ApplicationException: java.sql.SQLException: No value specified for parameter 1 java.sql.SQLException: No value specified for parameter 1
    com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.cleanup(ViewHandlerImpl.java:559)
    com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.afterPhase(ViewHandlerImpl.java:435)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:274)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
    com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
    com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
    com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    tandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
    java.sql.SQLException: No value specified for parameter 1
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:910)
    at com.mysql.jdbc.PreparedStatement.fillSendPacket(PreparedStatement.java:1674)
    at com.mysql.jdbc.PreparedStatement.fillSendPacket(PreparedStatement.java:1622)
    at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1332)
    at com.sun.sql.rowset.internal.CachedRowSetXReader.readData(CachedRowSetXReader.java:193)
    at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:979)
    at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:1439)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.checkExecute(CachedRowSetDataProvider.java:1274)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(CachedRowSetDataProvider.java:335)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(CachedRowSetDataProvider.java:306)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.getRowCount(CachedRowSetDataProvider.java:639)
    at com.sun.webui.jsf.component.TableRowGroup.getRowKeys(TableRowGroup.java:1236)
    at com.sun.webui.jsf.component.TableRowGroup.getFilteredRowKeys(TableRowGroup.java:820)
    at com.sun.webui.jsf.component.TableRowGroup.getRowCount(TableRowGroup.java:1179)
    at com.sun.webui.jsf.component.Table.getRowCount(Table.java:831)
    at com.sun.webui.jsf.renderkit.html.TableRenderer.renderTitle(TableRenderer.java:420)
    at com.sun.webui.jsf.renderkit.html.TableRenderer.encodeBegin(TableRenderer.java:143)
    at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:810)
    at com.sun.webui.jsf.component.Table.encodeBegin(Table.java:1280)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:881)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:182)
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    Also when I tried to update my MYSQL connector / J driver to version 5.1.5 from 5.0.5 (NB 5.5.1) and 5.0.7 (NB 6.1), I could not get it work (looooong time to search some JDBC classes and with no response in the end) on both of my Netbean 5.5.1(on PC) and Netbean 6.1(on laptop) IDEs.
    Could anybody look into this issue.
    Many thanks
    Edited by: linqing on Nov 22, 2007 4:48 AM

  • How do I use AppleScript to Change the Creation Date to the Current Date?

    I sorted my downloads folder by creation date and found that the items were sorted seemingly randomly. On closer inspection, I saw that the creation dates were not the same as the dates that I downloaded the items, so I figures that Snow Leopard was using the date given to it by the server.
    In order to get the items sorted by download date, I figured I'd use Hazel, but it doesn't have a “change creation date” item. It does, however, have an “run AppleScript” item.
    So my question is this: how do I use AppleScript to change the creation date of an item to the current date?

    TC (Techno Cat) wrote:
    Okay, I tried changing the creation date with SetFile, but it kept giving me an error:
    What am I doing wrong?
    Looks like the date and time was not quoted
    Try this Applescript. It will change the creation date of every file in the Downloads folder to the current date and time:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #E6E6EE;
    overflow: auto;"
    title="this text can be pasted into the AppleScript Editor">
    set current_date_and_time to do shell script "date \"+%m/%d/%Y %H:%M\""
    tell application "Finder"
    set filelist to every file of the alias (the path to downloads folder as text)
    repeat with currentFile in filelist
    do shell script "/usr/bin/SetFile -d " & quoted form of current_date_and_time & space & quoted form of POSIX path of (currentFile as string)
    end repeat
    end tell</pre>

  • Using BAPI_SALESORDER_CHANGE to update the delivery date

    Hi All-
    I am using BAPI_SALESORDER_CHANGE, to update the delivery date on the schedule lines...If I have 2 lines of schedule, needs to be updated the second one ETENR '0002'...
    Bapi returns message that successfully processed, when I go back and look at Sales order, I don't se any changes on schedule line..
    I am pssing into BAPI, sales doc and schedule line with the delivery date and the flag 'U'..and also I am using BAPI commit...
    But, let me know if I am missing something and also let me know is it possible to change schedule delivery date or not?
    Thanks,
    Sony
    Please try to use a meaningful subject.
    Edited by: Rob Burbank on Feb 25, 2009 2:08 PM

    give a meaningful title to ur thread, so that, people get u back quickly. Just tip that, try to do ur requirement online, then Observe How the system is behaving....thanq

Maybe you are looking for

  • How to make "payment terms" not modifiable in sales order

    Hello every 1, please help, i want to know: how to make "payment terms" not modifiable in a sales order , as we know it comes directly from CMR and client wants "PAYMENT TERMS" to be not modifiable. Look forward for your response. Thanks in Advance,

  • How to send a  mail to outlook   from iphone flex 4.5.1 app automatically..?

    HI folks,                  i have to send a mail to outlook for correpanding mailler id  with out  opeing  outlook  from my app(iphonoe flex 4.5.1 app.) with taking the input values what ever  we have given as input those values has to be send to out

  • Convex cuboid hulls in RGB space

    Greetings, imagine an RGB (Red, Green, Blue) cube with quite a bit of resolution, i.e. all R, G, and B can have values between [0, (1<<20)-1] (twenty bits resolution). These values are read from three ADC's (Analog to Digital Converters), part of a '

  • Network disconnects when uploading

    This is a weird problem that started a few days ago. I'm using a WRT54G with 2 computers. Both of them are using a wireless usb network adapter. I've had this set up for almost a year now with no problems. All of a sudden whenever I upload to the web

  • Expdp fails with error ORA-39006: internal error writing on a windows share

    Hi! I need to get the following configuration working: Linux Server (CentOS 5 32 bits) with Oracle 11.2.0.1.0 Windows Server 2003 SP2 32 bits. On the windows server I have created a user called oracle, who is member of oinstall and dba groups. (On Li