Alert based on date
I have a list of SSL certificates and their expiration dates. I created a column that calculates the date 45 days before the expiration and then a view that only shows those items where the (expiration - 45) > Today.
I then set an alert for any changes to items in that view. However, I don't get an alert for items that pop into the view...I guess because the item itself did not change. Is there a way to send an alert based on date?
My SharePoint enviroment is locked down so I can't create custom workflows or connect via Designer.
Thanks for the idea. I don't guess it will work as the only option I have when enabling the expiration feature is to delete the item.
So far, the best idea I have is a weekly calendar reminder to go look at the view for expiring certificates.
Before setting the policy you need to go to workflow settings and add a disposition workflow to the list so it is available as an option when you Enable Expiration in the Information Policy Settings.
After you set the expiration policy to start your workflow, set up an alert on the workflow tasks list you associated with the disposition workflow.
- Xenox G.
Similar Messages
-
How to schedule the webi report based on data changes in the report data
Hello,
I want to schedule a webi report based on data change in a column in the report.
The scenario is something like below:
1. If a data of a particular column changes from 2 to 3 than I would like to schedule this report and sent it to users mail box.
I know how to apply alerts or schedule a report or data tracking for capturing changes in the report but I dont know how to schedule the report only for data changes.
Anybody done this before.
Thanks
GauravHi,
May be these links can help you:
http://devnet.magicsoftware.com/en/library?book=en/iBOLT/&page=SAP_R_3_Master_Data_Distribution_Defining_Change_Pointers.htm
SEM-BCS: Load from data stream schedule
Attribute Change Run -
Hi,
How to copy from one file to another file based on particular date.
For Example:
We have alertlog file which is being filled every minutes.
I would like to copy content based on date to another file.
Archived Log entry 21430 added for thread 1 sequence 21460 ID 0x8db3363 dest 1:
Thu Jul 12 16:46:21 2012
Buffer cache integrity check completed
Thu Jul 12 16:50:15 2012
Immediate Kill Session#: 7784, Serial#: 26524
Immediate Kill Session: sess: 700001a322f0ec8 OS pid: 39977326
Immediate Kill Session#: 6783, Serial#: 36329
Immediate Kill Session: sess: 7000019a217d8f8 OS pid: 25821530
Thu Jul 12 16:50:30 2012
Immediate Kill Session#: 2254, Serial#: 25693
Immediate Kill Session: sess: 700001961a1edf0 OS pid: 18481442
Thu Jul 12 16:50:44 2012
Immediate Kill Session#: 3826, Serial#: 43876
Immediate Kill Session: sess: 7000019a1cb7ac8 OS pid: 56492464
Thu Jul 12 16:50:55 2012
Immediate Kill Session#: 4, Serial#: 54119
Immediate Kill Session: sess: 70000197166b938 OS pid: 20447852
Immediate Kill Session#: 535, Serial#: 45799
Immediate Kill Session: sess: 700001991729d18 OS pid: 37815026
Thu Jul 12 16:51:08 2012
Immediate Kill Session#: 753, Serial#: 38479
Immediate Kill Session: sess: 700001981833a40 OS pid: 38469692
Immediate Kill Session#: 1149, Serial#: 63745
Immediate Kill Session: sess: 700001991829398 OS pid: 20971966
Thu Jul 12 16:51:19 2012
Immediate Kill Session#: 4474, Serial#: 51993
Immediate Kill Session: sess: 700001a31d8b688 OS pid: 35979938
Thu Jul 12 16:51:37 2012
Buffer cache integrity check completed
Thu Jul 12 16:53:59 2012
Thread 1 cannot allocate new log, sequence 21462
Private strand flush not complete
Thu Jul 13 16:53:59 2012
Thread 1 cannot allocate new log, sequence 21463
Private strand flush not complete
Thanks & Regards,
VNI found the following in Google, which provides a script that seems to address what you are trying to accomplish:
http://www.databasejournal.com/features/oracle/article.php/3869076/Alert-Log-Scraping-with-Oracles-ADRCI-Utility.htm -
How to alert based on precentage?
Hi All,
I've table like below. Now i've to create an alert based on the Percentage column.
If the value is -ve Red and +ve Green. For now i've done it by taking <0 is Red and >0 as Green.
I don't know if this approach is right or not.
The percentage is calculated manually here. First I've fetched the previous days Charged Usage Minutes in a Variable and then calculated percentage using the below formulae.
Formulae used for Previous Day Mins:
=RelativeValue([Charged Usage Minutes];([Event Start Date]);-1)
Formulae used for Percentage:
=If
IsNull([Prev Day Mins])
Then
(((([Charged Usage Minutes]-[Prev Day Mins])/[Charged Usage Minutes])*100)+"%")
Else
(((([Charged Usage Minutes]-[Prev Day Mins])/[Prev Day Mins])*100)+"%")
Can you suggest any other approach that can be applicable here?
Regards,
Naren VemaHi naren,
No need to append *100+"%", it makes numbers as text. instead you can use percentage in Format Number.
For alerts Show Trend Icon/Arrows in webi as per conditions -
Process Chain - How to make decision based on data in PSA and execute DTP
Need to create process in Process Chain, which will execute the DTP based on data in PSA.
Say we have two DSO A & B, both getting data from same datasource.
In process chain, we need to read data in one of the date field in PSA and make a decision, which DTP to get execute in process chain.
Say if date field contains year = 2000, than load to DSO A, if year is 2001, load data to DSO B.
Suggest the solution. ...Hi,
Tyr this steps.
1) Develop ABAP process types
ABAP report to read PSA data using function module
Trigger events based on year
event1 -> for even year data
event2 -> for add year data
2) Develop local process chains for each DTPs and schdule it with events mentioned above.
Do reply with comments. -
Batch Determination based on date of consig recieve
Hi,
I am getting problem when i am trying to do manual batch determination in the outbound delivery.
I have created a record in VCH1 based on customer/Material/Plant. In this i have maintained a sort rule also. what characteristaics i must use to make my batch determination based on customer consignment recieving date?
If i go in MSC3n with Material, Plant and batch data then in the screen ( table MCHA, MCH1) onlt data available is for ERSDA, LAEDA and LWEDT.
In delivery when i click on batch determination button. my Sort rule is not automatically determined. So i have to maunally entered my soirt rule but at the same time my qty proposal in the same screen is 1 which is nothing but
FORM CHMVS_001.
DATA: lv_line TYPE kondh-chasp VALUE '1'.
LOOP AT disqty.
CHECK lv_line <= no_of_split.
IF QUAN_TO_DIS > 0.
IF DISQTY-AVAL_QUAN > QUAN_TO_DIS.
DISQTY-QUANTITY = QUAN_TO_DIS.
ELSEIF disqty-aval_quan > 0.
DISQTY-QUANTITY = DISQTY-AVAL_QUAN.
ENDIF.
IF disqty-quantity > 0.
quan_to_dis = quan_to_dis - disqty-quantity.
MODIFY disqty TRANSPORTING quantity.
ADD 1 TO lv_line.
ENDIF.
ENDIF.
ENDLOOP.
ENDFORM
When i am taking characteristics LOBM_VFDAT for sort rule in Cu70 then i am not getting batch determination as i required even if i maintained Shelf expiry date in MSC3n.
Please suggest where i must look into so that my batch determination would be based on date of consignment recieved.. currently if it s taking based on max qty available in MMBE.
Regards
NitinI have already assigned sort rule in VCH1 but dont know which Characteristics i must assign for customer consignment stock on FIFO basis. Could you please tell me the characteristics for it which i must consider?
LOMB_VFDAT i have already tried but its not working for me.
Edited by: Nitin Agarwal on Oct 30, 2008 8:14 AM -
How to get the most current file based on date and time stamp using SSIS?
Hello,
Let us assume that files get copied in a specific directory. We need to pick up a file and load data. Can you guys let me know how to get the most current file based on date and time stamp using SSIS?
Thanks
thx regards dinesh vvhi simon
i excuted this script it is giving error..
Microsoft SQL Server Integration Services Script Task
Write scripts using Microsoft Visual C# 2008.
The ScriptMain is the entry point class of the script.
using System;
using System.Data;
using Microsoft.SqlServer.Dts.Runtime;
using System.Windows.Forms;
namespace ST_9a6d985a04b249c2addd766b58fee890.csproj
[System.AddIn.AddIn("ScriptMain", Version = "1.0", Publisher = "", Description = "")]
public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
#region VSTA generated code
enum ScriptResults
Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
#endregion
The execution engine calls this method when the task executes.
To access the object model, use the Dts property. Connections, variables, events,
and logging features are available as members of the Dts property as shown in the following examples.
To reference a variable, call Dts.Variables["MyCaseSensitiveVariableName"].Value;
To post a log entry, call Dts.Log("This is my log text", 999, null);
To fire an event, call Dts.Events.FireInformation(99, "test", "hit the help message", "", 0, true);
To use the connections collection use something like the following:
ConnectionManager cm = Dts.Connections.Add("OLEDB");
cm.ConnectionString = "Data Source=localhost;Initial Catalog=AdventureWorks;Provider=SQLNCLI10;Integrated Security=SSPI;Auto Translate=False;";
Before returning from this method, set the value of Dts.TaskResult to indicate success or failure.
To open Help, press F1.
public void Main()
string file = Dts.Variables["User::FolderName"].Value.ToString();
string[] files = System.IO.Directory.GetFiles(Dts.Variables["User::FolderName"].Value.ToString());
System.IO.FileInfo finf;
DateTime currentDate = new DateTime();
string lastFile = string.Empty;
foreach (string f in files)
finf = new System.IO.FileInfo(f);
if (finf.CreationTime >= currentDate)
currentDate = finf.CreationTime;
lastFile = f;
Dts.Variables["User::LastFile"].Value = lastFile;
Dts.TaskResult = (int)ScriptResults.Success;
thx regards dinesh vv -
How can we display Alerts based on Exceptions in BI7
Hi,
<b>How can we display Alerts based on Exceptions in BI7?</b> My requirement is a dashboard kind of scenario where the alerts will be displayed using WAD in Portal.
In 3.5, we used to schedule the alerts from the Reporting Agent and display that using the Alert Webitem in Web Application Designer. But I couldn't find the Reporting Agent and the Alert Webitem in BI7. I would like to know how we can do Exception Reporting in BI7. I appreciate your suggestions/comments. Thanks in advance.
Regards
HariHi,
Please go through this link:
bw 7.0
Regards,
Habeeb -
How to display data from a recordset based on data from another recordset
How to display data from a recordset based on data from
another recordset.
What I would like to do is as follows:
I have a fantasy hockey league website. For each team I have
a team page (clubhouse) which is generated using PHP/MySQL. The one
area I would like to clean up is the displaying of the divisional
standings on the right side. As of right now, I use a URL variable
(division = id2) to grab the needed data, which works ok. What I
want to do is clean up the url abit.
So far the url is
clubhouse.php?team=Wings&id=DET&id2=Pacific, in the end all
I want is clubhouse.php?team=Wings.
I have a separate table, that has the teams entire
information (full team name, short team, abbreviation, conference,
division, etc. so I was thinking if I could somehow do this:
Recordset Team Info is filtered using URL variable team
(short team). Based on what team equals, it would then insert this
variable into the Divisional Standings recordset.
So example: If I type in clubhouse.php?team=Wings, the Team
Info recordset would bring up the Pacific division. Then 'Pacific'
would be inserted into the Divisional Standings recordset to
display the Pacific Division Standings.
Basically I want this
SELECT *
FROM standings
WHERE division = <teaminfo.division>
ORDER BY pts DESC
Could someone help me, thank you.Assuming two tables- teamtable and standings:
teamtable - which has entire info about the team and has a
field called
"div" which has the division name say "pacific" and you want
to use this
name to get corresponding details from the other table.
standings - which has a field called "division" which you
want to use to
give the standings
SELECT * FROM standings AS st, teamtable AS t
WHERE st.division = t.div
ORDER BY pts DESC
Instead of * you could be specific on what fields you want to
select ..
something like
SELECT st.id AS id, st.position AS position, st.teamname AS
team
You cannot lose until you give up !!!
"Leburn98" <[email protected]> wrote in
message
news:[email protected]...
> How to display data from a recordset based on data from
another recordset.
>
> What I would like to do is as follows:
>
> I have a fantasy hockey league website. For each team I
have a team page
> (clubhouse) which is generated using PHP/MySQL. The one
area I would like
> to
> clean up is the displaying of the divisional standings
on the right side.
> As of
> right now, I use a URL variable (division = id2) to grab
the needed data,
> which
> works ok. What I want to do is clean up the url abit.
>
> So far the url is
clubhouse.php?team=Wings&id=DET&id2=Pacific, in the end
> all
> I want is clubhouse.php?team=Wings.
>
> I have a separate table, that has the teams entire
information (full team
> name, short team, abbreviation, conference, division,
etc. so I was
> thinking if
> I could somehow do this:
>
> Recordset Team Info is filtered using URL variable team
(short team).
> Based on
> what team equals, it would then insert this variable
into the Divisional
> Standings recordset.
>
> So example: If I type in clubhouse.php?team=Wings, the
Team Info recordset
> would bring up the Pacific division. Then 'Pacific'
would be inserted into
> the
> Divisional Standings recordset to display the Pacific
Division Standings.
>
> Basically I want this
>
> SELECT *
> FROM standings
> WHERE division = <teaminfo.division>
> ORDER BY pts DESC
>
> Could someone help me, thank you.
> -
HOw to get an Alert based on a Query
I currently have a maintenance plan in place that does a backup, re-indexing, etc.. If a task fails, it sends me an email alert. I would like to add a "T-SQL Statement Task" that will execute a query and send me an email alert based
on the results of the query.
For example: Select Cast(case when count(inventory.items) > 1000 then 1 else 0 End as bit) as SendAlert from Inventory
The maintenance plan's alert function constraint seems to be triggered whether the Query executed successfully or not RATHER THAN from the Query Result.
Can I accomplish what I want from within a maintenance plan or is there some other way to do this?
Thank You.
JackI would create a stored procedure using the following t-sql code:
Create Procedure [dbo].[GetInventoryAlert]
as
Begin
Set nocount on
declare @body varchar(max)
set @body = cast( (
select td = SendAlert + '</td><td>'
from (
select SendAlert = Cast(case when count(inventory.items) > 1000 then 1 else null End)
from Inventory) as d
for xml path( 'tr' ), type ) as varchar(max) )
If Len(Rtrim(@body))>0
Begin
set @body = '<table cellpadding="2" cellspacing="2" border="1">'
+ replace( replace( @body, '<', '<' ), '>', '>' )
+ '</table>'
Set @body='****BODY HEADING OPTIONAL****<br/><br/>'+@body
exec msdb.dbo.sp_send_dbmail @profile_name='MAIL PROFILE',
@from_address='FROM EMAIL ADDRESS',
@recipients='COMMA SEPARATED RECIPIENTS',
@subject='SUBJECT OF THE EMAIL',
@body=@body,
@body_format='HTML',
@attach_query_result_as_file=0,
@query_result_header = 0
End
End
Also the above can be embedded as t-SQL in a maintenance plan tasks control.
I would add an Execute T-SQL Statement Task. Then branch the task where applicable. -
Hello,
We need some help with an SSAS MDX query based on date logic. One of the problems is that I don't have access to the Cube but have been given a query example with the logic needed for the calculation. Here's the scenario;
The ETL process will run on the first Tuesday after the 15<sup>th</sup> of a given month. The Analysis Cube data queried should include the current year up to the end of the previous month. For example, on May 19<sup>th</sup>
(the first Tuesday on or after the 15th) the query should include data from January 1<sup>st</sup> through April 30<sup>th</sup>.
The 15<sup>th</sup> of the month is not part of the query, it is a factor in when the query is run. The query will always be in terms of complete months.
SELECT
NON EMPTY { [Measures].[Revenue Amount],
[Measures].[Utilization],
[Measures].[AVG Revenue Rate],
[Measures].[Actual Hours] }
ON
COLUMNS,
NON EMPTY { ([dimConsultant].[User Id TT].[User Id TT].ALLMEMBERS * [dimConsultant].[Full Name].[Full Name].ALLMEMBERS * [dimConsultant].[Employee
Type].[Employee Type].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION,
MEMBER_UNIQUE_NAME
ON
ROWS
FROM
( SELECT
( { [dimDate].[Week Date].[1/4/2015], [dimDate].[Week Date].[1/11/2015], [dimDate].[Week Date].[1/18/2015], [dimDate].[Week Date].[1/25/2015], [dimDate].[Week Date].[2/1/2015] } )
ON
COLUMNS
FROM
( SELECT
( { [dimIsBillable].[Is Billable].&[True] } )
ON
COLUMNS
FROM
[SSASRBA]
WHERE
( [dimIsBillable].[Is Billable].&[True], [dimDate].[Week Date].CurrentMember ) CELL PROPERTIES VALUE,
BACK_COLOR,
FORE_COLOR,
FORMATTED_VALUE,
FORMAT_STRING,
FONT_NAME,
FONT_SIZE,
FONT_FLAGSHi Hans,
Thank you for your question.
I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
Thank you for your understanding and support.
Regards,
Simon Hou
TechNet Community Support -
Newbie: Trying to write PL/SQL that is dynamic based on data
Hi everyone,
I was wondering how I would go about writing a report that outer joins based on data from the main table? Here is what I wanna do in pseudo-sql:
SELECT
b.po_number,
a.ht_code,
b.figure_no,
b.order_number,
a.supplier_no,
b.cert_date,
b.plant
FROM header b, part_spec a
where ...
begin:
project = '' /* initialize project */
/* The table to get the project value for the report is named ORDER01 or ORDER02 or ... */
/* It is the word ORDER concatenated with the plant value above. */
select project from 'ORDER' || :PLANT;
END;
How would I do this with APEX 2.0?
I've successfully used APEX to generate SQL Query reports (REGION) but never PL/SQL.
Your help is appreciated,
FerrisWheel
Edited by: FerrisWheel on Dec 15, 2009 10:13 AM
Edited by: FerrisWheel on Dec 15, 2009 10:14 AM
Edited by: FerrisWheel on Dec 15, 2009 10:14 AMOK, Thanks for the quick feedback. Here is a quick generic SQL I wrote up to show my goal using your suggestion. Notice the ERP_ORDERHDR and plant values in each of the SQLs below.
SELECT b.cust_po_no,
a.ht_code,
b.item_no,
b.ERP_ORDER_NO,
a.supplier_code,
b.cert_date,
c.prj
FROM CERT_HDR b, PART_DETL a, ERP_ORDERHDR011 c
WHERE plant = 1
AND a.cert_no = b.cert_no
AND a.cert_no like '%%%' || UPPER(:p1_cert_no) || '%%%'
AND b.cust_po_no like '%%%' || UPPER(:p1_cust_po_no) || '%%%'
AND a.ht_code like '%%%' || UPPER(:p1_ht_code) || '%%%'
AND b.item_no like '%%%' || UPPER(:p1_item_no) || '%%%'
AND b.ERP_ORDER_NO like '%%%' || UPPER(:p1_sales_order) || '%%%'
AND (b.cert_date BETWEEN :P1_DATE_FROM AND :P1_DATE_TO)
AND c.orno (+) = b.ERP_ORDER_NO
AND c.prj like '%%%' || UPPER(:p1_project) || '%%%'
UNION ALL
SELECT b.cust_po_no,
a.ht_code,
b.item_no,
b.ERP_ORDER_NO,
a.supplier_code,
b.cert_date,
c.prj
FROM CERT_HDR b, PART_DETL a, ERP_ORDERHDR012 c
WHERE plant = 2
AND a.cert_no = b.cert_no
AND a.cert_no like '%%%' || UPPER(:p1_cert_no) || '%%%'
AND b.cust_po_no like '%%%' || UPPER(:p1_cust_po_no) || '%%%'
AND a.ht_code like '%%%' || UPPER(:p1_ht_code) || '%%%'
AND b.item_no like '%%%' || UPPER(:p1_item_no) || '%%%'
AND b.ERP_ORDER_NO like '%%%' || UPPER(:p1_sales_order) || '%%%'
AND (b.cert_date BETWEEN :P1_DATE_FROM AND :P1_DATE_TO)
AND c.orno (+) = b.ERP_ORDER_NO
AND c.prj like '%%%' || UPPER(:p1_project) || '%%%'
UNION ALL
SELECT b.cust_po_no,
a.ht_code,
b.item_no,
b.ERP_ORDER_NO,
a.supplier_code,
b.cert_date,
c.prj
FROM CERT_HDR b, PART_DETL a, ERP_ORDERHDR014 c
WHERE (plant = 4 or plant = 5 or plant = 8)
AND a.cert_no = b.cert_no
AND a.cert_no like '%%%' || UPPER(:p1_cert_no) || '%%%'
AND b.cust_po_no like '%%%' || UPPER(:p1_cust_po_no) || '%%%'
AND a.ht_code like '%%%' || UPPER(:p1_ht_code) || '%%%'
AND b.item_no like '%%%' || UPPER(:p1_item_no) || '%%%'
AND b.ERP_ORDER_NO like '%%%' || UPPER(:p1_sales_order) || '%%%'
AND (b.cert_date BETWEEN :P1_DATE_FROM AND :P1_DATE_TO)
AND c.orno (+) = b.ERP_ORDER_NO
AND c.prj like '%%%' || UPPER(:p1_project) || '%%%'
and this would go on for up to 4 more unions. Is there a way to use PL/SQL to make it more clean? Another issue I have with the above is that the c.orno field that I try to outer join is not numeric whereas the b.ERP_ORDER_NO is numeric. I can to_char(c.orno) but how do I do that and still have an outer join? If I can use PL/SQL, I hope to be able to better control the output and eliminate the unions.
I hope this is enough information.
Thanks,
FerrisWheel -
List item - Population - Based on Data setup
Dear All,
I need to populate the list item based on data defined at the database level.
Tables Used:
Table 1 : JBCAI_JOB_COM_ADD_INFO
Column Name Pk Null? Data Type Default
JBEDC_UID 1 N NUMBER (22)
JBCAI_ADD_INFO_CODE 2 N VARCHAR2 (2 Char)
JBCAI_INFO_CODE_SEQUENCE 3 N NUMBER (3,1) 1
JBCAI_ADD_INFO_TEXT Y VARCHAR2 (35 Char)
SHIPCOMP_CODE N VARCHAR2 (4 Char)
Table 2 :CODES
CODE_TYPE CODE_VALUE DESCRIPTION NEXT_VALUE CODE_FLAG
MCAR 01 Customs References 01 NULL N
MCAR 02 Customs References 02 NULL N
MCAR 03 Value of Commodities NULL N
MCAR 04 Currency of commodities NULL N
MCAR 05 Purchase Order Number NULL N
MCAR 06 Other NULL N
MCAR 07 Consignee Name NULL N
MCAR 08 VIN NULL N
FORMS Section
=========
JBCAI_ADD_INFO_CODE are the list items which needs to be populated; JBCAI_ADD_INFO_TEXT(free text) which user can enter any descriptions.
References - Label of the Block
JBCAI_ADD_INFO_CODE JBCAI_ADD_INFO_TEXT
Customs References 01 - Free Text()
Customs References 02 - Free Text()
Value of Commodities - Free Text()
Currency of commodities - Free Text()
Purchase Order Number - Free Text()
Other - Free Text()
Consignee Name - Free Text()
VIN - Free Text()
VIN - Free Text()
Business Rules:
If JBCAI_ADD_INFO_CODE has the flag as 'N' in CODES table then user can select only one time from the list item.
If JBCAI_ADD_INFO_CODE has the flag as 'Y' in CODES table then user can do multi-selection from the list item e.g; VIN
How the records are fetched:
Value for the list item are been populated from CODES table ; which am doing through the below query.
In WHEN-NEW-FORM-INSTANCE am using the below code:
PROCEDURE p_fetch_code_value
IS
l_query VARCHAR2(200) ;
l_rg_name VARCHAR2(40) := 'CODES';
l_errcode NUMBER;
l_rg RECORDGROUP;
BEGIN
l_query := 'SELECT adcod.description description,adcod.code_flag code_flag FROM codes adcod WHERE adcod.code_type = ''MCAR'' AND adcod.code_value IN (''01''''02'',''03'',''04'',''05'',''06'',''07'',''08'') ORDER BY code_value';
l_rg := FIND_GROUP( l_rg_name );
IF ID_NULL(l_rg) THEN
l_rg := CREATE_GROUP_FROM_QUERY(l_rg_name, l_query);
END IF;
l_errcode := POPULATE_GROUP( l_rg );
POPULATE_LIST('BLK_CONTROL.JBCAI_ADD_INFO_CODE',l_rg);
EXCEPTION
Handled WHEN OTHERS exception
END p_fetch_code_value;
Saving of Record:
List value selection are saved to JBCAI_JOB_COM_ADD_INFO.JBCAI_ADD_INFO_CODE column.
Free Text is saved to JBCAI_JOB_COM_ADD_INFO.JBCAI_ADD_INFO_TEXT column.
Doubt:
When i select the first list item value i.e Customs References 01 and then enter some description i.e free text and moved to the next list item; the value Custom reference 01 should not be visible wheras the other values should have to be visible e.g; Customs Reference 02,Value of Commodities.....
Please help and let me know how can i acccomplish this task?
Thanks....
Regards,
Sunil.GHi Sarah,
Thanks for your reply.
There is no issue in the population of the list item; it is working fine with the query which i have pasted.
My doubt is:
There are few places where i have set the code_flag as 'Y' / 'N'.
For the first time when user selects the list item; all the values should be shown.....
If user has selected the first list item i.e Customs Reference 01 for which the code_flag is 'N' from a multi-record block; then when he moves to the further lines the previous selection for which the flag is set as 'N' should not be shown(if user has already selected once) e.g; 'Customs Reference 01' should not be shown again if user has made the selection before.
Plz revert incase more explanations required.
Thanks...
Regards,
Sunil.G
Edited by: Sunil G on Nov 29, 2009 12:16 AM -
Creating an Alert Based on Category
Hi ppl,
We have requirement to create an alert based on the category we choose in the category modeler. Is it possible to do so in standard?
I couldnt find an attribute for category. So, I tried to create a new attribute in the repository, using FG_ICWC_ORDER as the fact gathering service. But couldn't make it working.
Does it work when we use this fact gathering service? I left the Input Support Class blank in Input Support for Conditions. Do we have a input support class for categories?
Has anyone of you have had a similar requirment before? Any help would be great!
Regards,
ShwethaHi,
Why don't you define a new event. The same can be done at the following path:
IMG>Customer Relationship Management>Interaction Center WebClient>Additional Functions>Intent-Driven Interactions>Define Events in Repository
You would need to know the name of the component and the view to define the event and this you could get by pressing F2 in the relevant WEB UI screen.
Regards,
Deepak -
How to process data in the past based from data in the present
hello guys,
i have a problem in my labview programs. how to process data in the past based from data in the present ?
i have a formula self-organizing maps
this formula is looking for D1, D1 is neuron index that will be searched for the smallest value.and the result are D1=2 ,D2=5, D3=17 from calculating with formula .it means the smallest value is 2, "2" from weight [2 2] in file attached.
and then it will be in other formula
it mean [2 2] + 0.5 ( [1 1]-[2 2] ) = [1.5 1.5]
and the weight will be [1.5 2 2 ] in matrix
1.5 3 5
I would appreciate any input/help on solving this
thanks
Attachments:
dika.vi 16 KB
weight.txt 1 KB
data .txt 1 KBHi Ronny Hanks,
Moving your records from internal table into the database table depends upon various scenarios :-
1. If you use INSERT statement.
INSERT <database_table> FROM TABLE <internal_table>.
But in this case, you need to make sure that you don't have any duplicate entries in your internal table that violates data entry into database table, else you will get a dump.
INSERT <database_table> FROM TABLE <internal_table> ACCEPTING DUPLICATE KEYS.
In this case, you are forcefully inserting duplicate records into your database table which may lead to data redundancy in your database table.
2. If you use UPDATE statement.
UPDATE <database_table> FROM TABLE <internal_table>.
This will update the existing records in your database table from the internal table.
3. If you use MODIFY statement.
MODIFY <database_table> FROM TABLE <internal_table>.
This statement works both in combination of INSERT & UPDATE statements.
Existing records (in database table) will be eventually updated/modified and new records (not in database table currently) will be successfully inserted into the database table.
Hope this solves your problem.
Thanks & Regards.
Tarun Gambhir.
Maybe you are looking for
-
Also how can you get an image preview in the video section
The music videos you buy in iTunes come with a preview that is displayed. I tried capturing an image with VLC, then converting it to a JPEG. But the when I "get info" and try and drop or paste the image it won't allow me. Any Tips?
-
InDesign CS6 crashing as it starts up
I have had this problem all day. I have repaired my permissions and repaired my disk already. I've tried reseting the preferences, too. As soon as I hit the yes button to reset, it crashes again. I'm on a Mac so I have this crash report to share. Any
-
How can I customize the Single Sign On Page? Or do I have to create a new page in order to customize it? Thanks, -Stephanie
-
When a client has submitted a form either web or pdf will i get an email notification?
Hi, I just want to know if I will get an email notification when a client has submitted their form? I have bought the basic formcentral. Thanks:)
-
Hi All, I installed Crystal report 9 developer edition on web server but I found I don't have any Crystal report related DLL in assymbly folder and not managed folder created under C:\Program Files\Common Files\CrystalDesion\2.0\ folder. My server ru