Downpayment & Deposit object in DIAPI

I could not find Downpayment and Deposit object in DIAPI, anyone can help???
Thanks in advanced.

Hi Jerry,
Currently those objects are really not exposed in DI API, as you noticed. AFAIK Down payments will be exposed in SBO 2007, but I'm not sure about Deposit.
Sorry,
Ian

Similar Messages

  • A/P DownPayment Invoice Objects Id

    Hi
    Please tell me the A/P Downpayment Invoice Objects Id.
    Regards,
    M.Dhivya.

    Hi,
    CHeck this thread..
    ODPO and ODPI Object Id
    Vasu Natari.

  • Using XML to update objects in DIAPI

    I've been testing out the XML capabilities of DIAPI and have hit a road block.  When I run the following code I get an error that I can't update the address field even though I'm not actually changing the address field.  When I look at the xml and compare it to the 'order.Address' value, I notice that the 'ReadXML()' call actually changes the line breaks in the address from '\r' to '\n' and I'm guessing this is what flags it as changed.  Even if I remove the address fields from the XML, I move on to another failure of the DocRate field with the same error.  If I remove this one from the XML the error doesn't go away.  The end result is that I can't find a way to use XML to update existing documents.  Any ideas?
    <b>Sample code</b>
    company.XmlExportType = BoXmlExportTypes.xet_ExportImportMode;
    Documents order = (Documents)company.GetBusinessObject(BoObjectTypes.oOrders);
    order.GetByKey(1);
    string startingXML = order.GetAsXML();
    StringReader sr = new StringReader(startingXML);
    XmlTextReader reader = new XmlTextReader(sr);
    XmlDocument doc = new XmlDocument();
    doc.Load(reader);
    reader.Close();
    XmlElement root = doc.DocumentElement;
    XmlElement busPartElement = (XmlElement)root.SelectSingleNode("/BOM/BO/Documents/row/Comments");
    busPartElement.InnerText += "test";
    string updatedXML = doc.OuterXml;
    //company.StartTransaction();
    company.XMLAsString = true;
    Documents updateOrder = (Documents)company.GetBusinessObject(BoObjectTypes.oOrders);
    updateOrder.GetByKey(1);
    updateOrder.Browser.ReadXml(updatedXML, 0);
    string comment = updateOrder.Comments;
    updateOrder.DocRate = 0;
    if (updateOrder.Update() != 0)
         int ErrCode = 0;
         string ErrMessage = string.Empty;
         company.GetLastError(out ErrCode, out ErrMessage);
         System.Runtime.InteropServices.Marshal.ReleaseComObject(company);
         throw new Exception(ErrCode.ToString() +  " - " + ErrMessage);
    //company.EndTransaction(BoWfTransOpt.wf_Commit);
    <b>Error</b>
    System.Exception : -1029 -  [ORDR.DocNum] , 'Field cannot be updated (ODBC -1029)'
    When the following code is added the same error occurs with DocRate
    XmlNode row = root.SelectSingleNode("/BOM/BO/Documents/row");
    XmlNode childNode = root.SelectSingleNode("/BOM/BO/Documents/row/Address");
    row.RemoveChild(childNode);
    childNode = root.SelectSingleNode("/BOM/BO/Documents/row/Address2");
    row.RemoveChild(childNode);
    Adding the following doesn't make the error on 'DocRate' go away
    childNode = root.SelectSingleNode("/BOM/BO/Documents/row/DocRate");
    row.RemoveChild(childNode);

    Hello.
    In this line:
    updateOrder.GetByKey(1);
    You are getting order from base by Entry = 1, then You are trying to write there from XML other order.
    In XML the DocEntry and DocNum (mandatory) are the same like in base ?
    Maybe this is the problem.
    Please check this.
    Sorry for my English.
    Hope this helps.
    Regards
    Kamil Wydra

  • A/R Downpayment Invoice ??

    Hi all,
    previous we adding invoice and A?R Invoice using object.
    Please help How to Add A/R Downpayment Invoice using object ?
    thanks in advance
    surajit
    Edited by: Surojit Kundu on Oct 17, 2011 11:37 AM

    Hi
    Try this
    'Create DownPayment Invoice Object
                oDPM = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDownPayments)
                'Set Down Payment Header Values
                oDPM.CardCode = txtCardCode.Text
                oDPM.DocDueDate = DateDue.Value
                oDPM.DownPaymentPercentage = Convert.ToDouble(numPercent.Value)
                oDPM.DownPaymentType = SAPbobsCOM.DownPaymentTypeEnum.dptInvoice
                'Set Down Payment Line Values
                oDPM.Lines.ItemCode = txtItemCode.Text
                oDPM.Lines.Quantity = Convert.ToDouble(txtQuantity.Text)
                oDPM.Lines.Price = Convert.ToDouble(txtPrice.Text)
                lRetCode = oDPM.Add ' Try to add the invoice to the database
                If lRetCode <> 0 Then
                    oCompany.GetLastError(lErrCode, sErrMsg)
                    MsgBox(lErrCode & " " & sErrMsg)  ' Display error message
                Else
                    MsgBox("Down Payment Invoice Added to DataBase", MsgBoxStyle.Information, "Invoice Added")
                    ' Enabling the next button in the process
                End If
            Catch ex As Exception
                MsgBox(ex.Message)
            End Try
    Regards
    Arun

  • A/R Downpayment Invoice using DI Server

    Hello,
    How can we link an A/R Invoice with multiple A/R Downpayment Invoice using DI Server?  Can someone please give me an sample xml for the scenario?  Thank you.
    Note: Using SBO8.81 PL09
    Regards,
    Gilbert Ngo

    Hi
    Try this
    'Create DownPayment Invoice Object
                oDPM = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDownPayments)
                'Set Down Payment Header Values
                oDPM.CardCode = txtCardCode.Text
                oDPM.DocDueDate = DateDue.Value
                oDPM.DownPaymentPercentage = Convert.ToDouble(numPercent.Value)
                oDPM.DownPaymentType = SAPbobsCOM.DownPaymentTypeEnum.dptInvoice
                'Set Down Payment Line Values
                oDPM.Lines.ItemCode = txtItemCode.Text
                oDPM.Lines.Quantity = Convert.ToDouble(txtQuantity.Text)
                oDPM.Lines.Price = Convert.ToDouble(txtPrice.Text)
                lRetCode = oDPM.Add ' Try to add the invoice to the database
                If lRetCode <> 0 Then
                    oCompany.GetLastError(lErrCode, sErrMsg)
                    MsgBox(lErrCode & " " & sErrMsg)  ' Display error message
                Else
                    MsgBox("Down Payment Invoice Added to DataBase", MsgBoxStyle.Information, "Invoice Added")
                    ' Enabling the next button in the process
                End If
            Catch ex As Exception
                MsgBox(ex.Message)
            End Try
    Regards
    Arun

  • Copy DocumentLines object to another DocumentLienes

    Hi
    Is it possible to copy one documentline to another documetnLine object using DIAPI.
    Thx

    Hi,
    yes. In the Businessobject you have Document_Lines.
    You should get the source Document_Lines-Fields of your source Businessobject and write it to the destination Document_Lines-Fields of your destination Businessobject.
    This can be done via the Document-objects fields or via XML.
    Regards,
    Holger

  • UDO with GeneralService

    Dear Members,
    I want to Add Deposit via DIAPI but Sap doesnt expose the Deposit object. so anybody  could tell me the steps for  Implement our own deposit function with UDO,  and also access the UDO with GeneralService.Thanks in advance
    With Regards,
    G.Shankar Ganesh.

    Hi Shankar Ganesh,
    Since the DI API isn't exposed, you really can't do much about it.  As you had hinted, you can create a UDO screen and can handle all that you want to.  But whats your doubt in this?  Is your question about the feasibility using a UDO screen or is it about linking your screen to default functionalities of B1?
    Best Regards,
    Satish.

  • How to create A/R Down payment Invoice

    Hi;
    I am trying to create A/R Down Payment Invoice through DI API by using the below mentioned object but the system is giving me the following error "Invalid Value. {DPI1.ExLineNo} {Line No. 1}".
      SAPbobsCOM.Documents oDoc SAPbobsCOM.Documents)x.CompanyObject.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDownPayments);
                oDoc.Lines.SetCurrentLine(0);
                oDoc.CardCode = "C0001";
                oDoc.Lines.ItemCode = "Test";
                oDoc.Lines.Quantity = 2;
                oDoc.Lines.UnitPrice = 10;
                oDoc.Lines.ActualDeliveryDate = DateTime.Now.Date;
                oDoc.Lines.BaseType = 17;
                oDoc.Lines.BaseLine = 1;
                oDoc.Lines.BaseEntry = 1;
                oDoc.Lines.ExLineNo
                int oRetVal = oDoc.Add();
                if (oRetVal != 0)
                    MessageBox.Show(x.CompanyObject.GetLastErrorDescription());
    Please suggest me how I can create AR Down Payment Invoice along with Incoming Payment and then wanted to link AR down payment invoice with AR invoice.
    Regards;
    Deepak

    Hi
    Try this code
    Try
    'Create DownPayment Invoice Object
            oDPM = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDownPayments)
            'Set Down Payment Header Values
            oDPM.CardCode = "Some Card code"
            oDPM.DocDueDate = "Suitable Date"
            oDPM.DownPaymentPercentage =" Numeric value (Double)"
            oDPM.DownPaymentType = SAPbobsCOM.DownPaymentTypeEnum.dptInvoice
            'Set Down Payment Line Values
            oDPM.Lines.ItemCode =" Some Item Code"
            oDPM.Lines.Quantity =" Quantity"
            oDPM.Lines.Price =" Item Price"
            lRetCode = oDPM.Add ' Try to add the invoice to the database
            If lRetCode <> 0 Then
                 oCompany.GetLastError(lErrCode, sErrMsg)
                 MsgBox(lErrCode & " " & sErrMsg) ' Display error message
            Else
                 MsgBox("Down Paymeny Invoice Added to DataBase", MsgBoxStyle.Information, "Invoice Added")
            End If
        Catch ex As Exception
            MsgBox(ex.Message)
        End Try
    Regards
    Arun

  • Posting Invoice and Payment

    Good day all,
    Please i would appreciate your ideas regarding this problem:-
    We have set a Business Partner to "Cash Basic" terms in SAP and set up this Payment Terms in SAP to open Incoming payment when the invoice is created(there is a drop down menu item on Payment Terms that allows you to do this). In SAP when we capture an invoice for this BP then the Payment Means (not Incoming Payment) window comes up and we can process a Cash payment straight away. Then when we add the invoice an incoming Payment is automatically created in the background. However we are having trouble duplicating this functionality with the DIAPI.
    When we try to add the invoice without setting up this "payment" attached to it - it gives the error "Invoice and Receipt must be paid exactly". We cannot seem to find the objects in DIAPI that we are supposed to use to make this happen.
    I have been advised by one other member of the forum that this is not possible in SAP at all. Please can i have more thoughts on how else we are supposed to do this using the DIAPI.
    Kind regards,
    Greeshma

    Hi,
    You need two DI objects to achive this.
    SAPbobsCOM.BoObjectTypes.oInvoices
    SAPbobsCOM.BoObjectTypes.oIncomingPayments
    I assume that you have created your own screen,
    1. create an invoice using DI API - Invoices
    2. after success adding the invoice, get the latest new object added
    3. create Incoming Payment - SAPbobsCOM.BoObjectTypes.oIncomingPayments
    ' Amout to Pay - Example cash
    oIncomingPayment.CardCode = "CardCode"
    oIncomingPayment.CashAccount = "1400928363"
    oIncomingPayment.CashSum = 200.20
    ' Point your newly created invoice
    oIncomingPayment.Invoices.DocEntry = iInvoiceDocEntry
      oIncomingPayment.Invoices.SumApplied = 200.20
      oIncomingPayment.Invoices.Add()
    nd.Q

  • BoLinkedObject not working correctly.

    Hi,
    the golden arrow is not working when the linked object type is sales person 53 and the item group 52 in SAP2007.
    Is there any solution for this problem?
    thanks in advance...

    Hi..
    first see ur linked object type correct or not
    ur using screen painter..
    select linked button and give
    linked object=item master object id 4(example)
    and
    select type link_butten
    Reference
    Objects ID List
    The following table lists the business objects that are exposed through the DI API.
    Object Name     Object ID     Description
    ACT     1     Chart of Accounts
    CRD     2     Business Partner Cards
    ITM     4     Items
    PLN     6     Price list names
    SPP     7     Special prices
    CPR     11     Contact employees
    USR     12     Users
    INV     13     Invoices
    RIN     14     Credit notes
    DLN     15     Delivery notes
    RDN     16     Revert delivery notes
    RDR     17     Orders
    PCH     18     Purchases
    RPC     19     Revert purchases
    PDN     20     Purchase delivery notes
    RPD     21     Revert purchase delivery notes
    POR     22     Purchase orders
    QUT     23     Quotations
    RCT     24     Receipts incoming payments
    DPS     25     Bill of Exchange Deposits
    BTD     28     Journal vouchers
    JDT     30     Journal entries
    ITW     31     Item warehouse
    CLG     33     Contact activities
    CRN     37     Currency codes
    CTG     40     Payment terms types
    BNK     42     Bank pages
    VPM     46     Payments to vendors
    ITB     52     Item groups
    CHO     57     Checks for payment
    IGN     59     Inventory general entry
    IGE     60     Inventory general exit
    WHS     64     Warehouses codes and names
    ITT     66     Product trees
    WTR     67     Stock transfer
    WKO     68     Work orders
    SCN     73     Alternate catalog numbers
    BGT     77     Budget
    BGD     78     Budget Distribution
    ALR     81     Alerts messages
    BGS     91     Budget scenarios
    SRI     94     Items serial numbers
    OPR     97     Sales Opportunities
    CLT     103     Activity types
    CLO     104     Activity locations
    IBT     106     Item batch numbers
    DRF     112     Document draft
    EXD     125     Additional Expenses
    STA     126     Sales tax authorities
    STT     127     Sales tax authorities type
    STC     128     Sales tax code
    DUN     151     Dunning letters
    UFD     152     User fields
    UTB     153     User tables
    PEX     158     Payment run export
    MRV     162     Material revaluation (country-specific for Poland)
         163     Purchase invoice correction document
         164     Reverse purchase invoice correction document.
    CTT     170     Contract templates
    HEM     171     Employees
    INS     176     Customer equipment cards
    WHT     178     Withholding tax data
    BOE     181     Bill of exchange for payment
    BOT     182     Bill of exchange transaction
    CRB     187     Business partner - bank accounts
    SLT     189     Service call solutions
    CTR     190     Service contracts
    SCL     191     Service call
    UKD     193     User keys description
    QUE     194     Queues
    FCT     198     Sales forecast
    TER     200     Territories
    OND     201     Industries
    PKG     205     Packages types
    UDO     206     User-defined objects
    ORL     212     Relationships
    UPT     214     User permission tree
    CLA     217     Activity status
    BPL     247     Business Places (country-specific for Korea)
    JPE     250     Local Era (country-specific for Japan)
    TSI     280     Sales tax invoice (country-specific for Poland)
    TPI     281     Purchase tax invoice (country-specific for Poland)
    Back
    Menu Item     ID
    &File      512
    &Close      514
    &Save as Draft      5907
    &Page Setup...      518
    P&rint Preview...      519
    Pr&int... Ctrl+P      520
    S&end      3336
    &Send Message      3337
    &Email...      6657
    S&MS...      6658
    &Fax...      6659
    E&xport to      7168
    &File      7171
    &Text      7172
    &XML      7174
    &Image      7173
    &Export to MS-EXCEL      7169
    E&xport to MS-WORD      7170
    &Launch Application...      523
    Loc&k Screen      524
    Exi&t Ctrl+Q      526
    &Edit      768
    &Undo Ctrl+Z      769
    &Redo CtrlShiftZ      770
    &Cut Ctrl+X      771
    C&opy Ctrl+C      772
    &Paste Ctrl+V      773
    &Delete Del      774
    &Select All      775
    &View      40960
    &User-Defined Fields CtrlShiftU      6913
    &Search Field CtrlShiftF2      7427
    &Debug Information      15874
    &Restore Column Width      1297
    &Legend Ctrl+L      1298
    &Data      1280
    &Find Ctrl+F      1281
    &Add Ctrl+A      1282
    F&irst Data Record      1290
    &Next Record -> Ctrl      1288
    &Previous Record <- Ctrl      1289
    &Last Data Record      1291
    &Remove      1283
    &Cancel      1284
    R&estore      1285
    Cl&ose      1286
    &Duplicate Ctrl+D      1287
    Add Ro&w Ctrl+I      1292
    Dele&te Row Ctrl+K      1293
    Duplicate Row Ctrl+M      1294
    Cop&y from Cell Above      1295
    Copy fro&m Cell Below      1296
    &Advanced      43572
    &Advanced      43775
    &Sort Table...      4869
    &Goto      5888
    &Goto      6143
    &Modules      43520
    &Administration      3328
    &Choose Company      3329
    &Define Foreign Currency Exchange Rates      3333
    &System Initialization      8192
    &Company Details      8193
    &General Settings      8194
    &Authorizations      43521
    &General Authorization      3332
    &Additional Authorization Creator      3342
    &Data Ownership Authorizations      3340
    Da&ta Ownership Exceptions      3341
    &Document Numbering      8195
    D&ocument Settings      8196
    &Print Preferences      8197
    Op&ening Balances      43522
    &G/L Accounts Opening Balance      8200
    &Business Partners Opening Balance      2564
    D&efinitions      43525
    &General      8448
    &Define Users      8449
    &Change Password      4128
    D&efine Sales Employees      8454
    De&fine Territories      8713
    Def&ine Commission Groups      8453
    Defi&ne Predefined Text      43571
    &Financials      43526
    &Edit Chart of Accounts      4116
    &G/L Account Determination      8199
    &Define Currencies      8450
    De&fine Indexes      8451
    Def&ine Transaction Codes      8455
    Defi&ne Projects     8457
    Define &Period Indicators     8210
    Define D&oubtful Debts     8464
    &Tax     15616
    &Sales Opportunities     17152
    &Define Sales Stages     17153
    D&efine Partners     17154
    De&fine Competitors     17155
    Def&ine Relationships     17156
    &Purchasing     43527
    &Define Landed Costs     8456
    &Business Partners     43528
    &Define Countries     8459
    D&efine Address Formats     8460
    De&fine Customer Groups     10753
    Def&ine Vendor Groups     10754
    Defi&ne Business Partner Properties     10755
    Define &Business Partner Priorities     10765
    Define D&unning Levels     10766
    Define dunnin&g terms     10769
    Define &Payment Terms     8452
    Define P&ayment Blocks     10767
    B&anking     11264
    &Define Banks     11265
    D&efine Credit Cards     11266
    De&fine Credit Card Payment     11267
    Def&ine Credit Card Payment Methods     11268
    Defi&ne Credit Vendors     11269
    Define &Payment Methods     16897
    &Inventory     11520
    &Define Item Groups     11521
    D&efine Item Properties     11522
    De&fine Warehouses     11523
    Def&ine Length and Width UoM     11524
    Defi&ne Weight UoM     11525
    Define &Customs Groups     11526
    Define &Manufacturers     11527
    Define &Shipping Types     11528
    Define &Locations     11529
    Define In&ventory Cycles     11530
    Define &Package Types     11532
    S&ervice     43529
    &Contract Templates     3601
    &Define Queues     8712
    D&ata Import/Export     43530
    &Data Import     8960
    &Import from Excel     8961
    I&mport Transactions from SAP Business One     8962
    &Comprehensive Import     8967
    D&ata Export     9216
    &Export Transactions to SAP Business One     9217
    &Utilities     8704
    &Period-End Closing     8705
    &Year Transfer     8706
    &Update Control Report     8709
    &Check Document Numbering     13062
    &Restore     43574
    &Restore Wizard     8707
    R&estore Chart of Accounts     9473
    Re&store G/L Account and Business Partner Balances     9474
    Res&tore Item Balances     9475
    Rest&ore Numbering File     9476
    Restore O&pen Check Balances     9477
    Restore &Costing     9478
    Restore &Budget Balances     9479
    Restore B&udget Scenarios     9480
    Restore B&atch Accumulators     9481
    Restore S&ystem Reports     9482
    A&pproval Procedures     14848
    &Define Approval Stages     14849
    D&efine Approval Templates     14850
    &Approval Status Report     14851
    A&pproval Decision Report     14852
    &License     43524
    &License Administration     8208
    &Add-on Identifier Generator     8209
    Add&-ons     43523
    &Add-on Manager     8201
    A&dd-on Administration     8202
    Ale&rts Management     3338
    &Financials     1536
    &Chart of Accounts     1537
    &Edit Chart of Accounts     1538
    &Journal Entry     1540
    J&ournal Vouchers     1541
    &Posting Templates     1542
    &Recurring Postings     1543
    Re&verse Transactions     1552
    E&xchange Rate Differences     1545
    Co&nversion Differences     1546
    &Financial Report Templates     1551
    &Budget     10496
    &Budget Scenarios     10497
    &Define Budget Distribution Methods     10498
    D&efine Budget     10499
    Co&st Accounting     1792
    &Define Profit Centers     1793
    D&efine Distribution Rules     1794
    &Table of Profit Centers and Distribution Rules     1795
    &Profit Center - Report     1796
    F&inancial Reports     43531
    &Accounting     13056
    &G/L Accounts and Business Partners     13057
    G&eneral Ledger     13058
    &Aging     4096
    &Transaction Journal Report     1544
    T&ransaction Report by Projects     13064
    &Document Journal     13065
    Ta&x     43532
    &Financial     9728
    &Balance Sheet     9729
    &Trial Balance     9730
    &Profit and Loss Statement     9731
    &Cash Flow     4101
    &Comparison     1648
    &Balance Sheet Comparison     1649
    &Trial Balance Comparison     1650
    &Profit and Loss Statement Comparison     1651
    &Budget     10240
    &Budget Report     4608
    B&alance Sheet Budget Report     10241
    &Trial Balance Budget Report     10242
    &Profit and Loss Statement Budget Report     10243
    &Sales Opportunities     2560
    &Sales Opportunity     2566
    S&ales Opportunities Reports     43533
    &Opportunities Forecast Report     2578
    O&pportunities Forecast Over Time Report     2580
    Oppo&rtunities Statistics Report     2579
    Oppor&tunities Report     2577
    &Stage Analysis     2568
    So&urce Distribution Over Time Report     2574
    &Won Opportunities Report     2569
    &Lost Opportunities Report     2573
    &My Open Opportunities Report     2575
    M&y Closed Opportunities Report     2576
    Opportu&nities Pipeline     2570
    Sa&les - A/R     2048
    &Sales Quotation     2049
    S&ales Order     2050
    &Delivery     2051
    &Returns     2052
    A&/R Down Payment Request     2079
    A/R D&own Payment Invoice     2071
    A/R &Invoice     2053
    A/R I&nvoice + Payment     2054
    A/R &Credit Memo     2055
    A/R R&eserve Invoice     2056
    A&utomatic Summary Wizard     2059
    Docu&ment Drafts     2061
    Documen&t Printing     2058
    Dunnin&g Wizard     2063
    Sa&les Reports     12800
    &Sales Analysis     12801
    &Open Items List     4097
    &Purchasing - A/P     2304
    &Purchase Order     2305
    &Goods Receipt PO     2306
    G&oods Returns     2307
    &A/P Down Payment Request     2330
    A&/P Down Payment Invoice     2317
    A/P &Invoice     2308
    A/P &Credit Memo     2309
    A/P &Reserve Invoice     2314
    &Landed Costs     2310
    &Document Drafts     2313
    Doc&ument Printing     2312
    Purc&hasing Reports     43534
    &Purchase Analysis     12802
    &Open Items List     1547
    &Business Partners     43535
    &Business Partner Master Data     2561
    &Activity     2563
    B&usiness Partner Reports     43536
    &My Activities     10771
    &Activities Overview     2565
    &Inactive Customers     14338
    &Dunning History Report     2068
    Ba&nking     43537
    &Incoming Payments     2816
    &Incoming Payments     2817
    &Check Fund     2823
    C&redit Card Management     2824
    Cr&edit Card Summary     2828
    &Payment Drafts Report     2832
    &Deposits     14592
    &Deposit     14593
    &Postdated Check Deposit     14594
    P&ostdated Credit Voucher Deposit     14595
    &Outgoing Payments     43538
    &Outgoing Payments     2818
    &Checks for Payment     2820
    &Voiding Checks for Payment     2822
    &Payment Drafts Report     2831
    C&hecks for Payment Drafts     2821
    &Bill of Exchange     43539
    &Payment System     16896
    &Payment Wizard     16899
    &Define Payment Run Defaults     16898
    B&ank Statements and Reconciliations     11008
    &Process External Bank Statement     11009
    &Reconciliation     11010
    &Link Invoices to Payments     2833
    &Manage Previous Reconciliations     11011
    &Check and Restore Former Reconciliations     11012
    Do&cument Printing     2829
    &Inventory     3072
    &Item Master Data     3073
    I&tem Management     15872
    &Serial Numbers     12032
    &Serial Numbers Management     12033
    S&erial Number Details     12034
    &Batches     12288
    &Batch Management     12289
    B&atch Details     12290
    &Define Alternative Items     11531
    D&efine Business Partner Catalog Numbers     12545
    &Global Update to Business Partner Catalog Numbers     12546
    &Update Stock Method     12547
    I&nventory Transactions     43540
    &Goods Receipt     3078
    G&oods Issue     3079
    &Stock Transfer     3080
    &Initial Quantities, Inventory Tracking, and Stock Posting     3081
    &Cycle Count Recommendations     3085
    &Material Revaluation     3086
    &Price Lists     43541
    &Price Lists     3076
    &Define Hierarchies and Expansions     11781
    &Special Prices     11776
    &Special Prices for Business Partners     11777
    &Copy Special Prices to Selection Criteria     11778
    &Update Special Prices Globally     11779
    &Define Discount Groups     11780
    U&pdate Parent Item Prices Globally     11782
    Pi&ck and Pack     16640
    &Pick and Pack Manager     16641
    P&ick List     16642
    In&ventory Reports     1760
    &Items List     1761
    &Last Prices Report     1713
    I&nactive Items     1715
    I&tem Query     3075
    In&ventory Posting List by Item     1762
    Inv&entory Status     1763
    Invent&ory in Warehouse Report     1764
    Invento&ry Valuation Report     1765
    &Serial Numbers Transactions Report     1779
    &Batch Number Transactions Report     1747
    P&roduction     4352
    &Define Bill of Materials     4353
    &Production Order     4369
    &Receipt from Production     4370
    &Issue for Production     4371
    &Update Parent Item Prices Globally     4358
    Pr&oduction Reports     43542
    &Bill of Materials Report     4357
    &MRP     43543
    &Define Forecasts     4360
    &MRP Wizard     4361
    &Order Recommendation Report     4368
    S&ervice     3584
    &Service Call     3587
    &Customer Equipment Card     3591
    S&ervice Contract     3585
    S&olutions Knowledge Base     3589
    Se&rvice Reports     7680
    &Service Calls     7684
    S&ervice Calls by Queue     7698
    &Response by Assignee Report     7699
    &Average Closure Time     7693
    Ser&vice Contracts     7682
    &Customer Equipment Report     3596
    Serv&ice Monitor     7691
    &My Service Calls     7689
    M&y Open Service Calls     7688
    My &Overdue Service Calls     7690
    &Human Resources     43544
    &Employee Master Data     3590
    &Human Resources Reports     16128
    &Employee List     7694
    &Absence Report     7696
    &Phone Book     7695
    Rep&orts     43545
    &Financials     43546
    &Accounting     43547
    &G/L Accounts and Business Partners     1617
    G&eneral Ledger     1618
    &Aging     43548
    &Transaction Journal Report     4114
    T&ransaction Report by Projects     1624
    &Document Journal     1625
    Ta&x     43549
    &Company Reports     43550
    &Balance Sheet     13313
    &Trial Balance     13314
    &Profit and Loss Statement     13315
    &Cash Flow     4115
    C&omparison     43551
    &Balance Sheet Comparison     9985
    &Trial Balance Comparison     9986
    &Profit and Loss Statement Comparison     9987
    &Budget     43552
    &Budget Report     4624
    B&alance Sheet Budget Report     1681
    &Trial Balance Budget Report     1682
    &Profit and Loss Statement Budget Report     1683
    &Sales Opportunities     43553
    &Opportunities Forecast Report     2684
    O&pportunities Forecast Over Time Report     2692
    Oppo&rtunities Statistics Report     2689
    Oppor&tunities Report     2683
    &Stage Analysis     2680
    So&urce Distribution Over Time Report     2686
    &Won Opportunities Report     2681
    &Lost Opportunities Report     2685
    &My Open Opportunities Report     2690
    M&y Closed Opportunities Report     2691
    Opportu&nities Pipeline     2682
    S&ales and Purchasing     43554
    &Open Items List     1548
    &Sales Analysis     1697
    &Purchase Analysis     1698
    &Business Partners     43555
    &My Activities     10772
    &Activities Overview     4118
    &Inactive Customers     1714
    &Dunning History Report     2069
    S&ervice     43556
    &Service Calls     3588
    S&ervice Calls by Queue     3602
    &Response by Assignee Report     3603
    &Average Closure Time     3597
    Ser&vice Contracts     3586
    &Customer Equipment Report     7692
    Serv&ice Monitor     3595
    &My Service Calls     3593
    M&y Open Service Calls     3592
    My &Overdue Service Calls     3594
    &Inventory     14080
    &Items List     14081
    &Last Prices Report     14337
    I&nactive Items     14339
    I&tem Query     4119
    In&ventory Posting List by Item     14082
    Inv&entory Status     14083
    Invent&ory in Warehouse Report     14084
    Invento&ry Valuation Report     14085
    &Serial Numbers Transactions Report     12035
    &Batch Number Transactions Report     12291
    &Production     43557
    &Bill of Materials Report     4121
    &Human Resources     43558
    &Employee List     3598
    &Absence Report     3600
    &Phone Book     3599
    &Query Generator     4102
    Q&uery Wizard     4103
    &Tools     4864
    &Print Layout Designer...     5895
    &Form Settings... CtrlShiftS     5890
    &Change Log...     4876
    &Queries     43573
    &Queries Manager...     4865
    Q&uery Print Layout...     4868
    &System Queries     5120
    Checks for Payment in Date Cross Section Report     5121
    Customer Receivables by Customer Cross-Section     5122
    Customers Credit Limit Deviation     5123
    Locate Exceptional Discount in Invoice     5124
    Locate External/Internal Recon. by Exact Amount     5125
    Locate External/Internal Recon. by Exact Sum     5126
    Locate External/Internal Recon. by Value Date     5127
    Locate External/Internat Recon. by Trans. No.     5128
    Locate Journal Transaction by Amount Range     5129
    Locate Journal Transaction by FC Amount Range     5130
    Locate Recon. in Bank Statement by Row No.     5131
    Locate Recon./Row in Bank Statements by Exact Amount     5132
    MRP Pegging Report     5133
    Production Order Report     5134
    SP Commission by Invoices in Posting Date Cross-Section     5135
    Transactions Received from Voucher Report     5136
    User Queries     53248
    General     261424295
    Empty     53249
    U&ser Menu     43567
    &Add to User Menu     4877
    &Organize...     4878
    Us&er Shortcuts     43568
    &Shortcuts     6400
    &Customize     4871
    Use&r Tools     43561
    &Disable Customization     15873
    Se&arch Function     7424
    &Search Shift+F2     7425
    &Define... ShiftAltF2     7426
    User&-Defined Fields     43569
    &Manage User Fields...     4875
    &First Field CtrlShiftL     6914
    &Settings... CtrlShiftB     6915
    User Ta&bles     51200
    &User Tables     51201
    User-&defined Objects     43570
    &Registration Wizard...     4879
    &Default Forms     47616
    &User Tables     47617
    &Window     1024
    &Cascade     1025
    C&lose All     1026
    C&olor     5632
    &Classic     5633
    &Gray     5634
    &Violet     5635
    &Blue     5636
    G&reen     5637
    &Yellow     5638
    &Orange     5639
    R&ed     5640
    Bro&wn     5641
    &Main Menu Ctrl+0     1030
    M&essages/Alert Overview     1029
    C&alendar     10770
    &Help     43564
    &Help...     272
    &Context Help... F1     275
    H&elp Settings...     276
    &About SAP Business One...      257
    See Also
    Enumerations Object
    UI API Objects Reference 2005 SP1 (Build 680.315.00)      
    BoLinkedObject Enumeration
    Description
    Determines the target object of the LinkedButton object.
    Members
    Member     Description     Value
    lf_None      No target object.      -1
    lf_UserDefinedObject      User-defined object.      0
    lf_GLAccounts      G/L account object.      1
    lf_BusinessPartner      Business Partner object.      2
    lf_Items      Item object.      4
    lf_SalesEmployee      Sales employee object.      53
    lf_TransactionTemplates      Transaction template.      55
    lf_JournalPosting      Journal Posting object.      30
    lf_LoadingFactors      Loading Factor object.      62
    lf_RecurringTransactions      Recurring Transaction object.      34
    lf_ProductTree      Product Tree object.      66
    lf_CheckForPayment      Check for Payment object.      57
    lf_PaymentTermsTypes      Payment Terms object.      40
    lf_Deposit      Deposit object.      25
    lf_PredatedDeposit      Predated Deposit object.      76
    lf_Warehouses      Warehouse object.      64
    lf_ImportFile      Import File object.      69
    lf_BudgetSystem      Budget System object.      78
    lf_SalesTaxAuthorities      Sales Tax Authorities object.      126
    lf_SalesTaxCodes      Sales Tax Codes object.      128
    lf_RunExternalsApplications      Run External Application object.      86
    lf_DueDates      Due Date objects.      71
    lf_UserDefaults      User Defaults object.      93
    lf_FinancePeriod      Financial Period object.      111
    lf_SalesOpportunity      Sales Opportunity object.      97
    lf_ConfirmationLevel      Confirmation Level object.      120
    lf_ConfirmationTemplates      Confirmation Template object.      121
    lf_ConfirmationDocumnets      Confirmation Document object.      122
    lf_Drafts      Draft object.      112
    lf_GoodsIssue      Goods Issue object.      60
    lf_GoodsReceipt      Goods Receipt object.      59
    lf_ProjectCodes      Project Code object.      63
    lf_ContactWithCustAndVend      Contact object.      33
    lf_JournalVoucher      Journal Voucher object.      28
    lf_ProfitCenter      Profit Center object.      61
    lf_VendorPayment      Vendor Payment object.      46
    lf_Receipt      Receipt object.      24
    lf_Quotation      Quotation object.      23
    lf_Order      Order object.      17
    lf_DeliveryNotes      Delivery Note object.      15
    lf_DeliveryNotesReturns      Delivery Note Return object.      16
    lf_Invoice      Invoice object.      13
    lf_InvoiceCreditMemo      Invoice Credit Memo object.      14
    lf_PurchaseOrder      Purchase Order object.      22
    lf_GoodsReceiptPO      Goods Receipt PO object.      20
    lf_GoodsReturns      Goods Return object.      21
    lf_PurchaseInvoice      Purchase Invoice object.      18
    lf_PurchaseInvoiceCreditMemo      Purchase Invoice Credit Memo object.      19
    lf_CorrectionInvoice      Correction Invoice object.      132
    lf_StockTransfers      Stock Transfer object.      67
    lf_WorkInstructions      Work Instructions object.      68
    lf_AlertsTemplate      Alerts Template object.      80
    lf_SpecialPricesForGroups      Special Prices object.      85
    lf_CustomerVendorCatalogNumber      Customer/Vendor Catalog Number      73
    lf_SpecialPrices      Special Prices object.      7
    lf_SerialNumbersForItems      Serial Numbers for Items object.      94
    lf_ItemBatchNumbers      Item Batch Numbers object.      106
    lf_UserValidValues      User Valid Values object.      110
    lf_UserDisplayCategories      User Display Categories object.      114
    lf_AddressFormats      Address Format object.      113
    lf_Indicator      Indicator object.      138
    lf_CashDiscount      Cash Discount object.      133
    lf_DeliveryTypes      Delivery Type object.      49
    lf_VatGroup      VAT Group object.      5
    lf_VatIndicator      VAT Indicator object.      135
    lf_GoodsShipment      Goods Shipment object.      139
    lf_ExpensesDefinition      Expense Definition object.      125
    lf_CreditCards      Credit Card object.      36
    lf_CentralBankIndicator      Business Partner Central Bank Indicator object.      161
    lf_BPBankAccount      Business Partner Bank Account object.      187
    lf_DiscountCodes      Discount Code object.      3
    lf_PaymentBlock      Block Payment object for vendors and customers.      159
    lf_AgentPerson      Agent Person object.      177
    lf_PeriodIndicator      Period Indicator object for document numbering.      184
    lf_HolidaysTable      Holidays Table object.      186
    lf_Employee      Employee object.      171
    lf_PredefinedText      Pre-defined Text object for sales and marketing documents.      215
    lf_Territory      Territory (geographic location, brand, or item) object.      200
    lf_User      SAP Business One User object.      12
    lf_ProductionOrder      Production Order object.      202
    lf_BillOfExchange      Bill of Exchange object.      181
    lf_BillOfExchangeTransaction      Bill of Exchange Transaction object.      182
    lf_AddressFormat      Address Pattern object.      131
    lf_AccountSegmentationCode      Account Segmentation Code object.      143
    lf_FileFormat      File Format object.      183
    lf_StockRevaluation      Stock Revaluation object.      162
    lf_PickList      Inventory Pick List object.      156
    lf_DunningTerms      Dunning Term object.      196
    lf_ServiceContract      Service Contract object.      190
    lf_ContractTemplete      Contract Template object.      170
    lf_InstallBase      Install Base object.      176
    lf_ServiceCall      Service Call object.      191
    lf_ServiceCallSolution      Service Call Solution object.      189
    lf_ItemGroups      Item Groups object.      52
    lf_PackageType      Package Type object.      206
    lf_SalesForecast      Sales Forecast object.      198
    lf_PaymentMethod      Payment Method object.      147
    lf_WithHoldingTax      Withholding Tax object.      178
    Regards..
    Billa 2007

  • Error : Selected user does not exist

    I m trying to send the alert messages. And for this I am using message object of DIAPI and sending alert to usercode 'manager' of SAP B1. But i m facing the error that 'Selected user does not exist' and it is present in the OUSR table for the user related details.

    Hi, Amit Jadon!
    If you send a code snippet, it will be more helpfull for us to solve a problem.
    It's my "sending for yourself"  example. Log in with a "problem" user and try it:
    public void SendMess(string Mess, string Subj)
      int errn;     
      string mes;
      SAPbobsCOM.Messages msg;
      msg = (SAPbobsCOM.Messages) pCmp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oMessages); //pCmp - company obj
    msg.MessageText = Mess;
    msg.Subject = Subj;
    msg.Recipients.Add();
    msg.Recipients.SetCurrentLine(0);          
    msg.Recipients.UserCode = pCmp.UserName;
    msg.Recipients.NameTo = pCmp.UserName;
    msg.Recipients.SendInternal = SAPbobsCOM.BoYesNoEnum.tYES;
    msg.Add();
    pCmp.GetLastError(out errn, out mes);
    if (0 != errn)
        SBOApp.MessageBox("Error in  msg.Add(); " + errn + ", " + mes, 1, "Ok", null, null);
    HTH,
    Alexey

  • Suffix And Prefix

    help me out that how can we utilize Suffix And Prefix in marketing Document.
    we have created Suffix And prefix but they are not shown in the Document form

    HI
    Object code means the B1 internal object types.
    >>I Want to identify that which Document Have Suffix And Prefix in the NNM1 Table.
    It is considering you? You must have to put a field where you concatenating the prefixdocnumsuffix, and this will be your docnum.
    If yes, You can use next segment to connect to objtype ....
    List of objects (also can be select objtype from [table name])
    G/L account object. 1
    Business Partner object. 2
    Item object. 4
    Sales employee object. 53
    Transaction template. 55
    Journal Posting object. 30
    Loading Factor object. 62
    Recurring Transaction object. 34
    Product Tree object. 66
    Check for Payment object. 57
    Payment Terms object. 40
    Deposit object. 25
    Predated Deposit object. 76
    Warehouse object. 64
    Import File object. 69
    Budget System object. 78
    Sales Tax Authorities object. 126
    Sales Tax Codes object. 128
    Run External Application object. 86
    Due Date objects. 71
    User Defaults object. 93
    Financial Period object. 111
    Sales Opportunity object. 97
    Confirmation Level object. 120
    Confirmation Template object. 121
    Confirmation Document object. 122
    Draft object. 112
    Goods Issue object. 60
    Goods Receipt object. 59
    Project Code object. 63
    Contact object. 33
    Journal Voucher object. 28
    Profit Center object. 61
    Vendor Payment object. 46
    Receipt object. 24
    Quotation object. 23
    Order object. 17
    Delivery Note object. 15
    Delivery Note Return object. 16
    Invoice object. 13
    Invoice Credit Memo object. 14
    Purchase Order object. 22
    Goods Receipt PO object. 20
    Goods Return object. 21
    Purchase Invoice object. 18
    Purchase Invoice Credit Memo object. 19
    Correction Invoice object. 132
    Stock Transfer object. 67
    Work Instructions object. 68
    Alerts Template object. 80
    Special Prices object. 85
    Customer/Vendor Catalog Number 73
    Special Prices object. 7
    Serial Numbers for Items object. 94
    Item Batch Numbers object. 106
    User Valid Values object. 110
    User Display Categories object. 114
    Address Format object. 113
    Indicator object. 138
    Cash Discount object. 133
    Delivery Type object. 49
    VAT Group object. 5
    VAT Indicator object. 135
    Goods Shipment object. 139
    Expense Definition object. 125
    Credit Card object. 36
    Business Partner Central Bank Indicator object. 161
    Business Partner Bank Account object. 187
    Discount Code object. 3
    Block Payment object for vendors and customers. 159
    Agent Person object. 177
    Period Indicator object for document numbering. 184
    Holidays Table object. 186
    Employee object. 171
    Pre-defined Text object for sales and marketing documents. 215
    Territory (geographic location, brand, or item) object. 200
    SAP Business One User object. 12
    Production Order object. 202
    Bill of Exchange object. 181
    Bill of Exchange Transaction object. 182
    Address Pattern object. 131
    Account Segmentation Code object. 143
    File Format object. 183
    Stock Revaluation object. 162
    Inventory Pick List object. 156
    Dunning Term object. 196
    Service Contract object. 190
    Contract Template object. 170
    Install Base object. 176
    Service Call object. 191
    Service Call Solution object. 189
    Item Groups object. 52
    Package Type object. 206
    Sales Forecast object. 198
    Payment Method object. 147
    Withholding Tax object. 178
    Regards,
    J.

  • How to link a down payment to an AR Invoice in the SDK

    Hi,
    I'm generating Invoices from Sales Order's.
    I'm using SAPbobsCOM.BoObjectTypes.oInvoices.
    The Down Payment's are made baesed on the sales order.
    I need to link the down payments to the invoice.
    How can i do that?
    Regards,
    Ana Silva

    Hi Ana,
    Try this code, it has worked for me:
    Private Sub Command4_Click()
        Dim oInvoice As SAPbobsCOM.Documents
         Dim oDPM As SAPbobsCOM.Documents
            'Create DownPayment Invoice Object
            Set oDPM = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDownPayments)
            oDPM.GetByKey (3)
        ' Add invoice
        Set oInvoice = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
        oInvoice.CardCode = "C1001"
        oInvoice.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items
        oInvoice.DocDate = DateTime.Now
        oInvoice.Lines.ItemCode = "A1000"
        oInvoice.Lines.Quantity = 1
        ' Add the Invoice with Down Payment
        Dim dpToDraw As SAPbobsCOM.DownPaymentsToDraw
        Set dpToDraw = oInvoice.DownPaymentsToDraw
        'oDPM is an object that contains an existing DownPayment Invoice
        'dpToDraw.AmountToDraw = oDPM.DownPaymentAmount
        dpToDraw.DocEntry = oDPM.DocEntry
        lRetCode = oInvoice.Add()
        If lRetCode <> 0 Then
                oCompany.GetLastError oError, errMsg
                MsgBox (oError & " " & errMsg) ' Display error message
        Else
                MsgBox "Invoice with Downpayment created, the process of using a downpayment invoice succeeded"
         End If
    End Sub
    Hope this is helpful,
    Regards,
    Niall
    SAP Business One Forums

  • Delete and getbykey in udo

    I have created a form using udo.How to add delete option on the right click  on the form ?
    I have created udo using following code-
    objFields.TableName = "@QCRF1"
                objFields.Name = "Entry_No"
                objFields.Type = SAPbobsCOM.BoFieldTypes.db_Numeric
                objFields.EditSize = 10
                lngStatus = objFields.Add()
    How to add getbykey for this field ?

    Hi David,
             I am able to access the UDO object with DIAPI.I am inserting record into this object using following code-
    Dim objUDO As SAPbobsCOM.UserTable
    objUDO = oCompany.UserTables.Item("QCRF1")
                    objUDO.Code = GetMaxForFooter()
                    objUDO.Name = GetMaxForFooter()
                    objUDO.UserFields.Fields.Item("U_Entry_No").Value = intCode
                    objUDO.UserFields.Fields.Item("U_Line_No").Value = GetLineNum(intCode)
                    objUDO.UserFields.Fields.Item("U_Item_Code").Value = strItemCode
                    objUDO.UserFields.Fields.Item("U_Ordered_Qty").Value = intOrdQty
                    objUDO.UserFields.Fields.Item("U_Rejected_Qty").Value = intRjtQty
      lngStatus = objUDO.Add
    How to register the object created through DIAPI ? This object can not be seen through registration wizard.The structure of the table created through DIAPI is different from the table created through SAP B One.

  • What is the BoObjectTypes for A/R Down Payment Invoice

    Dim oInv As SAPbobsCOM.Documents
    oInv = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.??)
    what should i put for ??
    thanks

    That is oDownPayments.
    Here is a C# sample code:
            'Create DownPayment Invoice Object
             oDPM = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDownPayments)
             'Set Down Payment Header Values
              oDPM.CardCode = Some Card code
              oDPM.DocDueDate = Suitable date
              oDPM.DownPaymentPercentage = Numeric value (double)
              oDPM.DownPaymentType = SAPbobsCOM.DownPaymentTypeEnum.dptInvoice
              'Set Down Payment Line Values
               oDPM.Lines.ItemCode = Some Item Code
               oDPM.Lines.Quantity = Quantity
               oDPM.Lines.Price = Item Price
               lRetCode = oDPM.Add ' Try to add the invoice to the database
               If lRetCode <> 0 Then
                    oCompany.GetLastError(lErrCode, sErrMsg)
                    MsgBox(lErrCode & " " & sErrMsg) ' Display error message
                Else
                    MsgBox("Down Paymeny Invoice Added to DataBase", MsgBoxStyle.Information, "Invoice Added")
                End If

Maybe you are looking for

  • Why can't I get my email to work on my Ipad??

    Why can't I get my email to work on my Ipad? I've checked everything back to my email on my computer to ensure all details are correct in trying to add the account onto the Ipad.  And yet it still won't work. The error that I keep getting is "One Sen

  • How to burn folders and albums to dvd

    how can I burn some folders and the albums it contains into a dvd?¿ Message was edited by: vldmkr

  • Save file on Android

    Hi, I'm trying to save an image on Android. But i get only the path '/mnt/sdcard/...'. I would like to save in a custom folder like '/Root/myapp/img.png'. but how? This is what i do: var f:File = File.documentsDirectory.resolvePath('imagem.png'); var

  • JTree and real Components / event forwarding

    Ok, so Ive seen some people forward events from JTree to node based Components. I was just wondering, whether thats the right way to go. Wouldn't it be better to write your own TreeLayoutManager, add the node based components with nodes as constraint

  • Jar for weblogic client applications?

    I am developing a client applications that accesses some session beans from WLS 6.1 SP1. I am currently putting the weblogic.jar file in the classpath in order to be able to access the WLS JNDI server using T3/T3S. This weblogic.jar file is very larg