How do I write a script to prepopulate a date

I have a two page form.  The first page has a current date at the top of the form.  On the second page there is a date object that I would like to prepopulate 21 days from the current date on top of page one.  How do I write a script?  I am very new at this and have only a couple days to figure this out.  Thank you

Hi,
in the exit:Event of the 1st date field add this FormCalc script:
DateField2 = Num2Date(Date2Num($.formattedValue, "DD.MM.YYYY") + 21, "DD.MM.YYYY")
You may have to change th date pattern  "DD.MM.YYYY" in the way you need it.

Similar Messages

  • How can I write a script for set left indent?

    In three cases as below:
    for example:
    left indent:8mm; first indent:0mm
    left indent:0mm; first indent:8mm
    left indent:8mm; first indent:-8mm
    How can I write a script to tell Indesign, wherever the text indent is, each time when I run the script once, the text can put just a step rightward, and “one step = 8mm”.
    Please!

    Hi, Trevor
    I use change by list as below:
    grep {leftIndent:48mm} {leftIndent:56mm}
    grep {leftIndent:40mm} {leftIndent:48mm}
    grep {leftIndent:32mm} {leftIndent:40mm}
    grep {leftIndent:24mm} {leftIndent:32mm}
    grep {leftIndent:16mm} {leftIndent:24mm}
    grep {leftIndent:8mm} {leftIndent:16mm}
    grep {firstLineIndent:8mm, leftIndent:48mm} {firstLineIndent:8mm, leftIndent:56mm}
    grep {firstLineIndent:8mm, leftIndent:32mm} {firstLineIndent:8mm, leftIndent:48mm}
    grep {firstLineIndent:8mm, leftIndent:24mm} {firstLineIndent:8mm, leftIndent:32mm}
    grep {firstLineIndent:8mm, leftIndent:16mm} {firstLineIndent:8mm, leftIndent:24mm}
    grep {firstLineIndent:8mm, leftIndent:8mm} {firstLineIndent:8mm, leftIndent:16mm}
    grep {firstLineIndent:-8mm, leftIndent:48mm} {firstLineIndent:-8mm, leftIndent:56mm}
    grep {firstLineIndent:-8mm, leftIndent:32mm} {firstLineIndent:-8mm, leftIndent:48mm}
    grep {firstLineIndent:-8mm, leftIndent:24mm} {firstLineIndent:-8mm, leftIndent:32mm}
    grep {firstLineIndent:-8mm, leftIndent:16mm} {firstLineIndent:-8mm, leftIndent:24mm}
    grep {firstLineIndent:-8mm, leftIndent:8mm} {firstLineIndent:-8mm, leftIndent:16mm}
    but not that perfect,
    I want to useing jave "if{}" or "for{}" to write this script, but I don't kown the syntext.

  • How to generate the insert script of the  tables data present  in an entire

    How to generate the insert script of the tables data present in an entire schema in sqlplus environment
    with out toad can you please help me please!!!!!!!!!!!!!

    HI,
    First create this function to get insert scripts.
    /* Formatted on 2012/01/16 10:41 (Formatter Plus v4.8.8) */
    CREATE OR REPLACE FUNCTION extractdata (v_table_name VARCHAR2)
       RETURN VARCHAR2
    AS
       b_found   BOOLEAN         := FALSE;
       v_tempa   VARCHAR2 (8000);
       v_tempb   VARCHAR2 (8000);
       v_tempc   VARCHAR2 (255);
    BEGIN
       FOR tab_rec IN (SELECT table_name
                         FROM user_tables
                        WHERE table_name = UPPER (v_table_name))
       LOOP
          b_found := TRUE;
          v_tempa := 'select ''insert into ' || tab_rec.table_name || ' (';
          FOR col_rec IN (SELECT   *
                              FROM user_tab_columns
                             WHERE table_name = tab_rec.table_name
                          ORDER BY column_id)
          LOOP
             IF col_rec.column_id = 1
             THEN
                v_tempa := v_tempa || '''||chr(10)||''';
             ELSE
                v_tempa := v_tempa || ',''||chr(10)||''';
                v_tempb := v_tempb || ',''||chr(10)||''';
             END IF;
             v_tempa := v_tempa || col_rec.column_name;
             IF INSTR (col_rec.data_type, 'CHAR') > 0
             THEN
                v_tempc := '''''''''||' || col_rec.column_name || '||''''''''';
             ELSIF INSTR (col_rec.data_type, 'DATE') > 0
             THEN
                v_tempc :=
                      '''to_date(''''''||to_char('
                   || col_rec.column_name
                   || ',''mm/dd/yyyy hh24:mi'')||'''''',''''mm/dd/yyyy hh24:mi'''')''';
             ELSE
                v_tempc := col_rec.column_name;
             END IF;
             v_tempb :=
                   v_tempb
                || '''||decode('
                || col_rec.column_name
                || ',Null,''Null'','
                || v_tempc
                || ')||''';
          END LOOP;
          v_tempa :=
                v_tempa
             || ') values ('
             || v_tempb
             || ');'' from '
             || tab_rec.table_name
             || ';';
       END LOOP;
       IF NOT b_found
       THEN
          v_tempa := '-- Table ' || v_table_name || ' not found';
       ELSE
          v_tempa := v_tempa || CHR (10) || 'select ''-- commit;'' from dual;';
       END IF;
       RETURN v_tempa;
    END;
    SET PAUSE OFF
    SET LINESIZE 1200
    SET PAGESIZE 100
    SET TERMOUT OFF
    SET HEAD OFF
    SET FEED OFF
    SET ECHO OFF
    SET VERIFY OFF
    SPOOL  GET_INSERTS.SP REP
    SELECT EXTRACTDATA('EMP') FROM DUAL;
    SPOOL OFF
    SET PAUSE  ON
    SET LINESIZE 120
    SET PAGESIZE 14
    SET TERMOUT ON
    SET HEAD ON
    SET FEED 5
    SET ECHO ON
    SET VERIFY ON
    SELECT    'insert into EMP ('
           || CHR (10)
           || 'EMPNO,'
           || CHR (10)
           || 'ENAME,'
           || CHR (10)
           || 'JOB,'
           || CHR (10)
           || 'MGR,'
           || CHR (10)
           || 'HIREDATE,'
           || CHR (10)
           || 'SAL,'
           || CHR (10)
           || 'COMM,'
           || CHR (10)
           || 'DEPTNO) values ('
           || DECODE (empno, NULL, 'Null', empno)
           || ','
           || CHR (10)
           || ''
           || DECODE (ename, NULL, 'Null', '''' || ename || '''')
           || ','
           || CHR (10)
           || ''
           || DECODE (job, NULL, 'Null', '''' || job || '''')
           || ','
           || CHR (10)
           || ''
           || DECODE (mgr, NULL, 'Null', mgr)
           || ','
           || CHR (10)
           || ''
           || DECODE (hiredate,
                      NULL, 'Null',
                         'to_date('''
                      || TO_CHAR (hiredate, 'mm/dd/yyyy hh24:mi')
                      || ''',''mm/dd/yyyy hh24:mi'')'
           || ','
           || CHR (10)
           || ''
           || DECODE (sal, NULL, 'Null', sal)
           || ','
           || CHR (10)
           || ''
           || DECODE (comm, NULL, 'Null', comm)
           || ','
           || CHR (10)
           || ''
           || DECODE (deptno, NULL, 'Null', deptno)
           || ');'
      FROM emp;
    SELECT '-- commit;'
      FROM DUAL;now run the baove select statement you will get the following insert statements
    /* Formatted on 2012/01/16 10:57 (Formatter Plus v4.8.8) */
    --'INSERT INTO EMP('||CHR(10)||'EMPNO,'||CHR(10)||'ENAME,'||CHR(10)||'JOB,'||CHR(10)||'MGR,'||CHR(10)||'HIREDATE,'||CHR(10)||'SAL,'||CHR(10)||'COMM,'||CHR(10)||'DEPTNO)VALUES('||DECODE(EMPNO,NULL,'NULL',EMPNO)||','||CHR(10)||''||DECODE(ENAME,NULL,'NULL',''''|
    INSERT INTO emp
                (empno, ename, job, mgr,
                 hiredate, sal, comm, deptno
         VALUES (7369, 'SMITH', 'CLERK', 7902,
                 TO_DATE ('12/17/1980 00:00', 'mm/dd/yyyy hh24:mi'), 800, NULL, 20
    INSERT INTO emp
                (empno, ename, job, mgr,
                 hiredate, sal, comm, deptno
         VALUES (7499, 'ALLEN', 'SALESMAN', 7698,
                 TO_DATE ('02/20/1981 00:00', 'mm/dd/yyyy hh24:mi'), 1600, 300, 30
    INSERT INTO emp
                (empno, ename, job, mgr,
                 hiredate, sal, comm, deptno
         VALUES (7521, 'WARD', 'SALESMAN', 7698,
                 TO_DATE ('02/22/1981 00:00', 'mm/dd/yyyy hh24:mi'), 1250, 500, 30
    INSERT INTO emp
                (empno, ename, job, mgr,
                 hiredate, sal, comm,
                 deptno
         VALUES (7566, 'JONES', 'MANAGER', 7839,
                 TO_DATE ('04/02/1981 00:00', 'mm/dd/yyyy hh24:mi'), 2975, NULL,
                 20
    INSERT INTO emp
                (empno, ename, job, mgr,
                 hiredate, sal, comm,
                 deptno
         VALUES (7654, 'MARTIN', 'SALESMAN', 7698,
                 TO_DATE ('09/28/1981 00:00', 'mm/dd/yyyy hh24:mi'), 1250, 1400,
                 30
    INSERT INTO emp
                (empno, ename, job, mgr,
                 hiredate, sal, comm,
                 deptno
         VALUES (7698, 'BLAKE', 'MANAGER', 7839,
                 TO_DATE ('05/01/1981 00:00', 'mm/dd/yyyy hh24:mi'), 2850, NULL,
                 30
    INSERT INTO emp
                (empno, ename, job, mgr,
                 hiredate, sal, comm,
                 deptno
         VALUES (7782, 'CLARK', 'MANAGER', 7839,
                 TO_DATE ('06/09/1981 00:00', 'mm/dd/yyyy hh24:mi'), 2450, NULL,
                 10
    INSERT INTO emp
                (empno, ename, job, mgr,
                 hiredate, sal, comm,
                 deptno
         VALUES (7788, 'SCOTT', 'ANALYST', 7566,
                 TO_DATE ('04/19/1987 00:00', 'mm/dd/yyyy hh24:mi'), 3000, NULL,
                 20
    INSERT INTO emp
                (empno, ename, job, mgr,
                 hiredate, sal, comm,
                 deptno
         VALUES (7839, 'KING', 'PRESIDENT', NULL,
                 TO_DATE ('11/17/1981 00:00', 'mm/dd/yyyy hh24:mi'), 5000, NULL,
                 10
    INSERT INTO emp
                (empno, ename, job, mgr,
                 hiredate, sal, comm, deptno
         VALUES (7844, 'TURNER', 'SALESMAN', 7698,
                 TO_DATE ('09/08/1981 00:00', 'mm/dd/yyyy hh24:mi'), 1500, 0, 30
    INSERT INTO emp
                (empno, ename, job, mgr,
                 hiredate, sal, comm,
                 deptno
         VALUES (7876, 'ADAMS', 'CLERK', 7788,
                 TO_DATE ('05/23/1987 00:00', 'mm/dd/yyyy hh24:mi'), 1100, NULL,
                 20
    INSERT INTO emp
                (empno, ename, job, mgr,
                 hiredate, sal, comm, deptno
         VALUES (7900, 'JAMES', 'CLERK', 7698,
                 TO_DATE ('12/03/1981 00:00', 'mm/dd/yyyy hh24:mi'), 950, NULL, 30
    INSERT INTO emp
                (empno, ename, job, mgr,
                 hiredate, sal, comm,
                 deptno
         VALUES (7902, 'FORD', 'ANALYST', 7566,
                 TO_DATE ('12/03/1981 00:00', 'mm/dd/yyyy hh24:mi'), 3000, NULL,
                 20
    INSERT INTO emp
                (empno, ename, job, mgr,
                 hiredate, sal, comm,
                 deptno
         VALUES (7934, 'MILLER', 'CLERK', 7782,
                 TO_DATE ('01/23/1982 00:00', 'mm/dd/yyyy hh24:mi'), 1300, NULL,
                 10
                );i hope this helps .
    Thanks,
    P Prakash
    Edited by: prakash on Jan 15, 2012 9:21 PM
    Edited by: prakash on Jan 15, 2012 9:22 PM

  • How Can I write a script for change first indent?

    How can I write a java script to tell indesign:
    what ever the text first indent is, I want to change first indent =
    1) 8mm
    2) 0mm
    3)-8mm (if left indent is 0, change the first indent to 8mm, and then change first indent = -8)
    3 scripts
    Please someone help me, please!

    Hi hasive, thank you for your responses, thank you very much,
    I need three scripts
    1st script, I want to set the first indent to 8mm;
    2nd script, I want to set the first indent to -8 mm, but if the left indent is 0, please set the left indent to >8mm then set the first indent to -8mm;
    3rd, I want to set the first to 0mm, if the first indent is 8mm or -8mm;
    thank you
    Harvey

  • How can I write a script to regularly transfer a file between two iMacs on a network?

    I keep all our family photo files (iPhoto Library) on my wife's iMac.  Because we can't share the library simultaneously, I want to automate the copying of the library from her iMac to mine say, once a week in the wee hours (it's a big file). Both of our iMacs are on our common (wired) home network.  Is there a way to write a script that will accomplish that?  If it matters, we both maintain independent external backup drives and use 'Time Machine' judiciously.  Thanks in advance for any guidance!!!

    Hi Paul,
    http://fmforums.com/forum/topic/85381-applescript-to-copy-file-from-network-volu me/
    http://stackoverflow.com/questions/5134568/copy-a-file-in-applescript

  • How can i write a XML file with oracle data ?

    How can i write a XML file using PL/SQL.
    Can i do as follows.
    1.Open a file using UTL_FILE.FOPEN(LC_DIR_LOC,'abc.xml','W')     ;
    2.write all the required tag and value using UTL.put_line
    that is enough. Is not, please guide me to write.
    gk

    Having Oracle 9i.
    One more doubt. In the speck, some constand values are there, When i write the same into file, How can i write ?.
    1. l_str := ' "E27" '
    or
    2. l_str := ' E27 '
    UTL_FILE.PUT_LINE(L_FILE_POI,l_str,TRUE);          
    1 case : in XML file : "E27"
    In 2 case : E27
    When we write a XML file through editors , we have to define the constant within quote . is it?      
    Which one can i use ? Or any other way is there ..
    Thanks and Regards
    gopi

  • How can I write a script or create a macro for gaming.

    Now I know this may be a petty and or silly question for most apple users but I am going to throw it out there anyway. I play an online game called Battle Pirates. When you make an attack you have up to 5 ships to control. I am looking for a way to control multiple ships with a "macro" or "script" and using only 1 key. For example: Select ship 2, 3, and 4 while leaving ship 1 and 5 alone. Yea I know it is childish but indulge me. Hahaha.
    I know you can write Macros with Windows and you can even use something called "Auto Hotkey". I just wanted to see if anyone knew of a way to do this with what Apple already has in place. What I have commonly found out with Apple products is that since I have come from being a Windows user to Apple, I usually overthink the process. LOL. Mac's are soooooo much easier....if you know where to start.
    Any help would be greatly appreciated! By the way, I have read the tutorial on "Script Editor" but I am having trouble understanding it mostly because you kinda would have to have SOME programming knowledge. Obviously I lack in that area. Thanks for bearing with me.

    Can you expand on that? How do you use automator in your game? Can you give me a rough idea of how and what you do with it? I have watched a tutorial on Automator and it seems more useful for documents.

  • Bridge CS6: How do you write a script to assign a shortcut to "Batch" and "Image Processor"?

    Many times a day I need to access "Batch" and "Image Processor" in Bridge.
    There is no shortcut, so I have to go the Tools-Photoshop-Batch and Tools-Photoshop-Image Processor menu - the items I need are locked into a second level menu.
    Which is impractical.
    I remember, when I started out with Photoshop many years ago, I downloaded "Deke Keyes" from Deke McClelland, which included keystrokes for "Batch" and "Image Processor".
    From the Bridge forum I learned that you cannot assign shortcuts in Bridge CS6.
    So the general opinon was that a script was used to assign the shortcuts.
    Could you please tell me how to do that?
    Thanks!
    PS: I tried to assign shortcuts via the Mac OS X Mountain Lion keyboard preferences (applications), but it did not work.

    Hi,
    in the exit:Event of the 1st date field add this FormCalc script:
    DateField2 = Num2Date(Date2Num($.formattedValue, "DD.MM.YYYY") + 21, "DD.MM.YYYY")
    You may have to change th date pattern  "DD.MM.YYYY" in the way you need it.

  • How to i write a script that makes multiple selections in a pdf and exports them to excel?

    I have a large number of PDFs
    Not all the PDFs contain information we need. We want to be able to automate a script that extracts certain info from the PDFs and opens them in a certain format in excel.
    Acrobat allows me to make a single selection and export as excel.
    How do i export multiple parts to excel from the pdfs and ensure that the resulting excel is in a format that i can use without much fixing needed (e.g. merged cells)?

    This type of process can't really be done using JavaScript. You would need to read the contents of the file, word by word, decide (based on some logic) what data to extract, and then collect it and at the end export to a plain-text file. Not a simple process...

  • How do I write a script to set maximum pixel dimensions?

    I need to batch process JPGs and limit the maximum dimension to 500 px. This has to apply to the largest side of the image, either height or width. The other side should auto size proportionately. I'm currently having to make these size changes manually. I haven't found any script language or function that will let me set the largest pixel size to 500 px, regardless of which dimension is the largest.
    Example:
    1. If the image is 1000 px w x 750 px h, I want the script to resize the image proportionately for the largest side, changing the width to 500 px
    2. If the image is 750 px w x 1000 px h, I want the script to change the height to 500 px and the proportions conform accordingly for the width
    Any ideas are grately welcomed.
    Thanks,
    Linda

    Create an action that use File - Automate - Fit Image.
    I think there may still be a bug that this should fix....
    http://www.ps-scripts.com/bb/viewtopic.php?f=10&t=3370&p=15152&hilit=don%27t+enlarge+fit+i mage&sid=ea73e8349aaf965015a4a351340e865d#p15152

  • ORA-19279 How do I write a query to return the data?

    I have XMLType tables in Oracle 11. I insert XML data from documents and each table only contains one XML document. I can write queries to return outer tags and inner tags but not outer and inner tags in the same result set. There can be one to many InvoiceLineRet tags to each InvoiceRet tag.
    Any and all help is appreciated.
    Mike
    This works and returns RefNumber for the invoice at the InvoiceRet level.
    SELECT
    a.RefNumber
    FROM InvoiceQueryRs xt,
    XMLTable('//InvoiceRet' PASSING xt.OBJECT_VALUE COLUMNS
    RefNumber VARCHAR2(255) PATH 'RefNumber') a;
    This works and returns the two columns from the InvoiceLineRet level.
    SELECT
    b.ILR_ItemRef_FullName,
    b.ILR_Desc
    FROM InvoiceQueryRs xt,
    XMLTable('//InvoiceLineRet' PASSING xt.OBJECT_VALUE COLUMNS
    ILR_ItemRef_FullName VARCHAR2(255) PATH 'ItemRef/FullName',
    ILR_Desc VARCHAR2(2000) PATH 'Desc') b
    But a query like this does not work.
    SELECT
    b.RefNumber,
    b.ILR_ItemRef_FullName,
    b.ILR_Desc
    FROM InvoiceQueryRs xt,
    XMLTable('//InvoiceRet' PASSING xt.OBJECT_VALUE COLUMNS
    RefNumber VARCHAR2(255) PATH 'RefNumber',
    ILR_ItemRef_FullName VARCHAR2(255) PATH 'InvoiceLineRet/ItemRef/FullName',
    ILR_Desc VARCHAR2(2000) PATH 'InvoiceLineRet/Desc') b
    This query returns data but every row has the same RefNumber.
    SELECT
    a.RefNumber,
    b.ILR_ItemRef_ListID,
    b.ILR_ItemRef_FullName,
    b.ILR_Desc
    FROM InvoiceQueryRs xt,
    XMLTable('//InvoiceRet' PASSING xt.OBJECT_VALUE COLUMNS
    RefNumber VARCHAR2(255) PATH 'RefNumber') a,
    XMLTable('//InvoiceLineRet' PASSING xt.OBJECT_VALUE COLUMNS
    ILR_ItemRef_ListID VARCHAR2(255) PATH 'ItemRef/ListID',
    ILR_ItemRef_FullName VARCHAR2(255) PATH 'ItemRef/FullName',
    ILR_Desc VARCHAR2(2000) PATH 'Desc') b
    Example of the XML:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- Created with Liquid XML Studio 1.0.8.0 (http://www.liquid-technologies.com) -->
    <TEST>
         <InvoiceRet>
              <TxnID>D924-1210085400</TxnID>
              <TimeCreated>2008-05-06T10:50:00-05:00</TimeCreated>
              <TimeModified>2008-07-21T10:54:42-05:00</TimeModified>
              <EditSequence>1215638595</EditSequence>
              <TxnNumber>10398</TxnNumber>
              <CustomerRef>
                   <ListID>80000278-1209483158</ListID>
                   <FullName>Majestic Entries</FullName>
              </CustomerRef>
              <ARAccountRef>
                   <ListID>80000009-1185470478</ListID>
                   <FullName>Accounts Receivable</FullName>
              </ARAccountRef>
              <TemplateRef>
                   <ListID>80000019-1190228214</ListID>
                   <FullName>Compudoc</FullName>
              </TemplateRef>
              <TxnDate>2008-05-06</TxnDate>
              <RefNumber>22333</RefNumber>
              <BillAddress>
                   <Addr1>Majetic Entries</Addr1>
              </BillAddress>
              <BillAddressBlock>
                   <Addr1>Majetic Entries</Addr1>
              </BillAddressBlock>
              <IsPending>false</IsPending>
              <IsFinanceCharge>false</IsFinanceCharge>
              <DueDate>2008-05-06</DueDate>
              <ShipDate>2008-05-06</ShipDate>
              <Subtotal>391.50</Subtotal>
              <ItemSalesTaxRef>
                   <ListID>8000004F-1185996977</ListID>
                   <FullName>NC 7.25%</FullName>
              </ItemSalesTaxRef>
              <SalesTaxPercentage>7.25</SalesTaxPercentage>
              <SalesTaxTotal>5.73</SalesTaxTotal>
              <AppliedAmount>-397.23</AppliedAmount>
              <BalanceRemaining>0.00</BalanceRemaining>
              <IsPaid>true</IsPaid>
              <IsToBePrinted>false</IsToBePrinted>
              <IsToBeEmailed>false</IsToBeEmailed>
              <CustomerSalesTaxCodeRef>
                   <ListID>80000001-1185469345</ListID>
                   <FullName>Tax</FullName>
              </CustomerSalesTaxCodeRef>
              <InvoiceLineRet>
                   <TxnLineID>D926-1210085400</TxnLineID>
                   <ItemRef>
                        <ListID>80000059-1199714336</ListID>
                        <FullName>Labor:Non-Contract Labor Ken</FullName>
                   </ItemRef>
                   <Desc>Technical Labor performed by Ken Allen:
    Network Problem with Internet and intranet found two routers connected together and the one set for DHCP was bad we changed out their bad one with our small netgear router.</Desc>
                   <Quantity>1.5</Quantity>
                   <Rate>125.00</Rate>
                   <ClassRef>
                        <ListID>8000000D-1200208143</ListID>
                        <FullName>KA</FullName>
                   </ClassRef>
                   <Amount>187.50</Amount>
                   <ServiceDate>2008-04-28</ServiceDate>
                   <SalesTaxCodeRef>
                        <ListID>80000002-1185469345</ListID>
                        <FullName>Non</FullName>
                   </SalesTaxCodeRef>
              </InvoiceLineRet>
              <InvoiceLineRet>
                   <TxnLineID>D927-1210085400</TxnLineID>
                   <ItemRef>
                        <ListID>80000029-1185470511</ListID>
                        <FullName>Labor:Non-Contract Labor Rick</FullName>
                   </ItemRef>
                   <Desc>Technical Labor performed by Rick Wagoner: Assisted with above troubleshooting</Desc>
                   <Quantity>1</Quantity>
                   <Rate>125.00</Rate>
                   <ClassRef>
                        <ListID>80000004-1185998300</ListID>
                        <FullName>RW</FullName>
                   </ClassRef>
                   <Amount>125.00</Amount>
                   <ServiceDate>2008-04-28</ServiceDate>
                   <SalesTaxCodeRef>
                        <ListID>80000002-1185469345</ListID>
                        <FullName>Non</FullName>
                   </SalesTaxCodeRef>
              </InvoiceLineRet>
              <InvoiceLineRet>
                   <TxnLineID>D928-1210085400</TxnLineID>
                   <ItemRef>
                        <ListID>80000050-1185997340</ListID>
                        <FullName>Parts and Supplies</FullName>
                   </ItemRef>
                   <Desc>Parts and Supplies: Netgear router</Desc>
                   <Quantity>1</Quantity>
                   <Rate>79.00</Rate>
                   <ClassRef>
                        <ListID>80000007-1186694551</ListID>
                        <FullName>Parts</FullName>
                   </ClassRef>
                   <Amount>79.00</Amount>
                   <SalesTaxCodeRef>
                        <ListID>80000001-1185469345</ListID>
                        <FullName>Tax</FullName>
                   </SalesTaxCodeRef>
              </InvoiceLineRet>
         </InvoiceRet>
         <InvoiceRet>
              <TxnID>ED59-1216758177</TxnID>
              <TimeCreated>2008-07-22T16:22:57-05:00</TimeCreated>
              <TimeModified>2008-07-26T11:21:48-05:00</TimeModified>
              <EditSequence>1217085708</EditSequence>
              <TxnNumber>11203</TxnNumber>
              <CustomerRef>
                   <ListID>80000278-1209483158</ListID>
                   <FullName>Majestic Entries</FullName>
              </CustomerRef>
              <ARAccountRef>
                   <ListID>80000009-1185470478</ListID>
                   <FullName>Accounts Receivable</FullName>
              </ARAccountRef>
              <TemplateRef>
                   <ListID>80000019-1190228214</ListID>
                   <FullName>Compudoc</FullName>
              </TemplateRef>
              <TxnDate>2008-07-22</TxnDate>
              <RefNumber>22479</RefNumber>
              <BillAddress>
                   <Addr1>Majetic Entries</Addr1>
              </BillAddress>
              <BillAddressBlock>
                   <Addr1>Majetic Entries</Addr1>
              </BillAddressBlock>
              <IsPending>false</IsPending>
              <IsFinanceCharge>false</IsFinanceCharge>
              <DueDate>2008-07-22</DueDate>
              <ShipDate>2008-07-22</ShipDate>
              <Subtotal>839.00</Subtotal>
              <ItemSalesTaxRef>
                   <ListID>8000004F-1185996977</ListID>
                   <FullName>NC 7.25%</FullName>
              </ItemSalesTaxRef>
              <SalesTaxPercentage>7.25</SalesTaxPercentage>
              <SalesTaxTotal>33.64</SalesTaxTotal>
              <AppliedAmount>0.00</AppliedAmount>
              <BalanceRemaining>872.64</BalanceRemaining>
              <IsPaid>false</IsPaid>
              <IsToBePrinted>true</IsToBePrinted>
              <IsToBeEmailed>false</IsToBeEmailed>
              <CustomerSalesTaxCodeRef>
                   <ListID>80000001-1185469345</ListID>
                   <FullName>Tax</FullName>
              </CustomerSalesTaxCodeRef>
              <InvoiceLineRet>
                   <TxnLineID>ED5B-1216758177</TxnLineID>
                   <ItemRef>
                        <ListID>80000050-1185997340</ListID>
                        <FullName>Parts and Supplies</FullName>
                   </ItemRef>
                   <Desc>Parts and Supplies - Linksys Router</Desc>
                   <Quantity>1</Quantity>
                   <Rate>89.00</Rate>
                   <Amount>89.00</Amount>
                   <SalesTaxCodeRef>
                        <ListID>80000001-1185469345</ListID>
                        <FullName>Tax</FullName>
                   </SalesTaxCodeRef>
              </InvoiceLineRet>
              <InvoiceLineRet>
                   <TxnLineID>ED5C-1216758177</TxnLineID>
                   <Desc>Suspect that the phone switch is attempting to act as a DHCP server for the network. per Terry, the reason that the phone switch was on the network was to supply VOIP to the warehouse phone lines. This was not working and is no longer needed. We removed the connection between the phone switch and the network.</Desc>
              </InvoiceLineRet>
              <InvoiceLineRet>
                   <TxnLineID>ED5D-1216758177</TxnLineID>
                   <Desc>Removed the Netgear router and the D-Link router. The D-Link had lost all settings and we could not log into the Netgear even after resetting to factory defaults.</Desc>
              </InvoiceLineRet>
              <InvoiceLineRet>
                   <TxnLineID>ED5E-1216758177</TxnLineID>
                   <Desc>Installed a new Lnksys router to replace the D-Link and Netgear faulty routers.</Desc>
              </InvoiceLineRet>
              <InvoiceLineRet>
                   <TxnLineID>ED5F-1216758177</TxnLineID>
                   <Desc>Ensured that all computers were connecting properly. Ensured that all computers printed to the Savin printer correctly.</Desc>
              </InvoiceLineRet>
              <InvoiceLineRet>
                   <TxnLineID>ED60-1216758177</TxnLineID>
                   <Desc>Worked with Time Warner Cable to resolve customer location and static IP.</Desc>
              </InvoiceLineRet>
              <InvoiceLineRet>
                   <TxnLineID>ED64-1216758177</TxnLineID>
                   <ItemRef>
                        <ListID>80000028-1185470511</ListID>
                        <FullName>Labor:Non-Contract Labor Kareem</FullName>
                   </ItemRef>
                   <Desc>Analyzed and resolved Internet connectivity problems after loss of service from Time Warner Cable.</Desc>
                   <Quantity>3</Quantity>
                   <Rate>125.00</Rate>
                   <Amount>375.00</Amount>
                   <ServiceDate>2008-07-22</ServiceDate>
                   <SalesTaxCodeRef>
                        <ListID>80000002-1185469345</ListID>
                        <FullName>Non</FullName>
                   </SalesTaxCodeRef>
              </InvoiceLineRet>
              <InvoiceLineRet>
                   <TxnLineID>ED68-1216758177</TxnLineID>
                   <ItemRef>
                        <ListID>8000005D-1216758445</ListID>
                        <FullName>Labor:Non-Contract Labor Mike</FullName>
                   </ItemRef>
                   <Desc>Analyzed and resolved Internet connectivity problems after loss of service from Time Warner Cable.</Desc>
                   <Quantity>3</Quantity>
                   <Rate>125.00</Rate>
                   <Amount>375.00</Amount>
                   <ServiceDate>2008-07-22</ServiceDate>
                   <SalesTaxCodeRef>
                        <ListID>80000001-1185469345</ListID>
                        <FullName>Tax</FullName>
                   </SalesTaxCodeRef>
              </InvoiceLineRet>
              <InvoiceLineRet>
                   <TxnLineID>ED94-1216758177</TxnLineID>
                   <Desc>Terry called, cannot connect to internet. Everyone but Terry can connect. Terry is getting a 172 IP address on his laptop. Walked him through putting a static IP on his laptop so that he could be functional. I went to their site and talked with the NEC phone switch management company. They said the switch does not have DHCP capabilities. I could not duplicate Terry's issue using my laptop. The phone switch is now totally disconnected from the network since the VOIP setup for the warehouse was not functional. Validated that the TWC modem is not DHCP.</Desc>
                   <ServiceDate>2008-07-23</ServiceDate>
              </InvoiceLineRet>
              <InvoiceLineRet>
                   <TxnLineID>ED95-1216758177</TxnLineID>
                   <Desc>Requires further diagnostics on Friday the 25th (if Terry is available) - need his laptop on-site to diagnose the problem.</Desc>
              </InvoiceLineRet>
              <InvoiceLineRet>
                   <TxnLineID>EE30-1216758177</TxnLineID>
                   <Desc>Communicated with Terry on 7/24/2008 via email. He is using DHCP and connecting correctly. Removing the final connection from the phone switch to the network appears to have corrected the problem.</Desc>
                   <ServiceDate>2008-07-24</ServiceDate>
              </InvoiceLineRet>
         </InvoiceRet>
    </TEST>

    Never mind. I figured it out.

  • How to get the insert scripts from a table data

    hi all,
    i want insert scripts for 100 records from a table.
    suppose i have a table xyz
    xyz:
    id name
    1 abc
    2 def
    i should get insert script for 100 rows like
    insert into xyz(id,name) values (1,'abc');
    insert into xyz(id,name) values (2,'def');
    i want 100 records data from all the tables from my database.
    thanks in advance to all.

    SQL> create table xyz (id number, name varchar2(10));
    Table created.
    SQL> insert into xyz values(1,'abc');
    1 row created.
    SQL> insert into xyz values(2,'def');
    1 row created.
    SQL> select 'insert into xyz values(id,name) values('||id||','''||name||''');' from xyz;
    'INSERTINTOXYZVALUES(ID,NAM
    insert into xyz values(id,name) values(1,'abc');
    insert into xyz values(id,name) values(2,'def');
    SQL>- - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • How to write a script to ask the streaming video (FLV) to do something after it is finised playing...

    How do I write a script to ask a streaming video to go to
    play a next movie clip or to do something after it is finised
    playing automatically?

    follow the link here to get the fla example which I have just
    embeded a movie file straight on the root timeline and then I add
    another layer for scripting. look at the last frame of the timeline
    where I have add a very simple gotoAndPlay script.
    hope ths is what u looking for. otherwise you really need to
    get flash 8. or hopefully someone coming along on this forum and
    solve the MX problem for you.
    good luck.
    http://www.lauthiamkok.net/scripting_languages/ActionScript/Flash_8/video%20object/
    get this file - embeded video.fla

  • Can someone help me write a script for Soundbooth

    If I have 50 files in C:\MyMusic and want to
    Match Volume in Soundbooth CS5 how can I write a script to do that?

    The only other way I've seen to do this with a library of that size is SoundConverter by Steve DeKorte. It would be time consuming to do, but there is a feature to "normalize volume" on all files being converted. Th other drawback is that as long as you are " converting" from mp3 to mp3, you have to save the "converted" files to a different directory. It won't overwrite during the normalization process.
    I had a library of more than 92,000 songs in 14,000 folders and 46,000 subfolders  up till last October. I had gone through it twice to "clean up and mormalize" it over six years' time. The transport seized on the drive as I was preparing to back everything up on DVD, and I was unable to recover the data on the discs when it happened. I was duly distraught when I lost all that music, but as I look back onthe last eight months, I've had a lot less hassles from "tinkering" with all those files all the time.

  • I am new in indesign scripting, please tell me how to write a script to get  content of a element in xml and then sort all the content

    I am new in indesign scripting, please tell me how to write a script to get  content of a element in xml and then sort all the content

    Hi,
    May the below code is useful for you, but I dont know how to sort.
    Edit the tag as per your job request.
    alert(app.activeDocument.xmlElements[0].contents)
    //Second alert
    var xe = app.activeDocument.xmlElements[0].evaluateXPathExpression("//marginalnote");
    alert(xe.length)
    for(i=0; i<xe.length; i++)
        alert(xe[i].texts[0].contents)
    Regards
    Siraj

Maybe you are looking for

  • Why won't Save as PDF work?

    iPhoto hangs up on the first photo book page with an image containing a warning triangle if I try to use Save as PDF. Has anyone else had this happen? I presume it means that the image won't send to the printer, either? Yet, The Missing Manual says y

  • Rounding up of service amount

    Hi I am facing one problem ,can anyone give a sugestion, WHILE PASSING THE ENTRY FOR ANY SERVICE TAX RELATED BILLS THE RECEIVABLE PART AMOUNTS APPEARING IN PAISA'S. IS IT POSSIBLE TO ROUND OF TO NEAREST RS. Thanks Edited by: Santosh Nayak on Jan 8, 2

  • How to check whether a vriable is declared or not?

    Hi, Problem: A glogal variable named :GLOBAL.ENV is used in one of my form. But its value is coming from another form which is developed by another programmer. I need to check like this: IF :GLOBAL.ENV='SOMETHING' THEN END IF; But, if the other devel

  • How to Exract the Data..

    Hi Mark, I am extracting the data from one table to another table from Oracle source. Everything went successful. The target table has been created in Target schmea. but it didn't populate the data. When I saw the code generated it has all insert sta

  • Discoverer 4I (4.1.48.06.00)

    Hi , I want to install Discoverer 4i (Ver :4.1.48.06.00) .Any one can let me know where can i down load the Software . I tried in OTN but i could find any links for teh software to downlaod. Thanks Kiran.