How to link expenses to Customer?

Hi,
I have one major issue regarding the tracking of expenses which are related to customer.
Right now this is not yet implemented but moving forward they want to track the revenue and expenses per customer.
Is there a way in SAP Business One to tag expenses incur for the customer?
Thanks.

HI
THis is Examble for one udf in AP invocie, same way u have to modify for other doc's also.
Also u can find Lot of threads regarding the Sp_Tran.
if @object_type = '18' and @transaction_type IN ('A','U')
begin
declare @BILL NVARCHAR(10)
set @BILL = (select isnull(T0.U_BillNo,0) from OPCH T0 where T0.DocEntry = @list_of_cols_val_tab_del)
If (@BILL = 0)
begin
select @error = 1
select @error_message = 'you can not post PO without Bill No'
End
End
This will makes filed mandaory to fill.
Giri

Similar Messages

  • How to link Vendor Invoice to Customer Invoice in Third Party Sales Custom Report

    I have a requirement wherein I want the Invoice to have as many line items as MIRO have if partial delivery happens... invoices (one for each MIRO)..
    We are currently using the Third Party with Shhipping notification...
    I have tried using VF04 for billing but only one line item is coming for Billing in Invoice...
    I mean how to link the RSEG - partial vendor Invoice line items to Invoice...
    Ex: Third Party Order 20 qty
    Partial delivery 12 & 8... I can see 2 MIRO line item values in the table RSEG...
      If i do invoice in VF04..i can only see 1 line item for total billing....
      Can anybody help me how to solve this??? How can i link
      Vendor Invoice to the Customer Invoice....
      I have to solve this for a Third Party report???
      Thanks in Advance...

    Hi Senthil,
    I have seen the table VBRP..but it is showing only 1 line item 20 against 2 invoices 12 & 8...
    My requirement is that VBRP should show 2 line items of Vendor invoices 12 & 8...

  • How do I send a customer a link so that he can view what I have done so far on his website?

    I am doing my first website with Dreamweaver and I don't know how to send/email my customer a link for him to review what I have done so far ?
    Could someone please offer me advice? Thanks
    Looking forward to getting replies...

    Upload (PUT) your files to a Web server and send him the URL to a page on that server. A URL would look like this:
    http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WSc78c5058ca073340dcda9110b1f693f21-7eb 4a.html
    That particular URL goes to the DW help for:
    Getting and putting files to and from your server
    Mark A. Boyd
    Keep-On-Learnin' :-)
    This message was processed and edited by Jive.
    It shall not be considered an accurate representation of my words.

  • How to Link SU01 and ContactPerson and Customer through BAPI or FM

    Hi,
    I want to know how to link a Contact Person to a SAP UserID in same sold to party.
    My requirement is like in ISA when a UserId is created which is realated to a Sold-to-party,a contact person is also automatically created in SAP.
    e.g. If I am going to create a SAP UserID : Ecomdemo related to Customer 1000 a Contact Person is also crated as 0000002483 in SAP background
    I know the BO which is Used BUS1006001.
    Kindly help me how to link.. SU01>ContactPerson>Customer through BAPI of FM without doing manually.
    Looking forward for the respnse.
    Regards
    Arbind

    Problem solved by own.
    Solution : Use Standard SAP FM ISA_USER_CREATE and do some manipulation according to the business needs.
    Regards
    Arbind

  • How do I use a custom UserInfo with a T3Client?

    This is related to my previous post, 4655. The problem is I if
    use a custom implementation of the interface
    weblogic.security.acl.UserInfo in a T3Client constructor, the
    client fails to connect. If I use
    weblogic.security.acl.DefaultUserInfoImpl, the client connects
    and disconnects without any problems. How do I use a custom
    UserInfo implementation with a T3Client?

    In don't know about the Gmail part, but for the Hotmail, try this link.
    Here's another link from a different source.

  • How to link Interactive fields in acrobat 9Pro

    Hi Im new in this and I would like to now how to link interactive fields in acrobat.
    lets say that I have 10 files (File1, File2, File3 etc......) and each file have the same  COMBO BOX that display 5 options (option 1. option 2, option 3, option 4 and option 5), all 10 files have the same combo box with the same options, but i want to DELETE option 3 from each file.
    So, how can I do it, beacuse right now I have to do it manually each file at the time, and in real I dont have 10 files I have 500.
    Please I would appreciate any help.
    Thanks.

    I am not so sure yet but in the PLD properties window on general tab of SBO 2005A there is field name link to. its description is :
    Creates a link between several fields, to determine if the system collectively displays or hides them. If a field is blank or hidden, its linked fields are not printed either.
    To create the link, choose the Unique ID of the field to which you want to link the selected field.
    If the field Total Liable in the document is set to zero there is no need to print the Tax, Discount, and Total fields. It is possible to link these fields to the field Total Liable by selecting its unique ID in the field Link to, found in each one of their Properties windows. This will then hide the fields when Total Liable is zero.
    If a linked field is not yet calculated, the field is ignored.
    Another example:
    Steps for Version 2005A:
    Link every existing field in the Repetitive Area
           to itself (thisinlcudes hidden fields as well!)
    add the following fields to the Repetitive Area
    Field_1:
    General Tab
    untick visible
    Left = 0 / Width = 0 / Top = 0 / Height = 0
    Content/Variable Tab
    Variable No.: 157
    Field_2:
    General Tab
    untick visible
    Left = 0 / Width = 0 / Top = 0 / Height = 0
    Content Tab
    Source Type: Formula
    Field_1 ==' '
    Increasethe Height of the Repetitive Area to allow placing the following field vertically below the exisiting fields of the Repetitive Area - tick Height Adjustment for the Area!
    Field_3:
    General Tab
    Link to: Field_2
    Left = / Width = / Top = / Height =
    => place vertically below the top row in the Repetitive Area
    Format Tab
    Line Break: Divide into Rows
    tick Field Height Adjustment
    Content Tab
    Source Type: Database
    Table: AR Invoice - Rows
    Column: Text
    Maybe it is what your are looking for.
    BTw, Do not you have the custom PLD pdf file ? You could download it in the documentaiton resource center or requesting it to SAP partner.
    Rgds,

  • How to link Interactive fields in Acorbat 9Pro?

    Hi Im new in this and I would like to now how to link interactive fields in acrobat.
    lets say that I have 10 files (File1, File2, File3 etc......) and each file have the same  COMBO BOX that display 5 options (option 1. option 2, option 3, option 4 and option 5), all 10 files have the same combo box with the same options, but i want to DELETE option 3 from each file.
    So, how can I do it, beacuse right now I have to do it manually each file at the time, and in real I dont have 10 files I have 500.
    Please I would appreciate any help.
    Thanks.

    I am not so sure yet but in the PLD properties window on general tab of SBO 2005A there is field name link to. its description is :
    Creates a link between several fields, to determine if the system collectively displays or hides them. If a field is blank or hidden, its linked fields are not printed either.
    To create the link, choose the Unique ID of the field to which you want to link the selected field.
    If the field Total Liable in the document is set to zero there is no need to print the Tax, Discount, and Total fields. It is possible to link these fields to the field Total Liable by selecting its unique ID in the field Link to, found in each one of their Properties windows. This will then hide the fields when Total Liable is zero.
    If a linked field is not yet calculated, the field is ignored.
    Another example:
    Steps for Version 2005A:
    Link every existing field in the Repetitive Area
           to itself (thisinlcudes hidden fields as well!)
    add the following fields to the Repetitive Area
    Field_1:
    General Tab
    untick visible
    Left = 0 / Width = 0 / Top = 0 / Height = 0
    Content/Variable Tab
    Variable No.: 157
    Field_2:
    General Tab
    untick visible
    Left = 0 / Width = 0 / Top = 0 / Height = 0
    Content Tab
    Source Type: Formula
    Field_1 ==' '
    Increasethe Height of the Repetitive Area to allow placing the following field vertically below the exisiting fields of the Repetitive Area - tick Height Adjustment for the Area!
    Field_3:
    General Tab
    Link to: Field_2
    Left = / Width = / Top = / Height =
    => place vertically below the top row in the Repetitive Area
    Format Tab
    Line Break: Divide into Rows
    tick Field Height Adjustment
    Content Tab
    Source Type: Database
    Table: AR Invoice - Rows
    Column: Text
    Maybe it is what your are looking for.
    BTw, Do not you have the custom PLD pdf file ? You could download it in the documentaiton resource center or requesting it to SAP partner.
    Rgds,

  • How do you add a custom label to dates in contacts.....

    How do you add a custom label to dates in contacts- I have multiple birthdays in contact group and want to change label through customise to add additional birthday- unless another way to add second birthday to contacts and identify each one?????? or way to link contacts with same address phone number etc but id birthdays?????

    You have some contacts with more than one birthday?
    To add a custom label for a date, select Edit for an existing contact. Select Add Field. Select Date. Scroll up with the Info window above the date selection and select Other for the new date selection. Select Add Custom Label and then select this label for the new date field for the contact.
    As far as linking dates with multiple contacts, the answer is no to that.

  • How do I set a custom time & date format in the top bar?

    Hello guys,
    Very embarassing question, because I've had Apple's for all of my life (starting with the original Apple Macintosh) but I still haven't figured out one thing
    How do I set a custom time & date format in the top bar?
    When I go to System Preferences > Language & Text > Formats I can set different formats. I have no idea where you will see these, but I know that it's not the top bar where the time and date is being displayed. Because no matter what I enter, the format in the top bar will stay the same. I can only choose things like 24-Hour clock or not, blinking dots and so on in the Time & Date settings from the System Preferences.
    Can anyone here point me in the right direction? I see you can even choose to display the week of the year - I'd love to do that!
    All help appreciated!
    Greetings

    Language & Text system preferences, Formats tab, customize dates.
    There are also many third party menu item utilities that can.  Search Macupdate.com for some.
    One search yielded iClock Pro.  Although I never used it I would think it allows customization.  The link I gave you is to the Macupdate download page for that app.  On that same page is a Similar Software section which has other apps that can do the same thing. 
    One listed is iStat Menus.  The primary use for iStat Menus is not for displaying date/time but it does do that.  And I know it can do what you want because I use iStat Menus to track temperature sensors n my machine and, like you, I want to customize the menu time/date.  So I use it instead of the apple clock.  It does have the customization features I think you are looking for.

  • How to redirect to a custom view in 10g

    Hi All,
    Getting a bit of a headache on this one. I am migrating from 5.7 to 10g and in the project some emails are generated with a link to a custom view. Also I have a submit button in a jsp that redirects to a view. This was easy then (/servlet/controller?viewName=myview&from=1 or similar) but a bit more involved now I guess.
    I had a look at WAPI and can see how to run an activity in an instance, or indeed an application but cant figure out how to display my view.
    Any ideas ?
    cheers
    Tony

    Any thoughts would help on this one.
    Effectively I want a url, or wapi call that takes the user directly to the workspace, with work items at a particular view (not inbox). Defaulting everyone to that view isnt a goer and neither is launching an activity.
    I guess it is possible as the workspace does it when clicking the view dropdown.
    cheers
    Tony

  • How to link a form with MSC2N

    Hi,
    Somebody know how to link a form with MSC2N.
    I want to complete the characteristic in the classification and after I want to print them with MSC2N;
    Thanks a lot for your help.
    Best regards
    Kari

    I explain you my problem.
    I want to link a form with MSC2N in order to print all the characteristic, and  all the informations of the good issue.
    That's why I want to link a form with MSC2N.
    My customer ask me to ceate a form with these informations and I don't kow how to join the characteristics in MSC2N and the datas which come from MIGO.
    Somebody could help me?
    Thanks a lot
    Kari

  • How to add a new custom paper size? I am using a HP Deskjet 1000 J 110a printer.

    How to add a new custom paper size? I am using a HP Deskjet 1000 J 110a printer. I am using Windows XP home edition. The Custom option itself is not appearing in the process of selecting paper sizes in Printing preferences. I have installed this printer just today, but I bought it eight months back in Dubai. Could there be chance that since I purchased it in Dubai and I am using it in India, the software's not functioning properly. 
    Can you please help me with this problem immediately? Reply soon...

    Hi RajeshPujara,
    Please refer the link below to know the paper size supported by this printer.
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02231304&tmp_task=prodinfoCategory&cc=us&dlc=en...
    May I know the size of paper you are trying to print.
    Although I am an HP employee, I am speaking for myself and not for HP.
    --Say "Thanks" by clicking the Kudos Star in the post that helped you.
    --Please mark the post that solves your problem as "Accepted Solution"

  • How to link the menu to the function?

    When edit menu,I don't know how to link item of menu to the Labview Function,means the items of the menu have no use ,can't achieve any function. Please tell me the experts ,Thanks !

    I suggest looking at exsample code. In LabVIEW 6.1 you can go to help >> find examples >> building user interfaces >> menus and toolbars >> menu selection demo.vi. In LabVIEW 6i, goto help >> examples >> advanced >> customizing controls and VIs >> custom menubar examples >> menu selection(this is the VI).
    In the examples, the output of the VIs is usually sent to a case selector of a case structure. The code to be executed is in the appropriate case.
    Jeremy Braden
    National Instuments

  • How to link event with program?

    My program z_report_idoc is called in background job using event ‘OM20000013’ created in SM62.
    Code uses FM: CALL FUNCTION ‘BP_EVENT_RAISE’
    But i dont know how it is linked to program.
    Can anyone have idea how to link program and where i can view this linkage.
    Regards,
    Gurmukh

    1. Go to transaction SWELS and swich on the event.
    2. Then go to vd01 and create customer.
    3. Go to transaction SWELS and swich off the event.
    4. Go to transaction SWEL. it will displays the events regarding your process.

  • How to create IDOC for customer defined table

    hi,
    How to create IDOC for customer defined table Records and how to send this IDOC to target system.
      what message type will be used and on receiving system how to post these records.
      thankx.
      pillac.

    Hi,
    You need to create a custom message type and custom IDOC type for this with whatever fields you want send. You need to create segments (WE30), IDOC type (WE30), Message types (WE81) and assign the message type to the IDOC type (WE82).
    You will have trigger the IDOC using a Report or something after doing the partner profile settings.
    Similary in the target system also, you will have do all the settings.
    Take a look the links to find out what settings needs to be done.
    http://help.sap.com//saphelp_470/helpdata/EN/0b/2a611c507d11d18ee90000e8366fc2/frameset.htm
    http://www.sappro.com/downloads/OneClientDistribution.pdf
    Regards,
    Ravi
    Note : Please mark the helpful answers and close the thread if the issue is resolved.

Maybe you are looking for

  • Macbook pro 13" or dell alienware m14x?

    Dell Alienware M14x 14" (35.6cm) WLED HD+ (900p) display (1600X900) Intel® Core™ i7-2630QM processor 2.00 GHz with Turbo Boost 2.0 up to 2.90 GHz 4GB 1600MHz DDR3 SDRAM (2 x 2GB) 500GB 7200RPM Hard Drive 1.5GB DDR3 NVIDIA® GeForce® GT 555M using NVID

  • ClassCastException exception while running EJB Client

    Folks, I am getting following exception while running the EJB Client.. I am using WLS 5.1 Exception in thread "main" java.lang.ClassCastException at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:319) at FirstStatelessEJBClient.Clien

  • Thinkpad W530 Mini DisplayPort broken

    I bought my Thinkpad W530 about 8 months ago, and I have been experiencing issues with the mini dp port. When I look at the port, it seems that it "went inside" the laptop a littlebit, so I couldn't conect it to monitors.  I am just asking if it is c

  • Variable for section number

    I know there is a variable for chapter number and figure number. Is there a variable for section number? I am in a situation with several chapters in one document - and I am not allowed to separate them into separate chapters or use the book panel. A

  • Bug Report - Hang when run query and then click on connection

    SQL Developer hangs if you run a query in a SQL Worksheet, then while it's still running, right-click on the connection in the Connections window. It will come back again once the query finishes, but usually you want to open another sql worksheet whi