Upload budget data in F0902Z1
This is my technical area for troubleshooting and learning new programming skills and much more. Here, you will find answers on a wide range of technologies such as AI, Machine Learning, OpenAI, Databricks, ASP.NET, C#, Python, Microsoft Access, MySQL, Amazon Web Services, SQL Server, PL/SQL, JD Edwards, SAS, Salesforce, APIs, MVC, and many others. Please feel free to visit and join the discussion!
Tuesday, December 13, 2011
Upload Budget Data in F0902 JD Edwards
Upload budget data in F0902Z1
Thursday, December 8, 2011
JD Edwards - Get max sequence in role -security
select
distinct FSUSER,FSOBNM,RLTOROLE,AUSEQNO ,FSSETY,FSINSL,FSRUN into #temp_03from
SY900.F00950left
outer join SY900.F95921 on fsuser=RLFRROLEleft
outer join SY900.F00926 on auuser=fsuserwhere
RLFRROLE is not null and FSUSER not in('ESS','MSS','SYSBLOCK','ERREQ') AND AUSEQNO is not nullAND
FSOBNM<>'' AND FSSETY='3'order
by 1select
distinct FSUSER,FSOBNM,RLTOROLE,AUSEQNO ,FSSETY,FSA,FSCHNG,FSDLT,FSTHDV,FSOBID,FSADDC,FSIOK,FSICPYinto
#temp_01from
SY900.F00950left
outer join SY900.F95921 on fsuser=RLFRROLEleft
outer join SY900.F00926 on auuser=fsuserwhere
RLFRROLE is not null and FSUSER not in('ESS','MSS','SYSBLOCK','ERREQ') AND AUSEQNO is not nullAND
FSOBNM<>'' AND FSSETY='1'order
by 1--select * from #temp_01 a
--select * from #temp_03 a
select
a.* ,FSA,FSCHNG,FSDLT,FSTHDV,FSADDC,FSIOK,FSICPY into #temp4from
#temp_03 aleft
outer join #temp_01 b on a.FSUSER=b.FSUSER and a.FSOBNM=b.FSOBNM and a.RLTOROLE=b.RLTOROLEwhere
b.FSUSER is not null insert into #temp4select
a.* ,'Y' FSA,'Y'FSCHNG,'Y'FSDLT,'Y'FSTHDV,'Y'FSADDC,'Y'FSIOK,'Y'FSICPYfrom
#temp_03 aleft
outer join #temp_01 b on a.FSUSER=b.FSUSER and a.FSOBNM=b.FSOBNM and a.RLTOROLE=b.RLTOROLEwhere
b.FSUSER is nullselect
FSUSER Roles
, FSOBNM Program, RLTOROLE Users, AUSEQNO SeqNo,FSINSL Install,FSRUN Run,FSA [Add],FSCHNG Change,FSDLT Del
,FSIOK Ok,FSICPY Copy --into #temp5from
#temp4 order by 3,2,1,4 descFriday, December 2, 2011
Copy Sql-server database
Select databases to copy.:- must see this step
Tuesday, November 29, 2011
Employee History by Job tile and salary JD Edwards
select
Saturday, November 12, 2011
Saturday, October 15, 2011
Introduction to LDAP
Introduction to LDAP
What is LDAP
- Lightweight Directory Access Protocol
- Based on X.500
- Directory service (RFC1777)
- Stores attribute based data
- Data generallly read more than written to
- No transactions
- No rollback
- Entries are in a tree-like structure called Directory Information Tree (DIT)
Friday, October 14, 2011
SQL Trigger Error - The row value(s) updated or deleted either do not make the row unique or they alter multiple rows (2 rows).
The row value(s) updated or deleted either do not make the row unique or they alter multiple rows (2 rows).
ON
[dbo].[WC_OBIEE_USERS]FOR
DELETEAS
SET
NOCOUNT ONBEGIN
DECLARE
@USERNAME1 VARCHAR(100)DECLARE
@GROUPNAME1 VARCHAR(2000)SELECT
@USERNAME1 =USERNAME,@GROUPNAME1=GROUPNAME FROM Deletedinsert
into WC_OBIEE_AUDIT(USERNAME,GROUPNAME,USERID,DATEUPD,WORKSTN,[ACTION])select
@USERNAME1,@GROUPNAME1,SYSTEM_USER,getdate(),host_name() ,'Delete'END
Wednesday, October 12, 2011
TRIGGER Sql-server on OBIEE user table insert and delete
CREATE
TRIGGER [dbo].[OBIEE_USERSTRI_INS]ON
[dbo].[WC_OBIEE_USERS]FOR
INSERTAS
BEGIN
DECLARE
@USERNAME VARCHAR(100)DECLARE
@GROUPNAME VARCHAR(100)SELECT
@USERNAME = (SELECT USERNAME FROM Inserted)SELECT
@GROUPNAME = (SELECT GROUPNAME FROM Inserted)insert
into WC_OBIEE_AUDIT(USERNAME,GROUPNAME,USERID,DATEUPD,WORKSTN,[ACTION])select
@USERNAME,@GROUPNAME,SYSTEM_USER,getdate(),host_name() ,'Insert'/*
insert into WC_OBIEE_AUDIT(USERNAME,GROUPNAME,USERID,DATEUPD,WORKSTN,[ACTION])
select a.[USERNAME],a.GROUPNAME,SYSTEM_USER,getdate(),host_name() ,'Insert' "ACTION" from WC_OBIEE_USERS a
left outer join WC_OBIEE_AUDIT b on a.[USERNAME]=b.[USERNAME] and a.[GROUPNAME]=b.[GROUPNAME]
where b.[USERNAME] is null
*/
END
Create
TRIGGER [dbo].[OBIEE_USERSTRI_DEL]ON
[dbo].[WC_OBIEE_USERS]FOR
DELETEAS
BEGIN
DECLARE
@USERNAME1 VARCHAR(100)DECLARE
@GROUPNAME1 VARCHAR(2000)SELECT
@USERNAME1 =USERNAME,@GROUPNAME1=GROUPNAME FROM Deletedinsert
into WC_OBIEE_AUDIT(USERNAME,GROUPNAME,USERID,DATEUPD,WORKSTN,[ACTION])select
@USERNAME1,@GROUPNAME1,SYSTEM_USER,getdate(),host_name() ,'Delete'/*
insert into WC_OBIEE_AUDIT(USERNAME,GROUPNAME,USERID,DATEUPD,WORKSTN,[ACTION])
select a.[USERNAME],a.[GROUPNAME],SYSTEM_USER,getdate(),host_name() ,'Delete' "ACTION" from WC_OBIEE_AUDIT a
left outer join WC_OBIEE_USERS b on a.[USERNAME]=b.[USERNAME] and a.[GROUPNAME]=b.[GROUPNAME]
where b.[USERNAME] is null
*/
END
Sunday, October 9, 2011
no Forms Authentication Login Page Redirect When You Don’t Want It
Friday, October 7, 2011
Friday, September 30, 2011
Create Trigger JD Edwards Table
Create Trigger JD Edwards
1.Check out the table to which you want to attach event rules and click Design.
2.On the Table Design form, select the Design Tools tab and click Start Table Trigger Design Aid.
3.Select an event from the Events list.
4.On Event Rules Design, click one of the event rule buttons and complete the event rules.
5.Click Save to save the event rule specifications and then click Close.
6.If you are creating a new table in Oracle's JD Edwards EnterpriseOne Table Design Aid, select the Table Operations tab and click Generate Table.
http://download.oracle.com/docs/cd/E17984_01/doc.898/e14702/createtableeventrules.htm
Thursday, September 29, 2011
IDENTITY column in sql-server in select into
select
IDENTITY(INT, 10, 1) idnt ,* from testdta.F5510004Wednesday, September 28, 2011
my first TRIGGER ever sql-server
ALTER
TRIGGER testTRIGGERON
dbo.QTD_HOURS1FOR
INSERTAS
BEGIN
insert
into QTD_HOURS1Trgselect
a.* from QTD_HOURS1 aleft
outer join QTD_HOURS1Trg b on a.[column 0]=b.[column 0] and a.[column 1]=b.[column 1]where
b.[column 0] is nullEND
Monday, September 26, 2011
Convert Date range into month
select
--startdate,enddate,datepart(MM,startdate),datepart(MM,enddate),enddate,
case
when (datepart(MM,startdate)<='1' and datepart(MM,enddate)>'1') then 1 else 0 end Jan,case
when (datepart(MM,startdate)<='2' and datepart(MM,enddate)>'2') then 1 else 0 end Feb,case
when (datepart(MM,startdate)<='3' and datepart(MM,enddate)>'3') then 1 else 0 end Mar,case
when (datepart(MM,startdate)<='4' and datepart(MM,enddate)>'4') then 1 else 0 end Apr,case
when (datepart(MM,startdate)<='5' and datepart(MM,enddate)>'5') then 1 else 0 end May,case
when (datepart(MM,startdate)<='6' and datepart(MM,enddate)>'6') then 1 else 0 end Jun,case
when (datepart(MM,startdate)>='1' and datepart(MM,enddate)>'7') then 1 else 0 end Jul,case
when (datepart(MM,startdate)>='1' and datepart(MM,enddate)>'8') then 1 else 0 end Aug,case
when (datepart(MM,startdate)>='1' and datepart(MM,enddate)>'9') then 1 else 0 end sep,case
when (datepart(MM,startdate)>='1' and datepart(MM,enddate)>'10') then 1 else 0 end Oct,case
when (datepart(MM,startdate)>='1' and datepart(MM,enddate)>'11') then 1 else 0 end Nov,case
when (datepart(MM,startdate)>='1' and datepart(MM,enddate)>'12') then 1 else 0 end Dec,*
from dbo.EmpNewwhere
emplno IN(101274,101429,101483,101513,101560,101592,101605)Tuesday, September 20, 2011
Fusion Middleware Developer's Guide for Oracle SOA Suite
Service-oriented architecture (SOA) is a flexible set of design principles used during the phases of systems development and integration in computing. A system based on an SOA will package functionality as a suite of interoperable services that can be used within multiple, separate systems from several business domains.