Formatted Search is driving me crazy - Customer Reference Number to UDF
Hi all, what should of been a simple Formatted search has turning into a monstrosity.
All I am trying to do is to copy my Customer Reference Number on a Sales Order Header, to a Header UDF, via Formatted Search. Here is my formatted search:
SELECT $[$14.0.0] FROM ORDR T0
That formatted search is connected to my UDF also at the sales order header level.
Any ideas as to why this formatted search does not duplicate the customer reference number into my UDF?
I am running 2007A SBO.
Thanks guys.
Mike
Formatted search is: SELECT Dollar[Dollar14.0.0]
For some reason, this forum changes my SQL sentence into a URL.
Let me try this again. SQL statement is SELECT DollarBracketDollar14.0.0Braket
Hi Mike,
Try this,
->> Create 1 UDF in Title(Header) Level on Sales Order(Marketing Documents).
->> UDF :
Type - Alphanumeric.
Length - 100. (because in SO Customer Reference Number Field Character is 100 in Table)
Structure - Regular.
->> Assign the below FMS Query in UDF.
->> Autofresh of Customer/Vendor Ref. No..
Ex.
1. Goto the UDF and Clcik (ShiftAltF2).
2. Select the SEARCH BY SAVED QUERY.
3. Assign the FMS Query.
4. Select the AUTO REFRESH WHEN FIELD CHENGES.
5. Select Customer/Vendor Ref. No..
6. Put the Tick Mark in Display Saved Values.
SELECT $[ORDR.NumAtCard]
or
SELECT $[$14.0.0]
Regards,
Madhan.
Similar Messages
-
Can someone give me a customer reference number please. I need to one to send my tranfer of license form.
Hi Mike,
Try this,
->> Create 1 UDF in Title(Header) Level on Sales Order(Marketing Documents).
->> UDF :
Type - Alphanumeric.
Length - 100. (because in SO Customer Reference Number Field Character is 100 in Table)
Structure - Regular.
->> Assign the below FMS Query in UDF.
->> Autofresh of Customer/Vendor Ref. No..
Ex.
1. Goto the UDF and Clcik (ShiftAltF2).
2. Select the SEARCH BY SAVED QUERY.
3. Assign the FMS Query.
4. Select the AUTO REFRESH WHEN FIELD CHENGES.
5. Select Customer/Vendor Ref. No..
6. Put the Tick Mark in Display Saved Values.
SELECT $[ORDR.NumAtCard]
or
SELECT $[$14.0.0]
Regards,
Madhan. -
Hi Friends,
While doing GR am geting document number and can see that in MB03. Now in MKPF table there is field called Customs reference number( field name # GTS_CUSREF_NO) , and after putting material document number in MKPF am getting all the detail including Customs reference number.
Now my question is where can I see the detail of Customs Reference number in material document in t code (MB03).
Any pointers
Regardsno reply closing the thrd.
-
Field Customs reference number in material document
Hi Friends,
While doing GR am geting document number and can see that in MB03. Now in MKPF table there is field called Customs reference number( field name # GTS_CUSREF_NO) , and after putting material document number in MKPF am getting all the detail including Customs reference number.
Now my question is where can I see the detail of Customs Reference number in material document in t code (MB03).
Any pointers
RegardsNo reply at all.
Rgds -
Formatted Search - Restrict to Only One Customer on Activity Window
Hello Experts:
Am trying to create a formatted search to provide a suggested RMA Number on the Business Partners > Activity window in a UDF.
While in Activity, the user should get a list of ONLY the one customer they are currently working with. So if C0001 is being used in the Activity window, the list should show all suggested RMA numbers just for that customer of C0001, not any other customer.
When I use the following it shows all customers.
--FMS 6BP Automated RMA Number
SELECT
T1.[CardCode] + ' - ' + ltrim(str(T0.[ClgCode]))
FROM OCLG T0
INNER JOIN OCRD T1
ON T0.CardCode = T1.CardCode
ORDER BY
T1.CardCode Desc,
T1.[CardCode] + ' - ' + ltrim(str(T0.[ClgCode])) Desc
When I put in WHERE T1.CardCode = $[$ 9.0.0 ] in the right place it shows nothing...
Any ideas on how to make only the one current customer in Activity window appear in the list???
Thanks in Advance - ZalThanks Istvan and Gordon...
Istvan - that is the same as my SQL - just do not know how to show the $[$... correctly in this forum - it always goes to that http thing.
Gordon - tried to use your SQL but it gave me an error of "Internal Error (-1003) Occured [Message 131-183] every time I tried to click on the magnifying glass. However, due to your last line in the SQL it gave me an idea that eventually they were OK with - namely, the highest number to the top of T0.ClgCode...
Thanks again guys - Zal -
Google Custom Search problem driving me crazy
I love using FireFox, but recently it has started acting up when I right click on some text in a web page and then "search Google". Before this problem started, the search page would be a standard Google search page with the different headings across the top images, videos, news, shopping, etc. Now I get a Google search page where the Google logo at the top is made with FireFoxes (search google images for "firefox google" and you will see what I mean). Also, I no longer have the different items at the top so the search page is basically useless.
I have started using IE again, but I would really like to get this sorted out. This does not happen with IE, I uninstalled Firefox, cleaned the registry and reinstalled - at first everything was OK but after a couple of hours it went right back to it
== This happened ==
Not sure how often
== about a month agoThis is caused by a virus or malware that you have accessed. The solution is simple.
Step 1) Goto "about:config"
Step 2) Search for "keyword"
Step 3) Right click on "keyword.URL" and select reset
Your searches will now be the normal Google results -
Formatted Search and Item Events
Hi,
I am having a huge problem with using Formatted Search and Add-Ons.
On the Sales Order Form I have a Formatted search Setup on the Customer Reference Number, it is set to Auto-Refresh when the CardCode changes. This is the only Formatted search on this form and it works fine.
However, when I run my Add-On, and enter an Item Code it takes about 30 seconds to display the Item Description. In tracing my Add-On it appears to call the Item Event et_GOT_FOCUS on the Item Code Column I just entered over 50 times. I don't use other events, but for testing I did turn on all events and the only other event it occured with was et_LOST_FOCUS.
If I turn off my Add-On or turn off Auto Refresh on the Formatted search everything runs as it should.
I figure the Auto Refresh of the Formatted search has something to do with this, but I need to have this turned on. Another thing is that it only seems to call this event when Before Action = false, It does not seem to be called on Before Action = True.
Can I disable the Formatted search temporarily from within my add-on or is there something else I need to do to keep this from happening.
Thanks for Any Help
PaulHi Alfredo,
Thanks for the suggestion, that sounds like it might be what I am looking for. But I am confused on trying to visualize how this would work. Do I need to duplicate the entire logic that Business One already does or are there some functions in the DI/UI that I can call that does the functions. Since I am doing this from a System(Sales Order) not User Defined Form, does that change anything. I did see the FormattedSearches Object to add a Formatted Search through the DI, but that seems like it will just create the Object and not help me execute it from my Add On.
Is there some code snipits you could provide or get me going in the right direction on how to implement the formatted searches from within my Add-On.
Thanks Again,
Paul -
Bank Reference Number in BAI format
Hi,
We are using BAI format for electronic Bank statment.
In this format we had two reference numbers - Customer Reference number, Bank Reference number.
Both these fields are updated in notes to payee fields. But is updated only upto 13 Characters, extra characters are truncated.
Bank reference number is also updated in FEBEP-VGREF field.
We want to clear incoming payments using Bank reference number.
Any suggestion what we can do so that we can use Bank reference number as clearing base for incoming payments.
We are not able to use interpretation algorithm 15, 901 since both looks for notes to payee field which has values only upto 13 characters.
Thanks in advance....
Anand GuptaHi
check the algorithm you are using in customization. hope bank reference number is also available.
Regards
Ram -
There is already a record with duplicate customer/vendor reference number
Dear Expert,
Person "A" reject the Sale Order now Person "B" edit same SO and again send to "A",now second time "A" approval
"B" in aleart msg go to that approval,press "add" button got information (error)
"there is already a record with duplicate customer/vendor reference number"
what shud i do ?
and why in aleart message box two entry for same SO
1st is reject but show SO draft [approved]
2nd is approval ...
Thankshi,
U can change radio button option in per document tab of document settings for sales order,
Either change it to without warning / warning only When duplicated customer reference no. occurs.
Modify customer reference number by including dot at end. -
Formatted Search in Incoming Payments
Hi All, I require some assistance with a formatted search and query please.
I have create a UDF at a header level in an invoice - the value will be either D or blank.
I have then created a UDF at a line item level in the incoming payment window.
I would like to create a formatted search that looks at the invoices at the line item level in the payment window, and returns the value from the invoice (D or blank). Any assistance on what the query should be would be greatly appreciated.
Also, as the invoice numbers are variable fields, what field should be used for the 'auto refresh' option?Hi Lisa,
It is very difficult to have create FMS that can be linked to header from row since it has different table. Row table and Header table are different. Why could you try to use the info from invoice table directly that can return value from it (D or blank) as you want ? what is the point in the invoice that can return the value ? is it invoice number ?
Rgds, -
Hi,
i've a problema with a formatted search:
i want to create a serial number's substring to copy in a user Field.
i want to launch this query automatically, and i want to update this user field when the user create serial numbers, without the user launch this query.
this is my query:
SELECT DISTINCT SUBSTRING (T0.[IntrSerial], 11,9) FROM OSRI T0 INNER JOIN SRI1 T1 ON T0.SysSerial = T1.SysSerial WHERE T0.[ItemCode] = 'ST_2400_4X2_SL' and T0.[IntrSerial] = $[$3.54.0]
Anyone can help? thanks a lotHi,
the query i s ok, but i have to start it manually, although i want to start it automatically when the serial number field is written, how can do it? Thanks a lot -
Formatted search to update Batch attribute to match row project code
We have extented project codes to the batch level by creading a UDF OIBT.U_ProjectCode.
Is it possible to create a formatted search in the "Batch Setup " window to update this UDF with the project code from the corresponding row of the purchase order? Keep in mind not all rows on the purchase order may be tracked by batches.Hi,
Formatted search can only get value from database or current form. There is no access to other open forms.
Thanks,
Gordon -
Formatted Search working Partially on SDK Field
I have a text field on the Service call screen called
"A"
I need the field to be updated with a value taken from the Item Master table, U_A field.
I have created my query as below,
SELECT I.U_A FROM OITM I
WHERE I.ItemCode = $[$33.0.0]
and set a formatted search on the field A in the Service Call screen to refresh regularly when the Item No field changes.
The Formatted search does NOT fire when the item number changes.
It fires only when I do Shft + F2
HOWEVER if I try the formatted search on a system field on the same screen such as the Description field, then the Item Number Change fires the formatted search.
Does anyone know of this resriction, or a workaround please?
appreciate your help.
Thanks,
IndikaHi Felipe,
The problem happens when I use the formatted query on a text field I created using the SDK only. It works on any other SAP field.
as I mentioned, if I press Shift + F2 then it works regardless.
I tried this on the Item Master screen too with the same result. of course I changed the query to $[$5.0.0].
Threrefore I don't think it has anything to do with the query syntax , rather the SDK field.
in any case here is the code (vb6) I used on the Item Master
Private Function temp(ByRef pval As SAPbouiCOM.ItemEvent) As Boolean
Dim oItm As SAPbouiCOM.Item
Dim oForm As SAPbouiCOM.Form
Dim oRelateItm As SAPbouiCOM.Item
Dim iRelateItmHt As Integer
Dim oEdtBox As SAPbouiCOM.EditText
Set oForm = mObjSBOApplication.Forms(pval.FormUID)
With oForm
'---text
Set oItm = .Items.add("maxGstT", it_EDIT)
Set oRelateItm = .Items("76") 'closed on date edit box
oItm.Left = oRelateItm.Left
oItm.Width = oRelateItm.Width
oItm.Top = mObjSBOApplication.Forms(pval.FormUID).Items("36").Top 'item group top
oForm.DataSources.UserDataSources.add "dsmaxGstT", dt_SHORT_TEXT
Set oEdtBox = oItm.Specific
oEdtBox.DataBind.SetBound True, "", "dsmaxGstT"
End With ' With oForm
End Function
Message was edited by: Indika Dekumpitiya (spelling) -
Formatted Search on Serial Number (goods receipt PO)
Dear Expert,
I have the problem on generate Serial Number. I want to used formatted search to created serial number,
the structure of serial number is : x-99-9999-9999-99999
1st x = type of product (Regular, Consignment, Tenant)
2nd 999 = Brand type
3rd 9999 = Category
4th 9999 = Year received
5th 99999 = counter number
for example : Item A with quantity 100 units,
so.. what the formatted search that I want
On window serial number (detail level), I pressed Shift F2, so.. "the formatted search " will fill in each row on detail level until quantity (header level) --> will fill in until row 100
I do not want used Generate Serial number which SBO facility, because it is many step to used it so that our user (warehouse staff) will confuse to used it.
Does anyone have solution to solve my problem?
Thanks before.
regards,
HendraDear Hendra Sulivan
Formatted search is basically used for getting data from your data base. It will not allow you to enter any data in your data base.
So your query can be solved only by using SDK.
I can suggest you that through SDK you can provide standard Serial no entering screen where he will just enter the kind of serial no.
This facility can be provided by using tab on Serial no screen.
thanks,
yatindra gokhale -
ChaRM External Reference Number Field
Hi
In ChaRM, we have used external reference number field for information. When a ChaRM CR is created, the requester fills required information in the field. In Normal Correction, this information is not automatically taken from the CR document to the correction document. When we search a normal correction by external reference number, it does not give any result, as the information is only shown in the CR document. This however works as expected in Ur.gent Corrections.
What could we do about this?
Many thanks for your answers in advance.
BR LiHello,
you need to check the mapping rules for field External Reference Number in copy control for Normal Corrections.
Go to the IMG: Scenario specific->change request management->Extended config->change trans types->copy control
Define Mapping rules.
Regards,
Raquel
Maybe you are looking for
-
No inbound delivery/TO created for goods receipt into a Lean WM Storage Loc
Ladies and Gentlemen: We are using SAP 46C with Support pack 45. We have quite a few storage locations that are Lean WM managed. The Storage locations are not HU Managed. However everytime run a MB1C or MIGO 501, SAP is receiving the materials direct
-
Using the content aware move tool, I want to move an item from one image to another image but it does not seem to work. I think I need two layers on one document so how do I do this
-
Two Questions: Link and call transaction
Hello, Im using tableView and tableviewcontrol to display the data and corresponding columns. How can I mark one column of table (let say VBELN) as link <a href....> so that user see there is event attached to column. Only one column should h
-
Configuration Controlling Area
Hi expert, I have a problem about configuration profitability analysis in controlling area (CA). I created a new CA. When I try to configure in folder "Activate components/control indicators" the ProfitAnalisys, the options are not editable. How can
-
Cast to DATETIME Function?
Please someone correct me if I'm wrong, but it seems you can use the cast function to convert correctly formatted data to date, timestamp, etc, but it is not possible to cast to datetime? OBIEE 11.1.1.6.2 Thanks, Geo