I want to know last Invoice Which i added through Business Object

Hi All,
I want to know last invoice details which i added by Business Object. Can you give the solution???????.
Please consider the multi-user environment and Document Series also.
Thanks in Advance
Regards,
G.Suresh

Hi Suresh,
How r u?
You can get the docnum of last invoice added by DI.
I had done the same please refer the code below.
May this will help you...
Dim IRetCodeHeader As Integer = oInv.Add()
Dim DOCNUM As String
DOCNUM = objMain.objCompany.GetNewObjectKey
regards:
SANDY
Sandeep Saini | Roorkee | India on Dec 23, 2008 5:25 PM

Similar Messages

  • I wants to know if i purchase sony mobile through online i will get the service from sony service ce

    i wants to know if i purchase sony mobile through online i will get the service from sony service centre or not???

    HI arshak,
    Greetings! At your convenience, please reach out to our colleagues at Sony Mobile for further assistance with your question. You can reach them at this site: http://www.sonymobile.com/global-en/support/contact-us/contact-info/  Thanks for your message today!

  • HT201493 I use Friend finder. I just want to know the date when I added my friends? Can anybody tell me how?

    I use Friend finder. I just want to know the date when I added my friends? Can anybody tell me how?

    bobseufert wrote:
    I thought it was a great way to lose friends. I don't know one person that would want me to be able to track their location.
    I absolutely agree. I use Glympse if I need to let someone know my whereabouts for a short period of time. But, beyond that, ick!

  • Want to know abt routines which we mainatin in pricing.

    Dear Sd gurus
    I have one query like is there any link betn routines & condition catagories as we maintain11 as profit margin rountine in atl cal type field & we define condition type on cond catagory i.g internal price for cost cond vprs. so plz put ur valuable views in the same.
    & want to know more abt routines & links of  the same
    Regards

    Hi,
    This document will help you: http://www.saptechsolutions.com/pdf/InsideVOFM.pdf
    Regards,
    Eduardo

  • I have 4 ipods 4th gen and want to know if one program to purchase through apple to share the music I've purchased on all of them. Is it the icloud AND itunes match?

    I have 4 ipods all 4th gen and want to know if one program is available to purchase through apple to have all music I've purchased can be used on all of them. Is it a combo of both itunes match and icloud?

    You don't need iTunes Match to have your music in all your devices. iTunes Match is for getting music that you've purchased elsewhere into the cloud. All you need to do is set up each of your devices to your iTunes Store account. You can then download things you've purchased by going to the Purchased section. See:
    http://support.apple.com/kb/ht2519
    Regards.

  • How to link ap down payment invoice to ap invoice which have added.

    Hi,Expert,
      I encounter this situation in detail as follow:
    1. raisethe PO add row line with respective itemcode and quatity.
    2. raisethe ap down payment invoice  copy from the po created  just now.
    3. raise the bank -> outgoing pay the cash base on this down pay invoice.
    3. raise the Ap invoice copy from PO ,however,the user do'nt link related down pay invoice.
    This result in the account is confused and wrongly pay double amount for supplier.
    How can I process to repair it  now  and avoid it in the future ?
    Thank you in advance ,appreciate any comment and help.
    Best Regards
    Eric

    Hi Eric,
    The general down payment process is as below:-
    (1) The down payment request is made in F-47
    (2) The down payment is made in F-48
    (3) Then you create the MIRO invoice
              During MIRO, the system gives up a pop-up to show whether the down payment exist for the vendor or not. This is an information message and user will continue to process MIRO.
    (4) After processing MIRO, user need to immediatly clear the down payment againest the MIRO invoice via F-54. In F-54, on selection screen invoice number is given and then from "Process open item" you can get the list of the doan payments for the vendor to choose from.
    Regards,
    Gaurav

  • I want to know why it's happening me this error: Object synchronization method was called from an unsynchronized block of code.

    I'm developing a Smart Array (it's a request I cannot use a List of int that I know it's easier because I made both codes). I have done this class and below is the example of how I use it. The error is often in this line (153 from class):
    // Ensure that the lock is released.
    Monitor.Exit(array);
    If I use a List nothing wrong happens just when I translate to an array. Thanks for your help.
    SmartArray3.cs
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading;
    using System.Threading.Tasks;
    namespace SmartArray
    class SmartArray3
    private int[] array;
    private int size = 0;
    private int count = 0;
    public SmartArray3()
    Resize(1);
    public SmartArray3(int size)
    this.size = size;
    array = new int[this.size];
    public bool Resize(int size)
    try
    if (array == null)
    array = new int[size];
    else
    Array.Resize(ref array, size);
    this.size++;
    return true;
    catch
    return false;
    private void add(int value)
    try
    if (array == null)
    this.size = 1;
    Resize(this.size);
    array[0] = value;
    this.count++;
    else
    if (this.count == (this.size - 1))
    this.size *= 2;
    this.Resize(this.size);
    if ((this.count - 1) < 0)
    array[0] = value;
    else
    array[this.count - 1] = value;
    this.count++;
    catch (Exception ex)
    Console.Write(ex.ToString());
    throw new System.IndexOutOfRangeException("Index out of Range.");
    // Lock the array and add an element.
    public void Add(int value)
    // Request the lock, and block until it is obtained.
    Monitor.Enter(array);
    try
    if (array == null)
    this.size = 1;
    Resize(this.size);
    array[0] = value;
    this.count++;
    else
    if (this.count == (this.size - 1))
    this.size *= 2;
    this.Resize(this.size);
    if ((this.count - 1) < 0)
    array[0] = value;
    else
    array[this.count - 1] = value;
    this.count++;
    finally
    // Ensure that the lock is released.
    Monitor.Exit(array);
    // Try to add an element to the List: Add the element to the List
    // only if the lock is immediately available.
    public bool TryAdd(int value)
    // Request the lock.
    if (Monitor.TryEnter(array))
    try
    if (array == null)
    this.size = 1;
    Resize(this.size);
    array[0] = value;
    this.count++;
    else
    if (this.count == (this.size - 1))
    this.size *= 2;
    this.Resize(this.size);
    if ((this.count - 1) < 0)
    array[0] = value;
    else
    array[this.count - 1] = value;
    this.count++;
    finally
    // Ensure that the lock is released.
    Monitor.Exit(array);
    return true;
    else
    return false;
    public int Get(int index)
    try
    return array[index];
    catch (IndexOutOfRangeException ex)
    throw new System.IndexOutOfRangeException("Index out of range");
    Code for called the Class:
    private static int threadsRunning = 0;
    private SmartArray3 sa = new SmartArray3();
    private List<double> times;
    private static string[] titles ={
    "Add ", "Add failed ", "TryAdd succeeded ", "TryAdd failed "};
    private static int[][] results = new int[3][];
    //Event to Create Threads
    private void newTest()
    for (int i = 0; i < 3; i++)
    Thread t = new Thread(ThreadProc);
    t.Start(i);
    Interlocked.Increment(ref threadsRunning);
    private void ThreadProc(object state)
    times = new List<double>();
    DateTime finish = DateTime.Now.AddSeconds(10);
    Random rand = new Random();
    int[] result = { 0, 0, 0, 0};
    int threadNum = (int)state;
    while (DateTime.Now < finish)
    Stopwatch sw = Stopwatch.StartNew();
    int what = rand.Next(250);
    int how = rand.Next(25);
    if (how < 16)
    try
    sa.Add(what);
    result[(int)ThreadResultIndex.AddCt] += 1;
    times.Add(sw.Elapsed.TotalMilliseconds);
    catch
    result[(int)ThreadResultIndex.AddFailCt] += 1;
    else
    if (sa.TryAdd(what))
    result[(int)ThreadResultIndex.TryAddSucceedCt] += 1;
    else
    result[(int)ThreadResultIndex.TryAddFailCt] += 1;
    sw.Stop();
    results[threadNum] = result;
    if (0 == Interlocked.Decrement(ref threadsRunning))
    StringBuilder sb = new StringBuilder(
    " Thread 1 Thread 2 Thread 3 Total\n");
    for (int row = 0; row < 4; row++)
    int total = 0;
    sb.Append(titles[row]);
    for (int col = 0; col < 3; col++)
    sb.Append(String.Format("{0,4} ", results[col][row]));
    total += results[col][row];
    sb.AppendLine(String.Format("{0,4} ", total));
    Console.WriteLine(sb.ToString());
    private enum ThreadResultIndex
    AddCt,
    AddFailCt,
    TryAddSucceedCt,
    TryAddFailCt
    Federico Navarrete

    The array that you're calling Monitor.Enter under is not always the same array that you call Monitor.Exit on. When you resize an array using Array.Resize, you pass the variable in as a reference parameter (ref). The method then creates a
    new array object and assigns it to the array variable. Then, when you leave the synchronization block after resizing the array, your Monitor.Exit uses the new array rather than the one it originally entered
    and... boom.
    Instead of locking on the array itself, create a new private readonly field of type Object called "lock" within the SmartArray class and use that to lock on. It doesn't
    need to be readonly, but the keyword will prevent you from accidentally introducing this issue again.

  • I want to know the following issue about OneDrive For Business ?

    Q1>What are the system requirements of OneDrive Bussiness ?
    Q2>Does Windows 8.1 come pre installed with one drive for business?
    Q3>What does the yellow Exclamation mark mean ?
    Q4>What does the red cross mark mean ?
    Q5>Do we need to intall office 2013 on windows 7 or 8 before sync?
    Q6>what does the to Arrows moving around One drive blue mean ?
    Kindly let me know in details every thing? Answer me Question wise
    Thanks

    It is always wise to try to research the topic before you post a thread on it.
    http://windows.microsoft.com/en-gb/onedrive/system-requirements
    http://windows.microsoft.com/en-gb/windows-8/onedrive-app-faq
    http://answers.microsoft.com/en-us/onedrive/forum/sdfiles-sdupload/what-does-the-exclamation-mark-with-the-yellow/48acefac-2fa8-4301-8bef-05e853601385
    ...and at this point i grew bored copying and pasting your questions into Bing.

  • In forms- how to hide elements which are added through property palete

    hi,
    I am using oracle forms-10g version.
    I have an doubt in hiding the elements from list item.
    I have 3 list items and 3 elements. If i select any element in any of the list, that element should get hidden when we click on other list box.
    For example:
    3 elements are cell, work,home.
    in the first list item it should display all three elements and when i select cell in list_item 1, then this element should get hide for the other two list items.
    Similarly if i select home in list item 2, then home and cell should get hide from list item 3 and home alone d=should get hide from list_item 1.
    please suggest if my question is not clear.
    Please help out folks.
    Regards,
    Bobb

    Hello Bobb,
    You can create a trigger(when-list-changed) for each list item where you could:
    1.recreate the record groups and then use POPULATE_LIST so you can hide the selected values. In forms builder online help there are some good examples about create record groups dynamically.
    or
    2.you can perform a validation instead of hiding the selected values. If the values is already selected the display a message 'Value already selected....'
    Second option is much faster(only an 'if clause')
    Hope this helps.
    Regards,
    Alex

  • How to know time in which session last activity is done

    Hi ,
    I want to know that in which users session last activity time is done. I am seeing inactive session but i want to be sure that the last activity is done on the same day when i am going to kill the session after checking users session by v$session.
    Regards,
    Vikas

    Look at V$SESSION.LAST_CALL_ET.
    Quoting the documentation :
    LAST_CALL_ET NUMBER
    If the session STATUS is currently ACTIVE, then the value represents the elapsed time in seconds since the session has become active.
    If the session STATUS is currently INACTIVE, then the value represents the elapsed time in seconds since the session has become inactive.
    Hemant K Chitale

  • How can i distill the invoice which has not verified?

    hello evryone:
       my problem is I want to distill the invoice which has not 
       verified through the tcode MIRO.
       thanks in advance!

    Hello,
    Have you tried breaking your structure into 255 chunks? I don't know what the structure you are moving from looks like, but you should be able break it back up into the SOLI structure. The end of a line in SOLI doesn't create a Carriage Return/Line Break. You have to insert these yourself like in the following:
    * Create document
          clear mail_line.
          move 'This is a test E-Mail'(d01) to mail_line.
          concatenate mail_line
                      cl_abap_char_utilities=>newline
                      into mail_line.
          append mail_line to l_mailtext.
    What kind of attachment are you wanting to create - a text tab delimited file for reading in a spreadsheet application such as excel? You might try reassembling your data table into a single string with newlines where you need them. Then use function module SCMS_STRING_TO_FTEXT to turn it back into SOLI. This is what I have done in the past. I'm afraid without knowing more about your source structure and attachment type, this is about all I can tell you.
    Vasanth

  • Reversing or deletating AP invoice which is posted and transferred to GL

    I wanted to delete a invoice which is accounted and validated and transferred to GL. This invoice has 2nd distribution line causing problems, somebody managed to transferred to GL without entering an amount this has to reversed or deleted. how can I do it, if somebody had similar problem and solved it please assist me regarding this issue as soon as possible. Thanks very much for the consideration friends.

    Thank you for the answer, how can I remove the 2nd distribution line along with that invoice, there are holds on these invoices and some are not accounted or validated. When I try to delete it says " the amount filed must be filled" try to insert an amount it says'The field is protected". Any ways to reverse or delete the 2nd distribution line in that invoice.
    Please provide a solution.
    Thank you.
    Sam

  • How to select records which are added during last week

    I have a scenerio in which I have a person dimension, which includes all the information about the person. I want to take two extracts out of it. One is monthly and one is on weekly basis. In the monthly I am just taking data for that particular month and then joining it with the Fact table. It is simple and I have already done it. I am having trouble for doing it on weekly basis of the current month, what I want to do is after the 1st week I want to select the new persons which were added (delta) during the 1st week. In the end of 2nd week I want to select those records which were added during 2nd week and so on for all the 4 weeks. e.g.
    Day
    8     The person’s which were added during 1st – 7th
    15     The person’s which were added during 8th – 14th
    23     The person’s which were added during 15th – 22nd
    31     The person’s which were added during 23rd – 31st
    Any suggestions will be appriciated please. Thanks

    A few steps arem required
    1) when inserting or updating a record in the target table set wk and mth IND to 'N'
    2) when running the week load after loading the data in the proper target end table
    set the wk ind to 'N' where wk_ind = 'Y'
    3) when running the month load after loading the data in the proper target end table
    set the wk ind to 'N' where mth ind = 'Y'
    did this help ?
    DJ

  • Invoice(which are complete already) grouping for just output purpose

    Dear Experts,
    I have requirement  to group the invoices which are complete through VF01 and VF04, and to create an output using the smart from that we have developed
    I understand VF21 actually to create Invoice list which are due for the payer.
    So I understand that canu2019t be used for this purpose.
    Could you please suggest if VF21 still can be used to group the completed Invoices or else
    Could you suggest if there is an alternative.
    Quick response  would be of great help.
    Regards
    Siva

    Hi Sidi,
      Thanks. i thought VF21 is only to group invoices whcih are due for payer. And i thoght if billing already done it would not be possible to create invocie list.
    Please clarify.
    if i can still use to group them it would be of greate help.let me try with invoices which are paid.
    Regards
    Siva

  • I want to know that, is mozilla scans computer in order to protect from virus threats, cause last night mozill do with me same, is it a feature of mozilla or another kind fraud by someone else.

    dear sir/ma'm
    Last night i was surfing web, suddenly the webpage i was surfing disappeared and another page came, which was showing warning that your computer is running some suspected processes and mozilla is scanning your computer for viruse threats, please do not interrupt the process, and within a few moment so many virus list came in front of me, and then came a message click on button start potection, and a binary file also started downloading while i did not said to do so. cause i've an antivirus hence i closed the firefox and scanned my computer and antivirus show it free of viruses.
    i want to know what is it??????

    Sites like that depend upon JavaScript. I use the NoScript add-on which by default will disable JavaScript, and allows you to specify what sites you want JavaScript to run on. It takes a while to get NoScript set up so that you can have JavaScript enabled on the sites that you use often. There is a bit of work involved but I prefer the added protection that the add-on gives - https://addons.mozilla.org/firefox/addon/noscript/
    Also make sure you have up-to-date anti-virus and anti-malware software installed. I use the free Microsoft Security Essentials - http://www.microsoft.com/security_essentials/default.aspx

Maybe you are looking for

  • What is the best license for us ?

    Post Author: Sebastien.fichot CA Forum: Upgrading and Licensing Hello, We are a team of .Net developers (French-speaking), we work on DotNetNuke (www.dotnetnuke.com).We manufactured at the beginning of this year a module called CrystalReportsViewer w

  • Contract updating

    hello, friends. in default SAP settings, we can still create a sales order with reference to a contract that has both quantity fully referenced, and validity date ending in the past.  we get warning messages V1501 and V1448 for both cases, respective

  • Work Managers for SOA composites

    Hi All, We have couple composites which needs to be deployed on Oracle SOA 11g, weblogic as platform. My question is can we set work managers for different composites like we generally set dispatch policy for proxy services in OSB. Please let me know

  • Workflow timeout issue in AP

    Hi , AP Workflow system is currently setup to timeout after 2 days. Maximum timeout is twice. I have the feeling the timeout includes weekend days. - Can you please let me know if setup to include weekend days can this be changed? I would like for it

  • I repeatedly receive an error when my IPad is trying to restore during the IOS 5 update. The error is (-50).  How do I fix this?

    I repeatedly receive an error when my IPad is trying to restore during the IOS 5 update. The error is (-50).  How do I fix this?