Invoice A/R Payment Split Transaction into Several GL Accounts

Hi,
I got following message from SAP Support:
The SplitTransaction property is not included in product develop plan by now.
By SAP Note 1028874, we would like to ask you to post your requirement in our SAP Business One Product Development Collaboration forum and not via message:
/community [original link is broken]
Please refer to Note 1028874 for more information.
ISSUE
Sample 2, Bank transaction:
I have build a Payment routine in Invoice A/R.
I am doing a Bank transfer in Payments regarding payment with Interact (direct Payment from Bank
account)
Here in Canada you have the possibility to withdraw money: Sample invoice cost $100, you can pay
$200 and receive $100 in cash.
Sample I like to do:
GL Account A $200 (Account Number, Debit )
GL Account B $100 (Account Number, Credit)
GL Account C $100 (Business Partner, Credit)
Any suggestion?
In the Payment describtion I can do a  vPay.SplitTransaction = 0; but this is not working according to SAP Support.
SUMMARY
I like to do a payment and Split the Transaction into several accounts; like Journal Entry with reconciliation of the Journal Entry and the Invoice.
Thank you,
Rune

Hi Peter,
I do not want you to promote the future code; but the code in SDK as today.
Sample, it would look something like the code below from SDK help code; but please change the code to work as your sample.
Thank you,
Rune
vPay.Invoices.AppliedFC = 0
vPay.Invoices.AppliedSys = 0
vPay.Invoices.DocEntry = 8
vPay.Invoices.DocLine = 0
vPay.Invoices.DocRate = 0
vPay.Invoices.InvoiceType = 13
vPay.Invoices.LineNum = 0
vPay.Invoices.SumApplied = 5031.2
Call vPay.Invoices.Add
vPay.CardCode = vmp_CardCode_string;
vPay.DocDate = DateTime.Now;
vPay.JournalRemarks = "Incoming - Payment Bank Transfer";
vPay.TaxDate = DateTime.Now;
vPay.TransferAccount = vmp_BankAccount_string;// "_SYS00000000343";
vPay.TransferDate = DateTime.Now;
vPay.TransferReference = vmp_CardCode_string;
vPay.TransferSum = vmp_Amount_double;
vc_Message_Result_Int32 = vPay.Add();

Similar Messages

  • Split pages into several reports.

    We have reports that need to be separated. At printing the report includes several invoices. When we print on both sides of the paper, next invoice continues on the back. Is there a way to continue printing on a new paper if the invoice number changes and print at the back if the invoicenumber is the same?
    //Daniel

    Hi Daniel,
    You will have to modify your Crystal Report and your invoice should go into multipul even pages, then this issue will get resoved.  As the printer will not know / can't instruct printer to print fresh invoice in a different new page.
    Thanks,
    Sastry

  • Split PDF into several new files

    I have a .pdf file that I'd like to turn into three separate .pdf files. I know I can do this through screen capture, but the image isn't as sharp as the original text. How can I create new .pdfs from portions of the original one?

    Alas, the sections I want to split the .pdf into don't break down neatly by page. For instance, the first section is only part of the first page, and the second section bridges two pages.
    Is there any way I can create page breaks for each section and then extract pages?

  • F110 Payment to vendor with several bank accounts

    Hi to all,
    I have a vendor with 2 bank accounts, each one for its subisidiaries .
    We pay this vendor's head office via transfer and to do so, use transaction F110. Depending on the subsidiary, our vendor wants us to use one account or the other.
    All open items go under the head office number, my question is: how do I assign the right bank account to the open items?
    I tried with the alternative payer funcionality but did not work.
    Can you please help?
    Cheers

    The BVTYP is free. If a bank account accepts only one currency, the easiest is to take this currency as BVTYP in LFBK. You should have your own rules for the others cases: for example BVTYP 'EUR' for euro and 'OTHE' for all others currencies. You should use substitution with user exit. If you don't know the technique, please search in forums with keyword 'RGGBS000'.
    The user exit should do the following (for example):
    1) search in LFBK one row with LIFNR = BSEG-LIFNR and BVTYP = BKPF-WAERS.
       if found then BSEG-BVTYP = BKPF-WAERS
    2) if not found, search in LFBK one row with LIFNR = BSEG-LIFNR and BVTYP = 'OTHE'.
       if found then BSEG-BVTYP = 'OTHE'.
    3) if not found, do nothing; BSEG-BVTYP remains empty.
    - With such an exit, you have to fill BVTYP in LFBK only when the suppllier has more than 1 bank account.
    - You should also decide whether BVTYP should be ready for input or not; if yes you should decide what has priority: user's input or substitution (but I think that leaving the field ready for input and overwrite it in substitution has no sense and is dangerous, so in this case the substitution should do nothing for non empty BSEG-BVTYP).

  • How to split batch to several sub-batch via 'MB1B'

    Hi, experts, i would like to split batch into several sub-batches via 'MB1B', is there relative move type?

    You can use 309 material to material transfer movement type. Transfer your stock to from Batch A to Batch B, C, D, E (in Receiving Batch Field) depends on the quantity you have.
    If It helps you, kindly give points.
    Regards,
    RM

  • Invoice and Payment in transaction with rollback

    Hi,
    I want to create a payment and an invoice in one scenario step as a synchronous WS call.
    If I create the payment first, then the invoice, how can I roll back the payment if the invoice fails?
    Thanks,
    Jon

    Hi Gordon,
    I mean that if I successfully add the invoice, but for whatever reason the payment fails to add.
    If I was coding this in c# I would start a company transaction, add the invoice, add the payment and then commit the transaction.  If there was a problem adding the payment I would expect the transaction to roll back.
    Is there a way I can wrap the two document creations into a company transaction with B1if?
    Regards,
    Jon

  • Split a Shipment costs document into several MM document by carrier

    Hi gurus,
    I am trying to split a Shipment costs document into several MM document by carrier. We need the system to search for an existing MM order if not found create a new one (the system is set to do it by V_TVFT-BESER value “A”).
    I have a route with different stages. These stages/steps have associated different carriers (or partners).
    When these data is transferred to MM purchase order the system gives an error with the message no. M7107:
    Enter goods receipts for vendor 103962 only
    Message no. M7107
    The system does the purchase orders but not the 101 movement.
    Does someone met this problem before?
    I am in 700 SAP version with package 12
    Regards.
    Mikel

    Hi,
    Check out BADI BADI_SCD_PO_SELECT. This allows you to control which purchase order is used for shipment costing.

  • Editing a message, splitting into several parts, adding attachment to a part

    I feel stupid.
    I just started a discussion with the intention of splitting my post into several parts, but it seems that I can't do that unless I "comment" on my first post. This would be OK, except that I cannot seem to be able to insert anything to these comments but images and urls. I want to attach a zip file, but I have no button to do so. The "Add Attachment" button at the bottom of the message window is appearing only for NEW POSTS (such as this one)!
    Third, I can't seem to be able to edit my post which was submitted a minute ago.
    Help, Help, Help!
    Thanks,
    X. 
    Solved!
    Go to Solution.

    X-) wrote:
    - No attachment for comments
    This is a very recent change and hopefully we get that functionality back.
    X-) wrote:
    - Ridiculously short Edit window
    I would recommend composing and refining the idea/reply offline.
    Personally, I think the edit time window should be extended, but I am not sure how long it should be. It probably should not be infinite to avoid race conditions. For example if there is already an extensive discussion of the current versiont and then the idea suddenly changes 180 degrees, none of the replies would make sense anymore and people even might want to revoke their kudos. Note that I often quote the existing post (as above!) to (1) make it clear what I am replying to and (2) to keep the answer clear even if you would have edited the above sentences into something completely different in the meantime.
    Historically, I think the edit window was forced to be very short to allow reasonable syncing with the newsgroup mirrors (e.g. LabVIEW forum vs. comp.lang.labview), but this is no longer an issue. What would be reasonable? 1 hour? 1 day?
    Should existing repliers be notified of edit changes?
    For longer edit windows, we might also need an versioning control mechanism (e.g. like in wikipedia). where older version can be inspected by the public.
    Minor edits can be done by the moderator at any time. This should be reserved for simple mistakes (e.g. forgetting a "not", inverting the actual meaning, or changes in the title to make it clearer.)
    In general, I agree that things can be improved. We just need to find the sweet spot.
    LabVIEW Champion . Do more with less code and in less time .

  • FCP Splits QT movie file into several files... problem and solution.

    Hi All,
    I was having problems exporting a QT movie (Video Only) of a 20 min Reel within a Feature Film I edited. The Database was quite large - the film was 2Hrs and Footage was about 12X.
    FCP would split the QT movie file into several files - only one of which was openable (either in FCP or the QT player). To my surprise, I also found that even though the file opened fine, I would get an error message when trying to copy it or its associated files over to another HD (Tiger would abort, after giving me an error No. and saying that there was an error while copying). The problem was repeatable and specific to this sequence.
    After some testing, I found that copying the clips (Video Only) to another sequence and re-exporting, seemed to solve the problem. My take on this is that too many ( > 12? ) Audio tracks causes problems in FCP when the database is large.
    But I do need these additional tracks. Any work arounds?
    Thanks,
    RD

    First, look in System Settings, and see if you've checked the box to limit file size to 2GB. Uncheck that box. See if that helps.
    Or it could just be a corrupt project causing the problem.

  • Split table record into several lines - pdf forms

    hello experts
    im trying to split a table record into several lines in order to present the whole table record in the form.
    for example:
    table T has 4 fields F1 F2 F3 F4
    if the tables has 2 records - R1 and R2 (every record contains 4 data fields) then i want to present my table in the following way:
    R1-F1 R1-F2
    R1-F3 R1-F4
    R2-F1 R2-F2
    R2-F3 R2-F4
    please do not refer me to links - i really need a specific procedure
    thanks ahead to all
    Eyal
    P.S i am using the adobe lifecycle - SFP tran.

    hey everyone
    it has been solved
    for the record:
    subform table (flowed content) contains 2 positioned subforms
    subforn header
    subform lines contains 2 flowed subforms 1 for the first two fields and 1 for the ladt two fields
    thank anyway
    Eyal

  • Splitting HTML forms into several files

    I have an HTML form that has a lot of text inputs. I want to split this form into several pages using JSTL and Struts tags in the following manner:
    main file
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="h" %>
    <h:form action = ...>
    <c:import url=' file1' />
    <c:import url=' file2' />
    </h:form>
    file 1
    <h:text name=' ...' />
    <h:text name= '...' />
    file2
    <h:text name=' ...' />
    <h:text name= '...' />
    The problem here is that the <h:form> is on the "main file" and therefore I get an error in file1 and file2. Is there a way to pass the "prefix=h" variable from the main file to file1 and file2?
    Can anyone help find a solution for this problem?
    thanks,
    sgs.

    Instead of
    <c:import url=' file1' />
    <c:import url=' file2' />
    Can you test with ..
    <%@ include file="file1.jsp" %>
    <%@ include file="file2.jsp" %>
    My guess is that it should work since your stuts form tags in the 2 files will be ultimately compiled as one jsp [in the main one].
    -Rohit

  • ITunes splits songs from the same album into several albums, all sort fields appear to match. Any suggestions on how to put them in one album?

    iTunes sometimes splits songs from the same album into several albums, all sort fields appear to match. Any suggestions on how to return them to the proper album?

    Generally all you need to do is fill in an appropriate Album Artist. For more details see my article on Grouping Tracks Into Albums, in particular the topic One album, too many covers.
    N.B. Giving different things the same sort value (or indeed vice versa) tends to lead to trouble.
    tt2

  • Split an AVI movie into several segments in PE 4

    I am new to using PE and have an old version which I never used.   I have tried to do this with Roxio Creator 2009, Nero 9, and Studio 9 with no luck.
    I captured a video from a Canon ZR 45.  I contains 2 actual sessions which I would like to make into 2 separate videos.   I can find no way to actually just split at the point I want and save the avi file into 2 separate files.   I also want to take one of the sessions and split it up into multiple sessions to load on facebook.   I have read some suggestions using PE 7, but I am not sure they work on PE 4 that I am using.
    Here is basically what I want to do.
    Split the origiona 12 GB avi capture file into 2 files.
    Take the first session (23 minutes) and split that into smaller sessions (files) so I can do something different with each.
    Any suggestions or recommendation for other software that can do this?
    I do not want to get PE 8 unless I can get this to work...

    Let's assume that you have done the Capture from your Canon and have the AVI's in both your Project Panel, and have placed those onto your Timeline. When you have edited out everything that you do not want, and have your Timeline exactly, as you wish, you need to Export/Share.
    To do this segmentally, you need to use the WAB (Work Area Bar), placing it's In Point, where you wish your Exported movie to start, and its Out Point where you wish the movie to end. When you go to Export/Share, you will limit that Export to WAB only. Here's a look at the WAB:
    For your multi-segment movie, you'll do the same, but the Duration of the WAB will just be smaller for each Export/Share.
    Now, I do not know what the requirements of Facebook are, and there might be formats that would be required, that do not allow you to Export with the WAB. If this is the case, just Export/Share to DV-AVI as, say 4 individual files (w/ the WAB), and then Do 4 new Projects, using Get Media for each of your 4 AVI files, one at a time. Then you can Export/Share your entire Timeline to that necessary format, one at a time.
    Good luck, and if any of this is not clear, just let us know,
    Hunt

  • What design to split bank transactions into more detail? (in budget database)

     Current Design:
    * I have a budget/finance tracking database I’m building
    * It has a BANK_TRANSACTIONS table where I load in transactions from various bank accounts
    * It there has an ALLOCATIONS table to allocation a bank transaction to a business area (e.g. allocate the phone bill item 50% to “personal” and 50% to “work"
    Question:  What would be the best database design approach to be able to breakout a bank transaction into smaller items?  For example there may have been really two (2) items purchased and turn up in a single bank account.    I still want
    to maintain the correctness of imported bank transactions themselves.
    For example some ideas that come to mind:
    a) add new detailed transactions to BANK_TRANSACTIONS for the detail, with a new column “REPLACED” so the the original bank transaction is there but can be marked as “replaced” so it doesn’t get used in queries/reports.  Then another RELATIONS table to
    relate the new detailed record to the parent original bank transactions.   Not sure if this would be considered good design or not
    b) have a separate table for BUSINESS_TRANSACTIONS so the detailed transaction go here.  But then 95% of the items in the BANK_TRANSACTIONS would just need to be duplicated in the BUSINESS_TRANSACTION table??
    Other ideas???
    In terms of usage/output would like have the concept of being able to show:
    a) maintain valid true bank transactions that are valid, as it is from there you can see your overall bank balance (across multiple accounts) across time,
    b) in terms of reporting for expense categories / taxable items etc need the detailed BUSINESS_TRANSACTION so to speak...

    Personally I would create a transaction header table that would hold the date and total amount of the transaction and any other header data and a detail table for the detail.
    Andy Tauber
    Data Architect
    The Vancouver Clinic
    Website | LinkedIn
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
    "Mark as Answer" and "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

  • How GL groups AP transactions into Journals

    Hi,
    When I transfer AP transactions like validated invoices and payments how they get grouped into Journals in GL. Is it one Journal per invoice/payment or invoice lines can be distributed to multiple journals? What is the criteria transfer program or GL uses to group invoice lines or payment lines to Journals?
    When I checked Vision database, I found a invoice lines ( distributions ) were seen in multiple journals, I also noticed one Journal made of just one invoice distributions. I also seen one Journal has multiple invoices distributions? I am confused and wondering if there might be some setup's/options causing this haphazard grouping. Any help in understanding this process appreciated
    Thanks,

    Hello.
    Run the following query to see what Categories are coming from Payables.
    select distinct je_category
    from gl_je_headers
    where je_source = 'Payables'
    If you enter an invoice and validate it, when you post it to GL, the invoice header and all lines will be in the same journal. Later, if you make some modification on it (cancel and re-enter a distribution, for example) those modification will go into GL in a different Journal. The same thing happens with payments.
    Hope this helps.
    Octavio

Maybe you are looking for

  • MSSQLServer4 - Accessing columns from a select with the same name

    The following describes a problem I'm encountering using the MSSQLServer4 driver...I have the following 2 tables (greatly simplified): Create Table BOOK( BookId int, Name varchar(50), AuthorId int ) Create Table AUTHOR( AuthorId int, Name varchar(30)

  • LSMW file upload from presentation server

    Hi, We are using LSMW to create new Document info records and will need to upload/ attach multiple files to the DIR. everything is working except in the IDOC processing stage, it errors out - "Error while checking in and storing: otlta134a\pcm\test1.

  • Oracle database upgrade 9.2.0.6 to 9.2.0.8 then 11g

    Hi, We have freshly installed oracle application of version 11.5.10.2 ,So oracle database version 9.2.0.6 is shipped with this oracle application. We want to upgrade our oracle database from 9.2.0.6 to 11g. PATH : 9.2.0.6 --> 9.2.0.8 --->11.2.0.1 Our

  • Itune error code 3 come  at the end of restoring process

    help!! my iphone 5 is stuck in recovery mode and when I try to restore it,my iphone start restoring (ios7.1)but in middle of restoring I get itune error code 3,so pls help and the error come  at the end of restoring process

  • How to bind a String object to java:comp/env name space?

    Hi, does anybody know how to declare a String as a JNDI object in OC4J V904. I want to register a String named 'Foo' with the value 'val' with JNDI. Eventually I want to get the value of this by referencing this JNDI name: java:comp/env/ejb/Foo I don