Query payment
hai all Expert
hi all experts
how to display line customers in the payment in 3 months, and displays invoice date, invoice due date,
incoming and average transaction value in 3 months
this my query :
SELECT T0.[DocNum], T0.[CardName], T0.[DocDate], T0.[DocDueDate], T0.[DocTotal] FROM OINV T0
I wanted to like this show:
invoice number, customer name, T.O.P Payment customer , invoice date, invoice value, Incoming value, AVERAGE TRANSACTION /MONTH
thanks
Hi Rachelhel,
Link to ORCT - OINV
SELECT * FROM ORCT T0 INNER JOIN OINV T1 ON T0.DocEntry = T1.ReceiptNum
Try this,
Lists of Incoming Payments and related Invoices.
SELECT T0.DocNum, T0.DocEntry,
T1.DocNum as 'Invoice No', T1.CardName, T1.DocDate, T1.DocDueDate, T1.DocTotal
FROM RCT2 T0
INNER JOIN OINV T1 ON T0.DocEntry = T1.ReceiptNum
OR
SELECT T0.DocNum, T0.DocEntry,
T1.DocNum as 'Invoice No', T1.CardName, T1.DocDate, T1.DocDueDate, T1.DocTotal
FROM RCT2 T0
INNER JOIN OINV T1 ON T0.DocEntry = T1.DocEntry
Regards,
Madhan.
Similar Messages
-
good morning experts,
I have a problem, how to create a Query to display
customer data to the payment of more than 30 days.
And are also grouped according to TOP customernya payment.
In the data please also shown the value of customer transactions in a month.
please help
thank youhai experts all good day.
Kevin Shah thank you for helping me, but I have tried your query and can not work
1). [Microsoft] [SQL Native Client] [SQL Server] Incorrect syntax near 'C'. 2). [Microsoft] [SQL Native Client] [SQL Server] Statement 'User-Defined Values' (CSHS) (s) could not be prepared.
I have a query like this, I want to add a little extra
to display only the variance plus duedate payment only, and the column term or payment customers and average sales per customer is (data total sales in the last 3 months average)
Declare @FromDate datetime
Declare @Todate datetime
set @FromDate = (select min(S0.DocDate) from OINV S0 where S0.DocDate >= '[%0]')
set @ToDate = (select max(S1.DocDate) from OINV S1 where S1.DocDate <= '[%1]')
Select
P0.DocNum as 'Invoice Number',
P0.CardName as 'Customer Name',
P0.DocDate as 'Invoice Date ',
P0.DocTotal as 'Invoice Value ',
P0.DocDueDate as 'Invoice Due Date',
V0.DocNum as 'Incoming Payment Date ',
V0.DocDate,
(case
when V0.CashSum > 0 then 'Cash'
when V0.CheckSum > 0 then 'Check'
when V0.TrsfrSum > 0 then 'Bank transfer'
Else 'Deduction'
end) as 'Payment Type',
V0.TaxDate as 'Due Date Check/Cash/Bank Transfer',
V0.CounterRef as 'Payment Status',
V0.DocTotal as 'Incoming Value',
DateDiff(dd,P0.DocDueDate,V0.TaxDate) as 'Due Date Payment Variance'
From OINV P0, ORCT V0, RCT2 V2
Where
V0.Docentry=V2.DocNum and
V2.DocTransId = P0.TransId and
P0.DocDate >= @FromDate and
P0.DocDate <= @ToDate
I want to display like this:
no invoice | customer name | TOP Payment | Invoice Date | Invoice value | Invoice Due Date |Due Date Check/Cash/Bank Transfer | Incoming Value | Due Date Payment Variance | AVERAGE TRANSACTION /MONTH
1234567 | XXX | 1 | 26.12.09 | 258,000.00 | 15.01.10 | 16.01.10 | 158000 | 1 | 258,000.00
thanks -
Payment Process Request Status Report - unmask bank account number
Dears,
My requirement is to unmask bank account number in Payment Process Request Status Report (short code: IBY_FD_PPR_STATUS_PRT). It is possible to achieve?
Thanks for any help and suggestions.
Rgds,
MarcinSunil wrote:
Guys,
Can you please tell me what is the Data Definition name associated with Payment Process Request Status Report.
Looking forward to your replies.
Thanks.
-SunilLogin to (XML Publisher Administrator) responsibility and click on Templates, query "Payment Process Request Status Report" and click on Go and this should show the "Data Definition". You can also click on "Payment Process Request Status Report" link and get all the details (Template Files, File name, Localized/Translatable Template ..etc).
Thanks,
Hussein -
hai everybody
while i m working sales orders with payment cards after saving sales order i m not getting the authorization responce
can u pls send me the info regarding the authorization of payment cards
thank you in advance
sudheerCheck following links for your query:
- [Payment Card Authorisation|http://help.sap.com/printdocu/core/print46c/en/data/pdf/SDBILIVPC/SDBILIVPC.pdf]
- Credit card payment
- [Set Up for Credit Card Payment Processing|http://www.sap-img.com/sap-sd/set-up-for-credit-card-payment-processing.htm]
Thanks & Regards
JP -
Customize Data Definition for Payment Process Request Status Report
R12.1.1 Payables
I have to add some extra fields to "Payment Process Request Status Report" when processing payments.
What package do I have to customize?
Is this IBY_FD_EXTRACT_GEN_PVT? If so, where do I have to modify?
I have to add project and task information stored in ap_invoice_distributions_all table.
Thanks,
JoonSunil wrote:
Guys,
Can you please tell me what is the Data Definition name associated with Payment Process Request Status Report.
Looking forward to your replies.
Thanks.
-SunilLogin to (XML Publisher Administrator) responsibility and click on Templates, query "Payment Process Request Status Report" and click on Go and this should show the "Data Definition". You can also click on "Payment Process Request Status Report" link and get all the details (Template Files, File name, Localized/Translatable Template ..etc).
Thanks,
Hussein -
Conditionally enabling data fields
hey guys,i have a select control with two options(house and
land)and i have twelve fileds for installment payments.now i want
all the twelve to be active when the "house" option is selected and
only the first six fields when "land" option is selected.i tried
this code (visible="{PropertyType1.selectedItem != undefined}") but
it does not work can someone bail me out here.thanks.this is the
source guide me plizzzz
<cfscript>
//make query with property types
types = queryNew("label");
queryAddRow(types,2);
querySetCell(types,'label',"HOUSE",1);
querySetCell(types,'label',"LAND",2);
</cfscript>
<cfformgroup type="page" label="PAYMENT FORM">
<cfformgroup type="vbox" id="editForm3"
style="backgroundColor:##E1EFC2;">
<cfinput type="text" name="CustomerName" label="Client
Name:" />
<cfselect name="PropertyType1" display="label"
query="types" label="Property Type:"
width="150"></cfselect>
<cfinput type="text" name="PayPlotNumber" label="Plot
Purchased:" />
<cfinput type="text" name="Cost" label="Base Cost:" />
<cfselect name="PaymentType" display="label"
query="payment" label="Payment Type:"
width="150"></cfselect>
<cfinput type="datefield" name="PaymentDate"
label="Payment Date:" mask="mm/dd/yyyy">
<cfinput type="text" name="Balance" label="Balance On
Payment:" />
<cfformgroup type="vbox">
<cfformgroup type="horizontal">
<cfinput type="text" name="FInstallment" label="1st:"
width="180" hspace="2">
<cfinput type="text" name="SInstallment" label="2nd:"
width="180">
</cfformgroup>
<cfformgroup type="horizontal">
<cfinput type="text" name="TInstallment" label="3rd:"
width="180">
<cfinput type="text" name="FrInstallment" label="4th:"
width="180">
</cfformgroup>
<cfformgroup type="horizontal">
<cfinput type="text" name="FtInstallment" label="5th:"
width="180">
<cfinput type="text" name="StInstallment" label="6th:"
width="180">
</cfformgroup>
<cfformgroup type="horizontal">
<cfinput type="text" name="SvInstallment" label="7th:"
width="180" visible="{PropertyType1.selectedItem != undefined}">
<cfinput type="text" name="EtInstallment" label="8th:"
width="180">
</cfformgroup>
<cfformgroup type="horizontal">
<cfinput type="text" name="NtInstallment" label="9th:"
width="180">
<cfinput type="text" name="TnInstallment" label="10th:"
width="180">
</cfformgroup>
<cfformgroup type="horizontal">
<cfinput type="text" name="EvInstallment" label="11th:"
width="180">
<cfinput type="text" name="TwInstallment" label="12th:"
width="180">
</cfformgroup>
</cfformgroup>
</cfformgroup>
</cfformgroup>
</cfformgroup>
</cfformgroup>Hi Jay,
As far as I am concerned, I would say that you will have to write a Data Selection formula.
However, if you want to restrict data before it comes to the report, there is this option to use a Universe (if in case you are using Business Objects Enterprise).
Hope this helps.
Regards,
Jay. -
Family Pack patch for after R12 RUP 6
Hi Hussein,
EBS R12 (12.0.6)
RHEL 4.6
We have an on going implem of EBS R12 RUP 6 (FINANCIALS) and still, every day our functional consultant is still
encountering setup error and ask me to apply more patches. Does FINANCIALs have Family pack that followed
RUP 6? It is really tiring going to the client everyday just to apply 1 patch. I want to apply all at one time. How
do I find all the FINANCIAL pathces after 12.0.6? Is patchset.sh applicable to R12?
Thanks a lotHi Hussein,
Based on Note 793520.1 you gave me, the following ang the patches updates made after RUP 6.
These are quite plenty if I have to apply them 1 by 1. Are there family pack where all of these patches
are merged ? say RUP 7
Thanks
Financials R12.0.6 Software Updates
To assist you with your patch application testing, the following patch descriptions are listed below by business activity.
Create Accounting
Product Patch Number Description
Payables 7156680 Payment Accounting is now generated correctly for foreign currency invoices where rounding amount is larger than the invoice line base amount.
Payables 7295407 During Payment Accounting, deferred tax amount is now calculated correctly without deducting the withholding tax, thereby fully offsetting the interim tax account.
Payables 7318763 Performance of Unaccounted Transaction Report has been improved in processing unaccounted invoices. Execution time has been reduced by adding a filter condition while updating the global temporary table.
Payables 7351478 Create Accounting now updates the payment transaction processing status correctly if it errors out during processing and these transactions will be picked for processing during next accounting run.
Payables 7394744 Bank charge amount is now properly accounted when the currency has zero precision and the bank charges are prorated to multiple invoices. Earlier the actual discount taken and the discount accounted amounts were different.
Payables 7422774 Create Accounting now successfully accounts for payment clearing events in case of foreign currency payments. The loss is now calculated on the payment amount instead of the invoice amount.
Payables 7508899 Encumbrances now successfully gets reversed for exchange rate variances. Earlier encumbrances were not relieved to the extent of exchange rate variance amount.
Payables 7509835 Performance of Create Accounting program has been improved in processing accounting events associated with prepayment application, un-application, and adjustment.
Payables 7516015 Performance of Unaccounted Transaction Report has been improved in processing unaccounted invoices. Execution time has been reduced by relocating null check processing.
Payables 7560247 Create Accounting for payments transactions will now successfully account when the invoices paid by those payments have been partially paid, adjusted and then fully paid.
Payables 7595304 Create Accounting now properly accounts cancellation of payment, which was created, accounted and cancelled before upgrade.
Payables 7621517 Accounting in reporting ledger is now done correctly for invoices with the same currency as that of the primary ledger currency by using the exchange rate applicable on the general ledger date instead of invoice date.
Payables 7623562 Performance of Create Accounting program has been improved in processing invoice and payment events. Execution time has been reduced by making queries related to primary pay events more selective.
Payables 7688509 Create Accounting for prepayments now completes successfully for invoices having adjustment events in 11i and prepayment applied in R12.
Receivables 6970663 Performance of the Create Accounting program has been improved for processing accounting events associated with receipt application. Execution time of the program has been reduced from hours to a few minutes for processing accounting events for receipt applications to invoices containing hundreds of lines.
Receivables 7046688 Receivables now allows unapplied receipt account to be defined as a control account. The system no longer uses unapplied receipt account when creating accounting entries for unidentified receipts.
Receivables 7326016 When an on-account credit memo in functional currency is applied to an invoice, receivables no longer creates a gain/loss accounting line with zero amount.
Receivables 7447470 When using Subledger Accounting methods ' Multi-Fund Accrual - Account Method' or 'Multi-Fund Accrual - Balancing Method', Receivables now creates accounting entries successfully for credit memo which has freight line.
Receivables 7484811 Generation of accounting for bills receivables transaction has been corrected as follows: 1. When a bills receivable transaction is deleted, the system now correctly handles associated accounting events by deleting them. 2. When a bills receivable transaction status is changed to incomplete, the system now correctly handles associated accounting events by updating their status to incomplete. This prevents such transactions from appearing on Subledger Period Close Exception report.
Receivables 7497944 Receivables now creates correct accounting entry when a miscellaneous receipt is uncleared in Cash Management. Users will no longer encounter accounting error "The subledger journal entry does not balance in the entered currency" when the Create Accounting program process the miscellaneous receipt.
Receivables 7507503 When using Subledger Accounting methods ' Multi-Fund Accrual - Account Method' or 'Multi-Fund Accrual - Balancing Method', system now creates accounting entries successfully for credit memo refund activity. Users will no longer receive error message stating accounting entry is not balanced in entered currency.
Receivables 7528706 Receivables now creates a balanced accounting entry when a miscellaneous receipt is reversed.
Receivables 7535858 Receivables now calculates correct gain or loss in reporting ledger when a foreign currency receipt is applied to an invoice.
Receivables 7594971 Users can now perform receipt processing actions like unapplication, placing on-account, reverse, etc., on receipts upgraded from 11i. System no longer gives accounting errors when such actions are performed on upgraded receipts, which have gain/loss accounting lines created in 11i.
Receivables 7625737 For prepayment receipts, system now creates accounting entries with correct amounts. System no longer creates unapplied accounting line when the prepayment receipt is accounted.
Subledger Accounting 6997731 The Create Accounting program now completes successfully and no longer gives unique constraint violation error. Users encountered this error when same sequence number was generated for account event and accounting header.
Subledger Accounting 7230462 Payables: When using Multi Period Accounting (MPA) feature, system now creates final period accounting lines with correct amounts for a deferred Payables invoice.
Subledger Accounting 7253542 Receivables: Subledger Accounting now calculates correct gain or loss in reporting ledger when a foreign currency receipt is applied to an invoice.
Subledger Accounting 7259699 Cost Management: Performance of Transfer to General Ledger program has been enhanced when processing large volumes of data. Execution time has been reduced by leveraging available indexes.
Subledger Accounting 7351981 When the Create Accounting program is run in a translated language, the 'Report Date' field in the output of the program is now correctly translated into the template language.
Subledger Accounting 7481354 Loans: Supercedes the patch 7390659 which resolved online accounting for Receivables adjustments in Loans module. This patch includes required dependant patches.
Subledger Accounting 7483871 Import Application Accounting Definitions program now completes successfully without any errors when importing Oracle seeded Application Accounting Definitions which use supporting references.
Subledger Accounting 7512923 The Transfer to General Ledger program has been improved as follows: 1. The Create Accounting program now sets the status of accounting entries to 'Not Transferred to GL' for both primary and reporting ledger if the Journal Import program in General Ledger fails for reporting ledger. 2. The Create Accounting program now sets the status of accounting entries to 'Not Transferred to GL' if the journal entries selected for transfer failed to be inserted in General Ledger Interface. 3. The 'SLA: Disable Journal Import' profile option is end dated to discourage usage of this profile. 4. Interface tables used by journal import processing are now not dropped to help troubleshooting. 5. Six additional columns namely ENTITY_ID, EVENT_ID, AE_HEADER_ID, LINE_NUM, ACCTD_DR, ACCTD_CR will be populated in General Ledger import references during the journal import for the effective reconciliation between General Ledger and Subledger Accounting. 6. The Create Accounting program now sets the status of accounting entries to "Not transferred to GL" in Subledger Accounting if the journal import completes in status other than "Normal" and "Warning".
Subledger Accounting 7529475 The Create Accounting program now correctly generates rounding lines for encumbrance journal entries. Users will no longer encounter the General Ledger error "Encumbrance entry should have encumbrance type id populated" when encumbrance journal entries containing rounding lines are transferred to General Ledger.
Subledger Accounting 7567172 Payables: The Create Accounting program no longer ends in error when submitted in French language. The program now correctly handles column titles containing quote character.
Subledger Accounting 7608545 Payables: Subledger Accounting now correctly calculates opening balance for control accounts.
Subledger Accounting 7651627 The Create Accounting program now correctly handles data corruption in data extract. The program provides in the log file the details of events which have corrupted data in the extract.
Create Payments
Product Patch Number Description
Payables 7371792 Credit Memos are now correctly applied to the extent of available credit balance thereby preventing creation of negative payments.
Payables 7673570 Payments can now be successfully voided from Payment Workbench for payments created using Payment Process Request. Earlier it used to error with FRM-40654.
Payables 7674115 Performance of Payments Dashboard has been improved when querying Payment Process Request status. Execution time has been reduced by caching the Payment Process Request statuses.
Funds Capture
Product Patch Number Description
Payments 7260720 Payment System dropdown in Funds Capture Process Profile setup page now successfully displays the user created Payment Systems having only credit card as supported capability. Earlier it used to display user created Payment System when either both credit card and bank account transfer or only bank account transfer has been selected as supported capability.
Payments 7326965 Order Management: When creating new credit cards in sales order form, the card brand dropdown box now displays only those brands which have value 'Yes' for Accepted field in credit card brands setup in Payments.
Payments 7436823 Order Management: Approval Code is now correctly shown for credit card sales order by populating the right value for the authorized flag.
Payments 7437833 Credit Card refunds to customers no longer errors with java.sql.SQLException: Missing IN or OUT parameter at index: 22.
Payments 7459855 Spanish CSB 19 Direct Debit Magnetic format now displays value for the field due date in the output which was missing earlier.
Payments 7462188 Fetch Settlement Batch Clearing concurrent request is now importing the acknowledgment file from Paymentech payment system. The batch and the transaction status is also being updated to 0 (success) instead of 11 (pending) and 111 (pending) respectively. Prior to this fix the Fetch Settlement Batch Clearing program did not update the transactiona and batch status from the pending status.
Payments 7485946 Receivables: Auto Remittance program no longer errors out for Duplicate Order ID as Payments now provides only one authorization for each transaction extension id.
Payments 7488171 German Direct Debit format output file now displays correct data by modifying the following in the template: 1. Added fillers to form 128 byte records 2. Added rounding function to amount values 3. Removed line breaks 4. Replaced underscores with hyphen 5. Display condition for overflow record has been changed
Payments 7495784 Fetch Settlement Batch Clearing program now successfully matches the submission id generated during the settlement batch creation with the one present in the acknowledgment file received from FDC North Payment System by modifying the logic for security code length.
Payments 7510710 Fetch Settlement Batch Clearing program now successfully obtains full acknowledgment file from FDC North payment system.
Payments 7516906 Fetch Settlement Batch Clearing program now completes with Warning status if acknowledgment file is not found.
Payments 7527819 Create Settlement Batch program no longer generates empty output file for German Direct Debit format when XML extract contains amount in German notation and special characters. Template for German Direct Debit has been modified to provide conversion logic for amount in German notation and special characters.
Payments 7530578 Payments now successfully fetches Payment Card Level II & III details from Receivables by using transaction extension id instead of tangibleid. Earlier it was not able to fetch due to using tangibleid entity which has become obsolete in upstream applications in R12.
Payments 7536164 ECServlet security token check may now be disabled by setting newly added system profile option IBY: ECServlet Security Token Force to No.
Payments 7601765 Create Settlement Batch program for German Direct Debit format now completes successfully even if the bank branch number is null. This has been achieved by adding the to_number function while summing up the branch and bank numbers in the rtf template.
Payments 7611463 Credit Cards can now be created with credit card brand as Unknown. Earlier it was giving programing error while creating credit card with Unknown brand.
Payments 7623051 Submit Offline Transactions program now supports integration with gateway model payment systems for transactions using Funds Capture Process Profile.
Payments 7628586 Fetch Settlement Batch Clearing program now successfully updates the status of funds capture transactions with Paymentech payment system. This has been achieved by modifying the tangibleid generation logic which would restrict the tangibleid length to 19 characters which is below 22 i.e. maximum allowed by Paymentech.
Payments 7642479 Order Management: When creating new credit cards in sales order form, the card brand dropdown box now displays only those brands which have value 'Yes' for Accepted field in credit card brands setup in Payments.
Payments 7642886 Create Settlement Batch and Fetch Settlement Batch Clearing programs now ends in Warning status only when the acknowledgment file is missing.
Payments 7712875 Create Settlement Batches program now successfully processes refund transactions when any or both settlement date and settlement due date parameters are selected.
Funds Disbursement
Product Patch Number Description
Payments 6822879 In Payment Method usage rules, the First Party Legal Entity LOV will show all the legal entities defined in the application. This was achieved by rectifying the query used to retrieve legal entities.
Payments 7207573 Oracle Internet Expenses: When processing the employee expense reimbursements, Payments will now pick address from address type Mailing if the Provisional site is selected in the supplier setup.
Payments 7242267 Unique priority number is now assigned to each payment instrument when setting up the payment instruments. Earlier the payment instruments were added with duplicate priority numbers.
Payments 7252846 Logic for printing checks has been modified to print checks voided by overflow first followed by negotiable checks.
Payments 7286412 In Supplier Banking Details page when creating bank branch, RFC Identifier field now successfully saves and the text field is changed to a dropdown.
Payments 7329846 In the Positive Pay File with Additional Parameters program: 1. The LOV search for the bank account name parameter, no longer errors with message APP-FND-01444 and 2. Payment status dropdown now shows value Negotiable and Voided instead of Voided.
Payments 7333272 Send Separate Remittance Advice report now displays the details of checks voided by overflow and the invoices paid by these checks.
Payments 7348463 Payment Process Request details page now successfully displays information entered in the additional information tab.
Payments 7351153 Payment Process Request Status report now successfully displays the Report Date in the header.
Payments 7390295 Cash Management: For SEPA payments, group reconciliation can be performed successfully. This has been achieved by modifying payment grouping options in seeded Payment Process Profiles.
Payments 7410850 Payment amounts in New Zealand domestic EFT payment instruction is now correctly formatted. Earlier a cent was reduced from payment amount and formatted in the payment instruction.
Payments 7411229 Output file of Format Payment Instructions concurrent program now utilizes the outbound payment file prefix, file extension and file directory given in the Payment Process Profile.
Payments 7432754 Funds Disbursement Process Home page now opens quickly when user selects the Funds Disbursement Process Manager responsibility. This has been achieved by modifying the page so that the performance-affecting query is executed only once.
Payments 7433132 Payment Instruction program now displays payment amount text in words without any truncation. Earlier it used to truncate the text length when it is 116 characters.
Payments 7435768 Banking Details updated at supplier site level no longer errors with null pointer exception.
Payments 7448758 In Suppliers, when updating Separate Remittance Advice Delivery section with delivery method as fax or email, the information is saved only when the additional relevant information for each of the method is entered.
Payments 7459662 Payment Process Request Status Report now display the details of checks voided by overflow.
Payments 7477054 Payables: In Payments Dashboard, Today's Payment Process Requests section now correctly excludes transmitted Payment Process Request count in Processing column.
Payments 7481665 Payables: Payments Manager home page now opens quickly after performance improvement achieved by fine tuning the queries used for fetching the number of Payment Process Requests with status Processing and Need Action.
Payments 7484692 When processing customer refunds, payee name and bank account details are now printed on the check.
Payments 7492186 Payment Process Request no longer creates duplicate payments when more than one Build Payments program is triggered for the same Payment Process Request.
Payments 7501494 Multiple user defined validations attached to payment format are now getting saved. Earlier only the first user defined validation was getting saved.
Payments 7506922 Cash Management: Reconciliation of non-SEPA payments no longer errors out with APP-SQLAP-10786. This is achieved by properly handling group id having no values for non-SEPA payments.
Payments 7508983 Send Separate Remittance Advices report now displays postal code information for both payer and payee.
Payments 7516296 In the Positive Pay File with Additional Parameters program: 1. The LOV search for the bank account name parameter, no longer errors with message APP-FND-01444 and 2. Payment status dropdown now shows value Negotiable and Voided instead of Voided.
Payments 7517086 Send Separate Remittance Advices report now shows supplier bank account number in masked form.
Payments 7528455 In Payment Method usage rules, the First Party Legal Entity LOV will show all the legal entities defined in the application. This was achieved by rectifying the query used to retrieve legal entities.
Payments 7530130 Send Separate Remittance Advice report now displays the details of checks voided by overflow and the invoices paid by these checks.
Payments 7532799 Upgrade script has been modified to include text 'Stub after Payment' in the seeded Payment Process Profiles name for check payment formats having text 'Stub after Payment' in the name. Earlier the upgrade script used to create Payment Process Profile with duplicate names for such payment formats.
Payments 7533469 Payables: In Payments Dashboard, Today's Payment Process Requests section now correctly excludes transmitted Payment Process Request count in Processing column.
Payments 7536110 Unique priority number is now assigned to each payment instrument when setting up the payment instruments. Earlier the payment instruments were added with duplicate priority numbers.
Payments 7540297 Oracle EDI Gateway: EDI Remittance Method field in ECE PYO file now shows delivery channel code instead of the payment due date.
Payments 7551983 Funds Disbursement Process Home page now opens quickly after performance improvement achieved by modifying the query used for fetching the pending user actions.
Payments 7560766 Payables: In Payments Dashboard, Today's Payment Process Requests section now correctly considers incomplete Payment Process Request count in either Need Action or Processing columns. Earlier incomplete Payment Process Request count was considered in both the columns.
Payments 7588481 In Suppliers, Bank Account and Assignment Details page now displays the banks accounts for whom primary account owners have been end dated.
Payments 7595957 Italian EFT Format now shows the correct IBAN Check digit number and bank account number by changing the data type from numeric to alpha numeric in the template. Earlier the information for these fields was shown as zeroes for alpha characters.
Payments 7620214 Payables: Payables Open Interface Import program now correctly validates Remit To Supplier information and FRM-40654 error will no longer appear.
Payments 7630460 Oracle EDI Gateway: EDI Remittance Method field in ECE PYO file now shows delivery channel code instead of the payment due date.
Payments 7652218 Payment Details tab in customer account setup page no longer displays duplicate bank account details.
General -
Currently working on SAP B1 v8.82
I'm looking to generate a query that will give an overall report for a given customer that shows Sales Order No, Invoice No, Sales Order Total, Invoice Total, Amount Paid on Invoice, Amount Remaining on Invoice, Down Payments Available, Open on Sales Order.
I'm not sure what the best way to select the columns in bold above. Invoice Total should be self-explanatory. Amount Paid should be any down payments or applied payments on the invoice. The balance due on the invoice (which seems to be T0.DocTotal if I'm not mistaken) should = 'Invoice Total' - 'Amount Paid on Invoice'. In the Down Payments Available column I want the total amount of money on the account or on down payments that aren't tied to a Sales Order. If a client overpaid in the past for instance and there's a credit on their account, then it should contribute to this sum. Open on Sales Order should be pretty easy. I guess it's just the sum of everything that is still open on the Sales Order. I'm just not sure what the best way to sum all the un-delivered freight, tax, and line items is. Here's what my query looks like so far.
SELECT DISTINCT T4.[DocNum] [Sales Order No],
T0.DocNum [Invoice No],
T4.DocTotal [Sales Order Total]
T0.DocTotal [Amount Outstanding],
FROM OINV T0
INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
INNER JOIN DLN1 T2 ON T1.BaseEntry = T2.DocEntry AND T1.BaseLine = T2.LineNum
INNER JOIN RDR1 T3 ON T2.BaseEntry = T3.DocEntry AND T2.BaseLine = T3.LineNum
INNER JOIN ORDR T4 ON T3.DocEntry = T4.DocEntry
INNER JOIN OSLP T5 ON T4.SlpCode = T5.SlpCode
WHERE T0.CardName Like '%%[%0]%%'
GROUP BY T4.DocNum, T0.DocNum, T0.DocTotal, T4.DocTotal
I tried doing a little searching around for queries similar to what I need, but I could find exactly what I was looking for and I'm very unfamiliar with OJDT, JDT1, and ITR1 tables which I think might be important to finding unapplied payments...Thanks. There's a few problems though.
1) It seems that OINV DocTotal != Balance Due. I'm seeing a number of invoices where there was a balance due, but we applied additional money (either we took another incoming payment and applied it or applied money from the account balance, etc.) and yet it still shows a total.
2) It's pulling incoming payments from different customers. I think this is because the table was joined based on "RCT2 T4 on T4.[DocEntry] = T3.[DocNum] and T4.[InvoiceId] = T2.[LineNum]" In one example I have 2 incoming payments 446 and 614. Both have the DocEntry 542, but one relates to A/R Invoice 542 (for a different client) while the other relates to Down Payment Invoice 542. *I was able to fix this by adding WHERE T5.CardCode = [%0]*
3) I'm going to work with this a little bit and see if I can alter it to make it work for me. Basically this query falls a little short on the following:
- Doesn't include incoming payments that aren't linked to a down payment invoice.
- Does not give the Invoice Total (I'd like to know how much of the SO was invoiced. DocTotal seems to give me Amount Invoiced - Down Payments. I'm not sure the best way to get this number. Maybe I could do the sum of each line * tax + freight)
- Does not give the outstanding amount on an invoice. The ARtotal [DocTotal] column gives me how much was owed when the invoice was created, but it doesn't tell me what is currently owed.
- Lastly it may complicate the query too much and could be left off, but it would be nice to see if they have any money from credits or incoming payments that has not been applied. Perhaps this would be easily accomplished by simply pulling in their account balance. -
Infoset query of vendor payments at the cost distribution level
We would like an infoset query of vendor payments at the cost distribution level of the document. The issue seems to be joining vendor to the document cost distribution lines.
1.) BSAK + BSIK can be combined with an infoset data structure but only contain the vendor line of a document; the cost distribution lines are not in the tables.
2.) BSIS + BSAS can be combined with an infoset data structure but lack vendor data and joins (to a vendor source) are not an option with data structures. Vendor data added with an additional field is too slow to be a primary selection field.
3.) Logical data base KDF in an infoset returns only the vendor line of a document, not the cost distribution lines.
4.) Logical data base BRM in an infoset can have vendor from BSAK/BSIK attached by an additional field but performance is too slow to be useful. Joins are not an option in a logical data base infoset.
5.) Complete data is lacking when table joins between document cost distribution tables and vendor data tables are possible, (SPL actual line item table & BSIP or FMIFIIT & FMIFIHD). BSIP lacks AB documents (reversals). FM tables lack general ledger only documents.
6.) BSAK and BSIK together have complete vendor data but joins of both to a basis table do not work well. Left outer joins are too slow, inner joins won’t work since the tables have mutually exclusive data.
It would be ideal to have vendor in BKPF, like FMIFIHD has, but it isn't a field.
Does anyone know of any other options? I have seen the helpful thread on How to Read BSEG EfficientlyHi,
This is SAP Business one reporting and printing forum. Please find correct forum and repost above discussion to get quick response.
Please close this thread here with helpful answer.
Thanks & Regards,
Nagarajan -
Infoset query of vendor payments at the cost distribution level of the document
We would like an infoset query of vendor payments at the cost distribution level of the document. The issue seems to be joining vendor to the document cost distribution lines.
1.) BSAK + BSIK can be combined with an infoset data structure but only contain the vendor line of a document; the cost distribution lines are not in the tables.
2.) BSIS + BSAS can be combined with an infoset data structure but lack vendor data and joins (to a vendor source) are not an option with data structures. Vendor data added with an additional field is too slow to be a primary selection field.
3.) Logical data base KDF in an infoset returns only the vendor line of a document, not the cost distribution lines.
4.) Logical data base BRM in an infoset can have vendor from BSAK/BSIK attached by an additional field but performance is too slow to be useful. Joins are not an option in a logical data base infoset.
5.) Complete data is lacking when table joins between document cost distribution tables and vendor data tables are possible, (SPL actual line item table & BSIP or FMIFIHD & FMIFIIT). BSIP lacks AB documents (reversals). FM tables lack general ledger only documents.
6.) BSAK and BSIK together have complete vendor data but joins of both to a basis table are not an option. Left outer joins are too slow, inner joins won’t work since the tables have mutually exclusive data.
Does anyone know of any other options?Hi,
This is SAP Business one reporting and printing forum. Please find correct forum and repost above discussion to get quick response.
Please close this thread here with helpful answer.
Thanks & Regards,
Nagarajan -
SQL-Query - AR Invoice and related AR Down Payment Invoices
Hello everybody,
I want to show all AR Down Payment Invoices related to a given AR Invoice, i.e. a query approximately in this form:
SELECT
T0.DocNum AS 'Invoice',
T0.DocDate AS 'Invoice Date',
T0.DocTotal AS 'Open Amount',
T1.<<DocNum>> AS 'Down Payment Invoice',
T1.<<DocDate>> AS 'Down Payment Invoice Date',
T1.<<Amount>> AS 'Down Payment Invoice Amount'
FROM
OINV T0 INNER JOIN <<Down Payment Invoices>> T1
ON T0.DocEntry = T1.<<DocEntry>>
WHERE
T0.DocNum = xxxxx
I want to know if such a table <<Down Payment Invoices>> exists and what its name is.
Thanks for your help!
Regards,
Frank RomeniThanks for the INV11 - but this table seems to be empty even for invoices we have related down payments, e.g.
SELECT
T0.DocNum, T0.DocTotal, T1.<<whatever you want>>
FROM
OINV T0 LEFT OUTER JOIN INV11 T1
ON T0.DocEntry = T1.DocEntry
WHERE
T0.DocNum = xxxxx
That INV11 is always empty I could see with SELECT * FROM INV11
Regards
Frank Romeni
P.S.: I only post questions to this forum when I analysed my problems and only if I couldn't find any further information in the helpfiles. With regard to your first hint to ODPI there is no reference to INV11 in the helpfiles.
With regard to your comments I feel impelled to to say that if my question is confusing you, then it seems that nobody has ever taught you that meaning can be taken from the context. Regarding the "street", you asked me to find something: Do not waste your time with talking precociously ...
If you should feel annoyed by my comments, we'd better stop this conversation. Otherwise let us fall back to a strictly factual exchange of information, OK? I am not willing to discuss this any further!
F.R. -
Query Print Layout - Incoming Payment
Hi All,
I have done the query print layout for incoming payment. but it cannot show the correct A/R invoice: document number. When I only make the payment for 1 invoice it seems to be correct, but when I choose 2 invoices to be paid, then the A/R invoice: document number for the second row is wrong ( if follows the first row).
Below is the query:
SELECT T0.DocNum, T0.DocDate, T0.DocCur, T0.DocTotal,
T0.DocTotalFC, T1.DocNum, T1.CardCode, T1.CardName,
T1.DocDate, T1.Comments,T1.TrsfrRef as 'Cheque No',
T2.BankCode' 'T2.AcctNum as 'Bank Code' , T0.Address , T3.Phone1 , T3.CntctPrsn , T0.PaidToDate, T0.PaidFc , T4.AppliedSys , T4.AppliedFc
FROM [dbo].[OINV] T0 INNER JOIN ORCT T1
ON T0.ReceiptNum = T1.DocEntry LEFT JOIN RCT1 T2
ON T1.DocNum = T2.DocNum LEFT JOIN RCT2 T4
ON T4.DocNum = T2.DocNum LEFT JOIN OCRD T3
ON T1.CardCode = T3.CardCode
WHERE T1.DocNum = [%0]
ORDER BY T1.DocNum
the fields that i want to display in repetitive area are: A/R invoice: Document date , A/R invoice: document number, Amount that they have paid ( partial payment / full payment) i used this database: Incoming payment - a/r invoice: paid, outstanding amount i used formula ( total document - paid to date), and document currency
Thank you! hope you can help.
PaulinePauline,
I've tested your query in B1 2007A SP00 PL30 and works fine. I even created PLD for the query and I can see 2 invoice paid by one incoming payment.
Rgds, -
Query to find all standard invoices applied against pre-payment invoices
Dear All,
Please help me with the query which would list all the standard invoices applied against pre-payment invoices.
Additionally they query show display the pre-payment invoices which are not yet applied.
Example :
Rec # Pre-payment inv # Inv-amount Standard Inv No. Amount Applied
1 P001 100.00 S001 100.00
2. P002 200.00 NULL NULL
In the above example in record no. 1 for the pre payment invoice number P001 a standard invoice S001 is applied with same amount of 100.
In the second record the pre payment invoice P002 is not yet applied and hence standard invoice number and amount applied are NULL.
I need the output of the query in the above format.
Please help me in this regard.Hi:
Clearing document (AUGBL) generated against invoice with document type AB will be an option to use for reporting purpose. No matter invoice is partially cleared or fully exhausted system generates a clearing document against it. It stores the payment usage. System should check in BSID table with reference to AUGBL if there is anything left against invoice that is to be paid or if it is fully exhausted it will be present it BSAD along with it payment usage data. I hope this will help you in developing your report.
Regards -
Query to determine which customer invoices are subjected to apply payment
Hi you all experts.
I have two tables (OINV and a custom made named DEPOSITS) the first one as you know keeps the record of all customer invoices. The second one keeps record of last payment from customers (this table is filled before applying payments and it consists in only two fields: ClientID and Amount.
I will upload incoming payments through DTW, but since I only have the amount of the payment and not the invoices to where this money will be posted; I come to you for advice.
For instance, my Customer1 just pay 5,000USD and has following invoices (in order of DueDate):
- InvoiceA: 1,000
- InvoiceB: 700
- InvoiceF: 3,000
- InvoiceD: 5,000
- InvoiceC: 10,000
I need to create a query that gaves me wich Invoice (with the higher due date) can be cover with the amount given, and if cannot be covered completely, to apply the remaining balance of the Deposit and keep the invoice open as partial paid.
The expected result from this would be:
- Invoice A: 1,000 PAYED. Remaining balance of payment 4,000USD.
- Invoice B: 700 PAYED. Remaining balance of payment 3,300USD (4000-700)
- InvoiceF: 3,000 PAYED. Remaining balance of payment 300USD (3300-3000)
- InvoiceD: 300 PARTIALLY PAYED. Remaining balance of payment 0USD (300-300)
Thanks a lot,
Israel.Hi Israel,
Query may only do calculation column wise easily. How about just create left part. The calculation between lines can be done by Excel formula after export the query result.
Thanks,
Gordon -
Query for report to show Invoices, Payments and Discounts
Hi All
I am hoping someone can help me with this query.
What the customer needs is the invoices for a specific date range, the payments applied to the invoices and the discount amount
Eg...
Invoice payment discount
100 90 10
This would be easy to get from the ORCT and RCT2 tables.
However, sometime the users add the payment on account and reconciles the invoices and a manual journal for the discounts.
So it would be best to look at the OITR and ITR1 tables?
This is what I have so far and it almost balances...
I am using this query to create the report in crystal,
To create the discount amount from the incoming payment window i said (T0.ReconSum - T3.TrsfrSum)
I also took out the vat amount within that formula.
With the amounts from the manual journal, i just took the amount as is.
select T2.CardCode, T2.CardName, T0.SrcObjTyp, T0.SrcObjAbs, T0.ReconSum, T3.TrsfrSum, T4.ReconDate, T2.U_FundedNonFunded, (T5.Debit - T5.Credit), T6.PymntGroup
from ITR1 T0
inner join OCRD T2 on T0.Shortname = T2.CardCode
left outer join ORCT T3 on T3.DocEntry = T0.SrcObjAbs and T3.CardCode = T0.ShortName
inner join OITR T4 on T4.ReconNum = T0.ReconNum
left outer join JDT1 T5 on T5.TransId = T0.TransId and T5.ObjType = T0.SrcObjAbs and T0.ShortName = T5.ShortName
inner join OCTG T6 on T6.GroupNum = T2.GroupNum
where T3.DocDate <= getdate() or T5.ContraAct = '1127331'
the account 1127331 is the Discount GL account.
Based on the example the Payment + discount = Invoices
however not all the customers are balancing..
any ideas? it looks like my query is getting only the invoices where a payment has been done. The amounts just dont seem to match.
Thank you
Jerushahi
I think your join with OJDT is wrong in this part : T5.ObjType = T0.SrcObjAbs
you should write
T5.ObjType = T0.SrcObjTyp
(I think you don't need this part at all )
try this:
select T2.CardCode, T2.CardName, T0.SrcObjTyp, T0.SrcObjAbs, T0.ReconSum, T3.TrsfrSum, T4.ReconDate, T2.U_FundedNonFunded, (T5.Debit - T5.Credit), T6.PymntGroup
from
ITR1 T0
inner
join OITR T4 on T4.ReconNum = T0.ReconNum
inner
join OCRD T2 on T0.Shortname = T2.CardCode
left
outer join ORCT T3 on T3.DocEntry = T0.SrcObjAbs and T3.CardCode = T0.ShortName
left
outer join JDT1 T5 on T5.TransId = T0.TransId and T5.ObjType = T0.SrcObjTyp and T0.ShortName = T5.ShortName
inner
join OCTG T6 on T6.GroupNum = T2.GroupNum
where
T3.DocDate <= getdate() or T5.ContraAct =
'1127331'
please let me know if it works now
shachar
Maybe you are looking for
-
i want to use apple talk to connect my g5 emac on wires and mac mini wireless useing apple air port extreme
-
Ubuntu Linux for S12 with VIA Nano?
Hi, I'm thinking about buying an S12 with VIA Nano, but would like to install UBUNTU Linux to double-boot with WinXP. Is this possible? Any potential problems of Ubuntu with the Via Nano CPU? Thanks, Tolga
-
HT4497 Hi my name is Vineeth i want to know how to solve the technical issue
how to remove junk file in mac
-
Does the 160GB & Hard drives have 16mb or 8mb cache?
Hi everyone, I'm planning on buying a Mac Pro tommorrow with either a 160Gb or 250gb. Does anyone know if they are 16mb or 8mb cache? Ideally i would like to buy a config with 160GB and then I will buy another 160GB and run them both in a raid config
-
How To Delete The Role We No Longer Needed
Hi Experts, We implemented the standard SAP application architecture: DEV,QAS,PRD. Now my problem is: There are some roles we no longer needed in our PRD circumstances, I don't want to delete them directly in PRD. How to do it? Anyone knows? Tha