Creating bank account use with API

Hi everyone, I'm trying to create internal bank accounts with the given oracle API's but I'm stuck at a point that has me tearing my hair out. It is at the point where I create a bank account use.
I saw a reference for a metalink note 948993.1 but I am unable to view this in metalink for whatever reason. It says the document has been deleted or I do not have access to it. Very unsure why this is the case.
My API portion for this is:
-- first set bank account use record type
v_acct_use_rec.bank_account_id := v_acct_id;
v_acct_use_rec.primary_flag := 'Y';
v_acct_use_rec.org_type := 'LE';
v_acct_use_rec.org_id := v_org_id;
--v_acct_use_rec.org_party_id := v_account_owner_party_id;
v_acct_use_rec.legal_entity_id := v_account_owner_org_id;
v_acct_use_rec.ap_use_enable_flag := 'Y';
v_acct_use_rec.ar_use_enable_flag := 'Y';
v_acct_use_rec.xtr_use_enable_flag := 'N';
v_acct_use_rec.pay_use_enable_flag := 'N';
v_acct_use_rec.authorized_flag := 'Y';
v_acct_use_rec.bank_charges_ccid := v_bank_charges;
v_acct_use_rec.asset_code_combination_id := v_cash_acct;
v_acct_use_rec.cash_clearing_ccid := v_cash_clearing_acct;
v_acct_use_rec.receipt_clearing_ccid := v_conf_recpt_acct;
v_acct_use_rec.unapplied_ccid := v_unapp_acct;
v_acct_use_rec.unidentified_ccid := v_unident_acct;
v_acct_use_rec.on_account_ccid := v_on_acct;
v_acct_use_rec.edisc_receivables_trx_id := v_earned_trx_id;
v_acct_use_rec.unedisc_receivables_trx_id := v_unearned_trx_id;
-- then run API
CE_BANK_PUB.create_bank_acct_use
p_init_msg_list => fnd_api.g_true,
p_acct_use_rec => v_acct_use_rec,
x_acct_use_id => v_acct_use_id,
x_return_status => v_return_status,
x_msg_count => v_msg_count,
x_msg_data => v_msg_data
But I keep getting this error:
Select treasury account use only when the access organization is legal entity
Even though I have explicitly stated that I do not want to use xtr.
Any help will be most welcome.
Many thanks

Can you check and see if the following document helps:
R12 - How to Create an Internal Bank Account Access to Payables, Receivables and Treasury? [ID 1163205.1]
The doc is functional in nature, however it may be of use since the issue looks similar.
Hope this helps.
Thanks and Regards
Manish Jain.

Similar Messages

  • Problem with creating customer account using TCA Java API

    Hi,
    I am trying to create customer account using TCA java API. i am getting exception saying PL/SQL numeric error: character to number conversion. but this error raises when calling API method
    HzCustAccountV2Pub.createCustAccount.
    can any body help me in solving this issue, any clue why this exception raises. i have tested even the code given in TCA API user guide. that code also gets same error.

    package client;
    import java.math.BigDecimal;
    import java.sql.Timestamp;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import oracle.jdbc.driver.OracleConnection;
    import oracle.jdbc.driver.OracleCallableStatement;
    import oracle.jdbc.driver.OracleTypes;
    import oracle.apps.ar.hz.v2api.HzCustAccountV2Pub;
    import oracle.apps.ar.hz.v2api.HzPartyV2Pub;
    import oracle.apps.ar.hz.v2api.HzCustomerProfileV2Pub;
    class CreateCustAccount {
         public static void main(String[] args) throws Exception {
         HzCustAccountV2Pub.CustAccountRec p_cust_account_rec = new HzCustAccountV2Pub.CustAccountRec();
         HzPartyV2Pub.PersonRec p_person_rec = new HzPartyV2Pub.PersonRec();
         HzCustomerProfileV2Pub.CustomerProfileRec p_customer_profile_rec = new      HzCustomerProfileV2Pub.CustomerProfileRec();
         BigDecimal[] x_cust_account_id = new BigDecimal[1];
         String[] x_account_number = new String[1];
         BigDecimal[] x_party_id = new BigDecimal[1];
         String[] x_party_number = new String[1];
         BigDecimal[] x_profile_id = new BigDecimal[1];
         String[] x_return_status = new String[1];
         BigDecimal[] x_msg_count = new BigDecimal[1];
         String[] x_msg_data = new String[1];
         try
         Class.forName ("oracle.jdbc.driver.OracleDriver");
         OracleConnection conn = (OracleConnection) DriverManager.getConnection ("jdbc:oracle:thin:@ebiztst.trianz.int:1526:PATCH","apps","apps");
         HzCustAccountV2Pub custaccountV2Pub = new HzCustAccountV2Pub();
         p_cust_account_rec.account_name = "John Ac";
         p_person_rec.person_first_name = "John";
         p_person_rec.person_last_name = "Smith";
         p_cust_account_rec.created_by_module = "TCA_EXAMPLE";
         HzCustAccountV2Pub.createCustAccount(
         conn
         , "T"
         , p_cust_account_rec
         , p_person_rec
         , p_customer_profile_rec
         , "F"
         , x_cust_account_id
         , x_account_number
         , x_party_id
         , x_party_number
         , x_profile_id
         , x_return_status
         , x_msg_count
         , x_msg_data
         System.out.println( "x_return_status = " + x_return_status[0] );
         System.out.println( "x_msg_count = " + x_msg_count[0] );
         System.out.println( "x_msg_data = " + x_msg_data[0]);
         if (x_msg_count[0].intValue() > 1) {
              OracleCallableStatement ocs = null;
              for (int i=0; i<x_msg_count[0].intValue(); i++) {
              ocs = (OracleCallableStatement)conn.prepareCall(
              "begin ? := fnd_msg_pub.get( p_encoded => ’F’ ); end;");
              ocs.registerOutParameter(1, OracleTypes.VARCHAR);
              ocs.execute();
              System.out.println((i + 1) + ". " + ocs.getString(1));
              conn.close();
              } catch (ClassNotFoundException e) {
              System.out.println("Driver Not Found: " + e);
              } catch (SQLException e) {
              System.out.println("SQL Error." + e);
    }

  • INVALID_PARTY_CONTEXT while creating Bank accounts at supplier site level

    Hi All,
    I am trying to create a bank account at supplier site level using below code.
    IBY_EXT_BANKACCT_PUB.CREATE_EXT_BANK_ACCT(p_api_version => 1.0,
    p_init_msg_list => fnd_api.g_true,
    p_ext_bank_acct_rec => l_ExtBankAcct_rec,
    p_association_level => 'SS',
    p_supplier_site_id => l_vendor_site_id, --Vendor_site_id from ap_supplier_sites_all table
    p_party_site_id => l_party_site_id, --party_site_id from ap_supplier_sites_all table
    p_org_id => p_org_id, , --org_id fron which the program is run
    p_org_type => 'OPERATING_UNIT',
    x_acct_id => x_acct_id,
    x_return_status => l_return_status,
    x_msg_count => l_msg_count,
    x_msg_data => l_msg_data,
    x_response => x_response);
    when I run this code from concurrent program.
    x_return_status is NULL, x_msg_count is also NULL, X_msg_data is also NULL.
    Whereas in x_response i am getting x_response.Result_Code = INVALID_PARTY_CONTEXT
    Can you please help, why is it not able to create bank account, I have valid bank and branch for this.
    Thanks,
    Sachin

    Thanks for reply Hussain.
    I have checked all these notes, 2 our of these 2 are for AR API's.
    The first note says that it would given error if you try to create a supplier of type 'EMPLOYEE' and site is given other than 'HOME' or 'OFFICE', but I am creating supplier of type 'VENDOR' and 'EMPLOYEE'.
    This note has solution "Set supplier site = 'HOME' or 'OFFICE' type.".
    As we are not creating supplier of Type 'EMPLOYEE', i guess this solution does not hold good for us.
    Any other suggestions please?
    Thanks,
    Sachin

  • Sub Bank accounts mapping with main Bank account

    Bank accounts
    Hi
    How can we will map with main bank account to sub bank accounts.
    Example; My main bank account: 1111, and
                              Sub bank account :  2222 ( Deposit account)
                              Sub bank account: 3333 (Cheque issue account)
    Regards
    PVC

    Hi
    Bank account-  This is the G/L account that you provide at the Housebank level configuration in FBZP.
    Sub account - This is the G/L account which you provide in the Bank Determination level in FBZP
    Now conceptually there are many transactions which need to be routed through clearing accounts. This is where the sub accounts come handy and are used for clearing purposes. they are open item managed accounts. So clearing is possible. In the end the main bank account tallies with your bank balance and moreover the clearing accounts become zero after all clearing has happened.
    Moreover the best way to maintain the G/L in SAP would be
    XXXX0 as the Main account
    XXXX1 say outgoing checks
    XXXX2 say outgoing wires
    Hope this clarifies
    Rgds

  • Error when create bank account transfer

    Hi All,
    When I created bank account transfer, i got error message "oracle.jbo.RowValException: JBO-27012: Row validation method validate() failed for row with key oracle.jbo.Key[282 ] in PaymentTransactionsEO"
    Need some help
    Thanks
    FN

    Hi,
    Can you provide more info? Release, form where you are performing that transaction?
    Thanks,
    Javier

  • By mistake, I created iTunes account using email that was used in my main acc.

    Hi! By mistake, I created iTunes account using email that was used in my main acc. After that, everything i have bought/downloaded and etc disappeared.What should i do?

    The primary email addresses on iTunes accounts have to be unique, you shouldn't be able to create a new iTunes account with the same primary email address unless the existing account had been deleted (only iTunes Support can potentially delete an iTunes account).
    Had you asked iTunes Support to delete your existing account ? If you did then that would also have deleted its purchase history. Or had you changed the primary email address on the old account ?

  • Creating a mapping using the API

    Hi Brian, I am curious about this use case - what's the reason you are looking to do it using the API? You can create several objects using the API and the most typical use case we have observed is where mapping developers create a pattern or what we call as a "template" - which is a mapping with various properties parameterized. For example you can create a mapping with the filter parameterized, or define a very generic mapping with source, target and the field map between those all parameterized. Once you do that, you can create a "task" for this mapping (known as Mapping Configuration Task) - that can be done using our UI or using our REST API. If you choose the latter, you can pass on parameter values as part of the API request. Suggest you to take a look at our new Developer Portal, and specifically at the sections Templates and REST API there. Feel free to post any further questions here. If you sign up to the developer program there, you will get much more direct help.https://community.informatica.com/community/technology_partner_network Amol

    I was wondering about creating a mapping using the API. It clearly states in the Dev guide that this is possible, but when I perform a get mapping request, I don't see all the information given for a certain object.  For example, I don't see an expression in the mapping object (although one exists when I view the object in Cloud).   Has anyone else done this? Is it easy to create objects via the API?  Thanks!

  • Currency Create Bank Account Transfer in CE R12.1.3

    Hi,
    I would like to ask about different currency when we tried to create Bank Account Transfer.
    Can we transfer IDR currency to USD ?
    Transfer date: 03 Oct 2012
    Currency: USD
    Transfer Amount: 1500
    Bank Source: IDR
    Bank Destination: USD
    it supposed to be okay but when tried to validate, there was error:
    "Please select a Source Bank Account currency that matches its ledger currency."
    Kindly need help
    Thanks
    Findy

    Hi,
    I would like to ask about different currency when we tried to create Bank Account Transfer.
    Can we transfer IDR currency to USD ?
    Transfer date: 03 Oct 2012
    Currency: USD
    Transfer Amount: 1500
    Bank Source: IDR
    Bank Destination: USD
    it supposed to be okay but when tried to validate, there was error:
    "Please select a Source Bank Account currency that matches its ledger currency."
    Kindly need help
    Thanks
    Findy

  • How to create RMA lines using OE_ORDER_PUB API

    Hi All,
    We are trying to create RMA lines using OE_ORDER_PUB API but every time API creating <b>Standard Order Line</b> line type in application.
    My program is creating order header as a <b>Return Order</b>, i am passing corrent line type ids (1028 - RMA Shipment, 1027 - RMA Receipt) but oracle API is creating Standard Order Lines (ID 1001).
    Can any one tell me about that?
    Thanks
    Ravi
    null

    Check the defaulting rules setup. Defaulting rule will derive the line type based on the order type and shippable flag etc.
    Also check the line flows assigned to the order type in transaction types window.
    Thanks / Bhaskar Akkala

  • Issue in creating sales order using process_header API

    Hi all,
    We have a requirement to create sales order using apps adapter in ebiz from SOA suite composite.I used OE_ORDER_PUB.Process_header API to create order header.
    When I pass the inputs and test the service,I get output with return_status='S'. But no record falls at the OE_ORDER_HEADER_ALL table.
    I cant identify where the problem is.Pls suggest me with the things to resolve this issue.
    Thanks,
    goutham

    Hi all,
    We have a requirement to create sales order using apps adapter in ebiz from SOA suite composite.I used OE_ORDER_PUB.Process_header API to create order header.
    When I pass the inputs and test the service,I get output with return_status='S'. But no record falls at the OE_ORDER_HEADER_ALL table.
    I cant identify where the problem is.Pls suggest me with the things to resolve this issue.
    Thanks,
    goutham

  • How to create the Frame object with API in 6i?

    do i create an item using d2fitmcr_Create, and then set the type or style to frame? or is it a graphics item that i have to create using a different function? ive tried various combinations with no luck.
    ive looked at the frame object in the GUI, and cant figure out how to duplicate it using the API (the frame object is the thin line box with a label used to groups items visually on a form)
    thanks!
    [email protected]

    Frame is a type of graphic d2fgracr_Create() (d2fgra.h) then set the type as required using d2fgras_graphics_typ():
    Definition of Graphics types is in d2fdef.h
    ** Graphics Type (D2FP_GRAPHICS_TYP)
    ** [BPT]
    #define D2FC_GRTY_ARC              0                                 /* Arc */
    #define D2FC_GRTY_IMAGE            1                               /* Image */
    #define D2FC_GRTY_LINE             2                                /* Line */
    #define D2FC_GRTY_POLY             3                             /* Polygon */
    #define D2FC_GRTY_RECT             4                           /* Rectangle */
    #define D2FC_GRTY_RREC             5                   /* Rounded Rectangle */
    #define D2FC_GRTY_TEXT             6                                /* Text */
    #define D2FC_GRTY_GROUP            7                               /* Group */
    #define D2FC_GRTY_FRAME            8                               /* Frame */All the various properties for setting up the associated block etc (if required) can be set through macros in d2fgra.h

  • Problem in Creating Delivery Note using DI API

    i am using DI Api with Delphi Language to Create a Sales Delivery Note based on the sales Order.
    But Each time when i add, a new Record gets Created rather than the new Line.
          Document:= IDocuments(FCompany.GetBusinessObject(oDeliveryNotes));
          Document.CardCode         := 'A001'
          Document.Lines.BaseType   := 17;
          Document.Lines.BaseEntry  := 84;
          Document.Lines.BaseLine   := 4;
          Document.Lines.ItemCode := '001A';
          Document.Lines.Quantity := 10;
          Result := FODLN.Add;
    In this case,new rows are added each time in the tables ODLN and RDR1.
    How to avoid this.As this creates a individual Delivery Note for each time i add than to the Order Number.

    HI,
    The problem : Do not specify ItemCode if you specify Base document.
    So
    1st case
    Document:= IDocuments(FCompany.GetBusinessObject(oDeliveryNotes));
    Document.CardCode := 'A001'
    Document.Lines.BaseType := 17;
    Document.Lines.BaseEntry := 84;
    Document.Lines.BaseLine := 4;
    Document.Lines.Quantity := 10;
    Result := FODLN.Add;
    or
    2nd case
    Document:= IDocuments(FCompany.GetBusinessObject(oDeliveryNotes));
    Document.CardCode := 'A001'
    Document.Lines.ItemCode := '001A';
    Document.Lines.Quantity := 10;
    Result := FODLN.Add;
    1st case creates delivery note with only one row with reference to Sales Order
    Take care: BaseLine comes from 0
    2dn case creates delivery note with only one row WITHOUT reference.
    if you have more than one rows, use the
    Document.Lines.Add to enter another row
    Regards,
    J.

  • Creating filevaulted account using commandline

    Need help to locate the magic trigger.
    During the happy days of Tiger I was able to create a local user account with filevault enabled using a simple script. This did result in a sparsefile being created that worked just like the one the User account creation tool created.
    No moving forward to Leopard I'm facing the challenge of moving away from sparsefile and into the realm of sparsebundle. I can create the filevault, access it and dump data into it, the freshly created user can log in to the system using the provided password. But the second that the user are trying to change the password, he/she gets a 'You cannot change your password to the password you entered'. The more detailed description tells me that it is due to the account using filevault. The suggestion is to turn filevault off and on again.
    Now I'm puzzled - with sparsefiles this works without any problem, the second that I'm changing to sparsebundle it fails. Wherein lies the difference - the Apple provided tool for account creation manages to create accounts that can change password.
    Any hints are more than welcome, and no I cannot change to use OD, MCX. The accounts are created very locally on the single machine.

    Hi V.K.
    sorry about not posting a sample script. I'w now spend some time getting the pieces together from the large python script that are creating the user account. So here it is.
    #!/bin/sh
    mkdir /Users/johndoe
    hdiutil create -size 2g -type SPARSEBUNDLE /Users/johndoe/johndoe.sparsebundle \
    -volname johndoe -stdinpass -encryption \
    -certificate /Library/Keychains/FileVaultMaster.cer -fs HFS+
    dscl localhost create /Local/Default/Users/johndoe uid 12345
    dscl localhost create /Local/Default/Users/johndoe gid 12345
    dscl localhost create /Local/Default/Users/johndoe home /Users/johndoe
    dscl localhost create /Local/Default/Users/johndoe RealName 'John Doe'
    dscl localhost create /Local/Default/Users/johndoe UserShell /bin/bash
    dscl localhost create /Local/Default/Users/johndoe HomeDirectory \
    '<home_dir><url>file://localhost/Users/johndoe/johndoe.sparsebundle</url></home_dir>'
    dscl localhost create /Local/Default/Users/johndoe Picture \
    '/Library/User Pictures/Animals/Dragonfly.tif'
    dscl localhost create /Local/Default/Groups/johndoe PrimaryGroupID 12345
    /usr/bin/passwd johndoe
    mkdir -p /tmp/work
    hdiutil attach -mountpoint /mnt/work -stdinpass /Users/johndoe/johndoe.sparsebundle
    ditto -rsrcFork '/System/Library/User Template/English.lproj/' /mnt/work
    ditto -rsrcFork '/System/Library/User Template/English.lproj/' /mnt/work
    chown -Rh johndoe:johndoe /mnt/work
    hdiutil eject /mnt/work
    End of script
    As for not using the gui - well I'm at first not the author of the script, just the one fixing the issue with it in combination with SPARSEBUNDLE. Second I have no intention of making the Apple script counterpart to drive the UI user creation interface. The reason for the script in the first place is that we are not running a OD, nor binding the units to AD and do not have any plans in deploying MCX at this point. User accounts are created locally on the unit as part of a automated prep scrip, but if there are anyone that has a Apple script that will create the account and enable SPARSEBUNDLE max size - I'm all ears.

  • I have been charged in my bank account twice with 14.99 last 6/20 and 7/7. I did not authorized this purchase and no phone number or name to contact, how can I talk to a live person to stop this charges?

    I have been charged twice in my bank account of 14.99 and it was charged last 6/20 and 7/7/13. I did not authorize the charges and don't even know who made them. How can I talk to a live person to resolve this problem.

    There is no live customer service for iTunes on the telephone. Either click the Report link on the emailed receipt that you have recieved on the purchases or use this link to start an email conversation with the iTunes support staff.
    iTunes Support -
    http://www.apple.com/support/itunes/
    You should also look in the Purchase History for your account in the iTunes app on a Mac or PC and see what you were charged for. If you have set up a subscription here is the link for managing those types of purchases.
    http://support.apple.com/kb/HT4098

  • Creating Job material using public API from WIP

    Take the entered component part number and search in the WIP job material requirements. This should use a WIP API. If the material is found, increment the quantity. If material is not found, create the job material using public API. (Provide WIP API details)
    The java object, oracle.apps.csd.schema.server .CsdHvWipJobPvtEO is a wrapper to call WIP API. This should be used to create material requirements is this the procedure to create job material Req.
    from OAF how we have to create Job material transaction

    Hi Pat,
    What is your SBO version? I've seen several cases in which the login/connection procedure (both in the client and via DI API) has become much slower after upgrading to SBO 2005.
    Do you experience the same slowness when connecting via DI API in a non-WebService setting?
    I would not recommend using DI API in a web service context in the first place. DI Server would give you a much more robust, stable and scalable infrastructure to build upon.
    Henry

Maybe you are looking for

  • Gain access to portal application code in portal 7.3

    Hello, I'm particularly interested in a code of tclmitsamuimain~wd floorApp, this is a web dynpro (probably) application that displays the current active sessions of the users in portal. since the previous API's to get such information are deprecated

  • Downloading to folders

    Hello. I have a question regarding downloading images to folders. I am a big fan of artwork, and when I find a new artist, I usually save their entire gallery at one time. I am new to Macs, having used a PC all of my life, so forgive my ignorance abo

  • Copy service line items to new line items in the same contract (ME32K)?

    Hello friends, Requirement: There are many contracts (account assignment K) has service line items  (type 9). I need to copy a contract line item along with its service line items (1 or more) into a new line item in the same contract. I tried bapi_po

  • How to do FFT of vibrations signal?

    Hello, I'm trying to measure the time and frequency spectrum of a vibrations signal. My time plot seems to be ok, but my FFT graph doesn't look right. An expected vibration FFT graph of a bearing should look like peaks at various frequencies, but my

  • Problem with xml table, please help

    hello everyone, can you help me please , i need to read an xml file from the sap directory into  an L_XML_TABLE  declared as follow : TYPES: BEGIN OF t_xml_line,         data(256) TYPE x, END OF t_xml_line. TYPE-POOLS: ixml. DATA: l_ixml TYPE REF TO