Can Formatted search be used in this situation?
Dear Experts,
I have defined a row level UDF called DIA. I input dia values in goods issue. Hence it is stored in ige1 table. When I receive those items in Goods Receipt, the Dia Column found blank. I need to have the dia value entered in IGE1 in Goods Receipt form.
Its some what like this.
Itemcode Qty DIA
a001 10 12
b001 20 20
c001 10 22
When I receive these items after the specified process, I make entry in Goods Receipt based on PO No,. That time, the form
shows blank value in DIA field. I need the DIA values entered for the Items to appear automatically from IGE1. Can I do this using formatted search. Please advise.
Thanks in adv.
Anand
As I understand, you want to make a goods issue transaction entering these values into the document rows and in an independent transaction (I could not catch it is a goods receipt or a goods receipt PO) to get these values.
First you should make a reference in the second transaction to the original one. The best is to define a header level UDF where you can write the DocNum of the original goods issue transaction (assuming you are using unique document numbers). We can call it e.g. U_SourceDocNum.)
Then you make an FMS like this:
Select R.U_DIA from IGE1 R inner join OIGE I on R.DocEntry=I.DocEntry
Where I.DocNum=$[OIGN. U_SourceDocNum] and R.ItemCode=$[IGN1.ItemCode]
And set it autorefresh when SourceDocNum is changes.
(The user should fill the SourceDocNum after filling the document lines!)
In the code I used OIGN and IGN1. If you use goods receipt PO in the second steg, you should replace them with OPDN and PDN1.
Similar Messages
-
UDF - formatted search help using query
I've created a UDF for 'activities' called U_BP_Link - it has a formatted search query which simply displays all data in the OCRD business partner database. I wanted to also fill in a UDF which would display the 'description' of the BP that was selected in the U_BP_Link field. I'm having trouble coming up with the correct syntax for the query associated with the UDF name field. This is giving me a syntax error near $[$U_BP_Link]................
SELECT T0.CardName FROM OCRD T0 INNER JOIN OCLG T1 ON T0.CardCode = T1.U_BP_Link Where T0.CardCode = $[$U_BP_LINK.1.0]Good Day,
I don't fully understand your situation.
I'm thinking you have 2 UDFs. One is OCLG.U_BP_Link and the second is the 'also fill in a UDF' and that is to be populated with OCRD.CardName based on data entry in OCLG.U_BP_Link
That being the case, I would create a FMS on OCLG.U_BP_Name field to:
1) Search in Saved Query - create query similiar to SELECT OCRD.CardName FROM OCRD, OCLG Where OCRD.CardCode = $[OCLG.U_BP_LINK] FOR BROWSE
Create and test the query and after results are generated as expected, substitue the $[OCLG.U_BP_LINK]. The query will error in SAP but is OK for use in FMS.
2) Auto refresh when Field Changes
3) Based on field OCLG.U_BP_Link - actually the description for this field.
4) Display saved values
It could work.
M -
How can I simplify the code in this situation?
I want to create some interaction about ABCDEFGHIJKLM objects. If I l click A and B, the screen will show F. If I click A and C, it will show G. If I click A and D. it will show F..etc. When I mouseove A , it will show only L. If I mouseover B, it will show M only. In this situation, I need to create each eventListener (MouseoverA MouseOverB CLICK A, CLICK B, bothAandBClick, bothAandCClick, bothAandDclick......) Can I use other method to simplify the code?
import flash.display.MovieClip;
import flash.events.MouseEvent;
import flash.events.Event;
import flash.ui.Mouse;
var redbtn:MovieClip=new Redbtn();
redbtn.x=321;
redbtn.y=13;
addChild(redbtn);
var yellowbtn:MovieClip=new Yellowbtn();
yellowbtn.x=130;
yellowbtn.y=106;
addChild(yellowbtn);
var bluebtn:MovieClip=new Bluebtn();
bluebtn.x=726;
bluebtn.y=89;
addChild(bluebtn);
var blackbtn:MovieClip=new Blackbtn();
blackbtn.x=236;
blackbtn.y=479;
addChild(blackbtn);
var greenbtn:MovieClip=new Greenbtn();
greenbtn.x=590;
greenbtn.y=457;
addChild(greenbtn);
var page1:MovieClip=new relationship();
var redBtnClicked:Boolean;
var blueBtnClicked:Boolean;
redbtn.addEventListener(MouseEvent.CLICK, onRedBtnClick);
redbtn.addEventListener(MouseEvent.ROLL_OVER, onRedOver);
redbtn.addEventListener(MouseEvent.ROLL_OUT, onRedOut);
bluebtn.addEventListener(MouseEvent.CLICK, onBlueClick);
bluebtn.addEventListener(MouseEvent.MOUSE_OVER, onBlueOver);
function onRedOver(evt:MouseEvent):void{
trace("redover");
redbtn.gotoAndStop(2);
function onRedOut(evt:MouseEvent):void{
trace("redout");
redbtn.gotoAndStop(3);
function onBlueOver(evt:MouseEvent):void{
trace("blueover");
function onRedBtnClick(evt:MouseEvent):void{
redBtnClicked=true;
bothClickedF();
function onBlueClick(evt:MouseEvent):void{
blueBtnClicked=true;
bothClickedF();
function bothClickedF():void{
if (blueBtnClicked&& redBtnClicked){
trace("two buttons are clicked");
addChild(page1);
redBtnClicked=false;
blueBtnClicked=false;
page1.trailer_sex.addEventListener(MouseEvent.CLICK, page1Click);
function page1Click(evt:MouseEvent):void{
removeChild(page1);I means this
Click
A and B go to C
A and D go to E
A and F go to G
A and I go to J
A and N go to O
B and D go to K
B and F go to L
B and I go to M
B and N go to P
F and I go to Q
F and N go to R
MouseOver
A over then appear S
B over then appear T
D over then appear U
F over then appear V
I over then appear W
N over then appear V
There is not time limit. -
Can't search photos using more than one word. Ruined ability to data base
I've spent hundreds of hours cataloging my photos by keywords and image titles and created a data base that is critical to my business. After installing iPhoto 11 I can no longer search using multiple words. This has made my data base useless. The "Faces" and "Places" fields will not help because those are not part of the search criteria. Is there a way to make this work? If not how do I go back to the old version of iPhoto?
thanks for your help!How were you searching previously? Adding both keywords and title text to the search box? Why can't a smart album do the trick?
You might consider using a DAM (digital asset management) application like Expression Media. It's a professional grade image management app that can be searched for any combination of keywords, description text, title text, etc.
Click to view full size
You can learn about EM and the other pro DAM apps at the The DAM Forum. I strongly suggest you consider a more robust DAM app for your professional work. -
I noticed a week or two ago that somebody had downloaded something on my apple account and it was not me and it was not on any device I own. I changed my password but now I cannot buy anything since whenever I try to, it makes me confirm my identity by answering my security questions. I think I know the answers to these questions but I can never get it right, so I suspect that they were changed. I also noticed that my rescue email is not my own. I want to reset my security questions, and in order to do that I need to have access to my rescue email. I want to change my rescue email but in order to do that I need to answer my security questions. What can I do in this situation?
You need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
(97776) -
What type of data type would I use for this situation?
I have a class which connects to Oracle, but each connection may be to a different database. Each database has it's own user name and password.
I'd like to pass one key value and then the class would get the user name and password and url from that but not sure how to do it.
Right now, for the function I pass it the url, username, password which then calls a connection function and passes it the same value. This seems messy keep passing values around.
Is there some kind of enumerations or something ?You might consider putting the URLs, usernames and password into a properties file.
The properties file might contain:
all.databases=database1,database2,database3
database1.user=user1
database1.password=dingbat
database1.url=jdbc:oracle:thin:dohdah:base1
database2.user=someone
database2.password=toad
database2.url=jdbc:oracle:thin:xyx:dsds
Then use ResourceBundle.getBundle() to load the properties and you can just do
Connection con = DriverManger.getConnection(bundle.getString(key + ".url"),bundle,getString(key + ".user"), bundle.getString(key + ".password"); -
I have always been able to open my emails and access their contents using Firefox. Now, this morning, I can no longer access the contents of my emails, but can still open them.
I called 'virginmedia' who told me to try using Explorer, which worked, and they told me the problem was with Firefox.Sugestion: Upgrade Firefox to the latest stable version => www.getfirefox.com
There are many problems with webmail (especially gmail) lately. It can be caused by the AdBlock extension. If you have it installed here's what to do:
1. "Ctrl+Shift+F" Preferences (or right click on ADP symbol and choose preferences)
2. 'Filters' menu > "Update all subscriptions"
Solution from https://support.mozilla.com/pl/questions/896267 by [https://support.mozilla.com/pl/user/52 dmcritchie] -
What type of column to use for this situation in SharePoint 2010?
Hi there,
In a SharePoint 2010 list - I have to add a few columns which need users to pick a numeric value and it's unit of measurement. E.g.
- 30 (Inches/ft/cms) <-- Here 30 is a number field and then a dropdown to select a unit.
An option is to create two columns (1st - Number type and 2nd Dropdown with Inches/ft/cms values).
But I have a lot of such sets in the same list and am not sure if above is the best way to go?
Are there any other options for me? Is a Site Content Type a good option? Anything else?
Thanks.Hi,
I can think of two ways that you can accomplish what you are trying to -
1. Content types could be a way or Create Site columns and prepopluate the values in these columns and use it in your list
2. create custom column (C#) see here for more info -http://msdn.microsoft.com/en-us/library/ff648469.aspx
Hope this helps!
Ram - SharePoint Architect
Blog - SharePointDeveloper.in
Please vote or mark your question answered, if the reply helps you -
I cannot access the itunes store. When I click on store I get the iTunes 10 (free download) page. It won't go away or allow me to search. I can play music in my library. How do I fix this?
Try this,
Close your iTunes,
Go to command Prompt -
(Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
(Win XP SP2 & above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
In the "Command Prompt" screen, type in
netsh winsock reset
Hit "ENTER" key
Restart your computer.
Now launch your iTunes and see if it is working now. -
Can msn mess, be used with this?
can i use this to talk to people with msn mess.?
Hi
With iChat using a jabber account http://allforces.com/2005/05/06/ichat-to-msn-through-jabber/ text only.
Tony -
Can i do "recover database" in this situation?
hi,
my DB was in archivelog mode till a problem appear in my system,so i change it to noarchivemode .after that the DB refused to return to archivemode
so now i have to restore the DBF and try to mount my DB then apply "recover database"!
my question :dose this action plan will work since the control file contain "noarchivelog" mode
regards.
OmarInformation about the Version and Release that you are running is important !
"the DB refused to return to archivemode "doesn't happen. What commands did you try and what error did you encounter ?
It is possible that you did not shutdown the database properly and Oracle is attempting a recovery.
The normal method to switch out of archivelog mode is
SHUTDOWN IMMEDIATE
STARTUP MOUNT
ALTER DATABASE NOARCHIVELOG
SHUTDOWN
STARTUPThe normal method to enable archivelog mode is
SHUTDOWN IMMEDIATE
STARTUP MOUNT
ALTER DATABASE ARCHIVELOG
SHUTDOWN
STARTUP(Instead of the last two "SHUTDOWN" and "STARTUP", you could also simply "ALTER DATABASE OPEN"
If your shutdown wasn't a NORMAL or IMMEDIATE shutdown (but was an ABORT), then the STARTUP or OPEN would be attempting an Instance Recovery.
If the database was unfortunately in BACKUP mode, then, too, Oracle would attempt a Recovery.
So, it is important to know
a. The version and release
b. The sequence of commands that you did (including the first set to "change to norachivemode" !)
c. Oracle's messages and error messages
d. What messages have been logged in the alert log.
Edited by: Hemant K Chitale on May 11, 2009 10:08 AM -
Formatted Search Help required
Dear All,
I have a specific requirement by which I need to track out the Estimated Cost which is put in the Sales Order Row with a Udf vs the PO Cost been involved for a particular project in terms of Purchase Orders been raised in the system for that particular Sales Order No. Basically we want to know that if the Sales Order Estimated Cost is 100 then the PO should not be allowed to make for more than 100.
In the Sales Order row I have an Udf called Estimated Cost U_ ESTCOST and users fill in every line item the Estimated Cost for that particular Sales Order.
Now I have made the following Udf in Purchase Order Header as under :
Sales Order Estimated Cost as U_ORDESTCOST
PO Cost U_ POESTCOST
Now in the Sales Order Estimated Cost udf which is there in the PO header I want the sum up of the row which is been put in Sales Order Estimated Cost U_ ESTCOST for that particular BP project. Can formatted search be used wherein if while making the Purchase Order Sales Order Estimated Cost udf U_ORDESTCOST is updated when in the Purchase Order Accounting Tab BP Project Is put. The requirement is that if in the BP Project e.g 10001 is put then the formatted search should search the ORDR table which also has the same BP Project 10001 in the Accounting Tab selected and then from RDR1 its should sum up the Estimated Cost U_ ESTCOST.
Now in PO Cost U_ POESTCOST field I want to have the total sum means Document Total of all the PO been made in the system till date for that Particular BP Project e.g 10001
Kindly advise what best can be done so that we are properly able to control the system
Regards,
VenkyDear Gordon,
Thanks for bearing with me.
Let me just break the requirements.
Now a New Sales Order is booked which is as under
Sales Order Document Number - 10001
Row Details as under :
Items Qty Row Total Estimated Cost (U_ ESTCOST)
Item 1 1 100 20
Item 2 1 200 30
In Accounting Tab in BP Project its given 2000
Hence the the sum of U_ ESTCOST is 50 for order number 10001 whose BP Project is 2000
Now for the above Sales Order a Manual purchase Order is made in the system
Purchase Order No 90000
Row Detail as under :
Items Qty Row Total
Item 1 1 100
Header has a udf named U_ORDESTCOST which means Sales Order Estimated Cost
In Accounting Tab in BP Project its given 2000
Now if you notice the common data which is there both in Sales Order and Purchase Order is the BP Project Number
I want that whenever a Purchase Order is made in the U_ORDESTCOST field the Sum of Estimated Cost U_ ESTCOST should get filled automatically based on the BP Project which is been put in the Accounting Tab of Purchase Order.
Means everytime 50 should be updated in U_ORDESTCOST because in the Sales Order where project code is 2000 theEstimated Cost (U_ ESTCOST) = 50.
See if I want I can make a query but I am not able to use the same in the formatted Search. The query is as under :
SELECT sum(T1.[U_ESTCOST]) FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry WHERE T0.[Project] = [%0]
The above query if attached is working fine in the Formated Search but due to [%0] its asking me to put the BP project which I want should automatically pick or refresh based on what is put in BP Project in Account Tab in Purchase Order. I think I need the BP Project $ some number....
Regards,
Venkat -
Getting Error Message using Formatted Search
Hi,
I am using formatted search for validating a particular field, and that happens fine. Kindly let me know if I can also display error messages using the same formatted search.
If yes, what am I to include in the formatted search, and if No, please let me know the alternative.
Thanks in advance.
Satish.Hi Satish,
if you validate the value of a field and intend to rise an error message on detection of invalid values in a separate window or in the status line there is no way to do it with Formatted Searches (as far as I know)!
You could use the following methods as simple workarounds if you don't want to program a solution with the SDK:
1. Solution
You can display the text of an error message in the field you validate; of course, the invalid data then is overwritten with your error message, but you could construct the message from fixed text parts concatenated with the data found in the field.
Be sure to save the original data of the field in your query before you do anything else. This way you sustain the field data in case the data is valid!
Example:
DECLARE @save AS ....
SET @save = $[xxxxx]
IF $[xxxxx] test on invalid data
SELECT 'Error: Invalid data: ' + $[xxxxx] -- in case of error
ELSE
SELECT $[xxxxx] -- no error - sustain valid data
END
2. Solution:
You define a sepate User Defined Field (UDF) for potential error messages - that's the way I often programmed it for our own applications. Suppose that the Formatted Search is connected to this UDF and the field to validate is field 'xxxxx'. The Formatted Search is triggered (auto-refresh) on change of field 'xxxxx':
IF $[xxxxx] test on invalid data
SELECT 'Error: Invalid data: ' + $[xxxxx] -- in case of error
END
May be that there are minor syntactical errors or missing type conversions in the code above - but I hope it gives you an idea on how to solve your problem without SDK programming!
Good luck!
Frank Romeni -
Formatted Search - Using field index to refer to UDF in many documents
I have some UDFs in my marketing documents - say U_VALUE
I want to write a fairly complicated formatted search and use it for the same thing across all my marketing documents.
I don't want to use
$[ORDR.U_VALUE]
in my formatted search as this will only work in the sales order document.
I want to use something like
$[$4.0.0]
which brings back the cardcode independant of the form we are looking at. However
$[$U_VALUE.0.0]
will not work!
Hoping someone can help!
Edited by: Daniel Abbatt on Apr 10, 2008 6:16 PMYes you would have to have a UDF called VALUE on the marketing document for this example to run and even then it will error!
That's the point, the code above will not work, SBO only seems to be able to know about ORDR in a sales order and OINV in an invoice. So if I am in a sales order, it errors on the reference to OINV, even though the code that uses the
$[OINV.U_VALUE]
is never actually accessed by the SQL. I guess this is because SBO does the substitutions before it executes the code.
All I am basically trying to do is create a generic formatted search that will perform an action using the value of a UDF, say some formatting, the problem is I want it to work with any marketing document.
The only way I can find to access a UDF though is by having to use the
$[TABLE.U_FIELDNAME]
way, which seems to mean by definition I can only create a formatted search to access a header UDF for a single type of document. I cannot create a generic formatted search, that reverses the string for example, and use that formatted search across all marketing documents.
I know you can access normal fields also by their item reference, i.e.
$[$4.0.0]
, but this syntax does not seem to work with UDF, even though the system information shows the item reference as U_VALUE, I cannot use the
$[$U_VALUE.0.0]
which would be ideal...
Edited by: Daniel Abbatt on Apr 14, 2008 12:05 PM -
Using Second Column of Formatted Search
Hi All,
i have a query for formatted Search, which goes like This
"Select ItemName, ItemCode from oitm"
When i press Tab on the field 'Product No.' in 'Production order',
i get the CFL of ItemName and ItemCode.
when i select one row from this, i need to capture the ItemCode
in the field 'Product No.' (By Default it captures the first Column i.e ItemName)
Any suggestion are most welcome
Regards,
MahendraMahendra,
By default it will fetch the first column only. one workaround what you may not like to use is, to define a user defined field in production order form and give an FMS there. ther you show the itemname first as you have written, and give an Auto refresh FMS on production order field where you change it to itemcode when item name is selected.
HTH,
Regards,
Binita
Maybe you are looking for
-
Why has my ipad 2 stopped receiving emails for over a month when I have not changed any settings
-
I hope this is the right place to post this. I have a 250GB 5400 RPM HD in my Macbook Pro. I want to replace it with the biggest HD I can find. I think I will get a 500GB or a 400GB @ 7200RPM. What I was wondering is if you guys think that the 7200RP
-
Is there any way to make the icons in the local view and the CSS styles panel bigger? I'm running cs 6 on a mac 2560 X 1440 Lion
-
Spotify for non internet enable devices
Hi, my idea is basically to look for a way to make spotify available on non internet devices, like the ipod nano por example. I would like to be able to sync my playlists on my ipod or mp3 player direclty from my computer. The new apple music app doe
-
Syncing Artwork to iPad Freezes iTunes Sync
Hello, When I plugged in my iPad 2 today to back it up, the sync seems to hang. The message I see in the iTunes window is "Syncing Artwork to 'iPad' (Step 8 of 8) Waiting for items to copy". It has been like this for quite a long time, and I am not s