Advantage of PERIOD FOR clause in 12c
Hello,
I'm trying to understand the new PERIOD FOR clause in 12c. After reading several examples and documentation however I'm still not sure about its advantage. What can PERIOD FOR do that I cannot achieve with using a WHERE clause on normal start and end time columns?
Thanks!
I'm trying to understand the new PERIOD FOR clause in 12c. After reading several examples and documentation however I'm still not sure about its advantage. What can PERIOD FOR do that I cannot achieve with using a WHERE clause on normal start and end time columns?
It can do a whole lot more than what you can achieve yourself. If it couldn't Oracle wouldn't have invested so much time and money in it. (I'm pretty sure they knew the WHERE clause solution was already available )
What 'several examples and documentation' are you talking about? Post links to EXACTLY what you read.
The Oracle documentation discusses the topic pretty thoroughly.
Did you read ALL of Chapter 5, Managing and Maintaining Time-Based Information, in the VLDB and Partitioning Guide?
http://docs.oracle.com/cd/E16655_01/server.121/e17613/part_lifecycle.htm
That chapter is extensive and has some examples of using ILM and even Heat Map and ADO to implement ILM.
Did you read the 'Temporal Validity Support' section in the Database Development guide?
http://docs.oracle.com/cd/E16655_01/appdev.121/e17620/adfns_design.htm#CACHEBFC
Temporal Validity Support lets you associate one or more valid time dimensions with a table and have data be visible depending on its time-based validity, as determined by the start and end dates or time stamps of the period for which a given record is considered valid. Examples of time-based validity are the hire and termination dates of an employee in a Human Resources application, the effective date of coverage for an insurance policy, and the effective date of a change of address for a customer or client.
Temporal Validity Support is typically used with Oracle Flashback Technology (described in Chapter 16), for queries that specify the valid time period in AS OF and VERSIONS BETWEEN clauses. You can also use the DBMS_FLASHBACK_ARCHIVE.ENABLE_AT_VALID_TIME procedure (described in Oracle Database PL/SQL Packages and Types Reference) to specify an option for the visibility of table data: all table data (the default), data valid at a specified time, or currently valid data within the valid time period at the session level.
Temporal Validity Support is useful in Information Lifecycle Management (ILM) and any other application where it is important to know when certain data becomes valid (from the application's perspective) and when it becomes invalid (if ever).
Similar Messages
-
Checking for X continuous periods for a certain item
Hi,
simplified, I have a table like this:
ROWNUM VEHICULE_ID FROM(DD/MM/YYYY) TILL(DD/MM/YYYY)
==============================================
1 1 10/09/2009 02/02/2010
2 2 01/01/2010 31/12/2010
3 1 01/01/2010 31/12/2010
4 3 01/10/2009 31/03/2010
5 1 01/08/2009 01/03/2010
6 1 01/02/2010 01/09/2010
7 1 01/03/2010 30/06/2010
Now, I have to determine all the vehicules that have at least 3 continuous periods between 01/01/2010 and 30/06/2010.
When I apply this question to the above data, then it should return vehicule_id 1.
The 3 continuous periods for vehicule_id 1 are:
A)
rownum 3: 01/01/2010 - 31/12/2010 ==> 01/01/2010 - 30/06/2010: OK
B)
rownum 5: 01/08/2009 - 01/03/2010 ==> 01/01/2010 - 01/03/2010: OK
+ rownum 6: 01/02/2010 - 01/09/2010 ==> 02/03/2010 - 30/06/2010: OK
C)
rownum 1: 10/09/2009 - 02/02/2010 ==> 01/01/2010 - 02/02/2010
+ rownum 7: 01/03/2010 - 30/06/2010 ==> 01/03/2010 - 30/06/2010: OK
+ rownum 6: 01/02/2010 - 01/09/2010 ==> 03/02/2010 - 28/02/2010: OK ==> This period was not yet used in the periods for B), so we could still use it here.
The best solution I can find for this is to create a cursor and check if for every date between 01/01/2010 and 30/06/2010 at least 3 diffent periods are valid, but this not very fast and generic if the period should change.
Does anybody have an idea how you could get this information via sql or pl/sql?
Thanks in advance for any help about this,
GeertHi, Geert,
You can use analytic functions to find how many registrations were active at any point in time.
In the query below, s_cnt is the number of registrations active at the beginning of the period of interest (this is the same for every row with the same vehicule_id), and e_cnt is the number of other registrations remaining active at the time each registration ends. (If the number of concurrent registrations ever falls below 3, it will do so at a time when some registration ends, so it is only necessary to test those points.) The vehicule_ids you want are those where e_cnt is at least 3, and e_cnt is never less than 3 during the period of interest.
VARIABLE period_sdat VARCHAR2 (10)
VARIABLE period_edat VARCHAR2 (10)
VARIABLE min_cnt NUMBER
EXEC :period_sdat := '01/01/2010';
EXEC :period_edat := '30/06/2010';
EXEC :min_cnt := 3;
WITH got_cnt AS
SELECT t.*
, COUNT ( CASE
WHEN sdat <= TO_DATE (:period_sdat, 'DD/MM/YYYY')
THEN 1
END
) OVER ( PARTITION BY vehicule_id) AS s_cnt
, COUNT (1) OVER ( PARTITION BY vehicule_id
ORDER BY sdat
RANGE BETWEEN UNBOUNDED PRECEDING
AND edat - sdat FOLLOWING
- COUNT (1) OVER ( PARTITION BY vehicule_id
ORDER BY edat
) AS e_cnt
FROM t
WHERE sdat <= TO_DATE (:period_edat, 'DD/MM/YYYY')
AND edat >= TO_DATE (:period_sdat, 'DD/MM/YYYY')
SELECT vehicule_id
FROM got_cnt
WHERE s_cnt >= :min_cnt
GROUP BY vehicule_id
HAVING SUM ( CASE
WHEN e_cnt < :min_cnt
AND edat < TO_DATE (:period_edat, 'DD/MM/YYYY')
THEN 1
ELSE 0
END
) = 0
;The tricky part here is computing e_cnt. This is the number of prior registrations begun, minus the number of prior registrations ended. The number of prior registrations ended is a straightforward analytic function, but the number of prior registrations begun requires a windowing clause, because "prior" here means "prior to edat", not sdat, which is used for the ORDER BY.
Edited by: Frank Kulash on Apr 2, 2010 11:22 AM -
Benefits vs Disadvantages of using DNS for Oracle RAC (12c or 11g)
For nearly all of my Oracle RAC Builds, I've used /etc/hosts and not DNS. As such I've not been able to take full advantage of GNS and SCANS.
Please note some of your experiences associated with the benefits of using DNS configuration for your Oracle 12c RAC Builds. I'm building my 12c RAC now and I'm starting to configure DNS so that I can provide my customers with better value/add of High Availability. I've used /etc/hosts in the past and one of my arguments in using /etc/hosts can be more secure because you only put in the /etc/hosts what you want the node to know. I also beleave that using /etc/hosts is a lot more simple and perhaps that could be a potential vulnerability. I've decided to start using DNS and to learn how to make it secure.
Your experiences are appreciated. Thanks in Advance!I see no disadvantages using DNS.
What happens with your clients if your DNS goes down? It stop working?
What is the cost to manage the host files from all host desktop and servers?
I see no reason to not use DNS.
> For nearly all of my Oracle RAC Builds, I've used /etc/hosts and not DNS. As such I've not been able to take full advantage of GNS and SCANS.
Wrong... Full advantage of Clusterware, because is not supported use GNS or SCAN without a DNS. -
I'm in the trial period for Creative Cloud - I have about 19 days to go on Photoshop CC on my iMac. Can I use the same CC trial on a second machine? Specifically on a Windows 7 machine?
Nothing personal to you or Rajshee, but this is exactly why I absolutely despise these "community forums" (not just Adobe but any company). I called the Tech Support phone line today after digging and digging for a phone number, and they told me the exact opposite, and they did it a lot faster than it was possible to get a forum response. (That's really not personal, because you can't control that, but it's a fact.)
Their answer: As long as I'm signed in with the same ID, I can try, say, Photoshop CC on my iMac at home and also try Acrobat Pro CC on my Windows 7 machine at work. Same account, same login, one trial.
This makes complete sense to me as I'm financially on the hook (potentially) for the same package. If I give away my login to someone else, which I wouldn't do, I'm still on the hook. This is why the cloud approach to software is such genius and I applaud it.
BTW, 99% of the "community forum" wrong answers come on Microsoft sites, so don't feel bad. -
Fixed Asset calculates extra period for Depreciation
Hi All,
I have imported the Fixed Asset for 2007B for the Year 2010. while checking the import, i notice that the system calculates an additional period for depreciation.
Here is my scenario :
a. Asset Cost = 15,863.12 (purchased on 31-May-2007).
b. Useful Life = 36
c. Remaining Life = 4
The above are displayed according to import file.
At the Depreciation Tab, there are 5 rows of planned depreciation calculated. Period 01 to Period 05.
How can the system calculates 5 periods when there is only 4 remaining periods for the asset?
This happens to all the assets being imported.
Please advise.
JessieFurther information.
The Net Book value = 1762.94
with Accumulated Depreciation = 14100.18.
So the remaining 4 periods should be calculated as = 440.735 (per month for 4 months).
but it is displayed as 352.59 per month for 5 months.
The Fixed Asset is setup as Monthly Basis.
Using Straight Line Mehtod = Net Book Value / remaining life. -
E613 SYST: You cannot determine the period for rule 03
Dear All,
We are configuring asset module and using MSTL dep key for Tax books. When we tried to create an asset with MSTL dep key, we encountered error - 'E613 SYST: You cannot determine the period for rule 03'. when verified config OAVH Define Calender Assignments transaction, Period control '03' is missing for fiscal year variant K4. Period control is exisiting in Maintain Period Control and but not in Define Calender Assignment. What I understand these period controls are being delivered by SAP. Not sure why period control '03' is missing. all other period control keys are available.
question is how to add period control 03 so that we can use MSTL dep key. we are currently using 4.7c. Any suggestions would be appreciated.
thanks
Sunilmessage went abruptly before I finish.
+++++++++
continuing from previous email
Period control 01 has following entry in the transaction
Fiscal Year Variant Per control Name of the period control Year Month Day Period Mid Month
K4 01 Pro rata at period start date blank 0 0 blank not selected
If I follow SAP help to define period control '03', then I just need to copy period control '01' which is listed above and select 'Mid Month' check box.
Wondering anyone did this in the past. MSTL depreciation key is being used in MACRS tax for US. I am sure people who have implemented assets module for US with tax dep, they might have encountered this issue.
thanks
Sunil -
After sucessfulling installing the SharePoint Foundation 2013, when i try to access the Secure Stored Service Application i get the below error
11/16/2012 18:13:02.84 w3wp.exe (0x1774) 0x15E8 Secure Store Service
Secure Store g0n6 High The trial period for this product has expired or this feature is not supported in this SKU. b3b6e19b-7de2-e016-ad32-0fc975829ef0
11/16/2012 18:13:02.84 w3wp.exe (0x1774) 0x15E8 SharePoint Foundation
General 8nca Medium Application error when access /_admin/sssvc/ManageSSSvcApplication.aspx, Error=The
trial period for this product has expired or Secure Store Shared Service is not supported for this SKU. at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.Execute[T](String operationName, Boolean validateCanary, ExecuteDelegate`1
operation) at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.IsMasterSecretKeyPopulated() at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.SSSAdminHelper.EnsurePrerequisite(SecureStoreServiceApplicationProxy
proxy, String& errorMessage) at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.ManageSSSvcApplication.InitializeGridView() at Microsoft.Office.SharePoi... b3b6e19b-7de2-e016-ad32-0fc975829ef0
11/16/2012 18:13:02.84* w3wp.exe (0x1774) 0x15E8 SharePoint Foundation
General 8nca Medium ...nt.ClientExtensions.SecureStoreAdministration.ManageSSSvcApplication.OnLoad(EventArgs
e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) b3b6e19b-7de2-e016-ad32-0fc975829ef0
11/16/2012 18:13:02.84 w3wp.exe (0x1774) 0x15E8 SharePoint Foundation
Runtime tkau Unexpected Microsoft.Office.Server.ProductExpiredException: The trial period for this product
has expired or Secure Store Shared Service is not supported for this SKU. at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.Execute[T](String operationName, Boolean validateCanary, ExecuteDelegate`1 operation)
at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.IsMasterSecretKeyPopulated() at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.SSSAdminHelper.EnsurePrerequisite(SecureStoreServiceApplicationProxy
proxy, String& errorMessage) at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.ManageSSSvcApplication.InitializeGridView() at Microsoft.Office.SharePoint.ClientExtensions.SecureSto... b3b6e19b-7de2-e016-ad32-0fc975829ef0
11/16/2012 18:13:02.84* w3wp.exe (0x1774) 0x15E8 SharePoint Foundation
Runtime tkau Unexpected ...reAdministration.ManageSSSvcApplication.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) b3b6e19b-7de2-e016-ad32-0fc975829ef0
11/16/2012 18:13:02.84 w3wp.exe (0x1774) 0x15E8 SharePoint Foundation
General ajlz0 High Getting Error Message for Exception System.Web.HttpUnhandledException
(0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Office.Server.ProductExpiredException: The trial period for this product has expired or Secure Store Shared Service is not supported for this SKU.
at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.Execute[T](String operationName, Boolean validateCanary, ExecuteDelegate`1 operation) at Microsoft.Office.SecureStoreService.Server.SecureStoreServiceApplicationProxy.IsMasterSecretKeyPopulated()
at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.SSSAdminHelper.EnsurePrerequisite(SecureStoreServiceApplicationProxy proxy, String& errorMessage) at Microsoft.Office.Sha... b3b6e19b-7de2-e016-ad32-0fc975829ef0
11/16/2012 18:13:02.84* w3wp.exe (0x1774) 0x15E8 SharePoint Foundation
General ajlz0 High ...rePoint.ClientExtensions.SecureStoreAdministration.ManageSSSvcApplication.InitializeGridView()
at Microsoft.Office.SharePoint.ClientExtensions.SecureStoreAdministration.ManageSSSvcApplication.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.Htt... b3b6e19b-7de2-e016-ad32-0fc975829ef0
11/16/2012 18:13:02.84* w3wp.exe (0x1774) 0x15E8 SharePoint Foundation
General ajlz0 High ...pApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) b3b6e19b-7de2-e016-ad32-0fc975829ef0
11/16/2012 18:13:02.86 w3wp.exe (0x1774) 0x15E8 SharePoint Foundation
General aat87 Monitorable b3b6e19b-7de2-e016-ad32-0fc975829ef0
Is it a bug or any issue in configuration?
Raghavendra Shanbhag | Blog: http://moss-solutions.blogspot.com
Please click "Propose As Answer " if a post solves your problem or "Vote As Helpful" if a post has been useful to you.
Disclaimer: This posting is provided "AS IS" with no warranties.Hello
something should be related wuith this service, take a llok at my visual studio output whne I try to deplay and autohosted sharepoint app: (anyone can help)
1>------ Build started: Project: MySharePointAppWeb, Configuration: Debug Any CPU ------
1> MySharePointAppWeb -> C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\bin\MySharePointAppWeb.dll
2>------ Build started: Project: MySharePointApp, Configuration: Debug Any CPU ------
2>C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\Web.Debug.config(34,4): warning : No element in the source document matches '/configuration/connectionStrings'
2> Transformed Web.config using C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\Web.Debug.config into obj\Debug\TransformWebConfig\transformed\Web.config.
2> Auto ConnectionString Transformed obj\Debug\TransformWebConfig\transformed\Web.config into obj\Debug\CSAutoParameterize\transformed\Web.config.
2> Copying all files to temporary location below for package/publish:
2> obj\Debug\Package\PackageTmp.
2> Packaging into C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointApp\obj\WebDeploy\MySharePointApp.Web.zip.
2> Adding sitemanifest (sitemanifest).
2> Adding IIS Application (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp)
2> Creating application (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp)
2> Adding virtual path (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp)
2> Adding directory (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp).
2> Adding directory (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin).
2> Adding directory (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\en).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\en\Microsoft.IdentityModel.resources.dll).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\Microsoft.IdentityModel.dll).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\Microsoft.IdentityModel.Extensions.dll).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\Microsoft.SharePoint.Client.dll).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\Microsoft.SharePoint.Client.Runtime.dll).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\MySharePointAppWeb.dll).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\bin\MySharePointAppWeb.pdb).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\packages.config).
2> Adding directory (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Pages).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Pages\Default.aspx).
2> Adding directory (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Scripts).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Scripts\jquery-1.7.1.js).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Scripts\jquery-1.7.1.min.js).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Scripts\_references.js).
2> Adding file (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp\Web.config).
2> Adding ACL's for path (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp)
2> Adding ACL's for path (C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointAppWeb\obj\Debug\Package\PackageTmp)
2> Adding declared parameter 'IIS Web Application Name'.
2> Package "MySharePointApp.Web.zip" is successfully created as single file at the following location:
2> file:///C:/_works/visual%20studio%202012/Projects/MySharePointApp/MySharePointApp/obj/WebDeploy
2> To get the instructions on how to deploy the web package please visit the following link:
2> http://go.microsoft.com/fwlink/?LinkId=124618
2> Sample script for deploying this package is generated at the following location:
2> C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointApp\obj\WebDeploy\MySharePointApp.Web.deploy.cmd
2> For this sample script, you can change the deploy parameters by changing the following file:
2> C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointApp\obj\WebDeploy\MySharePointApp.Web.SetParameters.xml
2> Successfully created package at: C:\_works\visual studio 2012\Projects\MySharePointApp\MySharePointApp\bin\Debug\app.publish\1.0.0.0\MySharePointApp.app
3>------ Deploy started: Project: MySharePointApp, Configuration: Debug Any CPU ------
3>Active Deployment Configuration: Deploy App for SharePoint
3>Uninstall app for SharePoint:
3> Skipping the uninstall step because the app for SharePoint is not installed on the server.
3>Install app for SharePoint:
3> Uploading the app for SharePoint...
3> Creating a trusted root authority in SharePoint for IIS Express.
3> Installation is in progress (00:00:00)
3> Installation is in progress (00:00:01)
3> Installation is in progress (00:00:02)
3> Installation is in progress (00:00:03)
3> Installation is in progress (00:00:05)
3> Installation is in progress (00:00:06)
3> App failed to install, cleaning up...
3> App installation cleanup failed due to errors. Please see the app on the SharePoint site’s “Site Contents” page for details.
3> App installation encountered the following errors:
3>
3> @"Error 1
3> CorrelationId: ceeeafab-3834-40ea-b360-c29d103e2248
3> ErrorDetail: The remote hosting service is not configured.
3> ErrorType: Configuration
3> ErrorTypeName: Configuration
3> ExceptionMessage: The trial period for this product has expired or Secure Store Shared Service is not supported for this SKU.
3> Source: RemoteWebSite
3> SourceName: Remote Web Site Deployment
3>
3> @"Error 2
3> CorrelationId: ceeeafab-3834-40ea-b360-c29d103e2248
3> ErrorDetail: The remote hosting service is not configured.
3> ErrorType: Configuration
3> ErrorTypeName: Configuration
3> ExceptionMessage: The trial period for this product has expired or Secure Store Shared Service is not supported for this SKU.
3> Source: RemoteWebSite
3> SourceName: Remote Web Site Deployment
3>Error occurred in deployment step 'Install app for SharePoint': Failed to install app for SharePoint. Please see the output window for details.
========== Build: 2 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ========== -
Can we open and close Posting period for HR module
Dear All ,
Can someone please tell me is there any option available to open and close Posting period for HR Module.We have In Finance and MM.
Cheers
Balaji Dhanavelcheck
the report RPCIPE00 useing SE38
can u be some wht clear of ur query once -
How to open and close posting period for both material , n invoicing
HI
how to open and close posting period for both material , n invoicing , AM NEW TO SD , SO ALL DOUBTS I DO POST IN HERE PLEASE DONT MINDHi Sunaina
Period Open T.code: MMP1
Period Close T-Code: MMPV
Automate the opening of MM periods
How can you automate the monthly opening of MM periods (transaction MMPV - program RMMMPERI) with
SM36?
RMMMPERI accepts a period/year or a date.
If you enter a date the period is derived by it.
1. create a variant and check the attribute 'selection variable' for the parameter date. Then click the button 'Selection variables' and set the current date. Every time this variant is used the parameter DATE is filled with the current date.
2. create a job for RMMMPERI with the variant created in the preceding step. Set it as periodic.
If you're not using a fiscal year variant simply schedule it as monthly (to be executed the first day of the month).
If you are using a fiscal year variant you'd have to define a calendar with only the first day of each period defined as working
day and use it in the periodicity restrictions.
Another possibility:
Write a very simple ABAP which run daily to check if the period has changed and submit RMMMPERI.
Reward if useful to u -
Setting period for MM record (about invalid period)
Hi,Experts!
I create a new company code "Y001" and try to assign MM periods to the company code.
When I try to customize MM period using t-cds,MMPI and OMSY, but I take the error "You have entered an invalid period for company code Y001" in both of them.
Now I set :
・Fiscal year variant(t-cd:OB29/OB37): V3
・Variant for open posting periods: Y001
・Open and close posting periods: Y001 + 02 2009 12 9999 2 2009 12 9999 ADMIN
I try to set:
・Material Management view on company codes(OMSY or MMPI):2009 02
Do you have knowledge of the error? And What's an invalid period?
I am just starting to study ECC, so I have only poor knowledge about it.
Thanks.Hi,
First goto OBBP t.code and choose your company code and check what is the posting period variants, then goto OKKP t.code and choose your company code and click details button , where you can find fiscal year variant , if it is V3 means april - march.
Now check in OB52 t.code choose your posting period variant (which is in OBBP) check the period open, it must be 02-2009.
regards,
abi -
Posting Periods for End Period Closing.
Hello everybody,
I need your assistance about at Period End-Closing. I got a customer from Costa Rica; the point is his fiscal periods go from October to September and We have the problem the customer didnt prevent this topic and He added the periods from January to December. The question is: is there an financial option or what process We can follow to execute this topic on the best way possible?
Regards and thanks for your help,
DanielDear Daniel,
The issue if i presume correctly is that they are following the year as Jan to December and they want to do the closing for the october to September which are two posting periods (October- December of Previous Year) and (Jan to September current year).
This seems to be the incorrect entry of the Posting periods as they follow October to September Posting Period.
You can try the workaround as follows in the TEST COPY of the database :
Try to close two Posting Periods; for the October to December and Jan to September separately and check the figures. I believe you need to involve the company accountant to analyse and also check the various financial reports and the impact on the same.
It cannot be confirmed if the above may be helpful or not but you can try in the COPY to check.
Please test it and check in COPY of the database.
You can go through the above mentioned document for some more information on the Posting Periods.
Kind Regards,
Jitin
SAP Business One Forum Team -
How to get start date of the period for a given date from cube
I have a situation where i need to find the start day of the period for a given date. is there a way to know that. i want to use that in my report. i enter the date from my report(i have date parameter), depends on the date, i want to display the start day
of the period. how can i write expression for that in my report?
ramHi ramprasad74,
According to your description, you are using Analysis Services as a data source for the report, the cube has hierarchy: Fyear, FQuarter, FPeriod, fweek, Fdate. You want to add a date parameter to the report, after you changed value of the parameter, the
report will return the first day of FPeriod.
To achieve your goal, we need to add a parameter to the report, then use the parameter in mdx query. For detail information, please refer to the following steps:
In the Report Data pane, right-click on a dataset created from a SQL Server Analysis Services data source type, and then click Query. The MDX query designer opens in Design mode.
On the toolbar, click Design to toggle to Query mode.
On the MDX query designer toolbar, click Query Parameters symbol. The Query Parameters dialog box opens.
In the Parameter column, click <Enter Parameter>, and then type the name of a parameter.
In the Dimension column, choose a value from the drop-down list.
In the Hierarchy column, choose a value from the drop-down list.
In the Default column, from the drop-down list, select a single value.
Click OK.
In query designer dialog box, type the mdx query like below:
with member [Measures].[FirstChild]
as
[Date].[Fiscal].currentmember.parent.firstchild.name
select {[Measures].[FirstChild]} on 0,
[Date].[Fiscal].[Date].members on 1
from
( SELECT ( STRTOSET(@ParameterName, CONSTRAINED) ) on 0
from
[Cube]
Here are relevant threads you can reference:
https://social.msdn.microsoft.com/forums/sqlserver/en-US/c7146ac3-40ea-4d53-b321-c707aebbd405/how-to-pass-date-parameter-to-mdx-query
https://social.msdn.microsoft.com/forums/sqlserver/en-US/fd12a865-bc90-4a65-af42-ce38a8cfa29b/pass-date-time-parameter-to-mdx-query-ssrs
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
If you have any feedback on our support, please click
here. -
The grace period for the Remote Desktop Session Host server has expired
<p>I'm running Windows Server 2012, we only have 1 server and it's a DC. I'm trying to RD to the server from my Windows 7 laptop. It was working fine on Friday but when I came in on Monday I got message saying that 'The remote session was disconnnected
because there are no Remote Desktop License Servers available to provide a license'
So after a bit of digging I found out my 'grace period' had expired, so ordered a new license which I got today, installed this all ok but still i cannot connect via RD I get the same message....went into the RD License Diagnoser and it said the problem
was as follows
'The grace period for the Remote Desktop Session Host server has expired, but the RD Session Host server has not been configured with any license servers. Connections to the RD Session Host server will be denied unless a license server is configured for
the RD Session Host server.'
Suggested Resolution as follows
Configure a license server for the Remote Desktop Session Host server. If you have an existing license server, specify that license server for the RD Session Host Server. Otherwise, install RD Licensing on a computer on your network and Configure RD Session
Host Server to use it.'
I cannot figure out how to do this as I cannot find the RD Session Host Server tool.
Can any of you lovely people help me pleaseHello,
Best option would be to assign the license server by using AD GPO. Youl will need to configure the following:
Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Licensing
and define the settings for:
Use the specified Remote Desktop License Server
Set the Remote Desktop Licensing mode
Then assign the policy tho your server.
regards Robert Maijen -
Team,
Unable to start FE service on one of the FE server, 2 Enterprise lync 2013 pool one FE in each pool, only following error in event vrw,
Log Name: Lync Server
Source: LS Server
Date: 12/30/2013 12:10:55 PM
Event ID: 12290
Task Category: (1000)
Level: Error
Keywords: Classic
User: N/A
Computer: ACS465-BH102.me.ykgw.net
Description:
The evaluation period has expired.
The evaluation period for Microsoft Lync Server 2013 has expired. Please upgrade from the evaluation version to the fully licensed version of the product. Look at help for Setup.exe to learn how to upgrade from evaluation version to the licensed version.
Cause: The evaluation period for Microsoft Lync Server 2013 has expired.
Resolution:
Please upgrade from the evaluation version to the licensed version of the product. Look at help for Setup.exe to learn how to upgrade from evaluation version to the licensed version.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="LS Server" />
<EventID Qualifiers="50152">12290</EventID>
<Level>2</Level>
<Task>1000</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-12-30T09:10:55.000000000Z" />
<EventRecordID>73953</EventRecordID>
<Channel>Lync Server</Channel>
<Computer>ACS465-BH102.me.ykgw.net</Computer>
<Security />
</System>
<EventData>
</EventData>
</Event>
Log Name: System
Source: Schannel
Date: 12/30/2013 12:13:36 PM
Event ID: 36888
Task Category: None
Level: Error
Keywords:
User: SYSTEM
Computer: ACS465-BH102.me.ykgw.net
Description:
The following fatal alert was generated: 10. The internal error state is 1203.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Schannel" Guid="{1F678132-5938-4686-9FDC-C8FF68F15C85}" />
<EventID>36888</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2013-12-30T09:13:36.779033200Z" />
<EventRecordID>83985</EventRecordID>
<Correlation />
<Execution ProcessID="556" ThreadID="3668" />
<Channel>System</Channel>
<Computer>ACS465-BH102.me.ykgw.net</Computer>
<Security UserID="S-1-5-18" />
</System>
<EventData>
<Data Name="AlertDesc">10</Data>
<Data Name="ErrorState">1203</Data>
</EventData>
</Event>
Server is already on Full version, ran Reset-CsPoolRegistrarState
for fillrest as wel as serviceret
Followed below as well,
http://social.technet.microsoft.com/Forums/lync/en-US/2a7e27ce-2dea-4e37-91ea-1ed42e110198/issue-updating-from-eval-to-volume-licenses?forum=ocsplanningdeployment
Currently done failover to another pool and users can login,
however i cant get the front end service on this server.Any pointers would be appreciated.
Praveen | MCSE Messaging 2003rit, the command is not doing the trick since its already full version,
PS C:\Users\lyncadmin> Get-CsServerVersion
Microsoft Lync Server 2013 (5.0.8308.0): Volume license key installed.
only one server in one pool, total two pools.
Lync 2013 is on Win 2008 R2, and the event in system im inclining to since i have tried all,
Log Name: System
Source: Schannel
Date: 12/30/2013 9:26:34 AM
Event ID: 36888
Task Category: None
Level: Error
Keywords:
User: SYSTEM
Computer: ACS465-BH102.me.ykgw.net
Description:
The following fatal alert was generated: 10. The internal error state is 1203.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Schannel" Guid="{1F678132-5938-4686-9FDC-C8FF68F15C85}" />
<EventID>36888</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2013-12-30T06:26:34.877077500Z" />
<EventRecordID>64911</EventRecordID>
<Correlation />
<Execution ProcessID="556" ThreadID="620" />
<Channel>System</Channel>
<Computer>ACS465-BH102.me.ykgw.net</Computer>
<Security UserID="S-1-5-18" />
</System>
<EventData>
<Data Name="AlertDesc">10</Data>
<Data Name="ErrorState">1203</Data>
</EventData>
</Event>
Praveen | MCSE Messaging 2003 -
"Error determining planning periods for calendar " when running a program
Hi,
When i am running a program with date range say "01/05/2011" to "30/06/2011",the program is executing successfully without any error. When i am executing the same program with date range as a) "01/05/2009" to "30/06/2011" and b)"01/05/2008" to "30/06/2011" the program is failing with error as "Error determining planning periods for calendar". Can anyone suggest me what i should do to avoid the failure of the program with above date ranges also.
Thanks in advance,Dear,
Error message 61123:"Error determining planning periods for calendar &".The PPC planning calendar specified in the material master MRP 2 view for the material is incorrectly.
The planning calendar periods are insufficiently maintained for the planning calendar used.
Check the period of planning calendar in MD26 and generate the correct period.You can avoid the problem in several ways:
Maintain the planning calendar far enough in the future (at least until beyond the end of the planning horizon).
Also check any demand is lies beyond the validity period of planning calendar.
Reduction of the planning horizon of MRP also can control such issue, as MRP planning horizon lies in an area in which the planning calendar is no longer maintained
Regards,
R.Brahmankar
Maybe you are looking for
-
Stream photos in the same itunes library used to syinc.
It's possible or not ? Have sync photos in apple tv and want to see some stream photos in the same library
-
I have a Adobe CC Photography plan and I would like to Upgrade for the Complete plan, What should I do? my account is Brazilian
-
Please Help, problem in Excel Date.
Hi, Currently, I am having a JBDC-ODBC connecting to an Excel file, it will read a number of data from the file and one of them is the date (formatted to month/day/year using format cell in Excel). As I need to compared the date entered in Excel with
-
Obmenugen next version (v0.5): beta-testers needed
Hi everybody: It's been a long time since last obmenugen release. Sorry about that, I've been very busy. I need everybody out there using (or not) obmenugen to help me making the next version the best ever. I have ported to D 1.0 (from 2.0), thus it'
-
I don't want to scroll through a list or hundreds of ppd's to get one of the four that I use. Can I delete the unwanted ppd's from all the library folders. Will this cause OSX problems?