srikarthy
13th April 2004, 12:08
Hello,
1. When a service order is costed, integration transaction "service/approved for invoicing" debits account 10010.
2. When the service order is invoiced, the account 10010 is credited with the same amount by the integration transaction "sales-invoicing(service)/COGS(material)" so that the balance in account 10010 becomes zero.
But I find there is credit in account 10010 which is surprising. All the transactions have been posted in the financial year 2003 and if at all there is some amount it must be debit and not credit.
To know what happened, I want to find out for each credit entry in sales-invoicing(service)/COGS(material) transaction in account 10010 whether there is equivalent debit amount in transaction service/approved for invoicing(With the same amount). I want a list which doesn't satisfy this criteria in the financial year 2003 in all the 12 periods. I think service order number, financial year, financial period, transaction time, transaction origin, financial transaction, ledger account etc. are the fields which must be used for selection and the tables must be tfgld410, tfgld417 and tfgld418. I am a functional guy and I know a bit of SQl but I find it difficult to combine the three tables and write an SQL query. Also I understand that the query must run in a loop(like PL/SQL) so that it brings the list in the entire year. Can someone help me please? If I get the SQL code, I can cut/paste/modify in the easy sql module and get a report. Thanks in advance.
(I have already verified that no other account is involved for these two integration transactions and also the account 10010 has no other entry than for these integration transactions which makes the query to be simple.)
Thanks in advance,
srikarthy
1. When a service order is costed, integration transaction "service/approved for invoicing" debits account 10010.
2. When the service order is invoiced, the account 10010 is credited with the same amount by the integration transaction "sales-invoicing(service)/COGS(material)" so that the balance in account 10010 becomes zero.
But I find there is credit in account 10010 which is surprising. All the transactions have been posted in the financial year 2003 and if at all there is some amount it must be debit and not credit.
To know what happened, I want to find out for each credit entry in sales-invoicing(service)/COGS(material) transaction in account 10010 whether there is equivalent debit amount in transaction service/approved for invoicing(With the same amount). I want a list which doesn't satisfy this criteria in the financial year 2003 in all the 12 periods. I think service order number, financial year, financial period, transaction time, transaction origin, financial transaction, ledger account etc. are the fields which must be used for selection and the tables must be tfgld410, tfgld417 and tfgld418. I am a functional guy and I know a bit of SQl but I find it difficult to combine the three tables and write an SQL query. Also I understand that the query must run in a loop(like PL/SQL) so that it brings the list in the entire year. Can someone help me please? If I get the SQL code, I can cut/paste/modify in the easy sql module and get a report. Thanks in advance.
(I have already verified that no other account is involved for these two integration transactions and also the account 10010 has no other entry than for these integration transactions which makes the query to be simple.)
Thanks in advance,
srikarthy