Limit UDF field to returns window
I created a udf field for use in the sales returns rows window. However, in the User-defined fields - Management window there doesn't appear to be a way to link the udf to only the returns window. Obviously I don't want a field called "Returns Reason" showing in my sales order or invoice window rows.
what we have done is added a udf title. by default this added the udf to all sales and purchasing documents. i then went to each sales and purchasing document and changed the udf settings -> unchecked visible and active for this specific udf.
i did not like the behavior of the mandatory field since i wanted the user to pick the value (not a default value). edit the sbo_sp_transactionnotification to trigger an error if the field is null. applicable to returns document only (object type 16 for 2007a).
Similar Messages
-
Hi All,
I have added some User Defined Fields to Sales Order window. Can I place a choose fromlist in one of these UDF fields. If can, please give the code.Hi Jisha,
Vasu is right, but you can update the Sales Orders form with a new tab that contains your user fields. And in these fields you can add the CFL has you would do in a standard user form (you can even add the CFL in the XML form).
Example of the user form:
<?xml version="1.0" encoding="UTF-16" ?>
<Application>
<forms>
<action type="update">
<form FormType="139" uid="">
<items>
<action type="add">
<item uid="_Family01" type="8" left="25" tab_order="0" width="80" top="160" height="14" visible="1" enabled="1" from_pane="99" to_pane="99" disp_desc="0" right_just="0" description="" linkto="Family01" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute></AutoManagedAttribute>
<specific caption="Familia 1"></specific>
</item>
<item uid="Family01" type="16" left="110" tab_order="0" width="150" top="160" height="14" visible="1" enabled="1" from_pane="99" to_pane="99" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute></AutoManagedAttribute>
<specific TabOrder="0">
<databind databound="1" table="OITM" alias="U_Family01"></databind>
</specific>
</item>
<item uid="_Family02" type="8" left="25" tab_order="0" width="80" top="175" height="14" visible="1" enabled="1" from_pane="99" to_pane="99" disp_desc="0" right_just="0" description="" linkto="Family02" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute></AutoManagedAttribute>
<specific caption="Familia 2"></specific>
</item>
<item uid="Family02" type="16" left="110" tab_order="0" width="150" top="175" height="14" visible="1" enabled="1" from_pane="99" to_pane="99" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute></AutoManagedAttribute>
<specific TabOrder="0">
<databind databound="1" table="OITM" alias="U_Family02"></databind>
</specific>
</item>
<item uid="_Family12" type="8" left="25" tab_order="0" width="80" top="325" height="14" visible="1" enabled="1" from_pane="99" to_pane="99" disp_desc="0" right_just="0" description="" linkto="Family12" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute></AutoManagedAttribute>
<specific caption="Familia 12"></specific>
</item>
<item uid="Family12" type="16" left="110" tab_order="0" width="150" top="325" height="14" visible="1" enabled="1" from_pane="99" to_pane="99" disp_desc="0" right_just="0" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0" font_size="-1" supp_zeros="0" AffectsFormMode="1">
<AutoManagedAttribute></AutoManagedAttribute>
<specific TabOrder="0">
<databind databound="1" table="OITM" alias="U_Family12"></databind>
</specific>
</item>
</action>
</items>
</form>
</action>
</forms>
</Application>
Than you catch the Sales Order form Load and you load the above form:
1. Catch the Sales Order form load
2. Add the new folder by code and update the Sales Order form
Try
oForm.Freeze(True)
oForm.Resize(740, 480)
Dim PaneLevel As Integer = oForm.PaneLevel
Dim oNewItem As SAPbouiCOM.Item = oForm.Items.Add("FldFam", BoFormItemTypes.it_FOLDER)
Dim oItem As SAPbouiCOM.Item = oForm.Items.Item("3") '// 3 = Id of an existing folder in the form
oNewItem.Top = oItem.Top
oNewItem.Height = oItem.Height
oNewItem.Width = oItem.Width
oNewItem.Left = oItem.Left + oItem.Width
oNewItem.AffectsFormMode = False
Dim oFolderItem As SAPbouiCOM.Folder = oNewItem.Specific
oFolderItem.Caption = "NEW FOLDER"
oFolderItem.GroupWith("3")
'// Carregar o ficheiro XML com as modificações ao formulário normal.
UpdateFormByXML(oCompany, oApplication, pFILES & " rm150_" & GetLanguageCode(oApplication) & ".srf", oForm.UniqueID)
oForm.Items.Item("FldFam").Visible = True
oForm.PaneLevel = PaneLevel
AddFamilyFolder = True
Catch ex As Exception
oApplication.MessageBox("AddFamilyFolder(): " & oCompany.GetLastErrorCode.ToString & ", " & ex.Message)
End Try
End Function
Function to update a form
Public Sub UpdateFormByXML(ByRef oCompany As SAPbobsCOM.Company, ByRef oApplication As SAPbouiCOM.Application, _
ByRef FileName As String, ByRef FormUID As String)
Try
Dim xDoc As Xml.XmlDocument = New Xml.XmlDocument
xDoc.Load(sPath & FileName)
xDoc.SelectSingleNode("Application/forms/action/form/@uid").Value = FormUID
oApplication.LoadBatchActions(xDoc.InnerXml)
Catch ex As Exception
oApplication.MessageBox("UpdateFormByXML(): ", oCompany.GetLastErrorCode.ToString & ", " & ex.Message)
End Try
End Sub
Regards,
Vítor Vieira -
UDF field in Crystal in Sales Order Layout
Hi,
I want to Include UDF field in sales order layout, when i open default layout it shows only standard in RDR1(UDF for rowlevel ) it doesn't shows UDF fields. Now i connected database and re-established OLE DB connection and pulled the RDR1 table, here i can get those UDF created by me. but if i use this UDF field in report details area and this results no values in the layout while preview the report in SAP B1.
Anyone guide me on this....
Regards
sreeHi Ivan,
If you want to populate UDF fields into crystal reports layout then you have to do wat i mentioned earlier.
1. Go to Menu
2. choose Database
3. choose verify database
4.enter Object Id and Document Number as a input
5.system will retrieve the values from database and pull all the fields including UDF
but this doesn't change field length of UDF you have to change it on UDF fields management in SAP by updating the field properties.
Note: later you can't reduce the length
Regards
Sree -
Cred.lim.used field in FD32 not getting updated
hi All,
I have a scenario where my Cred.lim.used field which is a %age value is not getting updated in fd32
when I go to fd33 for a customer my Credit limit is 1,000,000.00
and Credit exposure is 1,138.28- but the %age is 0.00 %.
any suggestions
thanks,Hi
Think logically how it will show the credit limit used in percentage just calculate
credit limit used*100/ total credit limit
1,138.28*100
1,000,000.00
will come to 0.11 % so system wont show it will consider only if it is more than 1%
regards -
Does verizon still have a price guarantee if you are within your 14 day return window?
Hello,
I bought a RAZR MAXX HD for $299.99 and plan off Verizon's website on 12/13. Phone delivered to my house 12/14 and activated 12/15.
On 12/18 I notice on Verizon's website that phone is now $249.99. I had heard that as long as you are within your 14-day return window,
you can get a credit for the price difference. Sounds good!
Here's where the misery begins:
- 12/19 I call customer service @ *611 and am told I am SOL. I could return the phone and order again, but
would be charged a $35 restocking fee.
- 12/19 Stopped in a Verizon corporate store and was told if I had bought the phone in store they would be
able to credit my account $50 (and also that they do it all the time). Told me to call *611 and talk and ask
for Telesales.
- 12/19 Called *611 again and asked for Telesales. After being transferred about 4 times, gain told I am SOL.
So, frankly, I've been a Verizon customer for less than a week and am already regretting the decision to switch to them. Why?
1) I don't think my expectation of getting the lower price within the 14-day return window is unreasonable.
2) I don't understand why buying the phone off Verizon's website versus buying it in their corporate retail store should make
a difference in whether they can give me a price difference credit or not. If there is a policy, it should apply across the board
within Verizon (it's not like I bought this phone at a 3rd party retail store or website.)
3) I'll also throw this in; I have extensive experience in sales/customer service and when calling other companies service
learned a long time ago to always ask for names, however, I noticed when being transferred around while asking for Telesales
almost everyone I spoke to before being transferred again was reluctant to divulge their name when asked for it.
If anyone has any suggestions and/or if any Verizon customer representatives on here can help out I'd appreciate it. Otherwise
the clock is ticking on my return window and I might just return it, eat the restocking fee, choose another carrier/phone and
never consider Verizon for anything ever again.
Thanks again.I would like to say I bought a Droid Maxx on 10/14 at $299. They then dropped the price to $199 a few days later. I called today 10/21 and said I had bought the phone a week ago and would like to be reimbursed the difference under the price guarantee. It took the lady a little while to get it all set up but she was very cordial and efficient and credited the $100 back to the account. If you are within the 14 day return window they should reimburse the difference. Makes sense for them to do so rather than have a perfectly good brand new phone returned just to buy the same phone.
-
OIM 11g r2 User UDF fields Updation based on AD ID
Hi,
We have to update the UDF fields created for the users in OIM using the data from a table.
This table contains the AD ID, and other fields.
OIM User (already available) will be updated based on AD ID ….i;e AD ID column will be used to find the user in OIM and then his UDF will be updated based on the respective data from other columns in the table .
Please can you help me on this task?
Thanks,Your requirement doesn't tell much like when you want to update your user. If it would be on daily basis then go for Schedule Task, if you want to at the time of provisioning then you can have one task and attach your code to bring AD ID in OIM..
You may leverage Event Handlers as well if your use case requires that. -
UDF fields missing in Deployment Manager User Metadata export wizzard
Hi,
When I try to export UDF-s using Deployment Manager, not all UDF-s appear in the Deployment Manager wizard step1 Search list for User Metadata type.
It seems that UDF Lookup type-s are not included.
Also, some text type UDF-s are missing as well, while the rest of the text type UDF-s are in the list.
I wonder if someone has encountered the issue? Is there any solution for this?
Thanks in advance.Hi,
I have tried your suggestion, exported sandbox, than published the sandbox. The UDF-s are included in the UserEO.xml.xml file, but are still cannot be retrieved in Deployment Manager wizard step1 Search list.
Even if I enter the exact name of the attribute (USR_UDF_DEPT_NO) it is not found.
The problem is even more severe:
- the UDF missing from the export, which is a lookup type field, cannot be mapped in a GTC connector.
- this UDF field is NOT CREATED in the DATABASE.
Error message:
<Error> <oracle.iam.configservice.impl> <BEA-000000> <The attribute DEPT_NO does not exist!>
<Error> <oracle.iam.ui.formservice.model.modeler.FormService> <BEA-000000> <Updating User field DEPT_NO with params....failed>
OIM version: 11.1.2.1.0
Can someone confirm if this a bug? Is there a workaround?
Best regards. -
Not able to keep defualt value in UDF Field
Hello Frnds,
I have one question to you, I want to keep default value in one of the UDF field which is ContNo which is exist in A/R invoice.
I want to keep default value =9999999
So to do this I have followed the following process:-
First I went to ToolsUser-Defined FieldsManage User FieldsMarketing DocumentsTitleContNo
then pressing update button there is an option to enter Default value and press OK button.
After that its taking some 30 mins and giving error of "SEWSY"
Please help me to let me know the solution.
Regards,Hello Gordon,
Please note that as per your suggestion now im not updating the udf by the sql query.
As i was already trying to update it from as a exclusive user of B1, but its not updating.
Its always give the error of SEWSY. At the time of updating there is not user logged on SAP also im updating with the adminstrator role.
Please suggest me. -
Limit of fields in a Transformation
Hi gurus... the scenario is that i had an ODS (version BW3.5), i made a copy of this and I want to generate a transformation from the original ODS to the new ODS (version BI 7.0), my problem appear when i check that in the new ODS i have 2 characteristics, that i didn´t have in the source of transformation (old ODS). But into the old ODS, i can check that this characteristics exists!.. any idea?!¿?! anyone know the limit of fields in a transformation?
Hi,
check out those 2 missing fields, may be they are set up as attribute only and so only available in your old ods because it is not flagged for reporting. You might need to change the attribute only setting in the maintenance of the characteristics.
regards
Siggi -
Status Field in Qualifications Window (HR Module)
Hi All,
What is the name of the lookup linked with 'Status' Field in 'Qualifications' Window?
Thanx in Advance,Please it is urgent,
Can anyone help please? -
I designed the Sales Order and Sales BOL form in Crystal Reports. I am looking to capture and update an UDF field every time I'm printing the one of those reports in SAP B1 2005 A. The reason for doing this is to display on the report "Original" when printed for the first time, "Duplicate" when printed for the second time and so forth. Is this possible? Thank you.
You could do a Formatted search on the UDF to change to a value when the Field "Printed" is changed.
You might want to do "Refresh Regularly" option in Formatted Search.
Krishnan -
UDO's And UDF field in XL Reporter
Dear Experts,
How to get UDO's And UDF field in XL Reporter Report Organiser.
An early response would be highly appreciated.
Thanks and Regards,
KawishPlease read the following two threads
XL Reporter- Use of UDF's
UDF's in XL Reporter -
Hi there,
I created a UDF for handling the batch of the item, this UDF is the gross weight of the goods.
Now what I want to do is when the user pick-up the goods from the Batch form at the bottom there is the sum of the quantity I would have the same information for my UDF field, that means the sum of my UDF
Is that possible? I mean is possible to get a sum of an UDF field
Right now the user have to calculate the gross weight with a calculator, and this is pretty absurd
Any suggestion
Thx in advance, RobertoHi Frank,
the UDF was created and used in the "Batch Number Selection" under "Available Batches". When I choose 2 batches in the "Available Batches" there is automatic a sum of the quantity, I would have the sum as well of my UDF I don't care exactely where, of course the best is close to the field that make the sum of the quantity.
Im pretty sure, as Vanessa say, that is possible just via Addone.
Cheers
Roberto -
Using SDK to wrtie data to Batch UDF fields
Hello All,
Since the Batch Number object does not have a "UserFields" member, I am unable to write data to the UDF fields I've created for batch through the SDK DI. Does anyone know how to do it? Thanks a lot!
DanielDear,
As the udf property is not exposed in Batch object. It's not possible implement it in DI API.
A workaround is to set this settings manually in SAP Business One,
or to develop a UI AddOn which do this steps automatically for you,
but this needs a lot of development effort.
Best Regards,
xiaodan AN
SAP Business One Forums Team -
Add new field in address window
hi expects,
i want to new field to address window .what are change should i do in form ,print program and subroutine.
thank youHello,
If u want to add a field in a window then u have to go for the FORM SUBROUTINE in the layout. Don't make any changes in the Print program.
Try like this:
* FORM get_fi_number *
FORM get_fi_number TABLES in_par STRUCTURE itcsy
out_par STRUCTURE itcsy.
TABLES: bkpf.
DATA:
tb_awkey LIKE bkpf-awkey,
tb_rbkp LIKE rbkp.
READ TABLE in_par WITH KEY name = 'RBKP'.
tb_rbkp = in_par-value.
CHECK sy-subrc = 0.
tb_awkey = tb_rbkp-belnr.
tb_awkey+10(4) = tb_rbkp-gjahr.
CLEAR bkpf-belnr.
SELECT belnr
FROM bkpf
INTO bkpf-belnr
WHERE awkey = tb_awkey.
EXIT.
ENDSELECT.
READ TABLE out_par WITH KEY 'TB_FINUM'.
CHECK sy-subrc = 0.
out_par-value = bkpf-belnr.
MODIFY out_par INDEX sy-tabix.
ENDFORM.
Maybe you are looking for
-
The latest iTunes can't access my windows (including Vista 32 & 64bit, nor Windows 7 64 bit and 32 bit versions) "Runtime" library. I've tried reloading the windows suggested .dll as well as doing a system restore and also downloaded the iTunes updat
-
Hello everyone and thanks for your help in advance. I am a total newbie to creating Flash movies. I have created video stock that can be played in the flash player, and now want to create an effect similar to the vidoe located at: http://www.thefir
-
I'm on my 2nd iPhone. The first had 8 dead pixels on the screen that developed over a 2 month span. Now my 2nd is having the same problem, except now there this faint white streak going down the top left corner of the screen. Soon after that streak a
-
Hi there! Can somebody help me on this issue???. I've been getting this error several times this week, but I can't find any solution. I've read many stuff about it, but all of them are about "OS issues". Does anybody know something different, or at l
-
Port forwarding 1941 and Comcast
I have my 1941 router connected to my Comcast Modem on G0/0. I have a 3560 connected to G0/1. The router is handling my DHCP duties. I have a HAI Omnipro ii (Security/Home Automation) that I would like to access remotely. It has an IP address of 1