Need replacement of ar_vat_tax_all_b(vat_tax_id column) in R12
hi
I need to replace 11i table in R12
11i table ar_vat_tax_all_b(vat_tax_id column) - need to replace the column vat_tax_id
in R12 we have table apps.zx_taxes_b but i am not sure whether i can use this table as a replacement and if it can be used then what should be the column of this table used to replace vat_tax_id?
Please help
Resolved the issue.
There is a table called ZX_ACCOUNTS. Use the column tax_account_ccid in it. Link ZX_ACCOUNTS.tax_account_entity_id to ZX_RATES_B.tax_rate_id.
Regards,
Swapnil K.
Similar Messages
-
Need help in GL table column mapping - R12.1.3
Hi,
we are upgrading from 11.5.10 to R12.1.3
While modifying one of the reports, come across a query which uses gl_mc_reporting options table.
This table is replaced by gl_ledger_relationships in R12.
However, in the query, we are using reporting_set_of_books_id in the where clause.
Can you please let me knw the corresponding column I need to use from gl_ledger_relationships in R12.
Thanks!well vishwa u r right it wont work for multiple columns,
then i guess this shud work.
@thendral
U can try like this create the rows with single column
then print all ur text elements with spaces inserted manually between them with text editor then in conditions tab of the text elements specify ur condition according to what all u want to print.
кu03B1ятu03B9к -
Replacement of Tax Columns in R12 Environment (12.1.3)
After Upgrade from 11.5.10 to R12.1.3 these following columns were picked in AP_INVOICE_DISTRIBUTIONS_ALL table and now the issue is about to replace these tax columns with R12 ZX tables.
Table used in 11i AP_INVOICE_DISTRIBUTIONS_ALL
TAX_RECOVERY_RATE,
TAX_RECOVERY_OVERRIDE_FLAG
Have to replace columns with ZX tax tables... Need to know which table is populating in ZX tables.. Please suggest on this as it is very high important....
Appreciate your help!
Thanks,
Anwar.Pl do not post duplicate threads - Replacement of Tax Columns in R12 Environment (12.1.3)
Srini -
How to replace the string of column value with other column value in same table
I have a temp table which contains
Id Name CTC Address Content
1 Ross $200 6th block Dear #Name your CTC is #CTC and your address is #address
2 Jhon $300 1oth cross Dear #Name your CTC is #CTC and your address is #address
Now i want to select content so that it should get replace with the respective columns and final output should come like this
Dear Ross your CTC is 200 and your address is 6th block
Dear Jhon your CTC is 300 and your address is 10th cross
Kindly suggestI think RSingh suggestion is ok ... what do you mean by another way? ...maybe something more generic?
maybe build a table whith the list of col you need to "replace" and dinamically build the replace query ...
declare @colList table(colName varchar(100))
insert into @colList
select 'name'
union all select 'ctc'
union all select 'address'
declare @cmd varchar(2000)
select @cmd='select '+ (select 'replace(' from @colList for xml path('') +' content '+
(select ',''#'+ colName +''', '+ colName +')' from @colList for xml path(''))
+' from YOURTABLENAME '
exec (@cmd)
or your request was different ? -
Need help on getting the column names of Tabletype
I have a table Mapping with the following values: This Mapping table contains the table names (in Tabname) and the column names(colname) of various tables and values(ValuesTobeFilled) for the columns.
I have to insert into the tables present in the Tabname field with the values present in the ValuesTobeFilled in the columns present in the Colname field.
Note: The Mapping table need not contain all the columns of the base table. The columns that are not present can be filled with null. And this mapping table is not fixed i.e. rows can be inserted/deleted frequently.
Sample values in mapping table:
Tabname Colname ValuesTobeFilled
sample_items Eno Corresponding Expression to get the values from XML input
sample_items Ename Corresponding Expression to get the values from XML input
XXX YYY Corresponding Expression to get the values from XML input
Before filling in the actual tables, I have to store the entire data temporarily and I have used a tabletype declared as follows:
TYPE T_sample_items IS TABLE OF sample_items%ROWTYPE INDEX BY BINARY_INTEGER;
l_sample_items T_sample_items;
Where the table sample_items have the following columns:
• Eno
• Ename
• Eaddress
• Eemail
So, the tabletype should be filled as:
Eno Ename Eaddress EEmail
1 XXX - -
I have declared a cursor to select the values from mapping table and I need to fill in the ValuesTobeFilled values to the corresponding table.
CURSOR c_xpath (c_tname mapping.TABNAME%type)
IS
select * from mapping where tabname = c_tname;
CURSOR c_tables
IS
SELECT DISTINCT TABNAME FROM mapping;
FOR crsr IN c_tables
LOOP
p_tname := CRSR.TABNAME;
FOR csr IN c_xpath(p_tname)
LOOP
IF l_xml_doc.EXISTSNODE(CSR.XPATH_EXP) = 1
THEN
l_node_value := l_xml_doc.extract(CSR.XPATH_EXP).getStringVal(); -- This is the value to be stored in the corresponding column
ELSE
l_node_value := NULL;
END IF;
IF CSR.COLUMN_NAME = ‘eno’
THEN
l_sample_items(1).eno := l_node_value;
ELSIF CSR.COLUMN_NAME = ‘ename’
THEN
l_sample_items(1).name := l_node_value;
END IF;
END LOOP;
END LOOP;
And I need to eliminate hard coding while comparing the column names (in the following piece of code) as the Mapping table values are subject to insertion/deletion:
IF CSR.COLUMN_NAME = ‘eno’
THEN
l_sample_items(1).eno := l_node_value;
ELSIF CSR.COLUMN_NAME = ‘ename’
THEN
l_sample_items(1).ename := l_node_value;
END IF;
I need to insert the values directly into the tabletype without this hardcoding. Please suggest me ways to compare the mapping table values with the field (column) names of the tabletype. If it is not possible using tabletype, please suggest any other ways of fixing the problem.
Many thanks,
GopiI take it this isn't going to be a serious production system at the end of the day?
Storing metadata in tables for extraction and insertion of data is just wrong in so many ways. It smells heavily of Entity Attribute Value modelling, which is the most wrong way to use a relational database and is known to have major performance implications and be liable to bugs and issues. The idea that EAV modelling allows for 'generic' databases where new data items can be added flexibly later on without having to change code is usually justified with an excuse of "it means we don't have to update all our tables when we want a new column" which is easily countered with "if you're adding a single column a good relational design wouldn't require you to add it to more than one table anyway in most cases".
Just what exactly are you trying to do and why? There has to be a better way. -
Hello,
Less than a year after purchasing a brand new, early-2011 Macbook Pro (still covered under Extended Apple Care) and, sadly, only a week or two after finally upgrading to 8GB RAM, I returned to my notebook after taking a shower and watched it suddenly shut itself down. It has not been responsive to the power button since then (although, see below.. I think I can fix it).
Genius Bar took one look at the visible moisture sensor you can see underneath where the RAM sits and declared it water-damaged. While I agree that either a short and/or corrosion is causing my MBP to malfunction, I don't believe it should void my warranty because the problem isn't that I spilled something on it.1
I hope someone can give me some insight into fixing this myself. Apple says "the Logic Board needs replaced" (a common CS response, I've noticed) the water damage voids my Extended Care + that it'll be at least $1200 and several weeks. Here's the situation:
MBP will not turn on just by pressing the power button. However, MBP consistently (every time) powers up when I do an SMC reset.
I have it in verbose mode and it begins booting. But, it will invariably turn off without warning anywhere between 30 seconds and 8-10 minutes after powering up.
MBP will not turn on just by pressing the power button. However, MBP consistently (every time) powers up when I do an SMC reset.
I have it in verbose mode and it begins booting. But, it will invariably turn off without warning anywhere between 30 seconds and 5 minutes of powering up.
Eighty percent of the time, it turns off during the pre-Xorg boot. However, I have also seen it fully boot, I log in, I'm able to peruse logfiles/etc. Safe Mode (holding shift) crashes early. Single-user mode makes no difference. PRAM/NVRAM/etc makes no difference. I can boot to the Recovery Partition but it turns off just the same (disk utility scan takes too long).
I haven't been able to really test the Internet Recovery because the hotel wireless takes too long. I did boot into Hardware Test and it passed the basic and extended tests (although it seemed to just be testing the RAM integrity.
I can boot from the optical drive with a FreeBSD 9 livecd and an Ubuntu 11.04 livecd. Of note is that the laptop shuts off consistently when FreeBSD begins the journaling services for the ZFS filesystem (every time).
Here is where this leads me to believe I'm at (I am not dogmatic here and would appreciate any corrections or insight):
It seems like there may be corrosive damage on the logic board but maybe it's isolated given the various consistencies in what's happening. It seems like whenever SATA is use, I lose power. When SATA isn't really used (the HW Test), the laptop has literally stayed on for days and days.
I want to get in there and clean up any corrosion with 91% isopropyl alcohol (9% distilled, non-conductive water).
I want to use a bootable OSX livecd with an "emergency console" so I can, basically, use boot options to step throught the boot process and see if I can isolate the problem.
Here is what I'm uncertain about and could use guidance:
Does any of this sound remotely reasonable to anyone who has been through this or am I delusional?
Any tips on identifying and cleaning any corrosion?
While I had made a bootable version of Lion via Disk Utility and a rescue disk with some third-party app, they are MIA and I don't have another Mac at the moment. Do I have any other options? Again, an install dvd is not exactly what I want -- more like a rescue dvd. I had read about some Apple Stores giving/copying bootable USB thumb drives like this to customers. But, I noticed that this is now on sale there for $80. I would use this like once and, ideally, could use my MBP to make more. $80 seems a bit much.
I should be able to step through the boot process in a way like what's possible with FreeBSD, no?
Anyone have any other specific troubleshooting tips?
I really, reallly need my MBP back as soon as possible. I'd really appreciate any wisdom and insight! Thank you,
-ryan
To be totally honest, about 3 weeks prior I spilled some milk from cereal on the desk and a little bit got onto the battery. However, the notebook worked fine for the following weeks. I believe that the problems have been caused by ambient humidity ... I've been staying in a hotel that steams up the entire room when I take a shower. The windows are covered in water droplets so why wouldnt the MBP be affected? As noted, these problems began after I lingered in a hot shower.multiplryan wrote:
To be totally honest, about 3 weeks prior I spilled some milk from cereal on the desk and a little bit got onto the battery.
I don't think you have a case.
You can replace the logic board yourself if you are a DIY'er and save some money. -
Need to connect to upgraded Oracle EBS R12 version from R11. The current ODI set up is pointing to R11, Can i use the same connection to point to R12? Please hele experts...
Rp1. in physical connections part can i use the same work schema
2. Can i use same contexts created or do i need to create everything as new and then try?
Thanks,
Rp.
Hi,
As you mentioned that you just upgraded the database, so the data is same and schema is same you can connect with the same work schema.
Yes, you can use the same contexts , but need to do Reverse Engineering for your new database.
And about data server, i think you also have no need to create new data server, if hostname,sid and port etc are same as these were with R11(consult with your DBAs regarding it) -
I need the "Real" Table / Table Column names from a sql view
Firstly, we have a system with ~1000 tables and ~250 views. We have field level security on the table columns (in our code)
Now we have a lot of views which select data from the tables, but I need to get the "Table Column Name" that is linked in the view.
I know there are view columns that is not linked to a specific table column, (or concatenation of columns) so those columns can just return NULL.
From the sample you will see there is a view selecting data from another view. I know it is not the best sql performance (execution path) but that is another topic on its own.
I went through a lot of the sys.* stored procs or sys.* views to try and figure out if there is a view that we can use to get the expected results.
here is the sql code:
if
Exists (select
* from
sys.all_objects
where name =
'AliasView2')
drop view dbo.AliasView2
if
Exists (select
* from
sys.all_objects
where name =
'AliasView1')
drop view dbo.AliasView1
if
Exists (select
* from
sys.all_objects
where name =
'Table4')
BEGIN
alter table dbo.Table4
DROP CONSTRAINT [FK_T4_T3]
alter table dbo.Table4
DROP CONSTRAINT [PK_T4_Constraint]
drop table dbo.Table4
END
if
Exists (select
* from
sys.all_objects
where name =
'Table3')
BEGIN
alter table dbo.Table3
DROP CONSTRAINT [FK_T3_T2]
alter table dbo.Table3
DROP CONSTRAINT [PK_T3_Constraint]
drop table dbo.Table3
END
if
Exists (select
* from
sys.all_objects
where name =
'Table2')
BEGIN
alter table dbo.Table2
DROP CONSTRAINT [FK_T2_T1]
alter table dbo.Table2
DROP CONSTRAINT [PK_T2_Constraint]
drop table dbo.Table2
END
if
Exists (select
* from
sys.all_objects
where name =
'Table1')
BEGIN
alter table dbo.Table1
DROP CONSTRAINT [PK_T1_Constraint]
drop table dbo.Table1
END
create
Table dbo.Table1
T1_PK int
NOT NULL
Identity(1, 1)
CONSTRAINT [PK_T1_Constraint]
PRIMARY KEY (T1_PK),
T1_Field1 varchar
NULL,
T1_Field2 varchar
NULL,
create
Table dbo.Table2
T2_PK int
NOT NULL
Identity(1, 1)
CONSTRAINT [PK_T2_Constraint]
PRIMARY KEY (T2_PK),
T2_Field1 varchar
NULL,
T2_Field2 varchar
NULL,
T2_FK int
NOT NULL
CONSTRAINT [FK_T2_T1]
FOREIGN KEY (T2_FK)
REFERENCES dbo.Table1
(T1_PK)
create
Table dbo.Table3
T3_PK int
NOT NULL
Identity(1, 1)
CONSTRAINT [PK_T3_Constraint]
PRIMARY KEY (T3_PK),
T3_Field1 varchar
NULL,
T3_Field2 varchar
NULL,
T3_FK int
NOT NULL
CONSTRAINT [FK_T3_T2]
FOREIGN KEY (T3_FK)
REFERENCES dbo.Table2
(T2_PK)
create
Table dbo.Table4
T4_PK int
NOT NULL
Identity(1, 1)
CONSTRAINT [PK_T4_Constraint]
PRIMARY KEY (T4_PK),
T4_Field1 varchar
NULL,
T4_Field2 varchar
NULL,
T4_FK int
NOT NULL
CONSTRAINT [FK_T4_T3]
FOREIGN KEY (T4_FK)
REFERENCES dbo.Table3
(T3_PK)
GO
--Create a basic view to select some data
CREATE
VIEW dbo.AliasView1
AS
select
t2.T2_FK as Table2_ForeignKey,
t1.T1_Field1 as Table1_FieldOne,
t2.T2_Field1 as Table2_FieldOne
FROM Table1 t1
Left outer
join Table2 t2 on t2.T2_FK
= t1.T1_PK;
GO
--Create another view that select basic data, and also selecting data from view 1
CREATE
VIEW dbo.AliasView2
AS
select
v1.Table1_FieldOne
as Table1_FieldOne,
v1.Table2_FieldOne
as Table2_FieldOne,
t3.T3_Field1 as Table3_FieldOne,
t3.T3_Field2
FROM Table3 t3
Left outer
join AliasView1 v1 on v1.Table2_ForeignKey
= t3.T3_PK;
GO
--My attempt to get the desired output, but no luck
SELECT
col.COLUMN_NAME as AliasColumnName, col.DATA_TYPE, col.CHARACTER_MAXIMUM_LENGTH
as max_length, colu.*
FROM
information_schema.COLUMNS col
left
outer join
(SELECT
VIEW_SCHEMA, VIEW_NAME, COLUMN_NAME,
min(TABLE_NAME)
as TABLE_NAME
FROM information_schema.VIEW_COLUMN_USAGE colu
WHERE VIEW_NAME =
'AliasView2'
Group by VIEW_SCHEMA, VIEW_NAME, COLUMN_NAME
) COLU ON colU.VIEW_NAME
= col.TABLE_NAME
and colu.COLUMN_NAME
= col.COLUMN_NAME
left
outer join
(select a.name
as TableName, c.name
as FieldName
from sys.foreign_key_columns fk
join sys.all_objects a
on a.object_id
= fk.parent_object_id
join sys.all_columns c
on c.object_id
= a.object_id
and c.column_id
= fk.parent_column_id
join sys.all_objects ar
on ar.object_id
= fk.referenced_object_id
join sys.all_columns cr
on cr.object_id
= ar.object_id
and cr.column_id
= fk.referenced_column_id
join sys.schemas scr
on scr.schema_id
= ar.schema_id
) fks on fks.TableName
= colu.TABLE_NAME
and fks.FieldName
= colu.COLUMN_NAME
WHERE COL.TABLE_NAME
= 'AliasView2'
order
by col.ORDINAL_POSITION
This is the results being returned: (That is not 100% what I am looking for)
AliasColumnName
DATA_TYPE
max_length
VIEW_SCHEMA
VIEW_NAME
COLUMN_NAME
TABLE_NAME
Table1_FieldOne
varchar
1
dbo
AliasView2
Table1_FieldOne
AliasView1
Table2_FieldOne
varchar
1
dbo
AliasView2
Table2_FieldOne
AliasView1
Table3_FieldOne
varchar
1
NULL
NULL
NULL
NULL
T3_Field2
varchar
1
dbo
AliasView2
T3_Field2
Table3
The desired results must be like the following:
AliasColumnName
DATA_TYPE
max_length
VIEW_SCHEMA
VIEW_NAME
COLUMN_NAME
TABLE_NAME
Table1_FieldOne
varchar
1
dbo
AliasView2
T1_Field1
Table1
Table2_FieldOne
varchar
1
dbo
AliasView2
T2_Field1
Table2
Table3_FieldOne
varchar
1
dbo
AliasView2
T3_Field1
Table3
T3_Field2
varchar
1
dbo
AliasView2
T3_Field2
Table3
NOTE: the COLUMN_NAME and TABLE_NAME must the REAL field of the TABLE it belongs to and not only ONE LEVEL Higher’s ALIAS View NameNow we have a lot of views which select data from the tables, but I need to get the "Table Column Name" that is linked in the view.
If you are using SQL Server 2012/2014, then you can use
sys.dm_exec_describe_first_result_set (Transact-SQL) to gte the informations.
Olaf Helper
[ Blog] [ Xing] [ MVP] -
With the recent upgrade to my computer I can no longer get Supply reports from my printer: a red light is flashing and I don't know which ink cartridge needs replacing?
I happen to have an Epson printer as well - WorkForce 645 - that does show the supply levels.
Since I have one, I know that Apple recently updated the Epson printer software (less than two weeks ago). Do you have the latest software? If not, you can get it through the App Store or here:
http://support.apple.com/kb/DL1398
Try it if you don't currently have it. If you're not sure, you can download it - it can't hurt. -
I am wondering if I really do need to change my battery on my HP Pavillion dv7. my Pc is about 2 years old and just got that message when starting my PC.
It says HP Battery Alert
The system has detected the storage capacity of the battery stated below to be very low. For optimal performance, this battery may need to be replaced.
Primary (internal) Battery (601)
Enter- Continue Startup
For more information please visit: www.hp.com/go/techcenter/startup
Can you help me with this.???Hello, I am getting an HP Battery Alert, Do I need to replace?. It says it may need replacement.[ New ]
08-12-2011 08:48 PM
I am wondering if I really do need to change my battery on my HP Pavillion dv7. my Pc is about 2 years old and just got that message when starting my PC.
It says HP Battery Alert
The system has detected the storage capacity of the battery stated below to be very low. For optimal performance, this battery may need to be replaced.
Primary (internal) Battery (601)
Enter- Continue Startup
For more information please visit: www.hp.com/go/techcenter/startup
Can you help me with this? how can i resolve it?? -
Everything else is working fine. There appears to be "wave of yellow" in the display and limited brightness...
I do a lot of graphics work, and this is distracting...
How do I get it back to a nice, clean crisp white display? What needs replacing? Video card?
Thanks for any help/direction,
SunnyYes, I tried doing all those normal things.
If someone was not used to this computer they might not have noticed although it certainly does not "pop"
I noticed it being dingy as soon as I turned it on and I also have another 24" next to it. There is a big difference.
I suspect the seller was getting rid of a leon. -
HELP!!!! problem with motherboard HP Probook 4520s , need replacement, where can i buy it??
bumer_v
You can buy by HP PartSurfer or her
Say thanks by clicking the "Kudos! Star" which is on the left.
Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue. -
Need to add a new column in the extended VO
Hi
I have an urgent requirement like i need to add a new column in one of the extended VO.Can anyone give the procedure to do that..
Please do the needful.
Thanks
PreetiHi Gaurav,
For example...
Consider seeded VO is XXXVO and we added a new column to the XXX by extending XXCHRXXXVO(extended VO).and the we gone thru the full substitution process..
Now new requirement came as add a new column to extended VO - XXCHRXXXVO.Can you please tell in this example scenario? It will be good if you provide the inputs...
Thanks
Preeti -
How do I change the number of columns within a text box? I need to go from 3 columns to 1. The insert column is highlighted and column break does not work for this.
Pages '09 does not seem to allow layout breaks in Textboxes.
Pages 5.2 has the same limitation.
Use multiple linked Textboxes in Pages '09 to get the layout you want or create your layout in a Word Processing template in the document layer.
Peter -
HP Pavilion dv7-1127d, Vista Home Premium 64 bit edition. Message on start up "low battery, internal". Need replacement part identifcation and replacement instructions.
Sounds like your iCloud backup isn't happening.
Check Settings / icloud / storage & backup. See if you have enough available storage. If you don't, you will need to purchase additional storage (First 5GB is free), or alter your backup settings to free up space. Camera Roll is the biggest offender.
Maybe you are looking for
-
Hi all, I have a scenario in which i am sending an IDoc to a Oracle Table. This sends back an acknowledgement to an HTTP Receiver which is finally sent as an ALEAUD Idoc to the sender system. The data is getting posted to the table and the acknowledg
-
Generating Dynamic Query for Ad-Hoc Reports
Hello, What is the best way to create a dynamic query to generate ad-hoc reports? I have a couple of ideas but not sure which would work best and be most flexible. I would like our users to be able to check checkboxes for what data they would like re
-
MEDIA MANAGER NOT HANDLING AFTER EFFECTS 7.0 RENDERS
Media Manager works on my captured DV footage. However, when using an After Effects QT movie copy of my credits, it failed. I spent several hours on this since it initially was my "test." I gave up then tried my captured footage, canceling before act
-
People who have ordered the otterbox for iPhone 4
I've read some have already received their otterbox in a few other discussions, so I just want to know how yours was shipped? I ordered my fedex ground and it still hasn't shipped. I ordered on Saturday, so that's two business days and still no email
-
Table executes query on page load
I have a popup in my page and a table in my popup... I use this popup for searching among records. When I render my popup, table comes with the sql suery results (invokes in popup load)... But I don't want the table come with the query results on loa