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.

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.

  • Can I enable menu for base document and target document for user forms

    Hello friends
    I want to add Base and target document functionality for our addon
    but when i do this
    oform.EnableMenu("5899", True)   ' 5899 is menu uid for target document
    i got this exception
    Menu - Not found [66000-27]
    Is there another way around
    Thanks in advance ....
    Atul

    Atul try adding this to ur form Xml schema and specify the userdatasrc(bold text) for the form as well..
    <item uid="10000329" type="113" left="475" tab_order="0" width="90" top="481" height="19" visible="1" enabled="0" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                  <AutoManagedAttribute />
                  <specific AffectsFormMode="1" TabOrder="0">
                    <ValidValues>
                      <action type="add">
                        <ValidValue value="A/R Credit Memos" description="14" />
                      </action>
                    </ValidValues>
                    <b><databind databound="1" table="" alias="SYS_312" /></b>
                  </specific>
                </item>
                <item uid="10000330" type="113" left="380" tab_order="0" width="90" top="481" height="19" visible="1" enabled="1" from_pane="0" to_pane="0" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
                  <AutoManagedAttribute />
                  <specific AffectsFormMode="1" TabOrder="0">
                    <ValidValues>
                      <action type="add">
                        <ValidValue value="Sales Quotations" description="23" />
                        <ValidValue value="Sales Orders" description="17" />
                        <ValidValue value="Deliveries" description="15" />
                      </action>
                    </ValidValues>
                    <b><databind databound="1" table="" alias="SYS_313" /></b>
                  </specific>
                </item>

  • 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

  • Broken Link between Base and Target document in 'Copy To' option

    Hi Folks,
    One of our client has been facing a peculiar issue. When the 'Copy To'  function is used to Copy document from Sales Order to Delivery and recently one instance of 'Copy To' from Delivery to A/R Invoice ,the base document got copied to the target document in each case but there was no trace of any Base Ref. left in the Target document( either in row level or Remarks), thereby the link between the Base and Target document got broken.The Base document remains with status as open.The same base document when tried again to 'Copy To', it creates the link between Base and new Target document.
    This instance had occurred recently 3- 4 times in a span of 3 months or so. In normal circumstance this never happens. The client is pretty sure they have used 'Copy To' option to copy the document from Base to Target.
    Any hints or possible reasons if one can highlight would be appreciable.
    The current version used is SAP B1 8.82 PL11 and it was upgraded more than a year back.
    Regards,
    Bharath

    Hi,
    All the data in Sales Order and Delivery are matching one to one in terms of row details,
    and Document header level.
    The missing data was Base Ref. data and Del.Date didn't get copied from base to target as shown in screen shot.
    Also i have checked it earlier regarding change of target document row details like changing item, but this will only remove the link of that particular row and remaining row link remains intact, but in this case there are many items and it doesn't seem user will have changed in all the rows.
    Regards,
    Bharath

  • Question about base and target document

    Dear All,
    Does anyone know which table maintain the relationship between base and target document.
    For instance, user clicks the base document in the form of AR invoice and return the base sales order.
    From Samson

    Hi,
    In each and every document table the base docs and the target docs information is stored.
    Just take a look at the REF DB help file in which u can see the fields and their relations.
    For AR Invoice in the lines table INV1 there are 3 fields BaseRef,BaseType,BaseEntry these fields help u in knowing the base doc details, and for the target doc details the following fileds will help, TargetType,TrgetEntry.
    U can find the reference file at the following location. C:\Program Files\SAP\SAP Business One SDK\Help\REFDB.chm
    Vasu Natari.

  • Reconnect base and target document if duplicate marketing document

    How can you reconnect the links between the base and target documents when you duplicate marketing documents? 
    For example,  an error was made during the entry of the GR PO and we performed the Goods Return.  However, when you create a Goods Receipt PO and then a Goods Return, the original PO is now closed.  How can you re-open the original PO or else link a new target document to it?
    Thank you.

    Thats right.  You can create a new business process for Exceptions and exceptions have to handled as a one off situation.
    I would suggest you take measures to minimize the error by putting business rules in place and for these one off situations simply type in the PO / SO number in the remarks.
    Creating all document is a big efforts.
    Suda

  • Activate Base and Target Document menu's

    Hi all,
    i am facing a problem, i have added a new form and know i want want to activate Base Document and Target Document menu's of system for my form but when i am doing
               <b>oForm.EnableMenu("5898",True)</b>
    the system throws an exception that menu not found.
    can any body please tell me that is there any way to enable these menu's for user forms
    Thanks..

    Hi Manu,
    In B1, only when target and base documents arre present for a particular Sales/Purchase document, the menu target doc and base doc menus are enabled. otherwise it will not be enabled. Since this is disabled by the system, when you try to activate the system disabled menu it throws an error.
    Hope this helps.
    Amudha M.

  • Linking Base and Target document

    Hello Experts,
                                   How to Link 2 user defined forms as Base and Target document. Like it is done for Sales Order and Sales Invoice.
    Quick Reply will be very helpful
    Please Suggest

    Hello Manish
    Basically it is not possible by default, but you can code the logic behid.
    I am recommend to use linkedbuttons for drill down, and when the linked button is pressed, you can stop the event, and open your user defined form.
    here is a sample code for itemevent. I have a matrix, where i have used linkedbuttons in columns. On Col4 i have my object defined, so when the matrix link pressed i am opening my form.
    Now You can define some Base and Target Document types and keys stored in the database, and you can open your documents by this.
    Please note: Base and Target documents menus (in toolbar) will not work, because you cannot enable/disable them from SDK.
    Case SAPbouiCOM.BoEventTypes.et_MATRIX_LINK_PRESSED
                    If (pval.BeforeAction = False) Then
                        oMatrix = otmpform.Items.Item("3").Specific
                        oMatrix.GetLineData(pval.Row)
                        Select Case pval.ColUID
                            Case "COL4"
                                sCode = otmpform.DataSources.UserDataSources.Item("COL4").Value
                                Call StoragePlacesEX.CreateoStoragePlaceForm(otmpform)
                                Call StoragePlacesEX.GetData(otmpform, sCode)
                        End Select
                    End If
    Regards
    J

  • I just bought this iPad today any I set up my iTunes account and I purchased a app store card and a iTunes card but when I try to dowload stuff it won't let me what's the problem

    Need help please I just bought this iPad today and I factory reset it and then I plugged into my laptop and downloaded the latest software I went and purchased a app store card and a iTunes card but when I try to download apps it won't let me if anyone can help with this problem it would be greatly appreciated. Thanks in advance. Antawn

    Hello Tntingey,
    The gift card you've given your father must be redeemed via the steps below.
    Redeeming iTunes Gift Cards and content codes
    http://support.apple.com/en-us/HT201209
    Cheers,
    Allen

  • HT3702 Is it possible to have one credit card and two debit cards on my itunes account so that we can use different cards for different purchases?

    Is it possible to have a number of cards (say one credit card and two debit cards) to be listed as the payment cards for my itunes account, so that different cards can be used for different purchases?  Or can you only have one card registered on itunes at any one time?

    So is there any way that three members of a family can share one itunes account but pay for their own purchases, other than inputting their own cards each time they make a purchase.
    No, there is no way to do that.
    Or if we all have our own individual itune accounts, can we share each other's music, or can you only sync your iphone/ipad/mac, with one itune account at a time?
    You can sync content from up to five iTunes Store accounts to any given computer or device. You just will each have to copy the content into your own libraries so you can sync to your devices and have your devices authorized to all applicable accounts.
    Regards.

  • My daughter added songs with her I Tunes Card and My credit card was charged, what do I do?

    My daughter added songs with her I tunes card and my credit card was charged, how do I get it off my credit card?

    What process did your daughter use, there is a specific format to redeem an iTunes gift card. The gift card must be redeemed using the Redeem link in the Quick Links on the right side of the iTunes Store in iTunes on a computer or the Redeem button at the bottom of both the iTunes and App Store apps in iOS. Redeeming the gift card then applies the value of the card as an available credit to the user's iTunes account. The credit is used first before any bank card also stored in the account. If the purchases use the entire credit and there is an additional balance due, it will be charged to any bank card stored in the account.

  • When I complete all the steps to create Apple ID.In part that requires the credit card i dont have credit card and the option none does not appear.What can I do?

    When I complete all the steps to create Apple ID.In part that requires the credit card i dont have credit card and the option none does not appear.What can I do?

    Greetings anabeqiri, 
    Thank you for contributing to the Apple Support Communities. 
    The advice and steps in this article may help if you don't see "None" as a payment option when creating your Apple ID:
    Why can’t I select None when I edit my Apple ID payment information? - Apple Support
    All the best,
    Jeremy 

  • Hello ! how to change document sizes and use our own size (not A3, A2 ...) thank you !

    hello ! how to change document sizes and use our own size (not A3, A2 ...) thank you !

    Experiment. No harm in trying.
    If you are just starting to use Pages you need to make your own assessment given current events whether committing your work to a format and software given this support is a wise move.
    You also need to look at what will produce workable results. Particularly if your large posters are to be commercially printed and contain large bitmap (photographic) images.
    Always work backwards from your output. Ask your printer what they require to do their job.
    Peter

Maybe you are looking for

  • Can't Access Router Settings via 192.168.2.1

    I have recently changed modem/routers as my connection speed was increased recently and the old modem wasn't up to the task... The previous modem/router was preconfigured and I did nothing to it, however the new one requires settings be fixed by acce

  • Event registration using scripting

    Hi Has anyone been involved in the implementation of event registration using the scripting module? If yes,please reply asap rgds Naveen

  • Need Help with Video Transitions

    Hi, I'm using a mac book pro with leopard. recently i installed my old version of imovie HD6 on my computer. Now i can't use most of the transitions available on the software.i can see the effect but i can't add it to my clips. I have the same softwa

  • Cisco WLC 5508 Mac Filtering

    Hi Group, how are you?. I know as Mac filtering feature works, but I need the opposite. I need to filter some mac-address to a particular SSID and permit all the other mac-address. Please, has anyone any ideas?. Thanks. Andrés.

  • Sony HD Footage Needs Additional Components

    Hi Gang I'm working with FC6 I have QT Version 7.6.4 (518.35) Certain HD Footage shot on a Sony HD camcorder at 23.97 Frame Rate won't open in QT, just get a black screen. And in Final Cut, only get sound no Video. QT prompts me that certain addition