Help to create LOV
dear all
I create a simple List of value (LOV) but whem I'm try to execute it I get this error plz
plz help me out
error message:
Column Mapping
FRM-30049: Unable to build column mapping.
LOV LOV10
Form: MODULE53
FRM-30085: Unable to adjust form for output.
I create this LOV manualy
1- I create a new Recored Group with name (RECORD_GROUP9) .
the query in this Recored Group is ( SELECT ENAME FROM EMP)
2- I create a new LOV manualy
with properties :
- Recored group : RECORD_GROUP9
- Column Mapping Properties
column name (ename)
return item ( BLOCK3.TEXT_ITEM4)
display width ( 1 )
column title (Emp Name)
Automatic Position (Yes)
3- In the Data Block -> Block3 -> Items -> TEXT_ITEM4
I create a new trigger ( whem mouse click )
this code :
declare
flage boolean;
v_empno number;
v_job varchar2(20);
v_sal number;
v_deptno number;
begin
flage:=show_lov('lov10');
select empno, job, sal, deptno
into v_empno, v_job, v_sal, v_deptno
from emp
where ename=:text_item4;
:text_item5:=v_empno;
:text_item6:=v_job;
:text_item7:=v_sal;
:text_item8:=v_deptno;
end;
I also change the property in the TEXT_ITEM4 i change the LIST OF VALUE (LOV) property to
LOV10am I forget something after that ???
plz advice........
Similar Messages
-
Error: Could not complete Create LOV Dialog Window...
Using Jdeveloper 10.1.2 UIX to drop a MessageLovInput onto an Input Form I get the following error:
Could not complete Create LOV Dialog Window because it would result in an invalid document.
Clicking on details reveals the following:
oracle.bali.xml.model.XmlInvalidOnCommitException: Errors
Errors:
Element text not defined in parent contents [node = text ]
invalid subtree:
<contents>
<text text="Find the collection (which contains the legal values for the lovInput) in the Data Control Palette. Select the attribute (of the collection) that will be set by the lovInput and drop it into this space as a 'LOV Table'. " />
</contents>
at oracle.bali.xml.model.XmlModel._validateSubtree(XmlModel.java:2646)
at oracle.bali.xml.model.XmlModel._validateDocument(XmlModel.java:2583)
at oracle.bali.xml.model.XmlModel.precommitTransaction(XmlModel.java:1467)
at oracle.bali.xml.model.XmlModel._validateInCommit(XmlModel.java:2538)
at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:531)
at oracle.bali.xml.model.XmlModel.commitTransaction(XmlModel.java:516)
at oracle.cabo.ide.adf.LovModelXml._createLovPage(LovModelXml.java:125)
at oracle.cabo.ide.adf.LovModelXml.createControl(LovModelXml.java:55)
at oracle.cabo.ide.adf.UixModelXml.populateFragment(UixModelXml.java:165)
at oracle.cabo.ide.adf.UixAdfDocumentFragmentProvider.preInitializeNode(UixAdfDocumentFragmentProvider.java:38)
at oracle.bali.xml.model.datatransfer.XmlKeyDocumentFragmentProvider._createDomNodeFromKey(XmlKeyDocumentFragmentProvider.java:97)
at oracle.bali.xml.model.datatransfer.XmlKeyDocumentFragmentProvider.createFragment(XmlKeyDocumentFragmentProvider.java:38)
at oracle.bali.xml.model.XmlModel.getImportedDocumentFragment(XmlModel.java:1771)
at oracle.bali.xml.model.XmlModel.getFragmentForImportIfPossible(XmlModel.java:1801)
at oracle.bali.xml.model.XmlModel.importData(XmlModel.java:1078)
at oracle.bali.xml.model.XmlView.importData(XmlView.java:773)
at oracle.bali.xml.gui.swing.dnd.ModelDropHandler._transferData(ModelDropHandler.java:624)
at oracle.bali.xml.gui.swing.dnd.ModelDropHandler.drop(ModelDropHandler.java:235)
at java.awt.dnd.DropTarget.drop(DropTarget.java:398)
at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:542)
at sun.awt.dnd.SunDropTargetContextPeer.access$800(SunDropTargetContextPeer.java:52)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:805)
at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:743)
at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:29)
at java.awt.Component.dispatchEventImpl(Component.java:3494)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:3269)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3123)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Opening the UIX page, the following code has been generated; not a <listOfValues> tag in sight!
<?xml version="1.0" encoding="windows-1252"?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
xmlns:ui="http://xmlns.oracle.com/uix/ui"
xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
xmlns:html="http://www.w3.org/TR/REC-html40"
expressionLanguage="el">
<content>
<dataScope xmlns="http://xmlns.oracle.com/uix/ui">
<provider>
<!-- Add DataProviders (<data> elements) here -->
</provider>
<contents>
<document>
<metaContainer>
<!-- Set the page title -->
<head title=""/>
</metaContainer>
<contents>
<body>
<contents>
<form name="form0">
</form>
</contents>
</body>
</contents>
</document>
</contents>
</dataScope>
</content>
<handlers>
<!-- Add EventHandlers (<event> elements) here -->
</handlers>
</page>
I have checked Metalink but can't find this error there either. Based on examples on OTN I have tried to create the LOV window manually but it does not work as expected:
1) The window is not empty when opened - i.e. data has been retrieved.
2) The filtering does not work.
3) The selected value does not update the Input Form.
I have pasted the code below in case anyone can point me in the right direction to work around the Jdeveloper error. However, I think Jdeveloper should create the LOV window correctly.
Thanks in advance for your help.
<?xml version="1.0" encoding="windows-1252"?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
xmlns:ui="http://xmlns.oracle.com/uix/ui"
xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
xmlns:html="http://www.w3.org/TR/REC-html40" expressionLanguage="el">
<content>
<dataScope xmlns="http://xmlns.oracle.com/uix/ui">
<provider>
<!-- Add DataProviders (<data> elements) here -->
</provider>
<contents>
<document>
<metaContainer>
<!-- Set the page title -->
<head title=""/>
</metaContainer>
<contents>
<body>
<contents>
<listOfValues title="Organization"
searchText="Enter search string here">
<contents>
<!-- indexed children -->
<table model="${bindings.OrganizationView1}" id="OrganizationView13">
<contents>
<column>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.OrganizationView1,'Name')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.Name}" columns="10" readOnly="true"/>
</contents>
</column>
<column>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.OrganizationView1,'Address')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.Address}" columns="10" readOnly="true"/>
</contents>
</column>
<column>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.OrganizationView1,'Url')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.Url}" columns="10" readOnly="true"/>
</contents>
</column>
<column>
<columnHeader>
<sortableHeader model="${ctrl:createSortableHeaderModel(bindings.OrganizationView1,'Phone')}"/>
</columnHeader>
<contents>
<textInput model="${uix.current.Phone}" columns="10" readOnly="true"/>
</contents>
</column>
</contents>
<tableSelection>
<singleSelection model="${bindings.OrganizationView1Iterator}" text="Select and ">
<primaryClientAction>
<firePartialAction targets="OrganizationView13" source="OrganizationView13" event="select"/>
</primaryClientAction>
</singleSelection>
</tableSelection>
</table>
</contents>
<filterChoice>
<choice name="filterBy">
<contents>
<option text="Name" value="name"/>
<option text="Address" value="address"/>
</contents>
</choice>
</filterChoice>
<headerInstructions>
</headerInstructions>
<searchInstructions>
</searchInstructions>
</listOfValues>
</contents>
</body>
</contents>
</document>
</contents>
</dataScope>
</content>
<handlers>
<!-- Add EventHandlers (<event> elements) here -->
<event name="goto sort" source="OrganizationView13">
<invoke method="handleTableUiEvent" javaType="oracle.cabo.adf.rt.AdfUtils">
<parameters>
<parameter javaType="oracle.adf.model.binding.DCIteratorBinding" value="${bindings.OrganizationView1Iterator}"/>
<parameter javaType="oracle.cabo.servlet.expl.ControllerImplicitObject" value="${uix}"/>
</parameters>
</invoke>
</event>
<event name="select" source="OrganizationView13">
<set target="${bindings.OrganizationView1Iterator}" property="currentRowIndexInRange" value="${ui:tableSelectedIndex(uix, 'OrganizationView13')}"/>
</event>
<event name="lovFilter">
<compound>
<invoke method="setWhereClause" javaType="oracle.jbo.ViewObject" instance="${bindings.Name.viewObject}">
<parameters>
<parameter javaType="string" value="${empty param.filterBy ? 'NAME' : param.filterBy} LIKE '${param.searchText}'"/>
</parameters>
</invoke>
<invoke method="executeQuery" javaType="oracle.jbo.ViewObject" instance="${bindings.Name.viewObject}"/>
</compound>
</event>
</handlers>
</page>Thanks for the response. OK... This is the first day I have been able to get back to the problem.
My system I am running Photoshop on is a Power Mac G4, AGP Graphics ATY Rage 128Pro chip set 16MB VRAM LCD 1280x1024 32-bit color, 500MHz, 1.75GB of memory, 1 MB L2 Cache, 100 MHz Bus Speed. I had installed the latest security update and repaired the permissions the day the problem started.
Now to day I started the system and went in and created a Guest Account. I logged into the guest account and started Photoshop. Low and behold it worked just fine. So I logged out of guest and logged into my main user account And started Photoshop. Wouldn't you know it.... It works just fine. I can open any file I want with now problems.
I got to thinking after I had done all of this that I wished I had tried to open a file in Photoshop today prior to creating the guest account to see if it still had the problem in my main user account.
I did not change anything else on the system and all seems to work fine now. So at his point I am really not sure what the problem was.
Again thanks for taking the time to respond to this issue. -
Error creating LOV in Business View Manager - cannot be based on current DF
Hi,
I'm trying to use Business View Manager for the first time. I'm trying to create a dynamic, cascading prompt to be used by Crystal Reports.
I've been able to create:
- data connection
- data foundation - simple one table
- business elements - two columns from the table
- business view
- List of Values
I am now trying to create a parameter in the Business Elements tool. The parameter needs to be a Dynamic, Cascading parameter.
When I try to save the new parameter, I get the follow error:
The List of Values used by this parameter cannot be based on a Business View derived from the current Data Foundation or Business Element.
HELP
ThanksHi Chris
If you are trying to create a LOV and use that as a parameter, then you need to create LOV as Dynamic Cascading values. Once created then you can use that LOV in the Crystal Reports.
This is the best way to get dynamic cascading prompts in Crystal reports.
Please refer to Business View Admin guide for more information.
Hope this helps!!
Regards
Sourashree -
Steps to create LOV dynamically
Hello All,
I want to create LOV dynamically.in my Oracle Forms 6I
Is there any code which can create LOV dynamically using coding.
I can create Record group dynamically. but I want to create LOV dynamically not from object browser of Form Builder by pressing Add LOV option.
Kindly help me.
Thanks
HARSH SHAHForms does not have a Built-in for dynamically creating an LOV; these objects can only be created in the Forms Builder during design time. You can, as numerous people have tried to demonstrate, change the Record Group an LOV uses dynamically. Unless you are changing the Column Mapping Properties of the LOV, using different Record Groups to supply the data for an LOV should work for you. If you need to change the Column Mapping Properties, then you will need to create multiple LOV objects with the different mapping you need and then assign the LOV to your Item dynamically.
Hope this helps,
Craig... -
Hello:
I need help in creating a select list which will display the results of the following query:
SELECT S.DOC_NAME, O.VERSION_NO
FROM SUPPORTING_DOCS S,
ORG_DOC_CURR_VER O,
HISA_AGREEMENTS H
WHERE
S.DOC_TYPE = `HISA¿
AND S.SUPPORTING_DOC_KEY = O.SUPPORTING_DOC_KEY
AND H.ORG_KEY_LE = O.ORG_KEY;When I try to create the LOV, I receive this message:
1 error has occurred
LOV query is invalid, a display and a return value are needed, the column names need to be different. If your query contains an in-line query, the first FROM clause in the SQL statement must not belong to the in-line query.
I have no idea what to do this with this error message. Can someone help?
Thank you so much.Hi,
Yes, removing the semi-colon did work. When I ran the application to view the select list box, I noticed that I needed to include the version number of the document. I modified my query to concatenate the document name with the version and when I clicked to Apply Changes; I received the same error message.
My query now looks like this:
SELECT S.DOC_NAME||' - '|| O.VERSION_NO as doc display_value, O.VERSION_NO return_value
FROM SUPPORTING_DOCS S,
ORG_DOC_CURR_VER O,
HISA_AGREEMENTS H
WHERE
S.DOC_TYPE='HISA'
AND S.SUPPORTING_DOC_KEY = O.SUPPORTING_DOC_KEY
AND H.ORG_KEY_LE = O.ORG_KEY -
Need Help to create new screen for RF Sapconsole
Hi Guru's
I'm new on RF (but some years in ABAP) since last week.
I need help to create new screens for RF (SAPLLMOB).
Can someone explain me the procedure to create screen (with ABAP code after) or perhaps someone have an exemple (simple or not) ?
I have to develop 2 new screens with really few time.
And, another subsidiary question :
how SAP can transfert information between the flash gun and the screen i have developped.
Is there some code to add to enable this functionality or it is include in SAPLLMOB on standard fields ????
It's a new strange world for me today...
Many thanks to everyone who can explain me
Alainhi,
I am facing this problem as well. Is there any reference to create the new screen?
Hope someone can help! Thanks!
Regards,
Darren -
Need help in creating a chart from 3 datasets
Need help in creating a chart in SSRS from 3 datasets
Can someone help me in creating a chart from 3 datasets, however datasource is same.Thank you Olaf...
could anyone help me in using union all with the below
WITH a AS (
SELECT
clientid,
DATEPART(year, row_date) AS 'Year',
DATEPART(month, row_date) AS 'Month',
value ,
CASE metricid WHEN 16 THEN 'FCR' ELSE 'Cases' END AS metric
FROM XXXXXX AS V
WHERE metricid IN (16, 11)
AND row_date BETWEEN '2012-01-01' AND '2014-10-01'
AND value IS NOT NULL)
, b AS (
SELECT clientid ,
Year ,
Month ,
value AS 'Cases',
metric
FROM a
WHERE metric = 'cases')
, c AS (
SELECT clientid ,
Year ,
Month ,
value AS 'FCR',
metric
FROM a
WHERE metric = 'FCR')
, d AS (
SELECT b.YEAR, b.MONTH, c.FCR, b.Cases
FROM b INNER JOIN c
ON c.clientid = b.clientid
AND c.[YEAR] = b.[year]
AND c.[month] = b.[month]
WHERE c.fcr <> 0 AND b.cases <> 0
,E AS (
SELECT [Year], [Month], SUM(FCR) AS FCR, SUM(Cases) AS Cases
FROM d
GROUP BY [Year], [Month])
select YEAR, MONTH,
CASE MONTH
WHEN 1 THEN 'Jan'
WHEN 2 THEN 'Feb'
WHEN 3 THEN 'Mar'
WHEN 4 THEN 'Apr'
WHEN 5 THEN 'May'
WHEN 6 THEN 'Jun'
WHEN 7 THEN 'Jul'
WHEN 8 THEN 'Aug'
WHEN 9 THEN 'Sep'
WHEN 10 THEN 'Oct'
WHEN 11 THEN 'Nov'
WHEN 12 THEN 'Dec'
END AS MonthName
,e.FCR AS FCRCases
,e.Cases AS TotalCases
,CASE
WHEN [month] IN (11, 12, 1) THEN 1
WHEN [month] IN (2, 3, 4) THEN 2
WHEN [month] IN (5, 6, 7) THEN 3
WHEN [month] IN (8, 9, 10) THEN 4
END AS 'Quarter'
--,CONVERT(DECIMAL(18, 2),(e.FCR/e.Cases)*100) AS FCRRaw
from e
order by YEAR, MONTH
**************2nd query*************
WITH a AS (
SELECT
clientid,
DATEPART(year, row_date) AS 'Year',
DATEPART(month, row_date) AS 'Month',
value,
CASE metricid WHEN 56 THEN 'numerator' ELSE 'denominator' END AS metric
FROM XXXXXXX.[Values] AS V
WHERE metricid IN (56, 10)
--WHERE metricid IN (11,16)
AND row_date BETWEEN '2013-10-01' AND '2014-02-01'
AND value IS NOT NULL)
, b AS (
SELECT clientid ,
Year ,
Month ,
value AS 'numerator',
metric
FROM a
WHERE metric = 'numerator')
, c AS (
SELECT clientid ,
Year ,
Month ,
value AS 'denominator',
metric
FROM a
WHERE metric = 'denominator')
, d AS (
SELECT b.YEAR, b.MONTH, c.denominator, b.numerator
FROM b INNER JOIN c
ON c.clientid = b.clientid
AND c.[YEAR] = b.[year]
AND c.[month] = b.[month]
WHERE c.denominator <> 0 AND b.numerator <> 0
, e AS (
SELECT [Year], [Month], SUM(numerator) AS numerator, SUM(denominator) AS denominator
FROM d
GROUP BY [Year], [Month]
SELECT *,
CASE
WHEN [month] IN (11, 12, 1) THEN 1
WHEN [month] IN (2, 3, 4) THEN 2
WHEN [month] IN (5, 6, 7) THEN 3
WHEN [month] IN (8, 9, 10) THEN 4
END AS 'Quarter'
FROM e
ORDER BY 1,2
******************3rd query**************
WITH a AS (
SELECT --L.[LocationGroupId],
-- T.locationid,
-- T.AccountId,
TR.datestamp,
/*Convert(NVARCHAR, DatePArt(year, TR.datestamp)) + '-' + Convert(NVARCHAR, DatePArt(month, TR.datestamp)) + '-01'*/
TR.Period AS ValueDate,
CASE WHEN TR.TargetResultState = 0 THEN 0 WHEN TR.TargetResultState = 1 THEN 1 WHEN TR.TargetResultState = 2 THEN 1 ELSE 0 END AS Met,
CASE WHEN CONVERT(DATE, Convert(NVARCHAR, DatePArt(year, TR.datestamp)) + '-' + Convert(NVARCHAR, DatePArt(month, TR.datestamp)) + '-01') > T.Startdate AND CONVERT(DATE, Convert(NVARCHAR, DatePArt(year, TR.datestamp))
+ '-' + Convert(NVARCHAR, DatePArt(month, TR.datestamp)) + '-01') < T.Enddate THEN 1 ELSE 0 END AS ActiveTarget
FROM XXXXXX AS TR
INNER JOIN dbo.Target T ON TR.TargetID = T.ID
--INNER JOIN dbo.Location L ON T.Locationid = L.Id
WHERE --locationid <> - 1 AND
TR.Period IN ('201306', '201307', '201308', '201309', '201310', '201311', '201312', '201401'))
select ValueDate, SUM(Met) AS Met, Count(ActiveTarget) AS ActiveTargets,
right(ValueDate,2) as Month
,left(ValueDate,4) as Year
,CASE
WHEN right(ValueDate,2) IN (11, 12, 1) THEN 1
WHEN right(ValueDate,2) IN (2, 3, 4) THEN 2
WHEN right(ValueDate,2) IN (5, 6, 7) THEN 3
WHEN right(ValueDate,2) IN (8, 9, 10) THEN 4
END AS 'Quarter'
from a
group by ValueDate
order by ValueDate -
Need help in creating a 'Generic txt log' monitor
Hi
We require some help in creating a 'Generic txt log' monitor.
In a txt-log a system is writing log-entries of a job.
When the job is running successfully, the entries is like this:
First line: CRM VISMA Import - Start of job execution
Second line: CRM VISMA Import - Job execution finished
When the job is NOT running successfully, the entries are like:
First line: CRM VISMA Import - Start of job execution
Second line <this could be anything>
So, how to we create a monitor that trigger an alert if
First line = "CRM VISMA Import - Start of job execution"
and second line is NOT "CRM VISMA Import - Job execution finished"
And closing the alert if the entries are once again gets:
First line: CRM VISMA Import - Start of job execution
Second line: CRM VISMA Import - Job execution finished
Thanks in advance
/PeterYou may consider using script monitor, below is the coding of script section:
Assumption: the file is stored in c:\temp\AppLog.txx. You should modify the file path for your own situation
Dim oAPI, oBag
dim strComputer, objWMIService, PerfProcess,Perf, PerfPro
Dim PerfMems,PerfMem,Mem
Set oAPI=CreateObect("MOM.ScriptAPI")
Set oBag=oAPI.CreatePropertyBag()
Set objFileToRead = CreateObject("Scripting.FileSystemObject").OpenTextFile("C:\temp\AppLog.txt",1)
Dim strLine,PreLine
Dim jobFail
JobFail=false
do while not objFileToRead.AtEndOfStream
strLine = objFileToRead.ReadLine()
if PreLine<>"" then
if strLine<>"CRM VISMA Import - Job execution finished" then
JobFail=true
else
JobFail=false
end if
PreLine=""
end if
if strLine="CRM VISMA Import - Start of job execution" then
PreLine=strLine
end if
loop
objFileToRead.Close
Set objFileToRead = Nothing
If JobFail then
Call oBag.AddValue("JobFail", "Yes")
else
Call oBag.AddValue("JobFail", "NO")
end if
Call OAPI.Reten(oBag)
Roger -
Need help to create report with jpeg/gif image
Hello,
I need help with creating a form with a special jpeg/gif seal. I never done this Java. Until now, I created all forms with ansi C++ with HP escape characters to draw lines, boxs, and text. This form will contain boxes which is populated with database information read from a text file.
Since this form contains a special seal on the upper right, I don't think it can be done with old fashion ansi C++. How can I create a form with Java and create it as a simple exe to just print the form to a specified printer.
Thanks,
JohnHi,
I am creating a form with boxes (lines and text). What is special about this form is that it has an image jpeg or gif at the top right corner. Is is a state department seal. Up to this form, I had used ansi C++ and print out escape HP character to print out the lines, boxes, and text. I have no idea how to print out the image. I am new to JAVA and only 1 class in it. Is there sample code out there to create this type of form with the image? I need a starting point.
Thanks,
John -
Need help to create SharePoint 2013 Designer workflow
Hi TechNet Community Team,
I've one list "Purchase Order" where I'm storing the data for purchase order details below are
the fields.
List Name = Purchase Order
Order No, Order Date, Part No, Part Qty, Delivery Date, Delivery Qty, Balance Qty.
Now in above list I'm storing the Purchase order details to check Order Qty and Balance Qty for every part
no and this list is working fine.
Now my requirement is to create one more list to issue the Part No from available Balance Qty in above List "Purchase Order".
So I thought to create new list with below details (Please suggest me if you have other idea also I can use
only SharePoint OutofBox feature or SharePoint Designer 2013):-
List Name = "Issue Order"
Issue No, Part No, Balance Qty, Issue Qty, Issue Date, Remaining Balance Qty OR Stock Qty
So in List Name "Issue Order" once user will select "Part No" the "Balance Qty" will show the available Qty (from Purchase Order
List). And once he enter Qty in "Issue Qty" column it will show the remaining Qty in "Remaining Balance Qty OR Stock Qty" column.
Also "Remaining Balance Qty OR Stock Qty" will get update in "Balance Qty" column in first list "Purchase Order" list so next time
when user will issue the Qty from "Issue Order" he will get the correct Qty for Part No.
Need your help to create workflow for List "Issue Order" so user can issue the items from this list
and balance qty will update accordingly in List Name = Purchase Order. So next time when user will issue the "Part No" he will get correct quantity.Hi,
For the Point# 1, per my understanding, there are two columns in the list2, both columns are getting values from list1. In List2, when user select a value for the
“Part No”, you want the “Balance Qty” column to be populated automatically.
As there is no such OOTB feature can meet this requirement, custom code using JavaScript would be required.
The two similar demos below would be helpful:
http://spservices.codeplex.com/wikipage?title=%24().SPServices.SPCascadeDropdowns
http://www.codeproject.com/Tips/758909/Two-Level-Cascading-Drop-Down-in-SharePoint-using
Best regards,
Patrick
Patrick Liang
TechNet Community Support -
I need help with Creating Key Pairs
Hello,
I need help with Creating Key Pairs, I generate key pais with aba provider, but the keys generated are not base 64.
the class is :
import java.io.*;
import java.math.BigInteger;
import java.security.*;
import java.security.spec.*;
import java.security.interfaces.*;
import javax.crypto.*;
import javax.crypto.spec.*;
import au.net.aba.crypto.provider.ABAProvider;
class CreateKeyPairs {
private static KeyPair keyPair;
private static KeyPairGenerator pairGenerator;
private static PrivateKey privateKey;
private static PublicKey publicKey;
public static void main(String[] args) throws Exception {
if (args.length != 2) {
System.out.println("Usage: java CreateKeyParis public_key_file_name privete_key_file_name");
return;
createKeys();
saveKey(args[0],publicKey);
saveKey(args[1],privateKey);
private static void createKeys() throws Exception {
Security.addProvider(new ABAProvider());
pairGenerator = KeyPairGenerator.getInstance("RSA","ABA");
pairGenerator.initialize(1024, new SecureRandom());
keyPair = pairGenerator.generateKeyPair();
privateKey = keyPair.getPrivate();
publicKey = keyPair.getPublic();
private synchronized static void saveKey(String filename,PrivateKey key) throws Exception {
ObjectOutputStream out= new ObjectOutputStream(new FileOutputStream(filename));
out.writeObject(key);
out.close();
private synchronized static void saveKey(String filename,PublicKey key) throws Exception {
ObjectOutputStream out= new ObjectOutputStream( new FileOutputStream(filename));
out.writeObject(key);
out.close();
the public key is:
�� sr com.sun.rsajca.JSA_RSAPublicKeyrC��� xr com.sun.rsajca.JS_PublicKey~5< ~��% L thePublicKeyt Lcom/sun/rsasign/p;xpsr com.sun.rsasign.anm����9�[ [ at [B[ bq ~ xr com.sun.rsasign.p��(!g�� L at Ljava/lang/String;[ bt [Ljava/lang/String;xr com.sun.rsasign.c�"dyU�| xpt Javaur [Ljava.lang.String;��V��{G xp q ~ ur [B���T� xp ��ccR}o���[!#I����lo������
����^"`8�|���Z>������&
d ����"B��
^5���a����jw9�����D���D�)�*3/h��7�|��I�d�$�4f�8_�|���yuq ~
How i can generated the key pairs in base 64 or binary????
Thanxs for help me
Luis Navarro Nu�ez
Santiago.
Chile.
South America.I don't use ABA but BouncyCastle
this could help you :
try
java.security.Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
java.security.KeyPairGenerator kg = java.security.KeyPairGenerator.getInstance("RSA","BC");
java.security.KeyPair kp = kg.generateKeyPair();
java.security.Key pub = kp.getPublic();
java.security.Key pri = kp.getPrivate();
System.out.println("pub: " + pub);
System.out.println("pri: " + pri);
byte[] pub_e = pub.getEncoded();
byte[] pri_e = pri.getEncoded();
java.io.PrintWriter o;
java.io.DataInputStream i;
java.io.File f;
o = new java.io.PrintWriter(new java.io.FileOutputStream("d:/pub64"));
o.println(new sun.misc.BASE64Encoder().encode(pub_e));
o.close();
o = new java.io.PrintWriter(new java.io.FileOutputStream("d:/pri64"));
o.println(new sun.misc.BASE64Encoder().encode(pri_e));
o.close();
java.io.BufferedReader br = new java.io.BufferedReader(new java.io.FileReader("d:/pub64"));
StringBuffer keyBase64 = new StringBuffer();
String line = br.readLine ();
while(line != null)
keyBase64.append (line);
line = br.readLine ();
byte [] pubBytes = new sun.misc.BASE64Decoder().decodeBuffer(keyBase64.toString ());
br = new java.io.BufferedReader(new java.io.FileReader("d:/pri64"));
keyBase64 = new StringBuffer();
line = br.readLine ();
while(line != null)
keyBase64.append (line);
line = br.readLine ();
byte [] priBytes = new sun.misc.BASE64Decoder().decodeBuffer(keyBase64.toString ());
java.security.KeyFactory kf = java.security.KeyFactory.getInstance("RSA","BC");
java.security.Key pubKey = kf.generatePublic(new java.security.spec.X509EncodedKeySpec(pubBytes));
System.out.println("pub: " + pubKey);
java.security.Key priKey = kf.generatePrivate(new java.security.spec.PKCS8EncodedKeySpec(priBytes));
System.out.println("pri: " + priKey);
catch(Exception e)
e.printStackTrace ();
} -
Looking for a Apple developer to help me create an application
Looking for a Apple developer to help me create an application
Sure, but I meant he/she could sign up, and then see who is asking questions in the right sort of market area and potentially make contact that way ?
-
Please help me creating a new listener with different port#.
I have two instances in a server. both have different homes. I want to create a seperate listener for the second one i created.
But that is not happening.
here i tried to give name from LISTENER TO LISTENER1 & Port# from 1521 to 1524.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /apps2/oracle)
(PROGRAM = extproc)
LISTENER1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = aixth53)(PORT = 1524))
When I check lsnrctl status with LISTENER1 , it still shows the other instance home with port#: 1521
Please help me creating a new listener with different port#.
Thanks,marist89 wrote:
sb92075 wrote:
marist89 wrote:
sybrand_b wrote:
The listener is a broker only and doesn't play any role in normal communications.
It just forks a process or a thread, and that's it.And the listener is a single point of failure. Listener goes down, you can't connect to the db. That's why you need two listeners.If listener one goes down, then listener two goes down for exact same reason since it is a single executable file.I'm not playing tit-for-tat with you. Fact is, there are situations where people who are not you might want to use more than one listener.Some folks might want to jab a sharp pencil into their eye, too.
Just because you can do something, it does not necessarily mean it should be done. -
Create LOV's for all columns at the time of folder creation
Hi,
I know we can automatically create the LOV's for all the columns of a database table when creating the folder in the EUL. Is this a good practice or should I create LOV's on demand? What is the disadvantage of creating more LOV's than needs to be used other than the disk storage? I also know it is not a good idea to have an LOV on a field that has a lot of values. I am tempted not to create the LOV's in the beginning, but then it becomes a high maintenance issue if I have to come back and create many LOV's later. Thank you for your input.Yes, it is not a good idea to create LOVs for all the columns. LOVS should be created only for the columns where parameters will be used. More the number of LOVs, slower the response in opening up your Discoverer reports and if you are using Disco Viewer, the page might take a long time to open up and frustrate the users.
Also it is a good practise to have LOVs defined on the lookup tables or where there are distinct values in the table and not from where these values are used in the table.
regards
http://www.infocaptor.com <--- Free Discoverer Monitoring Dashboards -
Looking for some help in creating an ItemFilter for a Targeter
Looking for some help in creating an ItemFilter for a Targeter
Need a examples for creating itemfilter and TargeterFirstHi David,
We can integrate Syncfusion with LightSwitch application, if you want to customize column when create a report using syncfusion reportviewer, since I didn't try this third party
extension before, I think you could consider getting help from
syncfusion forum, more syncfusion experts can help you on this issue.
Thanks for your understanding.
Best regards,
Angie
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Maybe you are looking for
-
Occasionally when filling in forms in Safari 5.1.2 certain keys on the keyboard don"t work. When I use the coma it opens up another tab. I've used other browsers to fill in the forms and they work fine so my keyboard is OK.
-
My iPhone 5 is not recognized by Windows 7.
I'm trying to add my iPhone 5 as a device to my Window 7 laptop, but it is not recognized? Any suggestions
-
How to call functions in windows or Solaris in servlet?
Hello, Does anyone know if there is a way for servlets to call functions in windows or solaris shell command???? Thanks :)
-
Every time I try to sync my ipod it tells me that it cannot install a song that has been on my ipod for weeks. when I try to re-import the song it tells me it cannot because the file or directory is corrupted. when i try to delete the song out of my
-
I wish to subscribe to Photoshop CC. Does this application come with Adobe bridge as in CS6 or do I have to pay for bridge as an extra application ?