Creating SubField Types through DI-API

Hi,
I am trying to create SubFieldType of type Quantity through DI API, but it is not creating the SubFieldType. I am using the below code
DBUpdate.AddFieldToTable(oCompany, "IS_INSROWS", "RejQty", "Rejected Quantity", SAPbobsCOM.BoFieldTypes.db_Numeric, 11,  SAPbobsCOM.BoFldSubTypes.st_Quantity)
Public Function AddFieldToTable(ByVal oCompany As SAPbobsCOM.Company, ByVal TblName As String, ByVal FldName As [String], ByVal FldDesc As String, ByVal fType As SAPbobsCOM.BoFieldTypes, ByVal fSize As Integer, _
        ByVal subType As SAPbobsCOM.BoFldSubTypes) As Boolean
        Dim oUserField As SAPbobsCOM.UserFieldsMD
        Try
            Dim RetVal As Integer, ErrCode As Integer
            Dim ErrMsg As String
            oUserField = DirectCast(oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields), SAPbobsCOM.UserFieldsMD)
            oUserField.TableName = TblName
            oUserField.Name = FldName
            oUserField.Description = FldDesc
            oUserField.Type = fType
            oUserField.SubType = subType
            'oUserField.Size = fSize;
            oUserField.EditSize = fSize
            RetVal = oUserField.Add()
            If RetVal <> 0 Then
                oCompany.GetLastError(ErrCode, ErrMsg)
                If RetVal = "-2035" Then
                    Return True
                End If
                Return False
            Else
                Return True
            End If
        Catch ex As Exception
        Finally
            System.Runtime.InteropServices.Marshal.ReleaseComObject(oUserField)
            oUserField = Nothing
            GC.Collect()
        End Try
    End Function
Regards,
Noor hussain

Hi Minhas,
Thanks a lot for your reply. What about percentage, amount,rate and price in what type does this come ?
Noor hussain

Similar Messages

  • Can Not Create Serviceable Item Through DI API

    Hi Experts,
    My Client is using SAP 8.81 PL0 ,I am creating Serviceable Item through DI API, using following code
    oItems = (SAPbobsCOM.Items)SBOAddOn.SBOCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems);
    oItems.ItemClass = SAPbobsCOM.ItemClassEnum.itcService
    When I am going to Add it throw the msg ,ServiceCat is blank
    In DI object I am not able to find the service category kindly help me out.
    Thanks
    Edited by: Anup Kharwar on Feb 21, 2012 5:40 AM

    Hi,
    The SDK helpfile has this to say about the itemClass property:
    SDK helpfile:
    Remarks
    The ItemClass property is applicable for cluster B (country-specific for Brazil only).
    For example in the Finnish localization we do not have a field in the Item Master Data window for ItemClass. We do have the field ItemType
    Does your localization have a field for itemClass anywhere in the B1 client ?
    Regards,
    Johan

  • Problem in Creating Default Form Through DI API

    Hi All,
    I am using the below code to create UDO and make it as Default Form through DI API. But the Default Form property is not getting set, that is the Default Form is not being created. The UDO is getting created. Any help is appreciated.
    // Verify that UDO is defined
                if (!(oCreateUDO.UDOExist(oCompany, "WEB_USER")))
                    SAPbobsCOM.UserObjectsMD MyUDO = (SAPbobsCOM.UserObjectsMD)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserObjectsMD);
                    //Set Services
                    MyUDO.CanCancel = SAPbobsCOM.BoYesNoEnum.tYES;
                    MyUDO.CanCreateDefaultForm = SAPbobsCOM.BoYesNoEnum.tYES;
                    MyUDO.CanDelete = SAPbobsCOM.BoYesNoEnum.tYES;
                    MyUDO.CanFind = SAPbobsCOM.BoYesNoEnum.tYES;
                    MyUDO.CanClose = SAPbobsCOM.BoYesNoEnum.tYES;
                    MyUDO.CanLog = SAPbobsCOM.BoYesNoEnum.tYES;
                    MyUDO.CanYearTransfer = SAPbobsCOM.BoYesNoEnum.tNO;
                    //MyUDO.ManageSeries = SAPbobsCOM.BoYesNoEnum.tYES;
                    MyUDO.Code = "WEB_USER";
                    MyUDO.Name = "Define Portal User";
                    MyUDO.ObjectType = SAPbobsCOM.BoUDOObjType.boud_MasterData;
                    MyUDO.TableName = "PORUSR";
                    MyUDO.FindColumns.ColumnAlias = "Code";
                    MyUDO.FindColumns.ColumnDescription = "Code";
                    MyUDO.FindColumns.Add();
                    MyUDO.FindColumns.ColumnAlias = "Name";
                    MyUDO.FindColumns.ColumnDescription = "Name";
                    MyUDO.FindColumns.Add();
                    MyUDO.FindColumns.ColumnAlias = "U_name";
                    MyUDO.FindColumns.ColumnDescription = "Name";
                    MyUDO.FindColumns.Add();
                    MyUDO.FindColumns.ColumnAlias = "U_Email";
                    MyUDO.FindColumns.ColumnDescription = "Email";
                    MyUDO.FindColumns.Add();
                    MyUDO.FindColumns.ColumnAlias = "U_Status";
                    MyUDO.FindColumns.ColumnDescription = "Status";
                    MyUDO.FindColumns.Add();
                    MyUDO.FindColumns.ColumnAlias = "U_TAG";
                    MyUDO.FindColumns.ColumnDescription = "TAG";
                    MyUDO.FindColumns.Add();
                    MyUDO.FindColumns.ColumnAlias = "U_bp";
                    MyUDO.FindColumns.ColumnDescription = "BP Code";
                    MyUDO.FindColumns.Add();
                    MyUDO.FindColumns.ColumnAlias = "U_password";
                    MyUDO.FindColumns.ColumnDescription = "Password";
                    MyUDO.FindColumns.Add();
                    if (MyUDO.Add() != 0)
                        MessageBox.Show("Failed to add UDO");
    Thanks and Regards,
    Noor Hussain

    Dear All,
    Thanks a lot. I had forgot to add the form columns to the UDO object while creating UDO.
    Regards,
    Noor Hussain
    Edited by: noor_023 on Mar 1, 2012 11:54 AM

  • Problem In Creating Sales Order Through DI API

    Hi
    I am Creating The Sales Order Through DI API.
    the Error Is Coming - " [OACT] , 'No matching records found (ODBC -2028)'"
    anyone  can help me solving it.

    Hi vivek,
    Have you tried adding the same document with the client ?
    OACT is the accounts table and this error message typically indicates that there is an account parameter missing somewhere in the system.
    Possible causes include:
    - you are using a tax group or warehouse which does not have all the required accounts set
    - There is a price rounding and the rounding price account has not been set in the account settings
    - etc.
    The first things I would check include the tax group settings and the G/L Account determination settings.
    Henry

  • How to Create Highlighted text through the API

    I am trying to create a script that goes through a document and cut/pastes specific elements to another document in FrameMaker 7.1.
    So far, I can open a document and if an element is already highlighted/selected, i can cut the whole element using F_ApiCut().
    I am having problems programatically trying to highlight the element that I want to copy.
    So far, I have tried using the exampe from the FDKRef:
            //grab the selected element and set it to the elementRange
            er = F_ApiGetElementRange(FV_SessionId, docId, FP_ElementSelection);
            parentId = F_ApiGetId(docId, er.beg.childId, FP_ParentElement);
            er.end.parentId = er.beg.parentId = F_ApiGetId(docId, parentId, FP_ParentElement);
            // if the selected element is a child of the highest level element, the client returns here
            if(!er.end.parentId) return;
            er.beg.childId = parentId;
            er.beg.offset = er.end.offset = 0;
            er.end.childId = F_ApiGetId(docId, parentId, FP_NextSiblingElement);
            F_ApiSetElementRange(0, docId, FP_ElementSelection, &er);
            F_ApiCut(docId, 0);
    but this only grabs an element that is already selected. Is there a way to select an element through the API?
    Thanks for any help!

    TrainingDeveloper,
    There most certainly is a way. You can set up any kind of selection that you want, although it is definately a tricky process that can throw off even an experienced FDK developer. Here are my observations based on the code you pasted...
    If you want to select an element, the first thing is that you need to have the ID of that element. I don't see anywhere in your code where an element ID is retrieved. All I see is the F_ApiGetElementRange which is getting the current selection, which in turn is likely why you just keep cutting the currently-selected element. If you want to get a specific element, that function call is not applicable. You only need to set up the element range structure to reflect the proper selection and then cut.
    With that, assume that "elemId" is the ID of the element you want to cut. To select an entire element, you would do this:
    F_ObjHandleT elemId, docId;
    F_ElementRangeT er;
    /* . . .   code here to get elemId, docId, etc. . . .  */
    //set up the element range structure for whole-element selection
    er.beg.childId = elemId;
    er.beg.parentId = er.end.parentId =  F_ApiGetId(docId, elemId, FP_ParentElement);
    er.end.childId = F_ApiGetId(docId, elemId,  FP_NextSiblingElement);
    er.beg.offset = er.end.offset =  0;
    //set the element selection in preparation for the cut
    F_ApiSetElementRange(FV_SessionId, docId,  FP_ElementSelection, &er);
    //... and cut
    F_ApiCut(docId, 0);
    I'm not sure what the sample you pasted is meant to accomplish. It is somewhere along the right track but it won't get you exactly what you want.
    Now, I should say that the process of retrieving the desired element ID is a whole different challenge. I'm not sure if you know how to do that or not so I'll defer any discussion on that until you ask.
    Russ

  • Create Sales Order through OE_ORDER_PUB  API and get credit card authorizat

    Hi,
    I was trying to know if there is some way to get credit card authorization (when payment type is CREDIT CARD) creating a Sales Order through de OE_ORDER_PUB API.
    I need to reproduce the manual process where you get this authorization, through the Action Button, in the Sales Order Window.
    Thanks in Advance.
    Nicolas.

    Hi Nagamohan,
    Thanks for the reply..It was Vision Instance that i was working on..
    There was some problem in setups. I had run the same script on other instance and it is working.
    Before signing off i have one more doubt...
    The script which i used is creating a sales order with booked_flag='Y' but flow_status_code is still 'ENTERED'
    how can i change it to 'BOOKED' using API...
    Thanks for the help...

  • Problem in creating user request through ContentDB API

    Hi
    I am trying to create user request on the document. Workflow is configured on the document parent folder. I am trying to submit the document for workflow.
    Here is the code i used to create user request
    RequestManager reqM = session.getRequestManager();
    long[] itemId = { item.getId() };
    NamedValueSet[] docParameters = new NamedValueSet[]
    new NamedValueSet(
    new NamedValue[]
    new NamedValue(Attributes.WORKFLOW_PARAMETER_NAME,"JUSTIFICATION"),
    new NamedValue(Attributes.WORKFLOW_PARAMETER_DEFAULT_VALUE,
    "Edited para 2"),
    new NamedValueSet(
    new NamedValue[]
    new NamedValue(Attributes.WORKFLOW_PARAMETER_NAME,"IFS_ECM_VERBOSE_LOGGING"),
    new NamedValue(Attributes.WORKFLOW_PARAMETER_DEFAULT_VALUE,
    Boolean.FALSE),
    NamedValue[] options2 = new NamedValue[] {
    ClientUtils.newNamedValue(Attributes.WORKFLOW_CONFIGURATION_PARAMETERS,docParameters)};
    reqM.createUserRequest(itemId, options2);
    I got the following error:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: ORACLE.FDK.UnexpectedError:ORACLE.FDK.ServerError
    faultActor:
    faultNode:
    faultDetail:
         {http://xmlns.oracle.com/content/ws}fault:<detailedErrorCode xsi:type="xsd:string">ORACLE.FDK.ServerError</detailedErrorCode><errorCode xsi:type="xsd:string">ORACLE.FDK.UnexpectedError</errorCode><exceptionEntries xsi:nil="true" xsi:type="ns1:ArrayOfFdkExceptionEntry"/><info xsi:nil="true" xsi:type="ns1:ArrayOfNamedValue"/><serverStackTraceId xsi:type="xsd:string">112-1191017621836</serverStackTraceId>
         {http://xml.apache.org/axis/}hostname:contentdb.sjrwmd.com
    ORACLE.FDK.UnexpectedError:ORACLE.FDK.ServerError
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
    However, If i create user request without passing any parameters it is working fine. I get error only when creating request with parameters.
    Please help.

    Hi
    I could able to get the request invoked. Earlier I tried with wrong parameters.
    Thanks

  • Create a user through the API and "Prompt user to change password after next login".

    Using the Adobe Connect Interface, I can create a user and check the checkbox to "Prompt user to change password after next login".
    Can I achieve the same result using the API? The principal-update action doesn't offer such an option and, as far as I can tell, there isn't another action to do so either.
    Thank you.

    You can achieve it as part of your application functionality, but not as a configuration option on WLS.

  • Creating Production Order Through DI API Throws Error

    Hi Experts,
    I am trying to create Production orders automatically (using DI API)for Items from a Sales Order Thorough an Intermediate transaction.
    But it throws an error on the line in which I am setting value to the Business partner code of the Production order object.
    The error message shown first is  'Exception from HRESULT: 0xFFFFFFFF'
    and then                         'Object reference is not set to an instance of an object'
    The Code is Given below
    objPrdOrdr = B1Connections.diCompany.GetBusinessObject(BoObjectTypes.oProductionOrders)
                objProdTree = B1Connections.diCompany.GetBusinessObject(BoObjectTypes.oProductTrees)
                With objForm.DataSources.DBDataSources.Item("HeadTab")
                    intRowCount = .Size
                    For intLoopCount = 0 To intRowCount - 1
                        If objForm.DataSources.DBDataSources.Item("LineTab").GetValue("U_POYN", intLoopCount) = "Y" Then
                       *objPrdOrdr.CustomerCode = objForm.DataSources.DBDataSources.Item("HeadTab").GetValue("U_BPCod", 0).ToString*
                            objPrdOrdr.DueDate = objForm.DataSources.DBDataSources.Item("LineTab").GetValue("U_DueDate", 0)
                            objPrdOrdr.ItemNo = objForm.DataSources.DBDataSources.Item("LineTab").GetValue("U_Product", intLoopCount)
                            objPrdOrdr.PlannedQuantity = objForm.DataSources.DBDataSources.Item("LineTab").GetValue("U_QTY", intLoopCount)
                            objPrdOrdr.PostingDate = .GetValue("U_DocDat", 0)
                            objPrdOrdr.ProductionOrderOrigin = BoProductionOrderOriginEnum.bopooSalesOrder
                            objPrdOrdr.ProductionOrderOriginEntry = .GetValue("U_SlOrd", 0)
                            objPrdOrdr.ProductionOrderStatus = BoProductionOrderStatusEnum.boposPlanned
                            objPrdOrdr.ProductionOrderType = BoProductionOrderTypeEnum.bopotSpecial
                            intPrdEnt = objPrdOrdr.Add()
                            If intPrdEnt > 0 Then
                                objPrdOrdr.GetByKey(intPrdEnt)
                                objForm.DataSources.DBDataSources.Item("LineTab").SetValue("U_PrdEnt", intLoopCount, intPrdEnt)
                                objForm.DataSources.DBDataSources.Item("LineTab").SetValue("U_PrdOrd", intLoopCount, objPrdOrdr.DocumentNumber)
                            Else
                                B1Connections.theAppl.SetStatusBarMessage("Production Order Creation Failed", SAPbouiCOM.BoMessageTime.bmt_Short, True)
                                oForm.ActiveItem = "txtBPCod"
                                Return False
                            End If
                            intLoopCount += 1
                        End If
                    Next
                End With
    Please Help... We are using SAP b1 2007B SP00 PL13
    Thanks and Regards
    Ajith G
    Edited by: Ajith G on Mar 12, 2010 10:57 AM - Sorry, Tried to format text properly but failed

    Rectified

  • Create UDO object through DI API

    Hi folks,
    I want to create an UDO object directly from the code. Deep inside, I have an UDO that wraps an authorization document.
    How can I create an object from my AddOn and add it in SAP BO.
    Thanks in advance!
    Oscar S.M.

    example is for master data and masterdata lines UDO. For other types is almost same.
    Dim oUserObjectMD As SAPbobsCOM.UserObjectsMD
            oUserObjectMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserObjectsMD)
            oUserObjectMD.CanCancel = SAPbobsCOM.BoYesNoEnum.tNO
            oUserObjectMD.CanClose = SAPbobsCOM.BoYesNoEnum.tNO
            oUserObjectMD.CanCreateDefaultForm = SAPbobsCOM.BoYesNoEnum.tNO
            oUserObjectMD.CanDelete = SAPbobsCOM.BoYesNoEnum.tNO
            oUserObjectMD.CanFind = SAPbobsCOM.BoYesNoEnum.tNO
            oUserObjectMD.CanYearTransfer = SAPbobsCOM.BoYesNoEnum.tYES
            oUserObjectMD.ChildTables.TableName = "LINES"
            oUserObjectMD.Code = "DATA"
            oUserObjectMD.ManageSeries = SAPbobsCOM.BoYesNoEnum.tNO
            oUserObjectMD.Name = "Data"
            oUserObjectMD.ObjectType = SAPbobsCOM.BoUDOObjType.boud_MasterData
            oUserObjectMD.TableName = "DATA"
            lRetCode = oUserObjectMD.Add()
            If lRetCode <> 0 Then
                oCompany.GetLastError(lRetCode, sErrMsg)
                MsgBox(sErrMsg)
            End If
            oUserObjectMD = Nothing
            GC.Collect()

  • Error while creating Supplier Contact through API

    Hi,
    I am not able to create supplier contact through an API: ap_vendor_pub_pkg.create_vendor_contact
    The return status (x_return_status)from the API is 'U' and x_msg_data is 'FND'.
    Please help with your suggestions !
    Thanks,
    Sambit

    Hi Hussein,
    Yes the only meesage that is coming in the pot parameter of the API is: 'FND'
    The code snippet is as below:
    ===================================================
    fnd_global.apps_initialize(user_id => v_user_id,
    resp_id => v_resp_id,
    resp_appl_id => v_application_id);
    mo_global.set_policy_context(
    'S', v_org_id);
    v_message := v_message || chr(13) || 'Assigning values for the api ';
    v_vendor_contact_rec_type.vendor_site_id := v_vendor_site_id;
    v_vendor_contact_rec_type.vendor_id := v_vendor_id;
    v_vendor_contact_rec_type.person_first_name := v_first_name;
    v_vendor_contact_rec_type.person_last_name := v_last_name;
    v_vendor_contact_rec_type.email_address := '[email protected]';
    v_vendor_contact_rec_type.org_id := v_org_id;
    v_message := v_message || chr(13) ||
    'Before calling AP_VENDOR_PUB_PKG.CREATE_VENDOR_CONTACT api ';
    BEGIN
    ap_vendor_pub_pkg.create_vendor_contact(p_api_version => v_api_version,
    p_init_msg_list => fnd_api.g_false,
    p_commit => fnd_api.g_false,
    p_validation_level => fnd_api.g_valid_level_full,
    x_return_status => v_return_status,
    x_msg_count => v_msg_count,
    x_msg_data => v_msg_data,
    p_vendor_contact_rec => v_vendor_contact_rec_type,
    x_vendor_contact_id => v_vendor_contact_id,
    x_per_party_id => v_per_party_id,
    x_rel_party_id => v_rel_party_id,
    x_rel_id => v_rel_id,
    x_org_contact_id => v_org_contact_id,
    x_party_site_id => v_party_site_id);
    v_message := v_message || chr(13) ||
    'After calling AP_VENDOR_PUB_PKG.CREATE_VENDOR_CONTACT api: '||v_msg_data;
    =========================================================================
    Output: v_msg_data= FND
    Thanks,
    Sambit

  • Unable to Change Withholding Tax Base Amount while creating Service AP Invoice through DI API?

    Dear All,
    I am trying to create Service AP Invoice through DI API.
    If I post the document without changing SAPPurchaseInvoice.WithholdingTaxData.TaxableAmount the dount ocument is created in SAP without any problem.
    But if I change amount in above field then DI API throws error Unbalanced Transaction.
    If I post same document in SAP with changed base amount it got posted in SAP without any Issue.
    Where I am doing wrong?
    please guide.
    Using:
    SAP B1 version 9 Patch Level 11
    Location : India.
    Thanks.

    Hi ,
    maybe you can find solution to these note 1812344
    1846344  - Overview Note for SAP Business One 8.82 PL12
    Symptom
    This SAP Note contains collective information related to upgrades to SAP Business One 8.82 Patch Level 12 (B1 8.82 PL12) from previous SAP Business One releases.
    In order to receive information about delivered patches via email or RSS, please use the upper right subscription options on http://service.sap.com/~sapidp/011000358700001458732008E
    Solution
    Patch installation options:
    SAP Business One 8.82 PL12 can be installed directly on previous patches of SAP Business One 8.82
    You can upgrade your SAP Business One to 8.82PL12 from all patches of the following versions:8.81; 8.8; 2007 A SP01; 2007 A SP00; 2007 B SP00; 2005 A SP01; 2005 B
    Patch content:
    SAP Business One 8.82 PL12 includes all corrections from previous patches for releases 8.82, 8.81, 8.8, 2007, and 2005.
    For details about the contained corrections, please see the SAP Notes listed in the References section.
    Notes: SAP Business One 8.82 PL12 contains B1if version 1.17.5
    Patch download:
    Open http://service.sap.com/sbo-swcenter -> SAP Business One Products -> Updates -> SAP Business One 8.8 -> SAP BUSINESS ONE 8.82 -> Comprised Software Component Versions -> SAP BUSINESS ONE 8.82 -> Win32 -> Downloads tab
    Header Data
    Released On
    02.05.2013 02:34:18  
    Release Status
    Released for Customer  
    Component
    SBO-BC-UPG Upgrade  
    Priority
      Recommendations/additional info  
    Category
      Upgrade information  
    References
    This document refers to:
      SAP Business One Notes
    1482452
    IN_Wrong tax amount was created for some items in the invoice with Excisable BOM item involves
    1650289
    Printing Inventory Posting List for huge amount of data
    1678528
    Withholding amount in the first row is zeroed.
    1754529
    Error Message When Running Pick and Pack Manager
    1756263
    Open Items List shuts down on out of memory
    1757641
    Year-end closing
    1757690
    SEPA File Formats - New Pain Versions
    1757898
    Incoming Bank File Format
    1757904
    Outgoing Bank File Format
    1762860
    Incorrect weight calculation when Automatic Availability Check is on
    1770690
    Pro Forma Invoice
    1776948
    Calendar columns are wrong when working with Group View
    1780460
    OINM column description is not translated
    1780486
    UI_System crash when you set extreme value of double type to DataTable column
    1788256
    Incorrect User-Defined Field displayed in a Stock Transfer Request
    1788372
    ZH: 'Unacceptable Field' when export document to word
    1788818
    RU loc: No freight in the Tax Invoice layout
    1790404
    Cash Flow Inconsistency when Canceling Payment
    1791295
    B1info property of UI API AddonsInstaller object returns NULL value
    1791416
    Adding a new item to BoM is slow
    1794111
    Text is overlapping in specific localization
    1795595
    Change log for item group shows current system date in all the "Created" fields
    1797292
    Queries in alerts should support more query results
    1800055
    B1if_ Line break issue in inbound retrieval using JDBC
    1802580
    Add Journal Voucher to General Ledger report
    1803586
    Not realized payment is exported via Payment Engine using 'SAPBPDEOPBT_DTAUS' file format
    1803751
    Period indicator of document series can be changed although it has been used
    1804340
    LOC_BR_Cannot update Nota Fiscal Model
    1805554
    G/L Account displayed in a wrong position when unticking the checkbox "Account with Balance of Zero"
    1806576
    Payment Cannot Be Reconciled Internally
    1807611
    Cannot update UDF in Distribution Rule used in transactions
    1807654
    Serial No./Batch inconsistency by canceled Inventory Transfer
    1808694
    BR: Business Partner Code cannot be updated with CNPJ CPF error
    1809398
    CR_Cannot Display Related Multi-Value Parameters
    1809758
    Arrow key not work for Batch/Serial Number Transactions Report
    1810099
    Tax Amount is Recalculated Even if Tax Code Is Not Changed
    1811270
    Upgrade fails on Serial And Batches object with error code -10
    1811846
    Cannot run Exchange Rate Differences when multi branch is activated
    1812344
    Withholding Tax Amount Is Not Updated in Payment Once Witholding Tax Code Is Changed in Document through DI API
    1812740
    DI:"Operation Code" show wrong value when add "A/P Tax Invoice" based on "A/P Invoice"
    1813029
    US_Vendor address on 1099 Summary by Form/Box Report is not updated according to the latest Invoice
    1813835
    Wrong amounts of Goods Return in Open Item List
    1814207
    Preliminary page prints setting does not keep after upgrade
    1814860
    Value "Zero" cannot be imported to "Minimum Inventory Level" field via Excel file
    1815535
    RFQ: Web front end not displayed in supplier language
    1815810
    GT: Adding Incoming Payment for Some Cash Flow Relevant Accounts Fails
    1816191
    BR:System Crashes While Working with Tax Code Determination Window
    1816611
    CR_Crystal Report Displayed Incorrectly Afte

  • Dynamically create document type Item Attribute using WF_ENGINE.AddItem API

    Hi
    Is WF_ENGINE.AddItem API , supported to create document type Item attributes dynamically ? If yes how do we set the display name of the attribute. If no then is there is any other method to dynamically create document tyoe item attribute?
    Thanks

    Hi,
    If the document is stored on a file system, then I would replace the message body with a PL/SQL document which includes links to the files as straightforward URLs. There would be no need to include them in the Workflow in any way. For example, I recently worked with a client where all the (file) attachments made within eBusiness Suite were then migrated into Oracle Universal Content Management and the attachment was replaced with a URL to the new document. Any notifications now just reference the URL link to the document within the document management system in an HTML notification. While the processing is going on, the user is given the list of files that exist as attachments, but no links because the document is being processed by the management system.
    If the attachments are going to be stored in Workflow as documents, you won't be able to change the display name though - display name is set for the attribute on the message, not for each specific notification. Changing the value of the display name for the message would impact all notifications that use that message, which isn't what you want.
    What you need is to dynamically build the notification (either using PL/SQL or OA Framework) and include a list of attachments in the notification. This may be a direct link to the document (either in a document management system or on a file system somewhere) that you can render as a URL, or a link to code that can retrieve the document from the database and serve that to the user. This is not a straightforward piece of work.
    If this is purely internal, you might be better off having a custom form / screen which displays the different documents, and link to that from the notification. Or you could link to a standard form for the transaction and have the users pick up the attachments directly from the transaction.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Print marketing doc when created through DI API

    Hi,
    I am creating Delivery Notes based on Sales Orders through the DI API.
    In B1 print preferences, the print setting is that the document prints when added. This works fine if I create the delivery through B1.
    Why does it not work when I add the document through the DI API and is there a way to make it work?
    Thanks,
    Robin

    Hi Adele,
    Thanks for the response.
    When you say manually, I assume you mean, go into B1, search for that Delivery Note, and then click 'Print'?
    If so that's not good for me, and presents another problem where I will have to use 3rd party software to get around the issue, as these must print automatically. Oh well!
    Thanks,
    Robin

  • Creating A/R Reserve Invoice through DI API

    Hello everyone,
    I am trying to create a A/R Reserve invoice through DI API, for that i have to set invoice documnet property is:
    oInvoice.WareHouseUpdateType = SAPbobsCOM.BoDocWhsUpdateTypes.dwh_CustomerOrders;
    but it throws a exception -
    The object does not support this method, Or method not implemented yet.
    please anyone have sample code for add A/R reserve invoice or any solution for that, provide me.
    Thanks,
    Nikhil

    Hi,
    The Reserve Invoice is coming in the 2007 Version.
    See here:
    /people/community.user/blog/2007/01/24/whats-new-in-sdk-2007-a
    Kind Regards,
    Owen

Maybe you are looking for

  • MSI GTX980 Gaming sometimes not recognized by MSI Z97 Gaming 9 AC

    I have been experiencing a very odd problem with my new hardware. Hardware Motherboard: MSI Z97 Gaming 9 AC CPU: Intel Core i7-4790 CPU-cooler: Scythe Mugen 4 RAM: G.Skill RipjawsZ F3-17000CL9Q-16GBZH Videocard: MSI GeForce GTX 980 4GB GAMING 4G PSU:

  • I need to move my apps, etc from one computer to another but I can't? Help!

    I recently upgraded my phone from an iphone 3gs to and iphone 4s. At the same time I thought it was the right time to move my itunes from my old laptop (which has no wireless) to a new laptop with wireless so it would be easier to up and download mus

  • Check payload in the BPM

    Hi All, Can anybody help me to how to find the data in BPM process. Like in moni we can see the payload i.e exact data transfering. Is there any option to see the exact data in each BPM step and how it transfering. Regards, Kum

  • Memory Analysis for a program

    Hi All, In production sometimes a data load fails because of the less ABAP memory available. For a perticular load ABAP memory goes till 4 Gb and more and after that load fails with short dump. This time i change a start routine logic  and split a co

  • Special characters like hyphens cause problems in Text to Speech on Mac

    The Text to Speech function with the shortcut [option+esc] has helped me  a lot. But, the only problem is that when there is a hyphen in the paragraph selected it doesn't even start reading the paragraph. This problem occurs when reading pdf files fr