Email customers based on data in a webapp
Hi all
A question - Is BC capable of emailing customers based on data in a webapp that was submitted by that customer?
Thanks
Like send a different workflow given the choice one makes on a form. If so then yes. You will need to use a little jQuery to make it work right.
http://helpx.adobe.com/business-catalyst/partner/create-workflow-notification.html#id_2285 7
Basicly you would set it up so that when you get the data you want you would select the right workflow in the background.
Or just change the text on the dropdown and let them choose that way.
<select name="WorkflowList">
<option value=ID1>Option One</option>
<option value=ID2>Option Two</option>
<option value=ID3>Option Three</option>
</select>
OR --- I'm way off and you require a different solution?
Similar Messages
-
Auto Email notification based on data from Table
I need to send a auto email notification based on the information updated on the table. Like when response table is updated as 90 for ( column users).A Email should automatically trigger to the different users listed in a table named (email).. I have stored the value of users in a table named response and the person to whom i need to be email has been stored in table name email.
I'm using Oracle 10g Express edition
Let me know how this can be done automically.Wrong forum...should be over in the Database Forum or PLSQL forum. You need to add a trigger to the table and the trigger needs to utilize the UTL_MAIL or UTL_SMTP packages. You can get more info on UTL_MAIL here or more info on UTL_SMTP here
and here is some example code for a trigger:
create or replace trigger my_trigger
after insert or update
on my_table
for each row
begin
utl_mail.send(sender => '[email protected]',
recipients => '[email protected],[email protected]',
cc => '[email protected]',
bcc => '[email protected]',
subject => 'utl_mail test',
message => 'if you get this message it worked!');
end my_trigger;UTL_MAIL and UTL_SMTP may need some configuring before you use them, see the links above for details. -
Dynamic subject based on data structure (JD Edwards)
In JD EDwards TR 8.98.3.0 it should be possible to create a dynamic email subject based on a data structure that is connected to a report definition. I have managed to create the data strucure with two elements (DOCO and DESC), this data structure is connected to a report definition in which I have stated that the subject must contain the first element (DOCO): Purchase order &1.
In the report definition I mapped the element DOCO from the data structure to the XML-element that contains the order number.
Unfortunately the e-mail does contain the statis text "purchase order" but it doesn't contain the order number (DOCO) from the XML-file.
Can anyone give me a hint for what I have done wrong?In JD EDwards TR 8.98.3.0 it should be possible to create a dynamic email subject based on a data structure that is connected to a report definition. I have managed to create the data strucure with two elements (DOCO and DESC), this data structure is connected to a report definition in which I have stated that the subject must contain the first element (DOCO): Purchase order &1.
In the report definition I mapped the element DOCO from the data structure to the XML-element that contains the order number.
Unfortunately the e-mail does contain the statis text "purchase order" but it doesn't contain the order number (DOCO) from the XML-file.
Can anyone give me a hint for what I have done wrong? -
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 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 -
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.
> -
Send Email Notification based on UPDATE
Hi,
a simple issue : how can I send an automatic Email Notification based on whether or not a particular field/attribute has been updated ?
Currently, in my User Form, I have "Checkboxes" to handle this task. The Checkbox code is as follows :
<Field name='global.FirstNameUpdate'>
<Display class='Checkbox'>
<Property name='Title' value='Tick this box if the user's first name has been changed'/>
</Display>
</Field>
In other words, if the First Name is changed at any time (or edited/updated), the Checkbox there will be ticked. When this happens, an automatic Email Notification is sent to whomever-it-concerns, saying : "Good morning. Your First Name has been changed/updated".....blah blah blah
For now, this works fine.
But, this system is not a good one. The reason is obvious : what if the First Name is changed more than ONCE?
(Of course, a person's first name is never changed. But, this is just an example)
What if the Field/Attribute in question, is something that is changed often? Like : the person's Address, or Age, or Marital Status, etc, etc
Obviously, a Checkbox is useless, because it can be ticked only once.
What I need is a way for my Update-User Workflow to detect any changes that are made in the User Form, and, based on this changes/updates, it can trigger an Email Notification.
I know that this is a simple issue. I just don't know how to do it.
What code/syntax should I use in my Update-User Workflow, to *"search for"* updates?Hi,
a simple issue : how can I send an automatic Email Notification based on whether or not a particular field/attribute has been updated ?
Currently, in my User Form, I have "*Checkboxes"* to handle this task. The Checkbox code is as follows :
*<Field name='global.FirstNameUpdate'>*
*<Display class='Checkbox'>*
*<Property name='Title' value='Tick this box if the user's first name has been changed'/>*
*</Display>*
*</Field>*
In other words, if the First Name is changed at any time (or edited/updated), the Checkbox there will be ticked. When this happens, an automatic Email Notification is sent to whomever-it-concerns, saying : "*Good morning. Your First Name has been changed/updated"*.....blah blah blah
For now, this works fine.
But, this system is not a good one. The reason is obvious : what if the First Name is changed more than ONCE / or, on a regular basis?
(Of course, a person's first name is never changed. But, this is just an example)
What if the Field/Attribute in question, is something that is changed often? Like : the person's Address, or Age, or Marital Status, etc, etc
Obviously, a Checkbox is useless, because it can be ticked only once.
What I need is a way for my Update-User Workflow to detect any changes that are made in the User Form, and, based on this changes/updates, it can trigger an Email Notification.
I know that this is a simple issue. I just don't know how to do it.
What code/syntax should I use in my Update-User Workflow, to *"search for"* updates? -
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 -
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. -
Hide Repeating Frames based on data value
Hello,
Wonderful forum. Hope someone out there can give us input on this one. We have a report where we would like to show a different layout depending on the data value from the master query. One layout occupies a full 8X11 page and the second layout occupies 1/3rd of a page. Is it possible to hide one reapeating frame and show the other based on data value? This would be a multiple page report and each page will have to take the correct payout depending on the value of the data in the row.
I appreciate any input on this. Thanks
RaviThanks for you input. I appreciate it.
I am having a problem doing this. Let us say i have 2 differnt paper layouts. I want to show or hide one of the layouts based on a data value.
The problem i am facing is that the 2nd instance of true value for showing the 1st layout is over lapping the 1st instance of the 2nd layout thus showing 2 layouts overlapping each other on the same page. I know this is confusing but i will attempt to give an example:
page 1 shows - layout #1 only is showing based on result of data value. This is good.
page 2 shows - layout #2 shows based on data value, but also the 2nd instace of layout #1 (what ever data record satisfies layout #1 rule) is also showing over layout #2. So both the layouts are jumbled up on 1 page.
Essentially conditional formatting on layout #1 is not able to recognize that there is a 2nd layout taking its place and thus showing the layout #1 whenever it finds data which satisfies the condition on the 2nd page and so on..
Any help is greatly appreciated.
Thanks.. -
To select from database table based on date range
hi
i have a selection screen in which date range is being given
say eg 23/06/07 to 23/12/08
based on this date i want to select data from a ztable
eg i want to select a field amount from table
and three is a field date range on the table
for this particular field i want to select all records for amount field and factual field falling wiithing this date range and sum it
eg
based on date range as in selcetion screen
select amount( field1) factual ( field2) from ztable into it_ztable where date = ?....
please give me code for it and how to sum all values as i will get from the ztable into internal table the two values as fetched from the ztable
please suggest asap
regards
arorahi
i am using
sELECT field1 field2 FROM Ztable INto it_matu
where DATE GE sl_dat-low
AND DATE LE sl_dat-high.
i am getting data in internal table but
say i have twelve records now i want to sum it the both the columns into and use that sum final amount to display
let me know how to use sume in the intrranal tabl do i need to use control statement
how to use the sum for two columns and take into a serperate variable to display
regards
aRora
Maybe you are looking for
-
Change the background color of a cell in JTable
Hi all, How can I change the background color of individual cell in JTable. I need to construct my own TableCellRenderer or not? I'm now using the DefaultTableCellRenderer now. Thx
-
SAP Txn FBL3N - G/L Line Items
Hi Team, When running a G/L Line item report in foreground both the vendor number and vendor name fields are populated. However the same transaction run in background does not populate these fields. Please investigate and advise. Note : we have used
-
How Airports base station update Dynamic Global Hostname?
Hello! For several days, I try to run my own DNS server with bind9. My Airport Express has a dynamic IP and I would like to be able to use dynamic DNS. When you configure the DNS server on my bind9 (linux machine), Airport update the entries, but whe
-
A client asked if I could put RSS Feeds on his travel website. I did not know how - until I discovered a really cool FREE program that enables you to fully custom the look and feel of your feeds - and it only took me one afternoon to crack it. It rea
-
Creating a calculated total field in BIP
Hi, Hope this isn't a stupid question. I have have a SQL data model in BIP (BI Publisher) which displays a percentage of the number of withdrawn students at our university against the total number of students. The report is broken down by department.