Target and base document

Hi all!
In SQL table, i need to find the table storge information of Target and base document.
For example: I have Good Reciept document number 3, What table will storge information of target document is A/P invoice.

Dear Tien,
Also, in order to find the target document you can look for the fields T0.TargetType, T0.TrgetEntry in a table of a document.
The first will tell you the type of document created, the second the document number. Please note that the type document is identified by numbers: e.g. 13 is an ar invoice.
the full list can be found in the sdk help file.
Kind Regards,
Marcella Rivi
SAP Business One Forums Team

Similar Messages

  • PO from SO via DI API:Base document card and target document card do not ..

    HI All,
    I am trying to create Purchase Order from Sales Order. This is possible by GUI (on Sales Order on logistics tabs Click On Purcase Orders CheckBox.
    I got the error message: -5002-Base document card and target document card do not match.
    The message itself can be understandable, because the Customer and Supplier has a different CardCode.
    I am sure I am using a correct code
    oPo.Lines.BaseType = BoObjectTypes.oOrders
    oPo.Lines.BaseEntry = sDocEntry
    oPo.Lines.BaseLine = iLineNum
    Where oPo is a Purchase Order document.
    sDocEntry is a Sales Order docentry and iLineNum is a Line number of Sales Order
    For other A/R to A/R and A/P to A/P documents are working fine.
    Has anybody found this error or has anybody created application like this?
    I am using sbo2007PL46
    Regards,
    J.

    Hi guys,
    this is still on the suggestion page:
    Link existing Purchase Orders to (Sales) Orders via DI API : View Idea
    I tryed with 9.1 PL 4 and it didn't work.

  • Please help! -5002,Base document card and target document card do not match

    Hi
    When I try to save an invoice with a payment thro' the DI API I get the following error :
    <b>-5002,Base document card and target document card do not match</b>
    Why am I getting this error and how can I solce it?
    Thanks

    Hi,
    For the sake of anyone else who has this problem:
    After much searching for the answer to why I was getting this message I found that the internal validation must be case sensitive and so 'C00417' on the receipt was not matching 'c00417' on the invoice.

  • Base document card and target document card do not match

    I ran into this error "Base document card and target document card do not match" while uploading Outgoing Payments too AP Invoices.
    The CardCode of the Invoice matches the CardCode of the Payment so it's not that issue. I can't seem to fix this error.
    Any input would be helpful.
    Here's screenshots too
    OVPM - Payments
    VPM1 - Payments_Checks
    VPM2 - Payments_Invoices

    Hi,
    For the sake of anyone else who has this problem:
    After much searching for the answer to why I was getting this message I found that the internal validation must be case sensitive and so 'C00417' on the receipt was not matching 'c00417' on the invoice.

  • Base Document and Target Document Menu for User Defined Forms

    Hi Experts,
    I am facing a problem regarding enabling the menu "Base Document" Menu UID="5898" and "Target Document" Menu UID="5899" . Both of these menu Items are not enabled for User Defined Form .Actually I have developed a user Defined form for Purchase Requisition that targets Purchase Order . User can Copy Line Items From Purchase Requisition to Purchase Order and I am tracking the DocEntry and LineId of PR into PO Item's using UDS . I want to Open this PR Document upon Click of BaseDocument Menu .I have tried all the options. I have used Form.enableMenu() method also . But none of those options work for this menu . I ahve also searched about this problem i this forum also but there is no soultion so far posted regarding this.
    I really want to confirm whether it is possible or not using SDK for User Defined Forms . Is there any possiblity of implementing any WorkArounds and Having this feature implemented .
    I am Expecting a true solutions as this Forum has so many Experienced Experts .
    Thanks and Regards,
    Pooja Singh.

    Hello Poja,
    It is not possible, because the requested menus are depending on the forms, and the are not exists,
    WorkAround:
    add the menus to the User Defined forms, and use right click to activate them:
    oForm.Menu.Add("5898", "Base Document", BoMenuType.mt_STRING, oForm.Menu.Count)
    oForm.EnableMenu("5898", True)
    And hanle the menu event when you clicked them and the form is your custom form.
    Regards,
    János

  • In xcode i deleted my default.png file and know my app says 0 target and missing base sdk how can i fix this please

    please help mw fix my app i deleted my default .png file the one that displays an image when u first run the the and after i deleted my app wont run and says at the very top 0 target , missing base sdk. how can i fix this please help.

    hello , i did exactly the same thing , and my app store icon look like this :
    http://i.imgur.com/FIrph.png
    so can you tell me how did your friend send the app store for you? please

  • I want to save several written reports for my job on a daily basis on my iPad from my computer is there an app or anyway to do this? Organize,rename and save documents to my iPad?

    I scan several reports on a daily basis to my computer I wanted to know is there any app or anyway I can save these documents to my iPad and make sure they are backed up? Also I would like to organize them by name and date is there an app out there that can do this or anyway? I work in a court house with several reports on a daily basis any help please?

    I just have the normal app and have had no issue with it. I think the only bug I've heard of is sometimes people start a new document and the Docs to Go will not acknowledge the input of a wifi keyboard until you type a few characters on the on screen keypad, but that may have been fixed.
    I find documents easy to find. I have two main folders on my iPad, the desktop folder which has my 'to be kept synced' documents and then another folder with the documents i've put on it permanently. It lists them alphabetically  so my only issue finding things is scrollling down 300+ documents.
    One thing that I think the premium app has is the ability to access documents via  the internet.
    How I do it is, I have my document in the sync folder. I open up the docs to go desktop app, open up docs to go on the iPad, tap the sync button and the documents sync...so you do have to have wifi. not sure if that's an issue or not. It's never taken me more than a few seconds to sync.
    I do konw that you can buy the basic version and upgrade for the cost difference, so you can always experiment and upgrade if necessary.

  • Error in Sales InvoiceSAP ERROR A/R INVOICE- ROWS [BASE DOCUMENT INTERNAL ID] "NO MATCHING RECORD FOUND"

    Hi,
    I am new to this portal.
    When I am trying to add A/R invoice based on Sales Order I got this Error Message from Evening in All Open Document. How to Rectify This.
    An Early Response Will Be very helpful.
    Thanks,
    Vikram

    Hello Vikram,
    Welcome to the Portal. Please check whether the Item Code and other line level Items on Sales Order are same or not.
    This type of message generally occurs when Base Document Rows Level are different from Target Document.
    Hope this Help
    Sudhir Sharma

  • Closed base Document appears in the open item list

    Hi all,
    While we are fully copying a base document to a target document, the base document header and rows will be closed, but it will appear in the open item list report.
    So the customer has created a Sales Order -> Delivery -> A/R Invoice.
    The Sales Order document status gives 'Closed', but still appears in the Open Item list (Sales - AR --> Sales Reports --> Open Items List).
    The customer using: SBO2005A PL22
    Further i also have looked in the SAP Notes (Note 1083366) but i can't solved it.
    Thanks in advance.

    Chief,
    In open items list of sales order,
    *select reqd. sales order,net amount,tax & total amount open in
    sales order,
    also open delivery document & compare with it,
    there must be difference in tax total/total/they
    must have changed quantity,unit price,date,changed payment terms/tax codes which causes delivery created without reference to sales order.
    That's why sales order is open.
    You can manaully close sales order by Data-->Close.
    Jeyakanthan

  • Want to erase and install & reinstall iTunes libraries and some documents

    My iMac G4 Flat Panel is 9gb shy of being totally full and performance really suffers as a result. I want to erase the drive and install Leopard (I just bought a new disk).
    What is the best way(s)/procedures to backup my iTunes libraries and some documents so that I can reinstall them on the newly formatted drive?
    After paying for the Leopard disk, I don't want to buy any other programs to do the backup. I have been backing up the drive to an external using Backup.

    Steven,
    Backup is a fine application, but it typically targets specific items to be backed up. Meaning, that it is not necessarily entirely comprehensive. At least not in the context of migrating from one installation to another.
    One of the concepts present in OS X is the idea that everything that makes your account "yours," all of your data, settings, history, etc., is entirely contained within your HOME folder. By moving that HOME folder into any new installation, you essentially transplant your entire experience as a user into the new location. In many cases, this works so well that, if someone did it behind your back while "swapping" computers with you, you would never know the difference. That's how it works, in theory.
    In practice, there are usually some minor things that pop up in such a transfer, but these are all minor in the extreme. One might end up with a "question mark" or two in one's Dock, resulting from the absence of a linked application in the new installation. The question mark can be removed, or the application in question can be installed, so these things are easy enough to fix.
    Your situation is complicated somewhat by the fact that you want to "whittle down" what you restore to the new installation. The assumption I make, based on your posts, is that you have only the one account, and your single HOME folder contains enough data to consume most of your disk space. OK, you can handle this several ways...
    You could cover all bases by making one complete backup of your HOME folder as it is now, then begin "whittling down" what you have now before wiping your drive and reinstalling. This would give you the opportunity to reduce your disk space consumption while still working within your HOME folder; testing what you do, as it were, and with the knowledge that your deletions are not irreversible. When you find the right balance between what you can delete and what you must keep, you can make an additional backup of your reduced HOME folder (provided you have enough space on your external drive).
    Or, you could make a complete backup of your HOME folder, as it exists now, then go ahead and format/reinstall. You would then have to decide what you will move from the backup into your new account. Part of this process is knowing just where to place transferred items for everything to work properly. As far as simple files are concerned, it wouldn't make any difference where you place them. Items contained in libraries, however, might be quite complicated to move, unless you simply moved the entire libraries in question. In these cases, the libraries themselves must be transferred to the correct locations. It's not an insurmountable problem, but it does complicate matters a bit.
    Finally, you could backup and restore the HOME folder as it currently exists. Typically, the process of formatting and reinstalling, then restoring user data, results in a more compact installation. Over time, any installation accrues some fragmented free space, and this effectively reduces the storage capacity of a volume. As much as or more than 10% of the size of the volume can be recovered this way. In any case, your new installation will be smaller than the old to some degree, even with all of your user data restored. Once you get to this point, you could begin reducing the amount of data you have stored, just as in option #1 above, and again safe in the knowledge that nothing you delete is irrecoverable.
    rsync is powerful. While it is easy to use, it has many options and is therefore complex to learn. Its "man pages" might be considered daunting. I could provide a copy and paste command for you to run which would make a complete backup of your HOME folder, provided I knew the path to a destination. The exact name of your external drive, along with any nested folders therein you might want to use as a destination, would suffice.
    If you want to read more about rsync yourself, open Terminal and type "man rsync," then press <RETURN>. The "man" application will scroll line by line by using the arrow keys, and page by page by pressing the spacebar. Press "q" to quit the man application.
    Scott

  • Number ranges for material document (migo) and inventory  documents

    Hi Gurus,
    We need a different number ranges for goods receipt documents  and inventory documents because we have different company merged in to one box.Can any body tell me on what basis we differenciate the number ranges how to configure it.
    If we take PO, we have different doc types and we assign number ranges to those documents. in case of Miro , it  is the single transaction code used by different companies and how to give different number ranges.
    Regards,
    Sri........

    Hi,
    I think number ranges of inventory documents are on client level not on company code wise . because even though  your creating new document and assigned different number ranges for the documents but  these while assigning  ranges to T codes (MIGO or MIRO) you dont have option like company codes ( tcode OMBA) so number ranges for inventory documents are at client level  not at company code level.

  • Different amount in Contract and Billing document.

    Hi All,
    We have a issue here, need suggestion.
    We have a contract which has a billing plan. We have maintained monthly plans with a fixed amount.
    Say we have $ 1000 in the contract, but the billing has been created with $ 900.
    So you see the amounts are different in contract and billing document.
    We have checked there are no recent pricing changes or any such changes that will have such effect. The invoice is created in May.
    There were pricing changes in March but they had been corrected in March itself.
    Let me know if anybody has faced such issue and where may be the issue.
    Regards,
    SB
    Edited by: Satish Bharambe on Jun 2, 2011 11:43 PM

    You would have to cross-check the Pricing at Item level in Contract & Invoice. Hope , it would help you to check the Base Price or some other Prices / Discounts.
    Best Regards,
    Ankur

  • Rounding Issue Excise Invoice and Accounting document

    Hi
    I have made and Excise Invoice with following values
    Base Price                          4110
    BED    10%                           411
    CESS   2%     on BED               8
    HEC     1%      on BED              4
    In the Excise Table J_1IEXCDTL also values for BED is updated as 411, CESS as 8 and HEC as 4
    But in Accounting Documetn following values gets updated
    Base Price                          4110
    BED    10%                           411
    CESS   2%     on BED               8.22
    HEC     1%      on BED              4.11
    So at times there is a difference in both Excise Invoice and Acocunting Document. We want same values should appear in Excise Invoice and Accounting Document. Since EXCISE does not accept value in paise, we need to round off the value to the nearest rupee and accordingly update the accounting document.
    My Pricing procedure mentions Cal Type as 17 Rounder off as per T001 R for BED / CESS  /HEC...
    Please guide...
    Regards
    Sanjeev

    Dear Sanjeev,
    Check whether there is a Condition type DIFF in the pricing procedure, and also in the invoice (conditions)
    Check whether there is any account key assigned to it, in the pricing procedure.
    Thanks & Regards,
    Hegal K Charles

  • Report for A/R Invoice's Base Document

    Hi..
    My client wants to have the report showing the base document(Delivery..if any) of A/R Invoice he has punched into the system.
    basically he wants to see the what is the base document of particular A/R Invoice.
    Regards
    Rakhi

    Hi
    pls find this Query
    SELECT T0.[DocNum]    As [Base Document No for Ar Invoice], T2.[DocNum]   As [A/R Invoice No]
    FROM ODLN T0  INNER JOIN DLN1 T1 ON T0.DocEntry = T1.DocEntry,
    OINV T2 INNER JOIN INV1 T3 ON T2.DocEntry = T3.DocEntry
    WHERE T3.[BaseRef]  = T0.[DocNum] and  T3.[ItemCode]  = T1.[ItemCode]
    regards
    Jenny
    Edited by: Jennifer Anderson on Jul 15, 2010 1:26 PM

  • Error while checking in and storing document in storage category

    Dear Consultants,
    When i am trying to save a document in storage category thru tcode cv02n, its giving me error:-
    Error while checking in and storing document "c:/desktop/content.doc",
    while there is no error in csadmin and OAC0 tcode repository is in running status
    even output of
    dbmcli db_enum
    OK
    SDB     /sapdb/SDB/db                     7.6.03.09       fast    running
    SDB     /sapdb/SDB/db                     7.6.03.09       quick   offline
    SDB     /sapdb/SDB/db                     7.6.03.09       slow    offline
    SDB     /sapdb/SDB/db                     7.6.03.09       test    offline
    URL "http://192.168.2.11:1090/ContentServer/ContentServer.dll?serverInfo"
    output :-
    serverType="SAP HTTP Content Server";serverVendorId="SAP AG";serverVersion="640";serverPatch="7";serverBuild="23";pVersion="0046";serverStatus="running";serverDate="2011-12-14";serverTime="10:01:44";startUpDate="2011-12-14";startUpTime="06:36:18";lastAccessDate="2011-12-14";lastAccessTime="09:57:59";
    contRep="ZCONT_TEST";contRepStatus="data(0%) log(191655552%)";pVersion="0046";storageVersion="17";storage="SAPDB";buildLevel="1";contentStorageName="SDB";contentStorageHost="localhost";security="1";contRepDescription="test content repositry";driver="MaxDB";defaultDocProt="";
    contRep="ZDMS_C1";contRepStatus="data(0%) log(191655552%)";pVersion="0046";storageVersion="17";storage="SAPDB";buildLevel="1";contentStorageName="SDB";contentStorageHost="hpsebdev1";security="1";contRepDescription="Database storage documents";driver="MaxDB";
    Please Help regading the issue
    Regards
    Gagan Sharma
    Basis Consultant

    Hi,
    Please revisit your DMS configuration. May be something is missing out in the configuration.
    Additionally you can retry to chekin by changing the following parameter
    security = 0.
    Hope this is useful.
    Regards,
    Deepak Kori

Maybe you are looking for

  • New system, MSI X800XT PCI-E Issues

    Hi there! I just bought a new motherboard, new ram, new cpu and new videocard and was eagerly wanting to set this stuff up.   My system is now as follows: Motherboard: MSI 925X Neo-54G CPU: P4 3.40Ghz (1 Mb L2 Cache) (Socket 775) RAM: 1 GByte DDR2 53

  • Why are my css not showing up on my website???

    I am new to Dreamweaver cs6 and using it for a school research project. I have made some css and know how to make them but for some reason they are not showing up when I load my website online. Please help!! Also I am not sure how to create links in

  • Number of decimals in the stock, availability tab.

    Hi, Dose anybody know if it is possible to change the number of decimals that appear in the availability tab, in the stock. It appears 3 decimals (as is defined in the data type). any clue??? thanks for your attention best regards. Jorge Vigo

  • Question about USB & Firewire cards

    For years we've been used to the Mac way of combining USB and/or firewire ports on to one bus. Plug in a slower device and the other faster devices on SEPARATE ports may slow down to the slower speed (depending on your Mac model, configuration, etc.)

  • Help:JDeveloper 9.0.3 with xml

    Hi, I am trying to use JDeveloper 9.0.3 preview with our web application. Our web application internally uses IBM's xml parser. I put IBM's xml library into JDeveloper's Project Settings->Configurations->Development->Libraries, but the ide still thro