EAM-Activity Association

Hi guys,
Consider conveyor1 is an asset number of Conveyor Asset Group.The activities of conveyor1 are
1.CHECK FUNCTIONING OF GUIDE ROLLERS
2.TRANSFORMER PROTECTION & INDICATION CHECKING
In the above said activities (1) is did my Mechanical and (2) by Electrical departments.. I mean to say is, in a single asset number both the departments are performing an activity. Is it possible to associate an owing department at first when we associate activity into an asset number. Since, owing department is mandatory when completing PM work Orders through Maintenance Workbench.

p_asset_activity_id is inventory_item_id for a given activty. It is obtained from mtl_system_items
p_inventory_item_id is the inventory_item_id for asset group.
p_owningdepartment_id is the department_id for the department. It is obtained from bom_departments
The meter_id as well as the whole p_pm_last_service_tbl is optional. You can leave it blank.
A good way to learn this is to create the entity manually using the screen and noting down the fields that require a value. Then open the API and see what is the right place /variable/parameter for that value.
Take a look at irep.oracle.com as well.
Hope this helps,
Sandeep Gandhi

Similar Messages

  • Need API for EAM Active Association - Asset number and Asset Group

    Hi
    I am working in R12 and need api for EAM Active Association - Asset number and Asset Group to insert the new records.
    If any one is aware please let me know API with sample script.
    Regards
    Suresh P

    All APIs are listed in Oracle Integration Repository
    http://irep.oracle.com/index.html
    API User Notes - HTML Format [ID 236937.1]
    R12.0.[3-4] : Oracle Install Base Api / Open Interface Setup Test [ID 427566.1]
    Oracle Trading Community Architecture API User Notes, June 2003 [ID 241320.1]
    Technical Uses of Customer Interface and TCA-API [ID 269121.1]
    Pelase also check below:
    Api's in EBS
    Re: Api's in EBS
    http://sairamgoudmalla.blogspot.com/2009/05/script-to-find-oracle-apis-for-any.html
    API
    Fixed Asset API
    List of API
    Re: List of APIs
    Oracle Common Application Components API Reference Guide
    download.oracle.com/docs/cd/B25284_01/current/acrobat/jta115api.pdf
    List of APIs and open interface R12
    Re: List of APIs and open interface R12
    Regard
    Helios

  • Report Showing Account with No Activity Associated

    Hi
    1) Is it possible to show report which list all the accounts which do not have any activity associated with it?
    2) A report which shows All the accounts with Activity ( Even though there is no activity associated with it)
    Quick reply appreciated

    You can watch a webinar on how to do this by clicking on the training and support link from your production pod then search for "negative reporting".
    the process involves using combined analysis to generate the report.
    Ben

  • MSCRM 2011- Activity associated view on account

    Hi All,
    I have changed the default setting of 'filter on' to ' All' in open activity associated view in account. But now I also want to change the default in 'Include' to 'This record only' using Javascript. Normally, default value of 'Inclue' is 'Related "Regarding"
    Records'. Refer to the below image:
    Please help.Thanks in advance.

    Use this Script below. Call filterAllActivities function on load.
    function filterAllActivities() {
    document.getElementById("navActivities").onclick = function () {
    Mscrm.Details.loadArea(this, "areaActivities");
    document.getElementById("areaActivitiesFrame").onload = function () {
    var entityName = Xrm.Page.data.entity.getEntityName();
    var entity = entityName.charAt(0).toUpperCase() + entityName.substr(1);
    var doc = this.contentWindow.document;
    var filterOn = doc.getElementById("crmGrid_" + entity + "_ActivityPointers_datefilter");
    filterOn.value = "All";
    var FilterRecord = doc.getElementById("crmGrid_" + entity + "_ActivityPointers_ViewControl");
    FilterRecord.value = "ImmediateRelatedView";
    var evt = document.createEvent("HTMLEvents");
    evt.initEvent("change", false, true);
    filterOn.dispatchEvent(evt);
    FilterRecord.dispatchEvent(evt);
    Regards, Saad

  • To show report which list all Accounts with no activity associated with it

    Hi
    1) Is it possible to show report which list all the accounts which do not have any activity associated with it?
    2) A report which shows All the accounts with Activity ( Even though there is no activity associated with it)
    Quick reply appreciated

    Hi Rits,
    You can achieve this using combine analysis. Create two reports and in the first one make the Activity Id blank, In the second report keep it as it is and do union of both the analysis.
    This will give you all the accounts which have/have not Activities associated with them.
    Hope it helps,
    Thanks,
    Mayank

  • Asset activity association API

    We are trying to upload asset activity association using webADI, we have built a custom integrator using the API EAM_ITEM_ACTIVITIES_PUB.Insert_item_activities
    However the upload always fails giving SQL cannot upload error. Our only suspicion is the pm_last_service_tbl column. We haven't given any value for this column, it is a mandatory field, so this might be the reason why our upload failed. Now if we have to give the value, how is it supposed to be given? The type is table and we don't know how to pass the value for this column.
    Any help will greatly be appreciated.
    Regards

    To make it simpler,
    " Asset Activities" are Unique Standard Jobs performed on Specific Assets.
    Asset Activities are defined in the item master and like Asset Groups are differentiated using specific Item Attributes. They can be associated with a single Asset, an Asset Group or a collection of Assets.
    This relationship is maintained by “associating” a specific Asset Activity to one or more Assets in the Activity association table.
    Because Asset Activity Names need to recognizable in order to correctly assign and schedule them, it is recommend to use a standard nomenclature.
    For Example:
    A 3,000 mile or three month """oil change""" (Activity) for the truck "Asset" or "Asset Group".
    If you need more specific example of what is "Asset Activity" give me a shout .
    Cheers
    Kamal

  • How to find out the active associations and clear inactive associations?

    Hi guys,
    I can find out the associates on IOS AP using the command "show dot11 associations client". The output includes all associations even though the clients have left for a long while.
    1.How to find out the active associations?
    2.How to clear the inactive associations?
    3.What is the by default timeout for the inactive associations?
    Thanks,
    yytellmey

    Hi Huang,
    try this:
    Show the associated clients:
    sh dot11 associations all-client
    Deauthenticate client
    clear dot11 client
    Activity Timeout
    show dot11 activity-timeout
    per standard 60 secs.
    Best regards,
    Frank

  • Error when create activity association

    The error message please see the attachment. How can I figure out it?

    I don't see this error reported on MOS or internally.
    Do you have any forms personalization on this form? If not, then I would suggest you log a SR.
    Thanks,
    Hussein

  • Save and Close button issue in CRM 2013 for Activity Type Appointment

    Hi All,
    Have come across a strange behavior in CRM 2013 and would like  to be sure that it really is an issue which others have encountered too.
    Open a Case record, and click on Activity navigation link to see the Open Activity Associated View. Then try creating an Activity of type Meeting and click on
    Save & Close button (not just Save). When you refresh the view, the activity might show up. But repeat the same steps and create another Activity of Type Meeting and this activity will not show up. It doesnt show up even in the All Activities
    view. Seems like the activity does not get created when using Save and Close button.
    This behavior is replicated even on online 30 day trial version. Any inputs?
    Regards,
    Yogesh

    The problem only occurs when your appointment times clash.   "Save and close" just throws the appointment away.  "Save" tells you about clash (or perhaps it's just unavailability) and allows you to ignore and continue with the
    save.

  • Need to join two queries A/R statemet and Activity report

    I have two  separate queries that need to be one. I have an A/R statement where I want to add notes next to each invoice. Currently these are two separate reports. How can I link the activity Report to the A/R Statement. Below are the two separate reports. I am not sure how to join the files. A/R Aging Report Declare @d datetime set @d /*Select 1 from jdt1 t where t.duedate*/=[%1] select * from ( SELECT T1.CardCode, T1.CardName, T0.RefDate, T0.Ref1 'Document Number',     CASE  WHEN T0.TransType=13 THEN 'Invoice'           WHEN T0.TransType=14 THEN 'Credit Note'           WHEN T0.TransType=30 THEN 'Journal'           WHEN T0.TransType=24 THEN 'Receipt'           END AS 'Document Type',     T0.DueDate, (T0.Debit- T0.Credit) 'Balance'     ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,@d)=0 and DateDiff(day, T0.DueDate,@d)30 and DateDiff(day, T0.DueDate,@d)60 and DateDiff(day, T0.DueDate,@d)90 and DateDiff(day, T0.DueDate,@d)=121),0) '121+ Days' FROM JDT1 T0 INNER JOIN OCRD T1 ON T0.ShortName = T1.CardCode WHERE  T1.CardType = 'C' ) sub Activity Report SELECT T1.[ClgCode],T2.[U_NAME], T4.[Name] as Status, T0.[CardCode], T0.[CardName], T0.[DocNum], T0.[U_AIS_DVIInvName] as 'SF Invoice Name', (T0.U_AIS_DVISFSO) as 'SO#', T0.[DocDate],T0.Taxdate as 'Month Of Service',T0.[U_AIS_DVIOpptyNm],T0.[U_AIS_DVIAdvNm],T0.[U_AIS_DVIManNm],T0.[U_AIS_DVIAcctNm], T0.[DocTotal], T0.[DocStatus],  T1.[Recontact],  T1.[Details], T1.[Notes], T1.[CntctType], T3.[Name] FROM OINV T0 left join OCLG T1 on t0.docentry = t1.docentry and  T0.[ObjType]  =  T1.[DocType] left outer JOIN OUSR T2 ON T1.UserSign = T2.USERID left outer join OCLT T3 ON T1.CntctType = T3.Code left outer join OCLS T4 ON  T1.CntctSbjct = T4.Code where T1.[CntctType] =6 or T1.[CntctType] =7

    This is what I have so far.. it finally produced results but I notice the amount on the Activity + Aging does not match what is on the Aging and that seems to be what the issue is... that was my check to know the report is working. Basically the report should show the aging + any activity associated with the open invoice. The amount on the report is lower than the aging.. I am attaching the aging query  and the aging with activity Query. It looks like something is not joining correctly as the amounts do not match on the balance. Aging Report Declare @d datetime set @d /*Select 1 from jdt1 t where t.duedate*/=[%1] select * from ( SELECT T1.CardCode, T1.CardName, T0.RefDate, T0.Ref1 'Document Number',     CASE  WHEN T0.TransType=13 THEN 'Invoice'           WHEN T0.TransType=14 THEN 'Credit Note'           WHEN T0.TransType=30 THEN 'Journal'           WHEN T0.TransType=24 THEN 'Receipt'           END AS 'Document Type',     T0.DueDate, (T0.Debit- T0.Credit) 'Balance'     ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,@d)=0 and DateDiff(day, T0.DueDate,@d)30 and DateDiff(day, T0.DueDate,@d)60 and DateDiff(day, T0.DueDate,@d)90 and DateDiff(day, T0.DueDate,@d)=121),0) '121+ Days' FROM JDT1 T0 INNER JOIN OCRD T1 ON T0.ShortName = T1.CardCode WHERE  T1.CardType = 'C' ) sub Activity + Aging Declare @d datetime set @d /*Select 1 from jdt1 t where t.duedate*/=[%1] select * from ( SELECT T1.CardCode, T1.CardName, T0.RefDate, T0.Ref1 'Document Number',     CASE  WHEN T0.TransType=13 THEN 'Invoice'           WHEN T0.TransType=14 THEN 'Credit Note'           WHEN T0.TransType=30 THEN 'Journal'           WHEN T0.TransType=24 THEN 'Receipt'           END AS 'Document Type',     T0.DueDate, (T0.Debit- T0.Credit) 'Balance'     ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,@d)=0 and DateDiff(day, T0.DueDate,@d)30 and DateDiff(day, T0.DueDate,@d)60 and DateDiff(day, T0.DueDate,@d)90 and DateDiff(day, T0.DueDate,@d)=121),0) '121+ Days', T6.[FirstName] as 'AP Contact First Name', T6.[LastName] as 'AP Contact Last Name' , T6.[E_MailL], T6.[Notes1] as ' AP Supervisor', T2.[ClgCode],T7.[U_NAME], T4.[Name] as Status, T5.[DocNum], T5.[U_AIS_DVIInvName] as 'SF Invoice Name', (T5.U_AIS_DVISFSO) as 'SO#', T5.[DocDate],T5.Taxdate as 'Month Of Service',T5.[U_AIS_DVIOpptyNm],T5.[U_AIS_DVIAdvNm],T5.[U_AIS_DVIManNm],T5.[U_AIS_DVIAcctNm], T5.[DocTotal], T5.[DocStatus],  T2.[Recontact],  T2.[Details], T2.[Notes], T2.[CntctType], T3.[Name] FROM JDT1 T0 INNER JOIN OCRD T1 ON T0.ShortName = T1.CardCode INNER JOIN OCLG T2 ON T1.CardCode = T2.CardCode INNER JOIN OCLT T3 ON T2.CntctType = T3.Code INNER JOIN OCLS T4 ON T2.CntctSbjct = T4.Code INNER JOIN OINV T5 ON t5.docentry = t2.docentry and  T5.[ObjType]  =  T2.[DocType] left outer join OCPR T6 ON T2.CntctCode = T6.CntctCode left outer JOIN OUSR T7 ON T2.UserSign = T7.USERID WHERE  T1.CardType = 'C' and (T2.[CntctType] =6 or T2.[CntctType] =7) ) sub

  • Correlation set "Correlation_set" is not initialized. It cannot be used in a receiving activity. Fault is thrown.

    Hello,
    My bpel goes something like this:
    Main processing
    Receive activity (associated correlation set with initiate set to Yes)
    on Event - activity 1
    Receive activity is main. If I keep activity1 correlation set - initiates as Yes. then process will work but onEvent - activity1 will create new instance and will not update existing instance.
    To update the existing instance, I nned to make its instantiate value as "No".
    After changing instantiate value to "No", When the BPEL process is started, with the first message (main receive activity), I get the following error message:
    Correlation set "Correlation_set" is not initialized. It cannot be used in a receiving activity. Fault is thrown.
    Is there something I am missing?
    Thanks,
    Amit Pamecha.

    Hi Amit,
    Please refer the following section in SOA Developer Guide.
    Using Correlation Sets and Message Aggregation - 11g Release 1 (11.1.1.7)
    Also Refer the following sample for use of correlation sets.
    bpel-305-InboundCorrelationShows how to perform message correlation within BPEL
    http://java.net/projects/oraclesoasuite11g/downloads/download/BPEL/bpel-305-InboundCorrelation_1.2.zip

  • ORA-10722 Invalid Number when trying to Associate Asset to Activity

    Hello experts,
    For Activities created by API, we are getting an error (ORA-10722 Invalid Number) when attempting to associate a asset to the activity using the activity Association Form. Has anyone run across this before?
    Thanks,
    Tom

    ORA-01722: invalid number
    It can be because of The attempted conversion of a character string to a number failed because the character string was not a valid numeric literal.
    Only numeric fields or character fields containing numeric data may be used in arithmetic functions or expressions.
    Only numeric fields may be added to or subtracted from dates.
    Check the character strings in the function or expression.
    Check that they contain only numbers, a sign, a decimal point, and the character "E" or "e" and retry the operation .
    Check API design.
    Regards
    Kamal

  • DTW importing activity for contact persons

    Hello All
    SAP B1 V 9.0 and DTW 900.52.1
    I am trying to export data from one software and import into SAP Business one using the DTW.
    I have imported my business partners as well as the contact persons associated with the business partners successfully using DTW OCRD and OCPR.
    My next step is to export from previous software the activity associated with each contact person.  
    For example I have business partner C0001 and many contact persons under C0001. Business partner C0001- contact person Jane Doe, John Doe, John Smith etc.  What I am trying to accomplish is import activity to SAP B1 for each contact person (Jane Doe, John Doe, etc) using the DTW.  I cannot seem to figure out how to import the data so that it is associated with correct contact person for the appropriate business partner?  I can import the activity for the business partner but not for each contact person.
    Any advice greatly appreciated.
    Can I create a query to obtain the CntcCode from OCLG when no activity has been created?

    Problem solved
    I was trying to obtain the internal number associated with all OCLG Contact Person regardless if they had any activities.  I needed the information to migrate activities from and old system into SAP.  Selecting cntctcode from contact person will not generate the internal codes from OCLG and you will receive a data not found error.  Only the contact persons with activity would be produced.  I received some additional assistance and got the following query to work.
    select t1.cntctcode as CntctCodeFromOCPR,t1.name as ContactPersonFromOCPR,t0.cardcode,t0.cardname,t0.CntctPrsn from ocrd t0
    join ocpr t1 on  t0.cardcode=t1.cardcode

  • Airmagnet Surveyor Active Survey

    Hi Team, i had a problem with the active (associated) survey in a WLC Deployment. The Airmagnet did not Roam from one AP to another. Has anybody seen this Problem and possibly an Solution? Regards, Michael

    I assume you are doing an active survey and associating with a particular SSID. AirMagnet won't roam from one AP to another until the signal strength drops to a very low level. If you want to associate with a particluar AP, then click on the drop down box below the Active radio button and select AP. Then go the the drop down list below the Passive radio button and select the AP you want to survey.
    Version 4 does have a roaming option but you have to set criteria for when you want to flip from one AP to the next and this gets a little complicated until you have used it a lot.

  • To see all calendar weeks in a year

    Hi,
    I have developed a report to show the list of activities in a calendar year.
    And I want to see all 52 weeks in a pivot table view and the activity numbers where applicable.
    Currently this is only showing the weeks when there is an activity planned.
    If a week doesn't have value then it is not shown.
    I am expecting to see all the weeks even though there is no activity associated with them.
    I've also changed to outer join with time dimension but the results are same.
    I appreciate your help.
    Thank You.

    CASE WHEN "Time"."Fiscal Period" IS NULL THEN 1 ELSE "Time"."Fiscal Period" and
    You can also use this ifnull(columnname, 0) and hide the column This won't work because the data in the original example is not null, it simply doesn't exist. With an inner join the dimension attribute (week in this case) is only present in the result set when rows exist in the fact table with matching dimension key.
    http://total-bi.com/2010/10/replace-nulls-in-obiee-pivot-table/Nice link - but then I'm biased :-)
    Paul

Maybe you are looking for

  • Report for production order with actual and target cost for each

    Hi Is there any report that gives me the list of all production orders in a month with its respective actual and target costs? I can use COOIS to get a list of production orders, then double click on the prod order, then click on goto and then to cos

  • Now that iBiz is not compatible with Mavericks, what type of accounting software works with ical.

    I use iBiz for a small business that tracks appointments and expenses.  I don't need payroll.  Most importantly, I need the software to communicate with calendar since I have to keep my partner's calendar up to date and he uses calendar on his iphone

  • DVD SP will not recognize my disc.

    Just recently DVD SP stopped recognizing the discs in my DVD Drive. Whenever I send a DVD to burn the software tells me that I need to insert "acceptable DVD recordable media" then when I open the drive and insert a new disc it does nothing. It was w

  • Jdeveloper 11g

    Hi all, I have installed Jdev 11.1.1.1 also added the required soa-jdev-extension.zip. But whenever i close my Jdev and open the Jdevloper the database or application server connections which i have created earlier does not exist. I have to create th

  • IMovie iWeb can not open

    When I used Cleanmymac software uninstall Aperture,Fina Cut Pro and Motion,     iphooto ,imovie and iweb can not opan.      1,after i reinstall ilife11,updat,   iphoto can use.but imovie and iweb still can not open.      2. then i restarted, When i t