UDO with DI object - some times udo data gets added but not di obj data
Dear Experts,
Greetings.
I have created a customized inventory transfer form according to the customer need. I have used document type udo object and inventory transfer. Some times the udo data gets added without adding the data through inventory transfer object. Below is the code that i am using in the item event,
If pVal.ItemUID = "1" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED And pVal.Before_Action = True _
And pVal.FormMode = SAPbouiCOM.BoFormMode.fm_ADD_MODE Then
Try
If DeliveryChallanValidate(oForm) = False Then
If DC_company.InTransaction Then
DC_company.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_RollBack)
End If
BubbleEvent = False
Exit Sub
Else
Try
DC_company.StartTransaction()
'Inventorytransfer function is used to add the inventory transfer data through DI 'object.Returns
' true if sucessfully added and false if there is any error.
If InventoryTransfer(oForm) = True Then
If DC_company.InTransaction Then
DC_company.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_Commit)
End If
BubbleEvent = True
Exit Sub
Else
If DC_company.InTransaction Then
DC_company.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_RollBack)
End If
BubbleEvent = False
Exit Sub
End If
Catch ex As Exception
If DC_company.InTransaction Then
DC_company.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_RollBack)
End If
BubbleEvent = False
DC_Application.StatusBar.SetText(ex.Message, SAPbouiCOM.BoMessageTime.bmt_Short, SAPbouiCOM.BoStatusBarMessageType.smt_Error)
End Try
End If
Catch ex As Exception
If DC_company.InTransaction Then
DC_company.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_RollBack)
End If
BubbleEvent = False
DC_Application.StatusBar.SetText(ex.Message, SAPbouiCOM.BoMessageTime.bmt_Short, SAPbouiCOM.BoStatusBarMessageType.smt_Error)
Exit Sub
End Try
End If
I Would like to know if there is any other method by which if there is any error the UDO data or DI object then both should not add. I am working in SBO 2007B Patch 17.
Regards,
Gokul K.
Dear Siva,
Thanks for your response. I did go through the links that you have posted. I do not have any problem in adding the stock transfer through DIAPI. My problem is that if the addon that i have developed gets disconnected, what happens is like only the udo data from the user defined form gets added and the stock transfer does not work. Hope i made my point clear.
Regards,
Gokul K.
Similar Messages
-
i wana restore my iphone 3g but when i restore it with itunes after some time is say '' iphone could not restored unknow error 1015 '' help me please
99% because your iPhone was hacked/jailbroken. We cannot help you, see terms of use.
Error 1015: This error is typically caused by attempts to downgrade the software for an iPhone, iPad, or iPod touch. This can occur when you attempt to restore using an older .ipsw file. Downgrading to a previous version isn't supported. To resolve this issue, attempt to restore with the latest iPhone, iPad, or iPod touch software available from Apple. This error can also occur when an unauthorized modification of the iOS has occurred and you're now trying to restore to an authorized, default state. -
Hi Team,
Showing Yellow icons after every 15 to 20 Min and internet stop working.when we enable- disbale the network connection then will internet start working fine.Some time network connection is disable but when we renable that connection it will stuck on enabling
and will not renable till i am not restart that machine. I have 350 Machine in network but facing this issue in 25 machines. Kindly help me on this issue .
Regards
Sahil bhatejaHi,
So switch a LAN card fix this issue...seems a compatibility issue or maybe some packs or programs you installed recently cause this issue.
Have you manually check the network adapter driver from the PC's manufacture website? sometimes, it will be a time delay before Microsoft push out the driver update.
Check if issue exists in safemode with network, this mode will launch Windows with limited sets of files and drivers.
if you have a restore point, restore the pc to a previous point at which the pc is functioning fine.
Yolanda Zhu
TechNet Community Support -
Some times my pictures was saved but some times not
Some times my pictures was saved but some times not
I know today when I was taked pictures I take some pictures with the Iphone locked and I take pictures with the Iphone unlocked some pictures was saved but some not and I doesn't know why?
-
when i run keynote in the play mode, some times the computer get stuck, why?, when i run key note in the play mode, some times the computer get stuck, why?
hello,
I had the same issue. This is what I was told to do.
iWork has to be removed completely to be effective when re-installing, you must use an application removal tool to do this or it wont remove every Keynote file.
Appcleaner will do this and its free.
The following procedure has helped solve many issues with Keynote:
1 Close Keynote then use Appcleaner
2 Empty the Trash
3 Shut down the Mac, then restart and press the shift key immediately after the startup sound, then release shift when the Apple logo appears
allow the Mac to boot up to the desktop, it will take longer then usual as the hard drive is being repaired
4 restart the Mac
5 Reinstall iWork
6 Repair permissions:
Applications > Utilities > Disk Utility > First Aid: click on your system disc in the drive column
and select Repair Disk Permissions
7 open Keynote and test -
my ipad is having trouble with my music... i had recently gotten a new one when i signed into my icloud the music that i had on the orignal one was not there.... some songs were in fact there but not clickable ( it was there only gray)... i was looking for help on how to get the music on the ipad
my ipad is having trouble with my music... i had recently gotten a new one when i signed into my icloud the music that i had on the orignal one was not there.... some songs were in fact there but not clickable ( it was there only gray)... i was looking for help on how to get the music on the ipad
-
why some times video and audeo files are not opening in my Mac? sir plz advise me the application i need to download.thanks.
why some times video and audeo files are not opening in my Mac? sir plz advise me the application i need to download.thanks.
-
I upgraded the Pages version on my iPad and iPhone some weeks ago. The App has not synced previous data on both AND it's unstable on both. Luckily I didn't upgrade on my Mac where the old version is working ok!
You need the new versions of both to sync data between them. If you don't have the new versions on your Mac, they will not sync.
BTW, the new versions do NOT overwrite the old on Mac. When you install them, the old versions are retained. -
I-photo: I used 2 cameras to take pictures on a trip --- i have put the pictures from both cameras into an album --- when i click on view and then sort by date, the pictures do not sort by date --- any ideas on how to get the pics sorted by date?
Select all the photos that you need to change, then click the "Photos" menu and choose "Adjust Date and Time".
If you add a year, it will adjust all the photos that you selected by adding a year (so if you accidentally select one of the photos that already has "2012", that will change to "2013"). -
Explain me briefly about evaluation order.As per my knowledge it show data type order.but I have different data type in same dimension ex:account->acc_001 is smart list data type.account-ac_002 is percentage.So fot this i will accont dim in evaluation order.What going can any one explaining brifly ?
2786712 wrote:
thanks John for reply.If you dont mine can you explain clearly with example and screenshot.
@John: You got a task
Here you go: Hyperion Planning and More... -
How to get master data records that do not have transaction data in a query
Hi,
How to get master data records that do not have transaction data in a query output. Can we create a query or any other way to get the master data records that do not have transaction data?Hi,
Create a multiprovider which includes transactional data target and master data info object. Make sure that identification for this master data info object is ticked on both the provider.
Create report on this multiprovider , keep the master data info object in rows , and now you should able to see all the values which are there in master data info object irrespective of transaction happened or not .
Next you may create condition showing only zero keyfigure values , ie. master data without any transaction.
Hope that helps.
Regards
Mr Kapadia -
When trying to use internet, i get a" could not activate cellular data network - PDP authentication failure" Message. how to solve this problem?
If you have a data only plan for the iPad with your carrier, if no change after powering your iPad off and on you will need to contact your carrier.
-
SCOM is installed but not collecting any data outside of the OPS Manager server itself
I have installed SCOM 2012 R2 and associated hotfixes. I've executed the MS Baseline configuration Analyzer and there are no problems. I have discovered and installed agents on all of my Windows servers. Additionally, i have imported a
number of management packs successfully. The problem is that i can't seem to get any data other than what is provided as health state from the OPS Manager servers themselves. When I scan for network equipment it ALWAYS returns nothing so i have
0 discovered network devices. More importantly is that I get no data on anything else. I've done a lot of reading and searching but can't seem to figure out the problem. All services are running and there are no significant messages in the event
logs. How do you get a management pack to be associated with systems? All of my agents are "healthy" but "not monitored". How do I change that?
Thanks,
MarkCan you fine the Management Packs in agents' health State folder? You may stop Health State service and rename Health State folder to test again.
Regarding the discovery of Network Devices, please refer to the following articles.
http://blogs.technet.com/b/kevinholman/archive/2011/07/21/opsmgr-2012-discovering-a-network-device.aspx
http://www.code4ward.net/main/Blog/tabid/70/EntryId/105/Troubleshooting-Network-Discovery-in-SCOM-2012.aspx
Juke Chou
TechNet Community Support -
I'm actually trying to find the date i visited a site. adding columns allow the order to be sorted but not show a date. Please tell me it there's a way to see the date. the sidebar no longer has the option for date. the most recent only shows the time.
If you only see the time then that would mean that you see an entry of the current day (today).
History items from past days should have the date as well in the Most Recent Visit column.
You should be able to see this changing if you open the last 7 days folder and scroll down. -
How can you see what data usage was for on the bill? It only shows the date and usage but not the reason for the usage.
You can not see this info on VZW's site. There are apps for smartphones that will break down the info though, but by site or what was downloaded
Maybe you are looking for
-
The folder that they are in is in the correct order but when i add them to Ipad they are all mixed up. This is so annoying when i am trying show someone there Wedding Album in the correct order
-
Can I re-download photoshop c6 after my computer crashed...
Hi all, I purchased the student photoshop about a year and half ago and have been using it faithfully since. I run a photography business so photoshop is vital. My computer recently crashed, hard drive is done for and everything. They said there's no
-
Dear Gurus, Is there any standard system condition type in the shipment cost who calculate the cost in the below behavior. If product weight is in b/w 1 to 10 tons cost is $10,000. and if weight is more than 10 tons lets say 11tons system calculate t
-
Weblogic shutdown with IOException? But...
I have problem with a new fresh installed Weblogic server 7 server, when i completed installation over a Solaris box, i start the domain, open the web console and do a server shutdown, it generates me a IOException error. Whats wrong?
-
Apple account / aol member
what is the difference between an apple account and an aol member. I (think) i have an apple account but my isp is aol so which do i use? thanks