Marketing Documents

Whenever i create table through source code, the control which i am creating is got affected in marketing documents.....? Most of the screens contains that control which i had created for particular screen.. These things r done in system form....? Wats the reason...?

Hi Badri,
If you want the UDF you create only for particular document type, i would suggest you to use Copy Express add on from SAP.
Create the UDF in other database, copy it to your desired database using Copy Express but only select document type you want the UDF exist.
Cheers,
Dody

Similar Messages

  • Get error when preview marketing documents by using crystal report layout

    Hi experts,
    I want to switch to using Crystal Report for marketing documents layout.  I have import Sales Quotation u2013 Generic (CR) layout which provided by XX-1.2.b1p package. I can preview added records but it doesn't work on drafting documents and saved drafts. The system prompt u201CThe system cannot find the path specifiedu201D and u201CObject reference not set to an instance of an objectu201D. On the same server, it was working fine in our other company database. I don't think this is the problem of database location setting in Crystal Report.  Can anyone give me advices, thanks!
    Regards,
    Ivan

    Hi! Rahul,
    Thank you for your reply first. Your method doesn't work in my case.  Can you tell me the steps of creating a new layout for added records and draft documents.  I have created a quotation layout which work with added records only, the steps has been show below and please comments, thanks.
    1. In Crystal Report > new blank report > create new connection > Choose "SAP Business One" > Select OQUT under "B1 Tables".
    2. Insert "CardName" field to report > Create DocKey@ parameter and  set it equal to DocEntry in select expert record function
    3. Click Add-ins > SAP Business One > Save > Choose company database and input manager password.
    Regards,
    Ivan

  • While creating the UDF in the Marketing Document  ERRor

    Dear to ALL
    Please give me some solution to the my problem
    My problem is
    While i am creating the UDF in the marketing document I am getting the error message 131-183 could not able to create the data base.
    Any one can help me out releated to this problem
    Please  .....................................................
    With regards to all ........................
    Gopi J N
    [email protected]
    [email protected]

    Hi JN,
    There is no limit in number of UDF but in record length. This a SQL        
    Server 2000 limitation which establish 8060 bytes as maximum for a         
    record. This limitation does not exist in MSSQL 2005.                                                                               
    Therefore, in order to be able to add more UDFs you should reduce the      
    size of the existing UDFs or upgrade the system to MSSQL 2005.                                                                               
    Please refer to the SAP note 816387                                                                               
    The solution to this problem is to decrease the size of the                
    User Defined Fields. Either by decreasing the length or changing           
    the definition of "Alpahnumeric" fields to Text, or the last resort        
    is to remove the fields.                                                                               
    All these actions have to be done via the SAP Business One application.    
    The change of field type alphanumeric to Text might influence the          
    performance.

  • Trade discount in marketing document

    Dear SAP Prod. Dev.Col. Teams,
    Currently trade discount in marketing document is not posted to journal entry. The customer want it because they want to have the discount is applied in the marketing document rather than in the payment document.
    Manual journal entry is not acceptable since it will add new effort meanwhile the software like SAP B1 is intended to ease the daily working and make their working time efficient and effectively.
    Please give a concern to this request.
    Thanks and Rgds,

    I managed to solve it using WA

  • Ship to party and Bill to party not reflecting in marketing documents

    Hi,
        Ship to party and Bill to party not reflecting in marketing documents inspite of defining it in BP Master data.why does it happen.we are on 8.8 version and this is happening in Livedatabase.
    Thanks,
    Mansoor Baig

    Hi Mansoor,
    Is this for new transactions or existing ones that went thru the 8.8 upgrade? Is this for new BP that the address doesn't show or existing (if you have other transactions with no address problem then it shouldn't be the address format setup unless something happened in the upgrade).
    Heather

  • Remove or Hiding Marketing Documents from SAP Business One.

    Hi Everyone,
    Is there any way by which a marketing document in SAP Business One can be deleted or be hidden. For example in a Sales A/R module the the client does not want to use or also view the AR downpayment request or AR down payment invoice as it is not required for his business. What is the way to hide or remove it from the user point also during authorization.
    I am also seeing that when in the user autorization I am giving full authorization for e.g in Purchase A/P Module - Purchase Order and Good Reciept PO only and when logging in by that assigned user I am only seeing the Purchase Order and Good Reciept PO that's absolutely fine but when I am going in Form Settings and and selecting visible for all the modules then all the marketing documents are coming back which should not come. Is there any way to block the form settings in this moment and when using the tab apply authorization in forms settings the defined authorized documents are comming but if one again clicks on form settings and make all the marketing document visible then again all the marketing documents are comming back which I don't want.
    Please let me know your valuable comments in this regard.
    Thanks and Regards

    Kawish,
    <Font Color="Blue" Size=3> To Hide the module from the User Main Menu
    </Font>
    Login as that user and click Form settings and Uncheck Visible for the
    Using Authorization > General >  Document Settings (change this to No Authorization) 
    This would prevent the user access to Form Settings.
    <Font Color="Blue" Size=3> To Disable access to a Module
    </Font>
    Use Administration > System Initialization > Authorizations > Additional authorization creator.  chose a name and in the Form ID area add the Form number. ( you can get the form number when you open the module and from the View menu enable system information, you can see the Forum number on the Task Bar)
    Suda

  • Use User Defined Tables in a Marketing Document on Row Level

    Hello All,
    Is there a way to use the fields from a User Defined Table in a Marketing Document on a row level such as for example Purchase Order.
    If this is not possible directly, any known work-arounds?
    Thanks for your effort,
    gr.
    Freek

    Thanks for your idea/workaround. To be more precize, we don't want to pull information from a UDT field into a marketing document, but from the row-level  we like to write information to an UDT field.
    Any idea?
    gr.
    Freek

  • How to Choose Document Number of Marketing Documents with Crystal Reports

    Dear Experts,
    I am trying to prepare a simple marketing document, such as a sales order, with Crystal Reports Basic 2008.
    [Goal]
    Being able to choose the document number of a particular sales order when I open Crystal Reports from SBO.
    [Problem]
    The document in Crystal Reports shows nothing, although I can choose a document number when Crystal Reports opens.
    [Parameters I set up]
    Parameter Fields Screen
    List of Values: Dynamic
    Value: DocNum
    Parameters: My Parameters
    Select Expert Screen
    {ORDR.DocNum} = {?Document Number}
    [Crystal Reports Design]
    Report Header
    SALES ORDER
    Page Header
    ORDER#: (ORDR, DocNum)
    BILL TO: (ORDR, CardName) (ORDR, Address)
    Details
    ITEM#: (RDR1, ItemCode)
    ITEM NAME: (RDR1, Dscription)
    QTY: (RDR1, Quantity)
    PRICE: (RDR1, Price)
    Total: (RDR1, LineTotal)
    Page Footer
    TOTAL DUE: (ORDR, DocTotal)
    Thank you for your help,
    --Toshi

    Hi Toshiomi,
    The parameter fields should be
    List of Values: Static
    Value: {ORDR.DocNum}
    Parameters: DocNo
    Type: Number
    and in the Select Expert screen
    {ORDR.DocNum} = {?DocNo}
    I hope this will solve your problem in the most efficient way.
    Thanks,
    Nazar
    Edited by: Nazar N on Dec 22, 2009 10:52 AM

  • Searching DI API Property for column text in marketing document

    Hi,
    I am searching the property for entering information into the column rdr1.text.
    I found the following information in the help file:
    ItemDetails Sets or returns the item details in the marketing document line.
    Field name: Text.
    Length: 16 characters.
    Text Returns the text property.
    Field name: text.
    Both properties are not working because the second one is a read only field.
    Thanks and Regards Chris

    Hello Chris,
    you may try the property "FreeText" of DocumentLines.
    Cheers,
    Roland
    PS.:
    You can switch on the system-information (CtrlShiftD).
    Then in the bottom of B1 the propertys of a form-field are shown on mouseover. This helps often to find the right keyword for the SDK-Help.
    In this case it shows the column name in DB: "FreeTxt"
    Edited by: Roland Toschek on Mar 10, 2009 3:07 PM

  • How can I lock the NumAtCard field in the marketing document screen

    Dear Experts,
    Is there any way I can lock the marketing documents' (say Goods Receipt PO) BP Ref Number field? meaning if there are already values in the field, I do not want any users to change it.
    Please help!
    Warmest Regards,
    Chinho

    Hi Chin,
    There are two options to resolve your problem i.e. using DI SDK code and SP_TN.
    if you want to to use SDK code, it requires big effort except you have a good programmer.
    if you using SP_TN, you could use this following sample:
    if @transaction_Type in ('A','U') and @object_type in ('20')
    begin
            if exists (
                    select a.DocEntry
                    from OPDN a inner join OPDN b on a.numatcard=b.numatcard and
                                            a.DocEntry<>b.DocEntry
                    where @object_type = '20' and (coalesce(a.numatcard,'')<>'' and (year(a.docdate) =
    year(getdate()) and year(b.docdate) =year(getdate())))
                            and a.DocEntry = @list_of_cols_val_tab_del
            begin
                    set @error = -1
                    set @error_message = 'BP ref no. has been used'
            end
    End
    The above query SP is to block the use of last year BP ref no. I also have modified so that not only last year but even yesterday.
    You can modify it by your own way.
    Rgds,
    JimM

  • Check Box in Marketing Document

    Hi Experts,
    Can any one Suggests me, I need Check box in Marketing Documents, Is that possible to create (not mentioning UDF or UDT creation).
    By karth

    You can simulate a check box by one UDF and a FORMATTED SEARCH.
    For example you can create a UDF in INV1 named CK_BOX and link in it this formatted search
    SELECT 'x'
    from inv1
    where $[inv1.u_ck_box] =''
    union
    select ''
    from inv1
    where $[inv1.u_ck_box] ='x'
    Regards,
    Paolo

  • Unit Price and Document Total in a Marketing Document

    Hi Experts,
    I am trying to post a marketing document through the DI API.  I have assigned value to the document lines as follows:
                    sapDocument.Lines.ItemCode = items.MaterialCode;               
                    sapDocument.Lines.Quantity = items.Quantity;
                    //sapDocument.Lines.Price = items.Price; // tried assigning to both Price and Unit Price
                    sapDocument.Lines.UnitPrice = items.Price;
                    //sapDocument.Lines.LineTotal = items.LineTotal // Also tried assigning this.
    All my documents have been successfully posted in SAP Business One except that there is no Price saved and therefore follows that my Line Total and Document Total are all 0.00.
    Hope someone could help me out.
    Thanks.
    Melvin Balingit

    Hello Guys,
    So the correct method is
    first assign the unitprice, than assign the qty.
    Dim oDoc As SAPbobsCOM.Documents = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
            oDoc.CardCode = "C20007"
            oDoc.DocType = BoDocumentTypes.dDocument_Items
            oDoc.DocDueDate = Today
            oDoc.Lines.ItemCode = "A00002"
            oDoc.Lines.Quantity = 2
            oDoc.Lines.UnitPrice = 100
            oDoc.Lines.Add()
            oDoc.Lines.ItemCode = "A00003"
            oDoc.Lines.Quantity = 2
            oDoc.Lines.UnitPrice = 100
            If oDoc.Add <> 0 Then
                MsgBox("Erreur " + oCompany.GetLastErrorDescription())
            Else
                Dim newCode As String = oCompany.GetNewObjectKey()
                MsgBox(newCode)
                AddInvoiceEx(newCode)
            End If
    Regards
    János

  • Print Barcode on Marketing Document SAP Business One

    Hi Everyone,
    This is my case:
    I can print barcode from Crystal Report without problem, the RPT File is a  Datasource from Invoice Document (Marketing Document), I do upload to SAP Business One this rpt file but don't print correcty barcode.
    On Crystal Report function very good but on SAP Business One don't function...
    On Rpt File I use a font 3 of 9, this font is install on folder fonts of  Windows System Folders, too I can print correcty on Zebra print.
    Someone know how print correctly from SAP Business One BarCode?
    on wait answer.
    Regards.

    Hi Douglas,
    Please check below links.
    Barcode Label printing straight out of SBO
    Crystal Reports viewer(runtime) barcode printing problem
    Barcode Label Printing
    https://help.sap.com/saphelp_sbo882/helpdata/en/45/0942df65e16c32e10000000a114a6b/content.htm
    Hope this helps
    Regards::::
    Atul Chakraborty

  • Item Description change at marketing Document

    Hi experts ,
    I have a typical scenario . Let me describe in detail .
    For example --
    For Customer A -  Item A is called as Apple
    For  Cusotmer B -  Item A is called as Banana
    Similarly Customer C......D,E......
    And user need that information at  marketing document .
    My initial though that  when I do SO - I will change item description useing Ctrl +tab feature  and issue will be solved . But Typing  has created a lot of issue . So I need to make it automatic .
    If I select customer A , Item A ....It identifies Item Description should be  populate  as Apple
    Similiarly
    If I select customer B , Item A ....It identifies Item Description should be  populate  as Banana
    As of now , Apple  , Banana is not stored anywhere .. I can utilise UDF or UDT ....
    Can you throw some light on this scenario ?
    Thank you
    Bishal

    Hi Brother
    Please try this
    U can change the item code for every BP in Documents according to your need
    Use the functionality of BP catalog  number
    Inventory > Inventory management > BP catalog number
    Here u can set catalog according to item per BP and also BP per item
    For example u have 10 items that are named differently for 10 BP
    First select the item tab select one of 10 item in header level
    And all 10 BP in row level name them under BP catalog no.
    After that do that for rest of nine item
    When u want this functionally to work
    Open the document  in which you want to change name according to BP
    Like all sale doc or purchase doc .
    In form setting in document  tab go to  general tab and check Display BP Catalog Number
    Do the changes after selecting the item in document other wise only those item will appear for which u have given catalog No for that BP
    Tell me if it does not work
    I will help u out
    Thanks
    Avtar Singh Saini

  • Freight - Marketing Documents Assign a Project Code

    Hi All,
    I have a customer that uses project codes and profit center functionality in SAP Business One. They flag transactions to record the relevant project codes and profit centers for extended reporting requirements. So far we have had no issues but we have encountered one lack in functionality which I can't seem to configure in SAP Business One. The issue is that we cannot assign a project code when recording additional charges / freight during a marekting document in SAP Business One. However you are able to assign a profit center? Is this a limitation of the product and if so will this be addressed in future versions? Does anybody know?
    Any feedback / ideas will be greatly appreciated!
    Thanks
    Andre Pienaar

    Hi
    Whole Marketing Document can be assigned to project, even freight is having separate  profit center.
    If u want to include more features in B1 pls post ur queries here:
    Forum: SAP Business One Product Development Collaboration:/community [original link is broken]
    Giri

  • Sales BOM - Allow to delete individual components on Marketing Documents

    At the moment, we are not allowed to delete the individual component on the Marketing Document.
    I faced a scenario that some client need to substitute a higher value component if there is insufficient quantity of a cheaper value that can be delivered. Currently they have to ship out the higher value component and ship in the lower value item to increase the quantity on hand before cutting the invoice. This involves three steps which can be reduced to a single step if i first defined a Sales BOM with all possible alternatives and let the user decides which item to be shipped out and delete the lines which are not shipped out.
    Of course, you also have to take into consideration during version upgrade, that it should not be looking at the BOM anymore to pump unnecessary lines into OINM.
    Thanks
    Regards
    YG Lim

    Hi
    oItems = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems)
    oPT = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oProductTrees)
    opt.Items.Warehouse="WarehouseCode"
    oPT.Items.Add()
    RetVal = oPT.Add
    If RetVal <> 0 Then
            oCompany.GetLastError(ErrCode, ErrMsg)
            MsgBox(ErrCode & " " & ErrMsg)
    End If

Maybe you are looking for