ReqDate field in OINV

Hi Experts,
Can anyone tell me about the ReqDate field in the Invoice table OINV. What date appears in this field? Under which circumstance does ReqDate field contain value? (ReqDate acepts NULL)
Please help
Thanks in Advance
Jaics

Dear Jane Jing,
Thank you for the reply which is timely and informative.
But I found these fields in my invoice table OINV. Apparently these Invoices were not copied from Sales Order or Delivery and this particular fiels is not in Invoice screen. So I was wondering as to how it got filled with vaue. Any Idea?
Thanks in Advance
Regards
Jaics

Similar Messages

  • Applied Amount field in OINV?

    Hi all,
    My colleague is putting together a report on an AR invoice.
    We can't work out which field in OINV contains data from the "Applied Amount" field in SAP.
    I've had a search around here and in the SDK help documentation (not that this is anything to do with the SDK), and I can't see an answer.
    Thanks!
    Cal.

    Hi
    Field name is    PaidSys which is storing applied amount.
    Thanks
    Mohammad Imran

  • Uncompressing the Address2 field in OINV

    I thought I had seen a SQL script on the portal to do this but I can't find it now.  I am trying to create a query that will give me a list of AR invoices for a specific state (WA) within a date range.
    How can I extract or search for just the state portion of the Address2 field?  Using the OCRD does not work because it will return any invoice that has a shipping address state of WA.
    (SELECT T0.[DocNum], T0.[DocDate], T0.[CardCode],
    T0.[CardName], T0.[NumAtCard], T1.[WhsCode],
    T1.[ItemCode], T1.[Dscription], T1.[Quantity],
    T1.[LineTotal], T0.[Address2]
    FROM OINV T0
    INNER JOIN INV1 T1 ON T0.[DocEntry] = T1.[DocEntry]
    INNER JOIN OCRD T2 ON T0.[CardCode] = T2.[CardCode]
    WHERE T2.[State2] =[%0] AND  T0.[DocDate] >=[%1]
    AND  T0.[DocDate] <=[%2])
    Thank you for any help you can give me.
    Jeff

    Hi Jeff
    I think that my conversation with Eric in this thread can shed some light on B1's behavior regarding addresses in marketing documents:
    Crystal report - how to split a field into more fields
    Also I believe that this article can help you with separation of different parts of an address:
    Tally OH! An Improved SQL 8K “CSV Splitter” Function - SQLServerCentral
    Hopefully in your database different parts are split with char(13) delimiter (or combination char(10)+char(13) I believe).
    Kind regards,
    Radek

  • Po tax field not editable..

    Hi, SAP Gurus,
    field  PO OINV.CURCOURCE  is locked... how to unlock that particular Screen Field...
    i appreciate your help..
    Thanks and Regards,
    kaviprashu

    Hi,
    Thanks Gordon, i am facing this problem in PO, in PO after selecting particular Vendor from Choose From List (F4 Help), field  CurSource is disabled.., and its default CurSource value is INR. 
    i think that if the vendor is not foreign, Field CurSource is disabled by SAP with that country's default Currency , here INR.
    Thanks and Regards,
    kaviprashu..

  • Stored procedure copying docnum to remark field

    Hi Experts,
    Is there somebody who can help me with an stored procedure which copies the docnum of an AR Invoice to the remarks field.
    I need this solution because when we export an clieop file for banktransaction it gives the remark field of the ar invoice instead of the docnum. I spoke to somebody at SAP and he suggested to make an SP which copies the docnum to the remark field.
    It is not possible right now in SBO 2007A to modify the clieop by ourself. Maybe in 8.8 release
    Can somebody help me?
    THX
    Mark

    HI
    You don't need a store procedure for that .You need is formatted search on remarks field :
    Select $[OINV.DOCNUM]
    Auto refresh when cardcode changes
    Your problem will be solved
    Hope this helps
    Bishal
    Edited by: BIshal Adhikari on Nov 5, 2009 12:04 PM

  • Database Field in Aging report PLD

    Hi All,
    I am adding a database field to system's default aging report. the field is a user defined field in oinv table. how should and what field should I link it to? there are three options in property : Link to, relate to and in next segment. I dont see how should I link docentry of current row with the docentry field on report as the docentry field is not visible at all.i was able to drag this user defined field but data that comes is a clear mess. please guide as I will have to create the entire report manually if this is not resolved.
    Thanks a lot in advance,
    Binita

    Thank you for replying.
    Suda,
    I have done the same thing. have extracted the docnum column from the field and have linked  the UDF with the formula field. but the thing I doubt causing the problem is, the report contains data from not just OINV but from JE, RC and other marketing documents and it fails to perform the join operation. any idea? the column does show data in the report  but it shows it of some other invoice document and not the one shown on the row.
    Gordan,
    Even I doubted the same but in that case, it would not have shown the data at first place. it does show but of some other document. there is a join which I am not able to recognize. I want to know how do we usually join the database field. it should not be with the docnum but with the doc entry and I dont know how to get the docentry column to join it as it is no where on the report.
    Please guide.
    Thanks,
    Binita
    Edited by: Binita  Joshi on Jan 21, 2010 7:58 AM

  • Printing only Text and Subtotals lines in A/R Invoice not Regular lines

    How can I create in PLD for A/R invoice that only prints the Text and Subtotals lines in A/R Invoice but not the regular lines the A/R Invoice ?

    Hi Hector Santos,
    Try this,
    ->> Open the A/R Invoice Document.
    ->> Choose the Print Layout Design(PLD) on Top of the Menu Bar.
    ->> Open the A/R Invoice(System) PLD and Save as the New PLD.
    ->> Open the New PLD.
    ->> Choose the Database field(make) on Top of the Menu Bar.
    ->> Create the Database field in Repetetive Area.
    for example,
    Row Line Total Field:
    Table -> INV1 - A/R Invoice(Item).
    Column -> LineTotal.
    ->> Choose the TEXT field(make) on Top of the Menu Bar.
    ->> Create the TEXT field in Repetetive Area Footer or End of Report.
    ->> Create the Database field in Repetetive Area Footer or End of Report.
    for example,
    Document Total Field:
    Table -> OINV - A/R Invoice.
    Column -> DocTotal.
    This is Duplicate thread, so Close the thread.
    Regards,
    Madhan.

  • Beginners question - making sense of form, item, pane & variable (with relation to where data is stored in the SQL database)

    Hi Everyone,
    I am new to writing reports (SQL code) for SAP, however I am aware that inside SAP Business One it is necessary to enable System Information (from the View menu) in order to see which tables (and related table attributes / column names) are related to various aspects of the various SAP 'modules' (e.g.: A/R Invoice).
    Using an A/R Invoice as an example I can see at the row (or line) level that an item with the description of 'Opening Balance Transfer' is contained in the table INV1, within the attribute (or column) called Dscription.
    However not every 'on screen object' shows a table / attribute. For example in the same A/R Invoice if I hover my mouse over the Balance Due field all I see is Form related information.
    My question is 'How do I make sense of the Form, Item, Pane, Variable information?', with relation to where data is stored within the SQL database?
    Links to online tutorials explaining how this feature of SAP Business One will be much appreciated, along with any personal advice regarding working with this information.
    Any (and all) help will be greatly appreciated.
    Kind Regards,
    David

    Hi David,
    1.Here I am explaining use of each field except pane
    a. Form ---> Used in additional authorization creator
    b. Item, column--->Useful in creating Formatted search queries (FMS)
    c. Variable --> Some of the field values based on another values. ie. indirect values.
    d. INV1---Table name
    2. How to get variable?
    As per your second attachment, to get balance due ,you need doc total field from OINV table. For example,
    SELECT T0.[DocNum], T0.[DocTotal] FROM OINV T0 WHERE T0.[DocNum] = 612004797
    Thanks & Regards,
    Nagarajan

  • Where is the link between Sales Invoice and Downpayment Invoices

    We made a downpayment invoice. And processed incoming payment for such invoice.
    Then proceed to Sales Invoice, which was applied to the Downpayment invoice. Everyting went well.
    We tried to use crystal report to extract the Sales Invoice (OINV, INV1) and link to the downpayment table (ODPI) to print the breakdown in the invoice form. We could not find the relationship in this table.
    Can someone help ?
    KC

    Could it be helpful for you to use view in enterprise manager ? I just see the docentry field as the link field among OINV, INV1 and OPDI.
    If you use down payment request, I think you could not since it is a note and must be reconciled after invoice created
    Rgds,

  • Customer Statement Modification

    Using 2007A, I want to add BP Ref no to the repetitive area of the Customer Statement (AGE30001) but when I went into PLD it was already there as a free text field.  In fact all of the fields on that line are defined as free text.  They are not headings but real data fields.  So I have 2 questions, how does it work if they are defined as text fields?  and how do I add a data field from OINV when that table does not show as an option when I try to add a database field?

    Hi Phyllis
    There is a known bug with the BP ref field. Try double clicking on a customer/supplier in the ageing report to get details. Then go back and print and suddenly the BP ref field does print. I know this has been logged but haven't seen a fix in any of the recent patches. Maybe search
    SAP notes and see if it has been addressed yet, if not log with SAP support.
    Kind regards
    Peter Juby

  • A/R Aging Report

    In Crystal Report 2008, I am creating a A/R Aging Report by joining OJDT + OINV + ORIN to show all open A/R invoices and A/R credit memo. In the WHERE statement, I was unable to specify DocStatus = 'O' for both OINV & ORIN at the same time. Only one at a time. Instead, can I specify WHERE isnull ({JDT1.MthDate}) (Reconciliation date is blank). Will this capture ALL the open invoices + credit memo?
    Also, I also need to insert 'Paid' field in the report. However, there was no 'paid field in the OJDT / JDT1 tables. If I use the 'Paid' field from OINV then credit memo won't show. Vice versa if I use 'Paid' field from ORIN. Any idea where can I grab the 'Paid' field?
    Thanks.

    Thanks for your response Jitin!
    For paid field you can check the INV6 & RIN6 field as well. Check if they can help you in any ways.
    The problem is I need to display 'Paid' amount from BOTH A/R invoice AND Credit Memo. In CR formula field for Paid, I used the following:
    if {OJDT.TransType} = '13' then {OINV.PaidFC} else
    if {OJDT.TransType} = '14' then {ORIN.PaidFC}
    The above formula doesn't work and the report is blank. It works only if I include either the OINV (shows only invoices) or ORIN part (shows only credit memo) but not both at the same time. I wondered maybe it will work if I use CASE statement? If so, what will be the correct syntax for it to work?
    Also, another option can be OITR and ITR1 table which records all the reconciliation related data and based on that may be you can find the Open Invoice and Credit Memo.
    Once again, it'd be ideal for me to specify open A/R invoices and credit memo from OJDT / JDT1 table cause that should capture all open docs. Can you confirm isnull ({JDT1.MthDate}) (Reconciliation date is blank) captures all open A/R invoices / credit memo? Thanks.

  • On change one value of UDF, value of other UDF should be change

    Hi to all,
    I have set formatted search on A/R Invoice Form, there is two udf one is BillFrom and second is Jurisdiction. On change of BillFrom the value of the udf should be replace in Jurisdiction. I have write below given query for the same. It is working fine in update mode of existing records. Till time working fine in new record add mode too. Since last 3 days it is not working in add mode.
    Query :
    SELECT case when $[oinv.U_BillFrom] = 'BLR' then 'Bangalore'
                         when $[oinv.U_BillFrom] = 'MUM' then 'Mumbai'
                         when $[oinv.U_BillFrom] = 'GNR' then 'Gandhinagar'
                         when $[oinv.U_BillFrom]  = 'DLH' then 'Delhi'
             end 
    from OINV
    where OINV.DocNum = $[OINV.DocNum]
    Can i have your expert advice to resolve the issue.
    With Warm Regards,
    Chintesh Soni

    Chintesh,
    How does INV1 factor in the query? That has not been mentioned in your post.
    When does the query run? What field is the query assigned to?
    I can only guess at the issues if you don't give me complete information.
    Remember you cannot mass update child records from the parent record via a formatted search.
    If you assign this search to field in OINV and link it to oinv.U_BillForm it will work:
    SELECT case when $[oinv.U_BillFrom] = 'BLR' then 'Bangalore'
    when $[oinv.U_BillFrom] = 'MUM' then 'Mumbai'
    when $[oinv.U_BillFrom] = 'GNR' then 'Gandhinagar'
    when $[oinv.U_BillFrom] = 'DLH' then 'Delhi'
    end
    You don't need the docnum logic at all. Remove it.
    If you are trying to change the values in the matrix based on the oinv.U_Billform changing it will NOT work. To do this you must use the SDK or the SBO_SP_TransasctionNotification.

  • Need a query FMS

    Hi Experts,
    I need a query FMS to display all sales order numbers in a udf of sales invoice (a/r invoice). The udf is in the header.
    Current SAP B1 8.81 SP00 PL09, in the comments field of a/r invoice, it only shows all deliveries numbers but sales order numbers are missing especially one invoice is created based on multiple delivery orders.
    Please help.
    Kind Rgds,
    Steve

    I managed to solve this problem using the following query FMS:
    declare @sonum as nvarchar(30)
    declare @docnum as nvarchar(30)
    declare @sonumb as nvarchar(30)
    declare @remarks as nvarchar(30)
    declare @series as nvarchar(30)
    set @series = $[oinv.series]
    set @docnum = $[oinv.docnum]
    select distinct @sonum =  (SUBSTRING(t0.comments, PATINDEX('Based On Sales Orders', t0.Comments) + 22, 150))  FROM oinv t0 inner join nnm1 t1 on t1.series = t0.series and t0.objtype = t1.objectcode
    where t0.DocNum = @docnum and t0.series = @series
    select distinct @sonumb = LEFT(@sonum,CASE WHEN CHARINDEX('. Based on Deliveries',@sonum)>0 THEN LEN(@sonum)-24 ELSE LEN(@sonum) END)
    select @sonumb
    but it is not perfect because when the user adds another word before the words ; "Based On Sales Orders" in the comments field  of oinv, the SO no. in the UDF will not appear.
    How to remove all characters either based on sales orders or based on deliveries in the comment field ?
    Steve

  • Enum types importing objects

    Hello
    We are developing an export/import data process.
    We first export objects to xml (partners, items, invoices, ...) and after that xml file is imported in other company with object.Add and object.Update methods.
    Objects does not change. but certain fields are problematic, being BoYesNoEnum and BoTransTypeEnum.
    Database does not like the 0 or 1 and I have to make things like this and I do not understand why, since BoYesNoEnum.tNO = 0 and BoYesNoEnum.tYES = 1.
    If oPresupuesto1.ApplyTaxOnFirstInstallment = 0 Then
       oPresupuesto1.ApplyTaxOnFirstInstallment = BoYesNoEnum.tNO
    Else
       oPresupuesto1.ApplyTaxOnFirstInstallment = BoYesNoEnum.tYES
    End If
    In addition, another problematic field  is OINV.FolioNum (integer) that accept no value (0,1, 2, ... ).
    I know it is specific for Mexico and Chile but is there a reason for this?
    Thanks a lot

    Mmm, thanks. It seems it works but now I have a couple of new errors that I do not know how to look for:
    · Importing Business Parterns: "-10 Another object makes reference to the Contact Person  , 'Offer to a client ' "  ¿?
    ¿Another object? ¿What object? I only use one object, oBP.Update.
    If it is a reference to a document, yes, there is an offer with Jorge Perez as Contact Person but why do I get that message?
    · Importing Deliveries: "-5002 A base document has been closed. INV1.BaseEntry[line:1]  ".
    That's right, there is an associated order but I do not understand what problem is.

  • Customer Count

    Hi all,
    I want to come up with a query listing the NUMBER OF CUSTOMERS PER DAY.
    Anyone with a better query than the one below which according to my analysis is
    returning a higher number than usual?
    SELECT DISTINCT 'Customers:', COUNT(T0.DocEntry) as [Customer Count] FROM INV1 T0 WHERE  T0.DocDate='%0'
    Reagards,
    Henry

    Hi Peter,
    Thanks for your prompt response. Sure, it should be OINV.
    SELECT count(T0.DocNum) FROM [dbo].[OINV]  T0 INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry WHERE T0.DocDate =[%0] and  T1.WhsCode =[%1]
    the query above is precisely what i was talking about. I have linked the two tables in order to
    be able to select customers per every warehouse separate. But it gives me overblown figures.
    The query below works fine but it does not have a Warehouse Selection Option because we don't
    have WhsCode or WhsName field in OINV.
    SELECT count(T0.DocNum) FROM [dbo].[OINV]  T0 WHERE T0.DocDate =[%0]
    Please advise on how best to modify the first query to functon properly. Thanks
    Regards,
    Henry

Maybe you are looking for

  • Creating a new folder in bookmarks

    I want to create a NEW folder in bookmarks and THEN add bookmarked pages to that folder. I've actually searched support for a specific solution or instructions and found none. Currently, I can not find any instructions or options for creating a folde

  • How can I see what drive the music I download is going to?

    How can I see where the music I download and put in Itunes is being stored in?

  • Inbound side status updating,purchase order view

    hi abapers, in inbound side when material is received mail triggering should happend and mail should be sent to enduser,for this i used enhancement point in inbound function module 'idoc_input_matmas01' in this fm after matrial is created with fm 'ma

  • Garageband 10.0.1 instrument definitions

    Is it possible to import my keyboard instrument definition in Garage band and/or in Logic ProX

  • Random crashes of new X11 1.12

    Hi, I updated recently X11, but have now random crashes every few minutes (all windows freeze). I think it happens always when I scroll the window up and down with the mouse wheel. What can I do to get this working again? Gernot