I have this formatted search for WharHouse Code in Document
Hello Experts,
I have this formatted search for WharHouse Code in Document
declare @WhsCode char(8)
if $[ODLN.Series] = '1077' set @WhsCode = '970'
else set @WhsCode = '01'
select @WhsCode
and i would like to add to it:
If an item has a default warehouse so it is to appear in a row (when not '1077' series) and if the item does not has a default warehouse then the warehouse eill be 01.
Your Help Please!
Thank You
Meital
Hi Meital,
Try this:
SELECT CASE WHEN $[ODLN.Series\] = '1077' THEN '970' ELSE ISNULL(T0.DfltWH,'01')
FROM dbo.OITM T0 WHERE T0.ItemCode = $[$38.1.0\]
Thanks,
Gordon
Similar Messages
-
I need one formatted search for Goods Issue
Hi Experts
I need one formatted search for Goods Issue
ex. I have Issued One item on 20/07/2011
In Goods Issue Line Level one column LstIssDt
when i issue for the first Item My document Date Will be my Ige1.LstIssDt(LastIssueDate)(linelevel)
Now
the Same Item Iam issuing on 23/07/2011
Now In Goods Issue Line Level LstIssDt column shud come as 20/07/2011 when i click formatted search
Similarly For all the Other Items
can anyone help me in these
Thanks & regards
Jenny
Edited by: Jennifer Anderson on Jul 23, 2011 7:57 AMHi Jenifer.....
I think it should work as it is working on my DB
Select Top 1 T0.U_LstIssDt From IGE1 T0 Where T0.ItemCode=$[IGE1.ItemCode.0]
Order By T0.U_LstIssDt DESC
Do execute this just save and Apply this on Goods Issue for. So when you select the Item this will bring the Last Issue Date of this Particular Item on which field you applied this FMS.......
Is that an UDF of Last Issue Date or standard field?
I modified above FMS and please now try.....
Regards,
Rahul -
i added 3 contacts and saved on my iphone 5, but do not appear on my list of contacts. the names appear when they text or call me. I have to go search for their messages when i need to call them?
Try to restore your iphone via iTunes or update to ios6.1.2.
If itunes gives an error with restoring (DFU/Recovery or just normal)
try this:
open your computer and search on windows; C://windows/system32/drivers/etc/hosts
open up the hosts file in note pad you will see IP adresses and more add another line and put in this:
#74.208.10.249 gs.apple.com
this is a by-pass to the cydia/saurik restore server, it has nothing to do with jailbreaking over voiding apple's warranty
let me know if succeeded! -
Why is it every single time i download something, it disappears off of the download tool bar, and I have to manually search for it? And sometimes I still cant find it, even doing a detailed search.
== This happened ==
Every time Firefox opened
== Every since I have had it.Tools > Options > Privacy > History: "Remember download history"
To see all the History and Cookie options, select: Tools > Options > Privacy > History: Firefox will: "Use custom settings for history"
See [[Options window - Privacy panel]] -
I have Adobe Reader XI with the package that allows me to send pdfs and convert pdfs to Word. When I open a pdf and try to search the search shows no matches even though the word I am searching for is in the document. Any suggestions how to search?
Once again, my thanks for your assistance. If I may impose on your generosity one more time, if I understand you correctly if I create a document on Word or WordPerfect, print it and scan it to create a pdf, the search function will not work. But, if I create the pdf document in Word the search function will work. Unfortunately, I am not sure how I create a pdf document in Word other than by printing it and scanning it. Could you please explain.
William B. Kohn, Esq.
General Counsel
Paul V. Profeta & Associates, Inc.
769 Northfield Avenue
Suite 250
West Orange, New Jersey 07052
(973) 325 - 1300
(973) 325 - 0376 (Facsimile)
[email protected]<mailto:[email protected]> -
Permanent Regional Formatting, Save for all users, Remove Document Security
Dear Experts,
I have read the Documentation of Permanent Regional Formatting, Save for all users, Remove Document Security in Document Properties.
Can anyone explain me in simple way all the above three. (More on Permanent Regional Formatting with example).
Regards
SamThere's no unmanaged Web Intelligence functionality support via .NET as far as I know.
You might want to open a support case with SAP to get confirmation.
Sincerely,
Ted Ueda -
In the past, before Firefox 5.0.1, I would search for key terms via the cache mode; thus, the terms would be highlighted in various colors so that I could scroll down the page and find the exact terms.
This is no longer functioning since I downloaded 5.0.1
I use an iMac 3.06 Ghz Intel Core 2 Duo, 1o.6.8.The new tab page (about:newtab) wasn't introduced until a later version of Firefox (iirc, ''Firefox 10'') , which is why that pref can't be found.
Sounds like your father picked up some Malware.
Maybe this is what you're dealing with.
http://www.shouldiremoveit.com/IMVU-Inc-Toolbar-34367-program.aspx
Also, I see a number of Plugins listed to bee concerned about.
Toolbar Plugin
MindSpark Toolbar Platform Plugin Stub for 32-bit Windows
WildTangent Games App V2 Presence Detector -
i got a gift for my i phone 4s but i can not download and redeem same as i tune is asking for a code number which i did not get and i do not know how to get..........pl help solve this problem...thanks.
SW,
I don't know what the problem is with your corrupt/unopenable document on CD. I wonder if you can display it with QuickLook.
Select the file in Finder and hit the Spacebar. If the file is displayed properly, you can capture it as an image with Grab.app or by Shift-Command-4, > drag capture box.
Not knowing the complexity of your document, it's difficult to say what you should do next. I'd submit the graphics to an OCR application and extract the text, to be used in reconstructing the original document.
Jerry -
Formatted Search for Delivery Date field in SO not working
Hi All
Can anyone help me as to why my formatted search is not working?
I am currently using SAP B1A SP01 Patch 19.
I have created a user query as follows:
SELECT $ [$10.0.DATE] + 5
When I add this to the delivery field within the Sales Order and bring through the saved query which I set to auto refresh when the Posting Date field changes and to Display Saved Values it doesn't work.
Any ideas?
Thanks and best wishes
GailHI Gail,
If I am not mistaken you want to add days to the posting date...if that is so then try this out:
SELECT $[ORDR.DocDate.DATE]+5 From ORDR T0 For Browse
Set The indicator to Auto Refresh when the fields change
Nagesh -
Special Price + Formatted Search for Special Price.
Hi all,
Appreciate some help here. Our client is using SAP B1 2007 Patch 38. AU/NZ localization, Local Currency = AUD.
Scenario:
Item A, Price List 1 = $2795, Price List display = 4 decimals, Price List Currency = USD
Special price for Item A has been set up as follows:
Step 1 - Go to Item> Price List> Price and Volumne Discount
Step 2 - The price and volumn discount screen opened. From the drop down, select price list and then select Item A by double clicking the line.
Step 3 - Period Discount screen opened. Valid from = 9th July 2008. Price = $2795.
Step 4 - Double click the line, Volume Discount Price List open, with the following details maintained.
Quantity=1, Discount=0, Special Price = $2795.
Quantity = 10, Discount=7.1556, Special Price = $ 2595.0010
Quantity = 100, Discount=10.0179, Special Price=$ 2514.9997
Question: we intend to put in Special price = $2595 and $2515, but SAP just does its own round up. Is there a way to work around?
Scenario 2:
To deal with the problem from Question 1, we have created a formatted search in the sales order and formatted search to round up the value in Line Total.
Column = Line Total
Trigger by = Quantity
Query = SELECT (case when $[$63.0.0]='USD' then Round($[$38.23.number],0) else $[$38.23.number] end)
Column = Quantity
Trigger by = Discount%
Query = SELECT $[$38.11.1]
The above set up works fine, if the user enter the quantity correctly the first time.
Eg:
User enter Qty = 10, SAP will display Discount = 7.1556 % and Line Total = $25,950.00 (Round up from $25950.01).
If user notice the quantity is wrong and then enter new quantity = 100, the discount remains at 7.1556%, it should be 10.0179%.
Question: Is there a way to work around this?Hi Shawn ,
1.First check the decimal setting
a.Administration --> system intilisation --Document setting -- currency or by document --
b.System initiliaisation ---> general settng --->Display
c.Administration set up->Financial currency ---rounding --???
Currency setting overides the rounding method of procedure B
Scenario2
Since your trigger is dicount percentage , You will not get the desired output from the formatted search . Try to get the trigger at quantity .
Hope that helps
Bishal -
Problem in formatted search runing by code
Hi all, this is my problem:
I have a one formatted search in one column and i want run it in lost focus of other column. In the forun appear this code to do but something wrong occurs in my case. The formatted search seems run and in one moment the resul value appear in the matrix but in the moment dissapear and the old value remains. Why the formatted search result dissapear?
this is my code:
if (pVal.EventType == SAPbouiCOM.BoEventTypes.et_LOST_FOCUS && pVal.ItemUID == "38" && pVal.Before_Action == false && pVal.ColUID == "U_n_formato"&&KEYDOWN_NUMERO_FORMATOS)
oForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount);
oMatrix = (SAPbouiCOM.Matrix)oForm.Items.Item("38").Specific;
try
oMatrix.Columns.Item("11").Cells.Item(pVal.Row).Click(SAPbouiCOM.BoCellClickType.ct_Regular,0);
SBO_Application.SendKeys("+{F2}");
catch
//oItem.Click(SAPbouiCOM.BoCellClickType.ct_Regular);
KEYDOWN_NUMERO_FORMATOS = false;
Thank you all again.
Regards.Hi
you can set the true value to KEYDOWN_NUMERO_FORMATOS = true.
in Got focus event of column uid "U_n_formato"
regards
senthil -
Formatted Search - Error in code
I have the following formatted search to calculate the Sqm Mtr Qty in SAP on my Purchase Order:
{SELECT ($[POR1.U_QTY.NUMBER] * ($[POR1.U_LEN.NUMBER]/1000)) * ($[POR1.Width1.NUMBER]/1000)}
I then tried the other way via
{SELECT (convert(float,$[POR1.U_QTY] * (convert(float,$[POR1.U_LEN]/1000)) * (convert(float,$[POR1.Width1]/1000)}
where
U_QTY = Required Qty in Metres
U_LEN = Required Length in mm's
Width1 = Width of Item in mm's
The formula works fantastically well provided the Width1.NUMBER <> 1000
when the Width1.NUMBER = 1000 the search fails for both scripts with an error message :
Internal error (8180) occured
this is extremely frustrating and I don't know why it would now fail?Hi Suda,
The formula will work for the following:
U_QTY = 5
U_LEN = 1600
Width1 = 732
I have all measurements in mm (Width1 is a measurement standard field)
It fails when I do the following:
U_QTY = 5
U_LEN = 1600
Width1 = 1000 or greater (apologies I had saig <> 1000 previously)
I think the Width in MM is limited to <1000 I'm not sure, however if I run the script
select Width1 from POR1
and I have a width of 1200mm it returns 1200 so I'm really confused.
Cheers
Kevin -
Automatic formatted search for row udf item group autofill
Dear All,
I have a field udf field in the row of marketing document named u_itemgroupcode. I want that when an item is selected in any marketing document in the above udf automatically the Item Group code should come from the corresponding item OITB table.
How to achive this through auto refresh formatted search.
please help....!
regards
kamleshHi Kamlesh,
ItemGroup code is available in OITM table itself. You could define the formatted search on the udf field
with this query and define auto refresh with Item No.
SELECT T0.[ItmsGrpCod] FROM OITM T0 WHERE T0.[ItemCode] =$ $38.1
Regards,
Vijay Kumar
SAP Business One Forums Team -
Formatted Search for Sales Order
Hi,
I setup a formatted search in Sales Order unit price field.
Condition required:
If Sales Order is copied from Sales Quotation, unit price remains as per Sales Quotation unit price, else formula to calculate mininum selling price appllies.
Here's the query:
DECLARE @BASE_ENTRY INT
DECLARE @PRICE NUMERIC(19,6)
SET @BASE_ENTRY = ISNULL($[$38.45.0],0)
SET @PRICE = $[$38.14.0]
IF @BASE_ENTRY = 0
BEGIN
SELECT T0.[AvgPrice]*(1+T0.[U_SPFactor])
FROM OITM T0
WHERE T0.[ItemCode]=$[$38.1.0]
END
ELSE
BEGIN
SELECT @PRICE
END
l have no issue if the Sales Order copied from Sales Quotation, however when enter the Sales Order manually the formatted search having error message:
1). [Microsoft][SQL Server Native Client 10.0][SQL Server]Error converting data type nvarchar to numeric.
FMS execution failed on field '' with query name 'Get Minimum Selling Price (SO)'
Looks like my query has error...Hi ,
Try this below query and let me know your feedback,
DECLARE @BASE_ENTRY INT
DECLARE @PRICE NUMERIC(19,6)
SET @BASE_ENTRY = ISNULL($[$38.45.0],0)
SET @PRICE = $[$38.14.Number]
IF @BASE_ENTRY = 0
BEGIN
SELECT T0.[AvgPrice]*(1+T0.[U_SPFactor])
FROM OITM T0
WHERE T0.[ItemCode]=$[$38.1.0]
END
ELSE
BEGIN
SELECT @PRICE
END -
I'm a long-time user of Firefox for Android. I love it. However, something very frustrating has been going on recently.
I have a Galaxy S5 Active ( Physical home button ) and lately, nearly every time I press the home button, I get this extremely irritating screen which displays "Search quickly for anything you want". Sometimes I press the home button over and over and it won't go away. I will press home after reading an SMS, and there it is. It is driving me insane, and there have been times where I have really wanted my phone to work "right now" and that screen pops up and gets in my way.
This didn't used to exist for me. I really, REALLY don't want to switch to a different browser, but I can't find any info on how to deal with / suppress this new search screen.
Any way to do this? Or can this issue be addressed if not? I wondered if it had something to do with having an actual home button, as opposed to a capacitive one.
Thanks for reading.Thank you for the reply. I wanted to wait awhile in order to ensure that this corrected the issue. For a brief while, it did! However, it did not take long before the screen began once again hijacking my home button presses. This occurs even with Firefox removed from default applications ( triple-checked ).
This never happened before version 35.
Maybe you are looking for
-
Hi, i have a table and i want a column to have text wrapping.i am not able to make the column as text edit.I dont want it to be text view as i want that column to be editable. Any ideas anyone? PS:points will be rewarded for helpful answers.
-
Here's the situation. Final Cut 6.0, running on client's Dual 2.3 OS 10.4.9. Feature film, project was fully rendered the last time I opened it. Now I open it and nothing is rendered, but Final Cut does not prompt me that any render files have gone o
-
SAP HP Adapter don't synchronize business requirement and test requirements
Hello, I need a help. We have a customized project of HPQC here and we need to replicate the business blueprint from Solman to HPQC requeriments module. We perform the step-by-step of the HP SAP Adapter installation guide and the connection was perfo
-
I just started working in Final Cut Pro, and I'm trying to drap clips that I have trimmed down into the timeline. Unfortunately they do not stay in the timeline. What am I doing wrong. Thanks, Tom
-
SCCM 2012 WinPE boot with fixed IP address
Is there an easy way of bootin a boot.wim image in SCCM 2012 and start it with a fixed IP address. In our server enviuronment we do not have DHCP and when I create a virtual reference image within the server environment i now need to manually enter a