Goto end of MC if MC has already played
Hello,
I have a short intro that loads the components of my "home"
section of the page in a visually pleasing way so it stops at the
end with my navigation bar working and active. I want this to play
when someone first visits the site, but if they then return to home
from another page, i do not want the intro to play again. if they
close the site completely then return to it by typing the URL in
the address bar, i would like the intro to play on load again (and
not play when they navigate back to home from within the site)
In my flash buttons on my other pages, is there a way of
telling flash to jump to the last frame in the timeline of the
intro, thus skipping the intro? or someway of treating the intro
playing as an event and recording that event somehow and adding
some kind of "if" statement at the beginning of the intro?
please be specific with advice if possible, i dont really
know what i am doing yet. thanks.
rockfiend <[email protected]> wrote:
> Hello,
>
> I have a short intro that loads the components of my
"home" section
> of the page in a visually pleasing way so it stops at
the end with my
> navigation bar working and active. I want this to play
when someone
> first visits the site, but if they then return to home
from another
> page, i do not want the intro to play again. if they
close the site
> completely then return to it by typing the URL in the
address bar, i
> would like the intro to play on load again (and not play
when they
> navigate back to home from within the site)
>
> In my flash buttons on my other pages, is there a way of
telling
> flash to jump to the last frame in the timeline of the
intro, thus
> skipping the intro? or someway of treating the intro
playing as an
> event and recording that event somehow and adding some
kind of "if"
> statement at the beginning of the intro?
>
> please be specific with advice if possible, i dont
really know what i
> am doing yet. thanks.
You already had the right idea.
Just set some flag in the last frame of your intro (introDone
= true;),
and check that flag in the first frame:
if(introDone){
myIntroMC.gotoAndStop(this._totalframes);
Freundliche Grüße,
Franz Marksteiner
Similar Messages
-
Resume function in DVDSP perfect, unless no video has been played yet
Hi all,
I'm trying to use the Resume built in DVDSP 4(1.2.). It;s perfect, saves hassling with scripts as I have a play all menu and chapter buttons menu. Except, when the viewer hasn't played any video at all, it goes directly to the setup menu and clikc 'resume'. Then the player gets stuck, because there's nothing to go back to. So, is the only solution scripting? Or could I place a .5 second black video that playes as first play? But then resume would go back to that? Any suggestions?
Paul Delcour.5 second black video as a first play is an old and highly recommended trick of all Hollywood DVD authors. This is a DVD-Spec thing. You can only resume to a video that has already played.
-
I purchased a MacBook Pro in fall 2011 for College and it came with a $100 "Back to School" card. I signed up to redeem but accidentally put the wrong ending on my email and now that I try to do it over it says it has already been redeemed. Help, Please!
- You can only sync an iPod to one iTunes library/computer. You can however, manually manage music and videos among different libraries.
Go to iTunes>Help>iTunes Help>Sync your iPod....>Sync You Device>Set up Syncing>Sync your device manually and follow the instructions.
- If y wnat to switch syncing libraries/computer see:
go to iTunes>Help>iTunes Help>Sync your iPod....>Sync You Device>Set up Syncing>Sync your device manually and follow the instructions.
Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities
If all the synced media like music is in the iTunes library of the second computer it is very easy. -
Here's the situation:
Upgrading a SharePoint Server 2010 Search Service Application dB to our SharePoint 2013 SP 1 development environment, using the Management Shell
Running the following commands:
$applicationPool= Get-SPServiceApplicationPool -Identity 'SearchService_AppPool'
$searchInst = Get-SPEnterpriseSearchServiceInstance -local
Restore-SPEnterpriseSearchServiceApplication -Name 'SearchServiceApplication' -applicationpool $applicationPool -databasename 'SearchServiceApplicationDB' -databaseserver SERVERNAME -AdminSearchServiceInstance $searchInst
Creates the search dBs (crawl, links, analytics) successfully; however, in the end, I get....
"Exception: Action 15.0.107.0 of Microsoft.Office.Server.Search.Upgrade.SearchAdminDatabaseSequence failed."
Looking at the ULS logs, I find the following:
Inner Exception: An item with the same key has already been added.
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at Microsoft.Office.Server.Search.Administration.OOTBSchemaDefinition.FindAndFixExistingManagedProperties() at Microsoft.Office.Server.Search.Administration.OOTBSchemaDefinition.InstallManagedProperties(Boolean
upgrade) at Microsoft.Office.Server.Search.Administration.OOTBSchemaDefinition.Upgrade() at Microsoft.Office.Server.Search.Upgrade.UpdateAllOOTBProperties.Upgrade() at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()
Exception: Action 15.0.107.0 of Microsoft.Office.Server.Search.Upgrade.SearchAdminDatabaseSequence failed.
at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade() at Microsoft.SharePoint.Upgrade.SPDatabaseSequence.Upgrade() at Microsoft.Office.Server.Search.Upgrade.SearchDatabaseSequence.Upgrade() at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object
o, Boolean bRecurse)
Anyone encounter anything like this during their search upgrade process? I'm not honestly even sure what duplicate value to look for at this point, if I were to run a SELECT Id, ClassId, ParentId, Name, Status, Version, Properties FROM Objects on
"SharePoint_Config" in SSMS. Any insight or opinions on the matter are welcome; and thanks to those who choose to reply to this, in advance.Hi ,
You can enable the ULS log on verbose level (note, remember to reset to default level after finished troubleshooting) for more information per the following article, then check there should be more useful message for helping solve the issue.
http://www.brightworksupport.com/enabling-verbose-logging-to-compare-against-c/
http://social.technet.microsoft.com/Forums/sharepoint/en-US/12c99279-d3aa-46de-bc57-d5d250692ff0/upgrade-of-search-service-application-from-2010-to-2013-failure?forum=sharepointadmin
https://www.simple-talk.com/blogs/2014/04/22/sharepoint-2010-to-2013-search-service-application-upgrade-issueaction-15-0-80-0-fails/http://blogs.msdn.com/b/biyengar/archive/2009/10/27/psconfig-failure-with-error-an-item-with-the-same-key-has-already-been-added.aspx
Thanks,
Daniel Yang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]
Daniel Yang
TechNet Community Support -
When configuring a new Unity Voicemail Account I receive this message : The phone number or extension has already been assigned to some other object. I understand that this means that the 10 digit number I am trying to configure as the alternate extension for this user is already configured for another object with Unity.
I need to search by the 10 digit number and determine where it is configured so I can change it and map to the correct end user.
I have attempted to to search Users via DTMF Access ID using the 10 digit number with nothing being returned via that search.
How do I Search all of the copnfigured Alternate Extensions within our Unity Server?A subscriber info dump is likely the fastest way. If you're curious regarding other methods, you can also use the Data Link Explorer (CUDLE) tool which is in the Cisco Unity Tools Depot. All extensions for all objects are referenced in the "DTMFAccessId" table. The View menu has a Query Builder which you can use to compile a SQL query that searches for a digit string. It's best to search for both the 10 digit string as well as an abbreviated string as Unity sees them essentially the same and they are usually should be associated with a single subscriber. Once you find a match, you can use the "ParentObjectId" value associated with the DTMF access ID to look for a matching owner in the "GlobalSubscriber" table. The ParentObjectId should match the SubscriberObjectId for a subscriber (assuming the DTMF access ID is assigned to a subscriber). This is the same thing as looking at SQL; however, you are not directly accessing the DB so this is generally considered the safest way to browse and get a feel for where things are.
Hailey -
Send a request to a conversation that has already been finished
This error continually occurs. Any idea why?
An attempt was made to send a request to conversation id []:169.254.17.244-b61346.100533c48f4.-7fea-gend.
This is not a valid conversation id. The most common cause of this exception is an attempt to send a request to a conversation that has already been finished.
Work around is to restart WLS and maybe this time it will not happen. WLS 8.1SP3.
From: [email protected] ([email protected])
Subject: Weblogic Tutorial Question - Need help
This is the only article in this thread
View: Original Format
Newsgroups: weblogic.developer.interest.jms
Date: 2004-09-17 09:12:33 PST
Hi guys,
I'm a Weblogic newbie. I have started working with Weblogic Workshop's
Tutorial. I find them interesting and easy to follow. All was going
well until I reached the Step 4 (Add a JMS Control). The url to this
page is:
http://edocs.bea.com/workshop/docs81/doc/en/workshop/reference/navResources.html
After completing this tutorial to the end I get all the results
mentioned, but I get additional error messages like these in my
InvestigateTest.jws Web Service client:
1095373714829
investigate:creditScoreJMS:listener.onMessage
External Service Callback investigate:creditScoreJMS:listener.onMessage
Submitted at Friday, September 17, 2004 10:25:52 AM EDT
Executable Request:Callback.onMessage
ConversationNotFound Exception
Submitted at Friday, September 17, 2004 10:25:52 AM EDT
An attempt was made to send a request to conversation id 1095373714829.
This is not a valid conversation id. The most common cause of this
exception is an attempt to send a request to a conversation that has
already been finished.
Request Cancelled
Submitted at Friday, September 17, 2004 10:25:52 AM EDT
Processing Request
Submitted at Friday, September 17, 2004 10:25:53 AM EDT
Request Complete
Submitted at Friday, September 17, 2004 10:25:53 AM EDT
I cannot figure out why I'm getting these. I'm doing everything as
described in the Tutorial. Can somebody tell me what I'm doing wrong.
I would greatly appreciate.
Thanks.
Adnanhi
We just encountered this problem while load testing using JMeter. While it may not be the same scenario, we have found that we can consistently trigger this error if:
a) multiple threads from the same client are invoking the service (i.e. a JMeter using JavaSamplerClient can do this)
b) the web service is conversational according to the polling design pattern recommended in the WLW doco: i.e.
startQuery()(one-way) conversation phase = start
checkQueryStatus() conversation phase = continue
fetchQueryResponse()conversation phase = finish
c) buffering is enabled for the startQuery() operation.
d) the number of threads > 3 (might occur very infrequently <= 3 - cant remember)
This is reproducable in our WLS/WLW 8.1 SP2/SP3 environment.
With buffering enabled - errors occur
With buffering not enabled - no errors
On reflection, buffering isn't really needed for our usage so we removed it, however the errors might indicate a bug or unsupported use case
Regards
Jim Nicolson -
I create a brand new plan based on a template.
A task in that plan has a team resource assigned. the task is fixed work. The PM may change the work and duration but not the team resource.
The plan is published.
I delegate my self as a team resource: and try add myself to team task in the timesheet area (using insert row). I can choose some tasks and the add. Most tasks throw this error. This happens if nothing on the plan is changed - it is brand new - minutes
old
One or more of the specified resources could not be re-assigned. This can happen if the proposed resource to be assigned has already an assignment on the given task or the specified assignment is deleted or rejected.
How can I stop the alert:
One or more of the specified resources could not be re-assigned. This can happen if the proposed resource to be assigned has already an assignment on the given task or the specified assignment is deleted or rejected.
Trying to stop the swap to Salesforce - but the errors keep a comingoooch - I can fix it - I need delete the task and recreate it. Which is amazingly tedious as I cannot see if a task needs recreating or not. There's 10 template plans and an average of 200 tasks - then I have to rename the template - the assign the
new template to the EPT - this will be a long night; with only complaints at the end.
Trying to stop the swap to Salesforce - but the errors keep a coming -
Stream has already been closed - in SQL Developer v4.0.0.12
Within SQL Developer v4.0.0.12 (Build 12.84) I have "Stream has already been closed" error message in the "Query result" pane.
Used SQL:
select * from all_mviews;
Oracle11g Database v11.2.0.3 but this query works fine within SQL*Plus.
When I select all the columns, I have the same error:
select OWNER, MVIEW_NAME, CONTAINER_NAME, QUERY, QUERY_LEN, UPDATABLE, UPDATE_LOG, MASTER_ROLLBACK_SEG,
MASTER_LINK, REWRITE_ENABLED, REWRITE_CAPABILITY, REFRESH_MODE, REFRESH_METHOD, BUILD_MODE,
FAST_REFRESHABLE, LAST_REFRESH_TYPE, LAST_REFRESH_DATE, STALENESS, AFTER_FAST_REFRESH, UNKNOWN_PREBUILT,
UNKNOWN_PLSQL_FUNC, UNKNOWN_EXTERNAL_TABLE, UNKNOWN_CONSIDER_FRESH, UNKNOWN_IMPORT, UNKNOWN_TRUSTED_FD,
COMPILE_STATE, USE_NO_INDEX, STALE_SINCE, NUM_PCT_TABLES, NUM_FRESH_PCT_REGIONS, NUM_STALE_PCT_REGIONS
from all_mviews;
I though it was the QUERY column (datatype is LONG), but the following SQL works fine:
select OWNER, MVIEW_NAME, CONTAINER_NAME, QUERY, query_len, updatable, update_log, master_rollback_seg,
master_link, rewrite_enabled, REWRITE_CAPABILITY, REFRESH_MODE, REFRESH_METHOD, BUILD_MODE,
FAST_REFRESHABLE, LAST_REFRESH_TYPE, LAST_REFRESH_DATE, STALENESS, AFTER_FAST_REFRESH, UNKNOWN_PREBUILT,
UNKNOWN_PLSQL_FUNC, UNKNOWN_EXTERNAL_TABLE, UNKNOWN_CONSIDER_FRESH, UNKNOWN_IMPORT, UNKNOWN_TRUSTED_FD,
COMPILE_STATE, USE_NO_INDEX, STALE_SINCE, NUM_PCT_TABLES
from all_mviews;
just left out some columns (at the end).
This works also, all columns but just leaving out the QUERY column:
select OWNER, MVIEW_NAME, CONTAINER_NAME, QUERY_LEN, UPDATABLE, UPDATE_LOG, MASTER_ROLLBACK_SEG, MASTER_LINK,
REWRITE_ENABLED, REWRITE_CAPABILITY, REFRESH_MODE, REFRESH_METHOD, BUILD_MODE, FAST_REFRESHABLE,
LAST_REFRESH_TYPE, LAST_REFRESH_DATE, STALENESS, AFTER_FAST_REFRESH, UNKNOWN_PREBUILT, UNKNOWN_PLSQL_FUNC,
UNKNOWN_EXTERNAL_TABLE, UNKNOWN_CONSIDER_FRESH, UNKNOWN_IMPORT, UNKNOWN_TRUSTED_FD, COMPILE_STATE,
USE_NO_INDEX, STALE_SINCE, NUM_PCT_TABLES, NUM_FRESH_PCT_REGIONS, NUM_STALE_PCT_REGIONS
from all_mviews;
It seams that these queries are reaching the limit (of data transfer) within SQL Developer v4.0.0.12 (note this was also a problem in SQL Developer v3.x).Hi Guy,
Did you happen to see this recent discussion? SQL Developer v4 giving error 'Stream has been closed' while querying tables containing long data
I recommend trying the workaround described there just in case your issue also relates to LONG column:
Add the following line in sqldeveloper.conf file:
AddVMOption -Doracle.jdbc.useFetchSizeWithLongColumn=true
Regards,
Gary
SQL Developer Team -
Hi all,
I have created one SP for sending mail with formatting the HTML code inside script whenever i am individually declaring it and printing its expected but the problem at time of executing SP its giving error like this
Msg 132, Level 15, State 1, Line 47
The label 'http' has already been declared. Label names must be unique within a query batch or stored procedure.
what is the possibilities to overcome this problem follwing is my stored procedure code
ALTER PROCEDURE [dbo].[USP_DataLoadMailsend_essRules]
AS
BEGIN
SET NOCOUNT ON;
SET XACT_ABORT ON;
BEGIN TRY
---BEGIN TRANSACTION T1
DECLARE @packagelogid INT
DECLARE @batchlogid INT
DECLARE @packagestatus CHAR(2)
select @batchlogid =19870
--print(@batchlogid)
DECLARE @script VARCHAR(MAX)
DECLARE @tableHTML VARCHAR(MAX)
DECLARE @mailheader VARCHAR(50)
DECLARE @count INT
DECLARE @recipients1 VARCHAR(50)
DECLARE @subject1 VARCHAR(200)
DECLARE @sql VARCHAR(MAX)
Declare @UserId varchar(Max)
Declare @Information varchar(max)
Declare @TableHTML1 varchar(max)
Declare @TableHTML2 varchar(max)
SET @mailheader = ''
SET @mailheader = (select case
WHEN FileUpload = 'F'
THEN 'BussinessRules is Aborted'
WHEN (InRule = 'S')
AND (
SELECT sum(isnull(ErrorRecords, 0)) tot
FROM abc.FileUploadSummary z
WHERE z.BatchId = bts.BatchId
GROUP BY BatchId
) > 0
THEN 'BussinessRules is Processed with Errors'
WHEN InRule = 'F'
THEN 'BussinessRules is Failed'
WHEN (InRule = 'S')
AND (
SELECT sum(isnull(ErrorRecords, 0)) tot
FROM abc.FileUploadSummary z
WHERE z.BatchId = bts.BatchId
GROUP BY BatchId
) = 0
THEN 'BussinessRules is Succeeded'
end
from abc..BatchStatus bts where BatchId=@batchlogid)
/* Selecting Person Mail as Recipient */
SELECT TOP 1 @recipients1 = EmailId FROM abc.PersonEmail
WHERE PersonId = ( SELECT TOP 1 personid FROM abc.FileUploadSummary WHERE BatchId = @batchlogid )AND EmailTypeId = 1
/* Selecting UserId*/
select top 1 @UserId=loginid from abc.FUS where BatchId=@batchlogid
/*Selecting Information about the Status */
Set @Information=
(select case
WHEN FileUpload = 'F'
THEN 'BussinessRules is Aborted'
WHEN (InRule = 'S')
AND (
SELECT sum(isnull(ErrorRecords, 0)) tot
FROM abc.FileUploadSummary z
WHERE z.BatchId = bts.BatchId
GROUP BY BatchId
) > 0
THEN 'BussinessRules is Processed with Errors'
WHEN InRule = 'F'
THEN 'BussinessRules is Failed'
WHEN (InRule = 'S')
AND (
SELECT sum(isnull(ErrorRecords, 0)) tot
FROM abc.FileUploadSummary z
WHERE z.BatchId = bts.BatchId
GROUP BY BatchId
) = 0
THEN 'BussinessRules is Succeeded'
end + N' <br> <B>BatchId= '+ convert(varchar(250),(select @batchlogid)) +'</B>'
from abc..BatchStatus bts where BatchId=@batchlogid )
/*Selecting the Error Reason*/
if exists (select 1 from BatchStatus where BatchId=@batchlogid and ( InRule='f'))
begin
set @TableHTML1 = '<table border=1><tr><th>Sr.No.</th><th><P>Error Reason :</th></tr>'+
cast((select td= ROW_NUMBER()over (order by (select 1)),'',
td=isnull(e.ErrorDescription, '')
from abc.x.tbPackageErrorLog e --50594
join abc.x.tbPackageLog p -- 10223
on p.PackageLogID=e.PackageLogID
where p.BatchLogID= @batchlogid FOR XML PATH('tr'), TYPE )
as NVarchar(max)) +'</table>'
-- print @tableHTML
if not exists (select 1 from BatchStatus where BatchId=@batchlogid and ( InRule='f'))
set @TableHTML2 = 'Error Reason :N/A'
end
-- insert into #tmp values ( @TableHTML1)
--select * from #tmp
Set @tableHTML= 'Hello '+@UserId+', <br>Information:'+isnull(@Information,'') +
'<Table Border=1><Tr><th>Sr No</th><th>Uploaded files </th>:'+
CAST ((select td= ROW_NUMBER()over(order by f.FileUploadId), '',
td = f.TableName , ''
from abc.FileUploadSummary F where BatchId=@batchlogid
FOR XML PATH('tr'), TYPE ) AS NVARCHAR(max) )
+'</table>'+
'Error Reason :'+isnull(isnull(@TableHTML1,'')+ isnull(@TableHTML2,''),'N/A')+ --concat (isnull(@TableHTML1,''),isnull(@TableHTML2,'')
'<br> Please login to Your Account for further Details..!'
+'<br>@Note: This is system generated message, Do not reply to this mail. <br>Regards,<br>'+
'Admin'
print @tableHTML
SET @sql = ' EXEC msdb.dbo.sp_send_dbmail @profile_name = ''DBA_mail_test''
,@recipients = ''' + isnull(@recipients1,'''') + ''',@subject = ''' + isnull(@mailheader,'''') + ''',
@body = ''' +isnull(@tableHTML,'''')+ ''',
@body_format = ''HTML'''
Exec(@sql)
END TRY
BEGIN CATCH
PRINT error_message()
-- Test whether the transaction is uncommittable.
-- IF (XACT_STATE()) = - 1
-- ROLLBACK TRANSACTION --Comment it if SP contains only select statement
DECLARE @ErrorFromProc VARCHAR(500)
DECLARE @ErrorMessage VARCHAR(1000)
DECLARE @SeverityLevel INT
SELECT @ErrorFromProc = ERROR_PROCEDURE()
,@ErrorMessage = ERROR_MESSAGE()
,@SeverityLevel = ERROR_SEVERITY()
--INSERT INTO dbo.ErrorLogForUSP (
-- ErrorFromProc
-- ,ErrorMessage
-- ,SeverityLevel
-- ,DateTimeStamp
--VALUES (
-- @ErrorFromProc
-- ,@ErrorMessage
-- ,@SeverityLevel
-- ,GETDATE()
END CATCH
END
please help me to solve this problem
Niraj SevalkarThis is no string http in your procedure. Then again the error message points to a line 47 outside a stored procedure. I can't tell it is outside, since there is no procedure name.
But I see that you have this piece of dynamic SQL:
SET @sql = ' EXEC msdb.dbo.sp_send_dbmail @profile_name = ''DBA_mail_test''
,@recipients = ''' + isnull(@recipients1,'''') + ''',@subject = ''' + isnull(@mailheader,'''') + ''',
@body = ''' +isnull(@tableHTML,'''')+ ''',
@body_format = ''HTML'''
Exec(@sql)
Why is this dynamic SQL at all? Why not just make plain call to sp_send_dbmail?
EXEC msdb.dbo.sp_send_dbmail @profile_name = 'DBA_mail_test'
,@recipients = @recipients1, @subject = @mailheader, @body = @tableHTML
Erland Sommarskog, SQL Server MVP, [email protected] -
Need to make changes to the iMovie that has already been shared into iDVD
Can anyone tell me if it's possible to "update" or "reimport" the iMovie into the DVD project that has already had all the menus/buttons/text/dropzones formatted? I got almost to the end and realized I forgot to change the order of a couple clips. I really don't want to start all over in iDVD if it's possible to update it.
Thanks so much!Can anyone tell me if it's possible to "update" or "reimport" the iMovie into the DVD project that has already had all the menus/buttons/text/dropzones formatted?
Yes, it's possible however iDvd doesn't always take well to rearranging any of the video assets.
Here's a very good practice directly from iDvd's Help Menu:
Moving or renaming project files on your hard disk
If you move or rename a file (for example, movie, slideshow, or a song) that’s used in your iDVD project while the project is open, the project will not be updated to reflect the change. As a result, when you burn the project to a disc, the moved or renamed file will not be included. However, if you close your iDVD project before moving or renaming project source files, iDVD can help you locate the files again when you reopen the project.
To find a project file that you moved or renamed:
Open your project.
A warning dialog indicates that one or more files are missing and asks you to find the missing items.
Click Find File and select a missing file.
If other missing files are in the same location, iDVD will find and relink these files as well.
To remove a missing file from your project, delete the reference to it in the menu, slideshow, or movie button, and save your project.
Hope this helps but if not just come on back.
Message was edited by: SDMacuser -
8Z 775 Error Asset ... has already been revaluated; no futher postings can
Hi gurus,
I wrote because I have a problem with transaction J1AI.
I'm from Chile and I'm working with 8.928 assets in SAP R/3 6.0.
My problem is when I run J1AI transaction just 7.600 assets are
revaluated, but 1.328 have the following message:
Asset xxxxx has already been revaluated; no futher postings can be made
Message no. 8Z775
Diagnosis
+You have already revaluated asset xxxx (subnumber xxx). You cannot make
a difference posting in the period you have chosen, either because the
asset has already reached the end of its useful life or you have changed
the useful life in the asset master.+
Procedure
+The values that you are trying to post would lead to inconsistencies in
the system. It is possible that you may have recently changed the
Customizing data or asset master data. However, if you still wish to
proceed with the posting, reverse the accounting documents for the period
in question and execute the Asset Revaluation program again.+
The problem is that I've not made changes in the Customizing or in the
asset master data.
I've been looking a SAP Note but I didn't find anything. Somebody of you can give me a hand?
Greetings MarcoDear Marco,
Please check few things as under:
1. Normally the document which get posted appears in Asset Exploer AW01N.
2. Transaction J1AI has a optioon to post directly or through batch input, in case of batch input it creates a batch input session which one has to execute in transaction SM35. If you no one has executed SM35 session would essentially mean, no entry got posted.
3. If someone has posted directly without batch input then you can check the postings througn table ANEK by inputing Company Code and user who has posted it.
4. Also similarly you can check BKPF table for FI postings.
5. You can also check SM35 about the sessions as it is available even after the transaction got posted thourgh sessions execution.
Not withstanding the above, it appears that no documnets have been posted yet otherwise it would have appear in the asset.
If the above does not resolve your issue then perheps one need system access to check the possibility, advise you to raise with SAP through OSS message.
Thanks!!!
Murlidhar Khatri -
I'm trying to send apps to the ipad.
To use VPP it says the user need to except the inventation.
WHen they try to, they get this error "This invitation to receive assigned content has already been accepted by another apple id"I had this same issue as well.
I ended up calling Apple Support about the issue. After being on the phone for an hour and trying every thing to fix it, we determined that a certificate was messed up and the server had to be set up from scratch again. I had to reinstall the OS on the Mac Mini Server then reinstall the server app. After setting things back up again everything for user VPP enrollment and pushing apps works now.
My server was still in the testing stage so it wasn't a big deal for me to do.
Did you try removing the user from the program under the user account's About tab in profile manager? Or does the user not show that they're actually enrolled? (Mine wasn't showing they were enrolled but gave that error message you stated)
There is a way to remove Profile Manager content from the server using a Terminal command, i'd try to do that before completely re-doing the server. -
According to
MSDN SqlTransaction.Rollback() method must throw InvalidOperationException in case the transaction has already been committed or rolled back.
However, in my tests I don't get any exceptions. Here is the code:
CREATE PROCEDURE dbo.USP_TEST_TX_PROC
AS
BEGIN
SELECT 1/0;
ROLLBACK TRANSACTION;
END
GO
using(SqlConnection con = new SqlConnection(@"Data Source=XXX;Initial Catalog=TestDB;Integrated Security=True"))
con.Open();
SqlTransaction tr = con.BeginTransaction();
SqlCommand cmd = new SqlCommand("dbo.USP_TEST_TX_PROC", con, tr) { CommandType = CommandType.StoredProcedure};
try
cmd.ExecuteNonQuery();
tr.Commit();
catch (Exception ex)
try
tr.Rollback();
catch (Exception ex2)
Console.WriteLine(" Message: {0}", ex2.Message);
What am I doing wrong?
Thank you.
AlexeyHello Alexey,
I created a client side demo which could throw the InvalidOperationException:
using (SqlConnection connection = new SqlConnection(@"Server=(localdb)\Projects;Database=DFDB;Trusted_Connection=True;"))
connection.Open();
SqlCommand command = connection.CreateCommand();
SqlTransaction transaction;
transaction = connection.BeginTransaction("SampleTransaction");
command.Connection = connection;
command.Transaction = transaction;
try
command.CommandText = "ProInsertIntoOrder 1,'1'";
command.ExecuteNonQuery();
transaction.Rollback();
throw new Exception();
catch (Exception ex)
// Attempt to roll back the transaction.
try
transaction.Rollback();
catch (InvalidOperationException ex2)
Console.WriteLine("Rollback Exception Type: {0}", ex2.GetType());
Console.WriteLine(" Message: {0}", ex2.Message);
You could have a try. However, it is not clear why it could detect the ROLLBACK statement on the server side, I suggest that you could post this feedback to:
https://connect.microsoft.com/VisualStudio/feedback/LoadSubmitFeedbackForm
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
FRM-40600: Record has already been inserted.
I am using Form 9i.
I have written a procedure to save master-detail form which is called when WHEN-BUTTTON-PRESSED trigger written in submit button..
I have written this procedure because I am confident in writing procedure for save button. But it gives error - 'FRM-40600: Record has already been inserted.'.
When I was using default (form) for saving record, I was getting lot of message (error). I was getting confused seeing this message. That's why I have written save button procedure. I don't know whether I am doing wrong or right.
Before posting, I searched in forum also and found some post regarding this, but still I am unable to find the solution.
Anyway, I am giving you code for save procedure -
PROCEDURE save_workorder IS
v_count NUMBER;
BEGIN
SELECT COUNT(*) INTO v_count FROM workorder_master
WHERE workorder_no = :workorder_master.workorder_no;
IF v_count = 0 THEN
GO_BLOCK('workorder_master');
INSERT INTO workorder_master (
vender_code,
workorder_no,
auth_rep,
workplace,
work_desc,
from_dt,
to_dt,
tot_manpower,
gp_manpower,
lic_no,
lic_recpt_no,
lic_valid_upto,
eic_name,
status,
remarks,
entry_by,
entry_dt)
VALUES(
:workorder_master.vender_code,
:workorder_master.workorder_no,
:workorder_master.auth_rep,
:workorder_master.workplace,
:workorder_master.work_desc,
:workorder_master.from_dt,
:workorder_master.to_dt,
:workorder_master.tot_manpower,
:workorder_master.gp_manpower,
:workorder_master.lic_no,
:workorder_master.lic_recpt_no,
:workorder_master.lic_valid_upto,
:workorder_master.eic_name,
:workorder_master.status,
:workorder_master.remarks,
:workorder_master.entry_by,
:workorder_master.entry_dt);
GO_BLOCK('workorder_dtls');
FIRST_RECORD;
LOOP
EXIT WHEN :workorder_dtls.labour_code IS NULL;
IF :workorder_dtls.pass_no IS NULL THEN
generate_pass_no;
IF :workorder_dtls.pass_no IS NOT NULL THEN
:workorder_dtls.status := 'I';
INSERT INTO workorder_dtls (
labour_code,
workorder_no,
pass_no,
status,
from_dt,
to_dt,
cancil_dt,
issue_dt,
return_dt,
entry_by,
entry_dt)
VALUES (:workorder_dtls.labour_code,
:workorder_dtls.workorder_no,
:workorder_dtls.pass_no,
:workorder_dtls.status,
:workorder_dtls.from_dt,
:workorder_dtls.to_dt,
:workorder_dtls.cancil_dt,
:workorder_dtls.issue_dt,
:workorder_dtls.return_dt,
:workorder_master.entry_by,
:workorder_master.entry_dt);
END IF;
ELSE --if pass no is not null then it is previous record.
UPDATE workorder_dtls SET status = :workorder_dtls.status,
cancil_dt = :workorder_dtls.cancil_dt,
return_dt = :workorder_dtls.return_dt,
entry_by = :workorder_dtls.entry_by,
entry_dt = :workorder_dtls.entry_dt
WHERE labour_code = :workorder_dtls.labour_code
AND workorder_no = :workorder_dtls.workorder_no
AND pass_no = :workorder_dtls.pass_no;
END IF;
IF :workorder_dtls.status = 'I' THEN
UPDATE labour_master SET status = 'I'
WHERE labour_code = :workorder_dtls.labour_code;
END IF;
IF :workorder_dtls.status = 'E' THEN
IF :workorder_dtls.return_dt IS NOT NULL THEN
UPDATE labour_master SET status = 'A'
WHERE labour_code = :workorder_dtls.labour_code;
ELSE
UPDATE labour_master SET status = 'H'
WHERE labour_code = :workorder_dtls.labour_code;
END IF;
END IF;
IF :workorder_dtls.status = 'B' THEN
IF :workorder_dtls.return_dt IS NOT NULL THEN
UPDATE labour_master SET status = 'A'
WHERE labour_code = :workorder_dtls.labour_code;
ELSE
UPDATE labour_master SET status = 'S'
WHERE labour_code = :workorder_dtls.labour_code;
END IF;
END IF;
NEXT_RECORD;
END LOOP;
ELSE --if workorder exist
GO_BLOCK('workorder_master');
UPDATE workorder_master SET auth_rep = :workorder_master.auth_rep,
workplace = :workorder_master.workplace,
work_desc = :workorder_master.work_desc,
from_dt = :workorder_master.from_dt,
to_dt = :workorder_master.to_dt,
tot_manpower = :workorder_master.tot_manpower,
gp_manpower = :workorder_master.gp_manpower,
lic_no = :workorder_master.lic_no,
lic_recpt_no = :workorder_master.lic_recpt_no,
lic_valid_upto= :workorder_master.lic_valid_upto,
eic_name = :workorder_master.eic_name,
status = :workorder_master.status,
remarks = :workorder_master.remarks,
entry_by = :workorder_master.entry_by,
entry_dt = :workorder_master.entry_dt
WHERE vender_code = :workorder_master.vender_code
AND workorder_no = :workorder_master.workorder_no;
GO_BLOCK('workorder_dtls');
FIRST_RECORD;
LOOP
EXIT WHEN :workorder_dtls.labour_code IS NULL;
IF :workorder_dtls.pass_no IS NULL THEN
generate_pass_no;
IF :workorder_dtls.pass_no IS NOT NULL THEN
:workorder_dtls.status := 'I';
INSERT INTO workorder_dtls (
labour_code,
workorder_no,
pass_no,
status,
from_dt,
to_dt,
cancil_dt,
issue_dt,
return_dt,
entry_by,
entry_dt)
VALUES (:workorder_dtls.labour_code,
:workorder_dtls.workorder_no,
:workorder_dtls.pass_no,
:workorder_dtls.status,
:workorder_dtls.from_dt,
:workorder_dtls.to_dt,
:workorder_dtls.cancil_dt,
:workorder_dtls.issue_dt,
:workorder_dtls.return_dt,
:workorder_master.entry_by,
:workorder_master.entry_dt);
END IF;
ELSE --if pass no is not null then it is previous record.
UPDATE workorder_dtls SET status = :workorder_dtls.status,
cancil_dt = :workorder_dtls.cancil_dt,
return_dt = :workorder_dtls.return_dt,
entry_by = :workorder_dtls.entry_by,
entry_dt = :workorder_dtls.entry_dt
WHERE labour_code = :workorder_dtls.labour_code
AND workorder_no = :workorder_dtls.workorder_no
AND pass_no = :workorder_dtls.pass_no;
END IF;
IF :workorder_dtls.status = 'I' THEN
UPDATE labour_master SET status = 'I'
WHERE labour_code = :workorder_dtls.labour_code;
END IF;
IF :workorder_dtls.status = 'E' THEN
IF :workorder_dtls.return_dt IS NOT NULL THEN
UPDATE labour_master SET status = 'A'
WHERE labour_code = :workorder_dtls.labour_code;
ELSE
UPDATE labour_master SET status = 'H'
WHERE labour_code = :workorder_dtls.labour_code;
END IF;
END IF;
IF :workorder_dtls.status = 'B' THEN
IF :workorder_dtls.return_dt IS NOT NULL THEN
UPDATE labour_master SET status = 'A'
WHERE labour_code = :workorder_dtls.labour_code;
ELSE
UPDATE labour_master SET status = 'S'
WHERE labour_code = :workorder_dtls.labour_code;
END IF;
END IF;
NEXT_RECORD;
END LOOP;
END IF;
COMMIT;
END;
Thanks and regards,
VikasYes Sir, why not.
This procedure is written in KEY-NEXT-ITEM of workorder_no, the only trigger in workorder_no. Block level-trigger is also there. like ON-POPULATE-DETAILS, ON-CHECK-DELETE-MASTER.
Thanks and regards,
Vikas
[HTML]
DECLARE
V_VENDER_CODE NUMBER;
REL_ID RELATION;
BEGIN
BEGIN
SELECT VENDER_CODE INTO V_VENDER_CODE FROM WORKORDER_MASTER WHERE WORKORDER_NO = :WORKORDER_MASTER.WORKORDER_NO ;
:BLK_TEMP_WORKORDER.WORKORDER_NO := :WORKORDER_MASTER.WORKORDER_NO;
:BLK_TEMP_WORKORDER.VENDER_CODE := V_VENDER_CODE;
IF ( (:WORKORDER_MASTER.WORKORDER_NO is not null) ) THEN
rel_id := Find_Relation('WORKORDER_MASTER.WORKORDER_MASTE_WORKORDER_DTLS');
Query_Master_Details(rel_id, 'WORKORDER_DTLS');
SET_ITEM_PROPERTY('BLK_TEMP_WORKORDER.CB_ALL' , ENABLED , PROPERTY_TRUE);
END IF;
GO_BLOCK('WORKORDER_MASTER');
EXECUTE_QUERY(NO_VALIDATE);
GO_BLOCK('WORKORDER_MASTER_IMG');
EXECUTE_QUERY(NO_VALIDATE);
:WORKORDER_MASTER.VENDER_CODE := :BLK_TEMP_WORKORDER.VENDER_CODE;
:WORKORDER_MASTER.WORKORDER_NO := :BLK_TEMP_WORKORDER.WORKORDER_NO ;
GO_ITEM('WORKORDER_MASTER.AUTH_REP');
EXCEPTION
WHEN NO_DATA_FOUND THEN
MESSAGE('NO VENDER HAVING WORKORDER NO. '||:WORKORDER_MASTER.WORKORDER_NO ||' EXIST.');
IF :WORKORDER_MASTER.VENDER_CODE IS NULL THEN
GO_ITEM('WORKORDER_MASTER.VENDER_CODE');
ELSE
:BLK_TEMP_WORKORDER.WORKORDER_NO := :WORKORDER_MASTER.WORKORDER_NO;
:BLK_TEMP_WORKORDER.VENDER_CODE := :WORKORDER_MASTER.VENDER_CODE;
GO_BLOCK('WORKORDER_MASTER');
EXECUTE_QUERY(NO_VALIDATE);
GO_BLOCK('WORKORDER_MASTER_IMG');
EXECUTE_QUERY(NO_VALIDATE);
:WORKORDER_MASTER.VENDER_CODE := :BLK_TEMP_WORKORDER.VENDER_CODE;
:WORKORDER_MASTER.WORKORDER_NO := :BLK_TEMP_WORKORDER.WORKORDER_NO ;
SELECT name INTO :workorder_master.auth_rep FROM contractor_master
WHERE vender_code = :workorder_master.vender_code;
GO_ITEM('WORKORDER_MASTER.AUTH_REP');
END IF;
END;
END;[HTML] -
"A family member has already bought this item" error?
When I try to purchase the Minecraft- Pocket Edition app, I get the following message:
""A family member has already bought this item.
a family member has already purchased this item. To download it again for free, select OK."
(I press ok, then the error pops up)
"Could not purchase 'Minecraft- Pocket Edition'.
The iTunes Store is temporarily unavailable. Please try again later."
my devices can launch and go through iTunes without issue, so I know they are connected to iTunes, it just won't allow me to download this app. This issue is present across my iPad, iPhone, and MacBook Pro, which are all running the latest operating system they can.You just purchase the app. Are you running into some sort of issue when trying to purchase it?
Cheers,
GB
Maybe you are looking for
-
Using odiRef in ODI package to get current user name for Subject in OdiSendmail Step
Hi, I am trying to do something simple and include the user name in a subject line of an OdiSendMail Step. In the Expression editor for the Subject I use the following but to no avail. Push Data to HFM Started by <%=odiRef.getUser( String )%> What a
-
How to register varray datatype input parameter in concurrent program
Hi All, I had a code contains varray datatype input parameter... Now i need to register this in concurret program screen.. which datatype i need to select?... i can able to see only number and character data type in value set. Thanks
-
CacheDiagnosticsService fills the Windows drive in minutes
I am running a Cloud Service that contains 4 web roles + 1 worker role. I am using in role caching across the 4 web roles. The worker role then populates the cache in the background. I am watching the Windows (D:) disk go from having 15GB free on a f
-
How to find the senior manager
hi gurus , i am involved in the extension of the standard workflow of leave approval , i want to extend the approval level. in std the is one approval level which identifies the manger of the employee who requested for leave . my work is to extend t
-
How do I completely uninstall ClamAV from my system?
Hello folks, How do I completely uninstall ClamAV from my system? I trashed the application, but once in a while, the system console pops up with the "ClamAV update process" trying to update ClamAV. How do I safely completely get rid of ClamAV from m