ADDING A NEW ITEM IN THE CREDIT REQUEST DETAILS PAGE.
Dear friends,
Please help me with this scenario.Thanks so much for your help.
Task: ADDING A NEW ITEM IN THE CREDIT REQUEST DETAILS PAGE.
Need to create a new item on this page called "approver notes" (column notes).
Can this be achieved by personalization?
Scenario:
On credit request details page disputed invoice number, request date, status, bill to, ship to, etc are displayed.
When the status is "not approved”, item should be displayed along the "rejected" comment.
If the status is other than "not approved" then the item should not be displayed.
what page is this ? are you sure it is a OAF page ?
If it is a OAF page, you would need to extend the controller to fire a partial action for the item and then control the display property of the comments field
Tapash
Similar Messages
-
How to create new subsite while adding new item to the list by using javascript?
hi,
I hav a task ie, when I add item to the list then subsite will create with that list item title and description . So By using javascript, I have to create subsite while adding new item to the list.
Help me to solve this.
Thank you,Is your item getting added through Javascript client object model ? If yes, you can write in the success delegate of your list creation method the logic to create the subsite.
function CreateListItem()
var clientContext = new SP.ClientContext.get_current();
var oList = clientContext.get_web().get_lists().getByTitle('List Name');
var itemCreateInfo = new SP.ListItemCreationInformation();
this.oListItem = oList.addItem(itemCreateInfo);
oListItem.set_item('Title', 'My New Item!');
oListItem.set_item('Body', 'Hello World!');
oListItem.update();
clientContext.load(oListItem);
clientContext.executeQueryAsync(Function.createDelegate(this, this.CreateListItemOnSuccess), Function.createDelegate(this, this.onQueryFailed));
function CreateListItemOnSuccess() {
var subsiteTitle = oListItem.get_item('Title');
//Logic to create a subsite
function onQueryFailed(sender, args) {
I have added a sample flow for the above scenario. Have a look at the following lnk for how you can craete a subsite using ecmascript.
http://ravisoftltd.wordpress.com/2013/03/06/sharepoint-2010-create-site-with-ecma-script-with/
Geetanjali Arora | My blogs | -
We have the SharePoint Server 2010 with SP1 environment on which the custom SP2010 designer pages were working as expected before the
August 13, 2013 CU has installed. But, getting the below exception while trying to add the new item after the CU has installed.
Error while executing web part: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteInsert(IDictionary values) at
System.Web.UI.DataSourceView.Insert(IDictionary values, DataSourceViewOperationCallback callback) 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
06/19/2014 16:49:37.65 w3wp.exe (0x1240) 0x1300 SharePoint Foundation
Runtime tkau Unexpected Microsoft.SharePoint.WebPartPages.DataFormWebPartException: The data source control
failed to execute the insert command. 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc at Microsoft.SharePoint.WebPartPages.DataFormWebPart.InsertCallback(Int32 affectedRecords, Exception ex) at System.Web.UI.DataSourceView.Insert(IDictionary
values, DataSourceViewOperationCallback callback) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.FlatCommit() at Microsoft.SharePoint.WebPartPages.DataFormWebPart.HandleOnSave(Object sender, EventArgs e)
at Microsoft.SharePoint.WebPartPages.DataFormWebPart.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean
inclu... 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
06/19/2014 16:49:37.65* w3wp.exe (0x1240) 0x1300 SharePoint Foundation
Runtime tkau Unexpected ...deStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 3b64c3a0-48f3-4d4a-af54-d0a2fc4553cc
I have tried changing the "DataSourceMode" as below, now the insert command is working, but update command is not working.
<SharePoint:SPDataSource runat="server" DataSourceMode="ListItem" />
Also, the lookup dropdown fields are displaying the value as "<a href="Daughterhttp://cpsp10/sites/Employees/_layouts/listform.aspx?PageType=4&ListId={8F62F444-FB6A-4F03-9522-C4696B45DCD1}&ID=10&RootFolder=*">Daughter</a>"
instead of only "Daughter".
Please provide the solution to get rid of this issue.
Thanks
RamasubbuTry below:
http://social.technet.microsoft.com/Forums/en-US/ae910269-3a0c-4506-844b-e8bc89d95b71/data-source-control-failed-to-execute-the-insert-command
http://blog.jussipalo.com/2012/01/sharepoint-2010-data-source-control.html
While there can be many causes for this generic error message, in my case the first parameter or ddwrt:DataBind function inside the SharePoint:FormFields element was
'i' and I was working with an Edit Form. Changing it to
'u' as it was with every other FormField fixed the issue.
<SharePoint:FormField runat="server" id="ff1{$Pos}" ControlMode="Edit" FieldName="Esittaja" __designer:bind="{ddwrt:DataBind('u',concat('ff1',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Esittaja')}"
/>
Explanation:
DataBind operation type parameters (the first parameter) are listed below:
'i' stands for INSERT,
'u' stands for UPDATE,
'd' stands for DELETE.
http://webcache.googleusercontent.com/search?q=cache:d9HHY4I7omgJ:thearkfloats.blogspot.com/2014/03/sharepoint-2010-data-source-control.html+&cd=4&hl=en&ct=clnk&gl=in
If this helped you resolve your issue, please mark it Answered -
Adding a new item to an already existing BOM
Hi,
I am having a problem adding a new item to an already existing parent BOM.I excute the following code (as per the SDK).
Dim vProdTree As SAPbobsCOM.ProductTrees
Set vProdTree = vCmp.GetBusinessObject(oProductTrees)
'Set Values to the fields
vProdTree.TreeCode = "Item1"
vProdTree.TreeType = iProductionTree
'Set Values to the Assembly parts of the
'First Assembly
vProdTree.Items.ItemCode = Excel.Row(Cell1)
vProdTree.Items.Price = 20
vProdTree.Items.Quantity = 1
vProdTree.Items.Currency = "Eur"
'Adding the Product Tree
RetVal = vProdTree.Add
If (RetVal <> 0) Then
vCmp.GetLastError ErrCode, ErrMsg
MsgBox ErrCode & " " & ErrMsg
End If
If there is no parent BOM production tree with keycode Item1, then when the above code is run for the first time, it works.The issue occurs when I run change my excel, Cell1 to a different value and run the program again. The error states that the code already exists, which is correct, but does not append the item to the existing BOM.
I have tried vProdTree.Update, but this line overwrites the original child item in the BOM, rather than appending a new item, which is what I want it to do.
Any help is appreciated.
- Adrian.VYour issue here is how the "Items" (which is actually pointing to ProductTree_Lines object) works. It is a List of items, and when you get the object is always pointing at the first item in the list.
So for example, to add a BOM with two items you would need to set the details of the first Item and then add a line using vProdTree.Items.Add() before setting the values for that item.
e.g.:
Dim vProdTree As SAPbobsCOM.ProductTrees
Set vProdTree = vCmp.GetBusinessObject(oProductTrees)
'Set Values to the fields
vProdTree.TreeCode = "Item1"
vProdTree.TreeType = iProductionTree
'Set Values to the Assembly parts of the
'First Assembly
vProdTree.Items.ItemCode = Excel.Row(Cell1)
vProdTree.Items.Price = 20
vProdTree.Items.Quantity = 1
vProdTree.Items.Currency = "Eur"
'Add a second item to the BOM
vProdTree.Items.Add
vProdTree.Items.ItemCode = Excel.Row(Cell2)
vProdTree.Items.Price = 50
vProdTree.Items.Quantity = 1
vProdTree.Items.Currency = "Eur"
'Adding the Product Tree
RetVal = vProdTree.Add
If (RetVal 0) Then
vCmp.GetLastError ErrCode, ErrMsg
MsgBox ErrCode & " " & ErrMsg
End If
To do what you want to do, which is get the BOM and add a new item to it, you will need to do this:
Dim vProdTree As SAPbobsCOM.ProductTrees
Set vProdTree = vCmp.GetBusinessObject(oProductTrees)
'Get your BOM by key
vProdTree.GetByKey("Item1")
'Add a second item to the BOM
'First Item exists so you need to add a new row
vProdTree.Items.Add
vProdTree.Items.ItemCode = Excel.Row(Cell1)
vProdTree.Items.Price = 50
vProdTree.Items.Quantity = 1
vProdTree.Items.Currency = "Eur"
'Update the Product Tree
RetVal = vProdTree.Update
If (RetVal 0) Then
vCmp.GetLastError ErrCode, ErrMsg
MsgBox ErrCode & " " & ErrMsg
End If
Method one allows you to add multiple lines as you add the object (which makes more sense), method 2 allows you to get the object after it has been added and add multiple lines to it. This is similar to how the Document_Lines object works. -
I want to develop a plugin for Adobe Reader that will be invoked through a new item in the Right-Click menu.
What is the right SDK Technology to build this new item? Javascript, Interapplication Communication or a C/C++ plugin?
I would feel more comfortable with JS or C#, but I don't know if I must use the C++ API to be able to build such level of integration.
Thank you very much.Plugins are written in C/C++ and especially something such as adding to the UI.
To add this to Acrobat, no license or fee is required - you can do it today with just the SDK and Acrobat.
However, to build a plugin for Reader, you will need to obtain a license from Adobe. Details are in the SDK under "Reader Integration Key License Agreement" (RIKLA). -
How can i create a new item in the app "health"?
how can i create a new item in the app "health"? I need a field for documentation of "Waist-to-height ratio", exactly for "circumference".
It's a matter of common knowledge, that the Waist-to-height ratio (WHtR) has more significance then the Body-Mass-Index (BMI).If you mean you want to change a color of a calendar category or create a new one, you cannot do that, what is pre-loaded is what you get and cannot be edited.
-
CProjects - Adding a new field to the detail screen of object link
Hi All,
I've a requirement of adding a new field to the detail screen of object link. But the field is a combination of 3 other standard fields.
Please let me know how could i realise this functionality?
Thanks in advance.Hi Srini,
Thanks for your Reply
I have kept 01 against the field BSEG-AUGDT and selected the preselect check box also.
But still that field is not visible in the dynamic selection screen.
Thanks
Ajay.D -
Adding a new field to the search help exit
Hi friends,
adding a new field to the search help exit. How does it work ?
Thanks in advace
IlhanThe search help exit allows you to modify functionality of search help. If you add a new field to the
parameter list that is not contained on the selection method you can manually populate it within the search
help exit.
This would be performed within the u2018STEP DISPu2019 section. Once within this section all search help
data has been retrieved and is stored in table RECORD_TAB (record_tab-string) as one long string value.
Therefore you need to read table SHLP in-order to locate position of value within string.
Example:
To find position of personnel number (PERNR) within elemenory search
help M_PREMN you would use the following code:
Loop at record_tab.
read table shlp-fielddescr into wa_shlp
with key tabname = 'M_PREMN'
fieldname = 'PERNR'.
You could then use this information in the following way, for
example, to find a persons organisation unit:
select orgeh endda
up to 1 rows
from pa0001
into (ld_orgeh,ld_endda)
where pernr eq record_tab-string+wa_shlp-offset(8)
u201Cpernr length is 8
order by endda descending.
endselect.
select single orgtx
from t527x
into ld_orgtxt
where orgeh eq ld_orgeh and
sprsl eq sy-langu and
( endda ge sy-datum and
begda le sy-datum ).
If you have added a new field to the end of the parameters list
the next step is to populate it by adding this data to the end of
the record_tab string:
concatenate record_tab-string ld_orgtxt into record_tab-string.
modify record_tab.
endloop. -
Adding a new field to the Address Data for a business partner
Hi Experts,
I am trying to add a new custom field to the address data (all structures and tables) that is linked to a business partner on SAP CRM via EEWB. Structure is the address structure wthin BUS_EI_EXTERN. Table is BUT020. I have been told that it is not possible as there is no Business Object that allows this. When doing an EEWB, the only business object is BUPA, which when selected, adds the new custom field to BUT000. I would like the field to be added to BUT020 (Address Table). This leads me to believe that there is no standard way of doing this, which ultimatley means that it would need to be done manually. Please help me with this predicament.
Regards
YusufThe search help exit allows you to modify functionality of search help. If you add a new field to the
parameter list that is not contained on the selection method you can manually populate it within the search
help exit.
This would be performed within the u2018STEP DISPu2019 section. Once within this section all search help
data has been retrieved and is stored in table RECORD_TAB (record_tab-string) as one long string value.
Therefore you need to read table SHLP in-order to locate position of value within string.
Example:
To find position of personnel number (PERNR) within elemenory search
help M_PREMN you would use the following code:
Loop at record_tab.
read table shlp-fielddescr into wa_shlp
with key tabname = 'M_PREMN'
fieldname = 'PERNR'.
You could then use this information in the following way, for
example, to find a persons organisation unit:
select orgeh endda
up to 1 rows
from pa0001
into (ld_orgeh,ld_endda)
where pernr eq record_tab-string+wa_shlp-offset(8)
u201Cpernr length is 8
order by endda descending.
endselect.
select single orgtx
from t527x
into ld_orgtxt
where orgeh eq ld_orgeh and
sprsl eq sy-langu and
( endda ge sy-datum and
begda le sy-datum ).
If you have added a new field to the end of the parameters list
the next step is to populate it by adding this data to the end of
the record_tab string:
concatenate record_tab-string ld_orgtxt into record_tab-string.
modify record_tab.
endloop. -
Adding a new server in the menu of SAP GUI 640
Hello Everybody,
While adding a new server to the menu of SAP GUI 640 using Server Tab after entering all details like :
1] SAP System ID
2] Hostname where message server is running
3] SAP ROUTER :None
After filling all the above details and after pressing the Generate List Button I am getting the following error .Please help me to know why this error is coming and suggest a solutio for adding a new server to my SAP GUI 640.But I am able to add a new server using User defined tab but I want to add a new server using Server tab.
Below is error details which I am getting:
Error:service'sapmsSBX'unknown
Wed Jan 09 06:41:13 2008
Release 640
Component NI(network interface),version 37
rc=-3,module ninti.c,line 463
Detail NiPGetServByName: service 'sapmsSBX' not found.
Thanks and Regards,
Ashish Thakkar.Hi,
check etc/services for sapmsSBX entry. If missing - add it (i.e. sapmsSBX 36XX/tcp - where XX is your instance no.)
Add an extra [Enter] after last line of etc/services.
Regs,
FS -
Add the new item through the Bapi 'bapi_outb_delivery_change'
I want to add the new item to the existing outbound delivery.How to add the new item in the bapi 'bapi_outb_delivery_change'. Please provide me the code for the bapi 'BAPI_OUTB_DELIVERY_CHANGE' to add the new item.
Hi Kyndal,
I have a requirment to add new items in a delivery which will refer to the higher items in the same delivery itself.
I am trying to use the BAPI BAPI_OUTB_DELIVERY_CHANGE for the purpose.
Could u pls give some clue on how to tried to do it?
I am constantly getting a error VL216.
Also I tried passing the reference document and item : same delivery number and the higher level item in the delivery
VBTYP_N = J -
Suddenly a series appeared in the add-on bar: JS, J, F,SL, C ,I, A, CS and I don't know where they came from. What's going on? My other computer doesn't have them.
I am using FF version 18.0.2I have tried several time to reply to your email with more info but it never gets to you. Here's what I sent:
Subject: Re: iamjayakumars posted an answer to your question "New items in the Add-on Bar"
Well, I ran two Anti-virus programs (Super Anti-Spyware & NOD32) on all files on drive C: and found only one Trojan which was removed.
Also ran your RootKit program - nothing found.
No change to FireFox. Here's what my Add-On Bar looks like:
(see uploaded image.)
Holding the cursor over each of the "newbies" I get:
JS Enable/Disable JavaScript
J Enable/Disable Java
F Enable/Disable Flash
SL Enable/Disable Silverlight
C Enable/Disable Cookies
I Autoload Images
A Enable/Disable Animated Images
CS Toggle Style
These turn red when I click to disable.
I haven't tested all but CS works and switches the screen to show the HTML of the screen.
When I look in "Customize Toolbar" I see the same things except they are red. I can move these to the toolbar but cannot move the blue ones from the toolbar to the "Customize..".
Now that I think about it, I think these may have appeared about the time I installed ReminderFox, but I'm not sure.
I have looked at all the Extensions and Plugins but none look like they might relate to this.
One other thing I notice different about my FF - on my wife's and my other computer the tabs have a small box on the right to click for a new tab. But that has been missing on my computer for a long time. Not a problem - Ctrl+T works fine. Once I removed FF but did not kill all the user stuff so reinstalling did not correct the situation.
I am looking forward to your evaluation.
[email protected]
Trump -
just recently my iphone is not syncing calendar to my macbook. It has worked all along until about a week ago. It does transfer new items from the computer to the iphone but not from the iphone to the computer.
Plug you iPhone into your computer, select the iPhone, select the photos tab. Now check (not uncheck) the sync photos from... Select the folder where the photo came from, click apply then sync, now uncheck the sync photos box, click apply, it will ask you if you want to remove the photos click remove, it will not delete other photos exept the ones in the folder that was synced. Then click sync and the photos will be removed
-
I want to change the credit card details on my T-Box
Hi, just wanting to know how to change the credit card details on my T-Box. ThanksChris
Hi guys, I just logged straight in via that link and then after the log in page it went to a page for changes, where you can select enter new credit card details ( see the pic below). You have to use the same email address as you used to first register your T-Box, eg. your primary Telstra account email address.
-
By clicking "Get me out of there" does it remove all the credit card details I have typed in?
When submitting the online payment details, including my credit card details, I got an untrusted connection warning. I clicked "Get me out of there" and Firefox returned me to a new search page. Does it mean that all the credit card details I typed in had been removed from the seller's web page?
If you submitted a form, then the data ended up on a remote server. It cannot be deleted by Firefox or any other browser.
Before panicking, see the following article.
* [["This Connection is Untrusted" error message appears - What to do]]
What is the site in question, and what security software do you use? Security software with an SSL or HTTPS filtering feature can trigger that message.
Maybe you are looking for
-
Can I have an external video source run in a window instead of using the full display?
I'm aware that the 27" iMac models are capable of accepting external video sources, but I'm wondering if it's possible to have an external video source run in a window on the desktop, rather then use the full display. Does anyone know if there's any
-
TS3074 error 7 windows error 1114
i followed all the support instructions but the error 7 windows error 1114 persists. I also have uninstalled and reinstalled iTunes and QuickTime but nothing changes. what should I do? I've installed microsoft.net 3.5 but windows tells me that micros
-
I have upgraded a PRIME-NCS-APL-K9 from version 1.1.0.58 to Prime Infrastructure 1.2 First I have installed the Path "ncs_patch-1.1.0.58-upgrade-pi_1.2.tar.gz" and then the "PI-upgrade-bundle-1.2.0.103.tar.gz". after the upgade I have got the Message
-
home sharing shuts down after 5 min when watching a movie. any solutions. already downloaded itunes from apple. did not work.
-
Hi, i am using flow activity for calling different partner links parallel but as part of response i will be receiving different message types(complex,unbounded) from partners. but as per my requirement i need to consolidate all the messages and prepa