Invoice Tables
I'm try to create a query to detemine which customer invoices are paid in full for another query
Can someone give me an idea what tables and field I'm looking for.
I'm very new to B1
Thanks in advanced
Hi James,
There's probably a few ways you can tell if an invoice has been fully paid, depending on what detail you need.
1) The invoice header table, OINV, has a DocStatus field which will be O (open) for documents that have an outstanding balance and C (closed) for paid or fully credited invoices.
2) There is also a PaidToDate field on the OINV table that gives the current amount paid or credited.
3) If you want to match invoices to credits and payments then things become more complex. The RCT set of tables hold incoming payments (eg ORCT is the header and RCT2 holds the list of invoices being paid on each payment). If an invoice has been credited or partial credited then in each credited row in the INV1 table, TargetType will be 14 and TrgetEntry will be the DocEntry of the credit note (in the ORIN table).
Kind Regards,
Owen
Similar Messages
-
Problem linking A/R invoice table INV1 and Credit memo table RIN1
Hi Experts,
I have developed a sales report by picking data from the A/R invoice table INV1, BP partner table OCRD and Charts of accounts table OACT and the report is working fine. The only problem is I am having a challenge linking the above tables with the A/R Credit memo table RIN1. I want the linkage that is in case an A/R invoice is cancelled by raising an A/R credit memo, the same is not reflected on the sales report, kindly help.
PatrickHi Gordon,
Sorry, I did both the report and relationships in crystal but if I do a query in a view it is something like
SELECT dbo.OACT.AcctCode, dbo.OACT.AcctName, dbo.INV1.ItemCode, dbo.INV1.Dscription, OCRD_1.CardCode, OCRD_1.CardName
FROM dbo.OCRD CROSS JOIN
dbo.OACT INNER JOIN
dbo.INV1 ON dbo.OACT.AcctCode = dbo.INV1.AcctCode INNER JOIN
dbo.OCRD AS OCRD_1 ON dbo.INV1.BaseCard = OCRD_1.CardCode
the problem is incorporating the credit memo table coz if i include it I end up with wrong figures, hope this will help you guide.
Patrick -
Dear all,
We're trying to find out purchase order invoice tables. We have found RBKP as header and RSEG is material detail. However we cannot match any of them with MSEG material transactiond because any of them does not contain MSEG document number as a reference document or something. Also we've tried BSEG bur it is the same story. Can anyone tell us that if there is a table which links MSEG (material transactions) and RSEG (purchase invoice items) ? Thanks in advance.
Levent ArslanHi there,
I am not sure if there's anything that matches your need. You might want to link a PO table like EKPO inbetween via a query -SQVI
Other wise you should have referenced or mentioned the Gr # in teh invoice.. which is the only way you can link them
You can also link it via GR/IR account, however not sure if this fits your need. -
Link Between AP Expense Reports and ap invoices tables
hi all
we create expense reports in AP then run the expense report import program to transfer them to the invoices
i know them through
the invoice number entered in the expense report and the invoice number in the invoices table
and the employee in the expense and the vendor in the invoices(through the employee table)
BUT,
some times we change the invoice number after the expense transfered to the invoice
i ask if exist relation columns between ap_expense_report_headers_all and ap_invoices_all directly?
thanks.ap_expense_report_headers_all.VOUCHNO = ap_invoices_all.INVOICE_ID
Hope this answers your question,
Sandeep Gandhi
Omkar Technologies Inc,
Independent Techno-functional consultant -
Invoice tables / AP documents
i'm doing some sap analysis on AP and am trying to recreate the vendor history within sap i.e. understand the AP tables.
- rseg and rbkp (these seem to have invoice / invoice receipt document types mainly document types starting with R) This table doesn't include many K vendor document types of which some are invoice types. Does anyone know which table/s these K vendor docs are held?
- i've read some other forums about BSIK (AP closed items) and BSAK (AP open items). are these useful as it looks like these tables are just a subset of the gl tables BKPF and BSEG.
thanks - uberSAPsterI moved your topic into CRM
Mario -
Hi all,
i want to develop a report for PO line item status.
for that, displaying fields are
"po no, podate, lineitem,mat code,mat desc,uom,po qty,ven code, vend name,GR no,GR date,GRqty,GR vlaue, IR no, IR date, IR qty, IR value."
what is the table for invoice, and i need IR no, IR Date, IR qty, IR valued field names.
kindly..
karthi.
Edited by: karthi soundaraRajan on Feb 20, 2008 7:55 AMCheck the tables.
RBKP Document Header: Invoice Receipt
Field REINDAT Invoice Receipt Date
also check the tables.EKBE, RBKP, RSEG for vendor invoice -
Extractor for RSEG incoming invoice table
Does anyone know if there is a standard extractor that includes incoming invoices from table RSEG? Also is there documentation somewhere on all of the standard extractors?
Dorothy,
I'm looking for the same extractor. Have you found the answer in the meantime?
Thanks,
Sigal. -
Link between PO and Invoice tables
Hi,
I'm desperately trying to find a table that links an invoice to a purchase order. I've been searching on the forum and all the suggestions don't seem to hold the relevant information.
Any advice would be appreciated.
JohnHi John,
Use
CALL FUNCTION 'BBP_PD_INV_GETDETAIL'
EXPORTING
i_object_id = lv_inv
object_id
IMPORTING
e_header = ls_header
TABLES
e_item = lt_item.
u will get purchase order in ls_item-be_refob
Regards,
Neelima -
Freight Invoice tables and fields
Plz any body can give the table names and field names of Freight Invoice informaion.
Hi,
check tables
A711
TMFG
TMFGT
Regards
amole -
I'm doing a B.E Project on Customer/Vendor Info System .
And want to know which "tables & fields" are involved in <b>Customer Invoice</b>.
Any help will be welcomed.
Waiting,......
Nikhil G.
Moderator message: please do some research before asking.
Edited by: Thomas Zloch on Feb 25, 2011 1:20 PMFor cleared items :
- Fetch all data from BSAD with posting date LE key date and clearing date LE key date.
For non-cleared items
- Fetch all data from BSID with posting date LE key date.
- Fetch all data from BSAD with posting date LE key date and clearing date GT key date.
Also look at
3007 Customer account business object
BAPI_AR_ACC_GETBALANCEDITEMS Customer account clearing transactions in a given time period
BAPI_AR_ACC_GETCURRENTBALANCE Closing balance of customer account in current fiscal year
BAPI_AR_ACC_GETKEYDATEBALANCE Customer account balance at a key date
BAPI_AR_ACC_GETOPENITEMS Customer account open items at a key date
BAPI_AR_ACC_GETPERIODBALANCES Posting period totals per customer account in current fiscal year
BAPI_AR_ACC_GETSTATEMENT Customer account statement for a given period
Regards
Raymond -
Invoice table can't have rows added?
I've been trying to use the invoice template, but adding new rows completely wipes out the formatting. Is there a way I can add a new row and still maintain the ability for the table to calculate the row and add it to the total below? I've tried copying the working cells, pasting them, then deleting the text and entering in the new information... but although it calculates the subtotal at the end of the row, it doesn't apply that subtotal to the end result at the bottom of the page.
Any thoughts?
I've seen people suggest adding a row using the inspector, and this seemed to solve the problem for others... but it doesn't work for me. shrugThe way you use tables implies a different behaviour.
In Tableau 1, the row in which I calculate the SUM is just below the last 'row to sum'.
In B7 the formula is =SUM(B2:B6)
When we insert a row above row 7 or below row 6, the formula remains =SUM(B2:B6)so, the value entered in B7 is not summed.
In Tableau 2,I left a blank row between the last used one and the one used to sum.
If we insert a row below row 6 (the last used one) as I did in Tableau 2-1, the value entered in B7 is not summed.
If we insert a row above row 7 or above row 8 as I did in Tableau 2-2, the value entered in B7 is summed.
Last not least, if we add a footer row at the bottom of the table.
We are always able to insert new 'current' rows.
In B8 the formula is =SUM(B).
Yvan KOENIG (from FRANCE dimanche 30 novembre 2008 18:59:51) -
Hi,
In Access, I want to link either an invoice or delivery table to a Sequel table containing our shipping information such as tracking numbers, total charges per delivery, etc. Purpose for this will be to compare the actual shipping charges versus what we charged on the invoice. Since some of our divisions base shipping charges on the total dollar amount of the order instead of the actual charge, this will allow me to make sure we are charging enough in these instances.
In my shipping table, the primary key is the delivery number. So, I need to find the delivery number that is the base document for each invoice. Tried to find a base document field in the OINV table but I don't see one. Don't want to have to link the INV1 table as well, as my Access skills are beginner level.
I want to link to these tables in Access so the data refreshes every time I open the table.
Can you tell me what field and table in SAP I should be using? Is there an easier way to do this?
Thanks,
Shelbyhello Shelby...just to answer one question you have...
1. To attach any header table (all starting with "O") to a detail table (all ending with a number like "1"), the following is used...
OINV T0
LEFT OUTER JOIN INV1 T1
ON T0.DocEntry = T1.DocEntry
This goes for ODLN to DLN1 (go ahead and try it out)
2. To connect tables together in the SAP B1 "module flow" (Delivery to AR Invoice), it is a combination of the two DETAIL records (DLN1 and INV1) using the fields of:
TargetRef/TargetKey + TargetType + :LineNum (from DLN1 as the Delivery Line creating the AR Invoice Line)
being equal to the
BaseRef/BaseKey + BaseType + LineNum (from the INV1 as the AR Invoice Line created from the Delivery Line)
This is how SAP B1 also connects the information when users are using the icons of Base Document and Target Document.
It takes some time and patience to work this information, but when you get this concept, you can create quite a few good SQLs where users can follow the entire process of say a "Customer Purchase Order Number" (OINV.NumAtCard) from start to finish...and no need to export to Access - the information can be used to correct and/or research information "real time"...I personally call these "SAP B1 workstations" where users can easily ensure accuracy of what they have done or what is left to be done. But the SQL MUST always have "LEFT OUTER JOIN"...
Much luck in getting the information together and building up the SQL skills...
Zal -
Invoice table sold to party show wrong data
Dear All
While creating excise invoice in background sold to party show wrong data.
In invoice ship-to-party andsold-to-party display correct but when we check
in J_1IEXCHDR table ship-to-party and sold-to-party display same data.
After upgrading support packs this problem came.
Regards
PyneriHi
Refer this
Re: can anyone tell me in which table is sold-to-party name stored
Regards
N Ganesh -
Seperating Shipping address from Invoice Table
Ship Address gets stored in one field address in OINV or ORDR Table
any way to link that to master Address table to get address separated by address1,address2,city,state and zip
or any other thoughtsThis query will pull the address components from crd1 as they exists at the time the query is run, not when the order/invoice was posted. Just a warning.
Since there is nothing to stop a user from editing an existing address, this query could returned a parsed address that is different in every respect except address name and address type from the address that was actually used for the order or invoice on the logistics tab.
If what you really need is the parsed out address from the logistics tab, you have some work ahead of you. I've got a rudimentary parser that I have written, and it works fairly well for US addresses, but for international addresses, due to differences in logistics tab address formats, it breaks down. -
Hi All,
I was trying to write a query whereby it list out only AP Reserve Invoice that the status is Open (which has not copy to GRPO yet), however, I do not know which table or any columns that differenciate between AP Invoice and AP Reserve Invoice, anybody has idea on this?
Open items list does separate out Outstanding AP Reserve Invoice that is not yet delivered but the listing is not good enough, it does not list out the details instead only the invoice no and to know the details, users has to manually drill into the invoice one by one. Trying to give a listing that list out all detail items. Hope someone is able to assist on this, thanks.
Regards,
MHGordon, I like this answer - but have a small follow-up question
if a customer uses the AP invoice to record purchase or materials X factory from a remote location
it is hitting the normal GL accounts
but ideally they would want to hit a Goods In Transit account instead
thus they would have full visibility into the goods "on the water" until they arrive
I cant seem to find a way to point the AP Reserve Invoice to a In Transit account when I am using Item Group GL Acct Determination
any advice/suggestions??
Maybe you are looking for
-
I have some photo's on an ipad 2 that were put on there through syncing on iTunes, I would like them to be placed on my new ipad. I understand that I can't use iCloud ? Just to point out u no longer own the desk top pc from where I synced the origi
-
I have updated to the latest version of iTunes (11.2.2.3). However, when I connect my iPod it shows in My Computer and iTunes opens automatically when the iPod is connected but the device doesn't show in iTunes. Any ideas? I am on Windows 8.1 and m
-
I need to make a spreadsheet based on info from specific table columns and headlines above those tab
Hi all, A client of mine is requesting that I create a spreadsheet from a huge catalog that I am doing for him (this will also be done for all similar huge catalogs). The spreadsheet needs to pull information from some of the table columns, as well a
-
Hpe h8-1151sc (Graphiccard support)
Hello i have a hpe h8-1151sc (only sold in scandinavia) - I has the IPISB-CH2 (Chicago) motherboard installed (with I7 2600). Right now i have a GTX 680 installed running wiht a Corsair HX 620 PSU. I am thinking of upgrading to a Radeon R9 290X. My c
-
2.5.2 JDOEnhancerTask ignores classpath element
I use java task with the same classpath and everything works JDOEnhancerTask fails with java.lang.NoClassDefFoundError: javax/jdo/InstanceCallbacks or for another project it can load my config file. I can assure you that jdo jar in my class path (jav