What and How to pass Line Num (or ID) to a function?? (from OM Or der Line: "Line Flo

Greetings, and thanks in advance for any advice you can provide.
I'm looking at the predefined Workflow "OM Order Line" and a process in it called "Line Flow - Configuration". We're wanting to pass the Line Number (or Line ID) from the Workflow to a custom function, at a specific place in the WF that we've identified. The only attribute that looks at all relevant to pass is "AFAS_Line_ID".
I've duplicated the "Line Flow - Configuration" process, and created a test notification to display the contents of "AFAS_Line_ID" when the workflow is run, but the value of "AFAS_Line_ID" always appears to be empty/blank/null whenever I create an order the generate the lines. "AFAS_Line_ID" also appears to be empty/null when viewing the attributes behind the WF process, at any and every step in the process.
The attribute "AFAS Line ID" seems like the only thing even remotely related to what we need to pass, as all the other attributes are things like User ID, App ID, Responsibily ID, OM WF Admin, Org ID, Lead Time Rollup Org, Lead Time Rollup Config Item, Lead Time Date, Lead Time Category Struction, Line Catagory, Lead Time Attribute Reg ID, Lead Time Request ID, Line Short Descriptor, and Notification Approver.
How can we pass a reference to the current line being processed within the workflow, and specifically - WHAT should we be passing??
Thanks again for your help, preferably much sooner than later. -- Tom Buck
[email protected], or post replies here to this forum.

Tom
I can only answer in terms of workflow technology. It is possible that there are item attributes that exist which you can use in some SQL to derive the real value you are looking for. For example, there might exist an Item Attribute with the Primary Key for the row you are looking for, and you write some SQL to get the column form that row. You can use the wf_engine.GetItemAttr APIs to get Item Attribute values for a given work item.
Cheers
Mark
Greetings, and thanks in advance for any advice you can provide.
I'm looking at the predefined Workflow "OM Order Line" and a process in it called "Line Flow - Configuration". We're wanting to pass the Line Number (or Line ID) from the Workflow to a custom function, at a specific place in the WF that we've identified. The only attribute that looks at all relevant to pass is "AFAS_Line_ID".
I've duplicated the "Line Flow - Configuration" process, and created a test notification to display the contents of "AFAS_Line_ID" when the workflow is run, but the value of "AFAS_Line_ID" always appears to be empty/blank/null whenever I create an order the generate the lines. "AFAS_Line_ID" also appears to be empty/null when viewing the attributes behind the WF process, at any and every step in the process.
The attribute "AFAS Line ID" seems like the only thing even remotely related to what we need to pass, as all the other attributes are things like User ID, App ID, Responsibily ID, OM WF Admin, Org ID, Lead Time Rollup Org, Lead Time Rollup Config Item, Lead Time Date, Lead Time Category Struction, Line Catagory, Lead Time Attribute Reg ID, Lead Time Request ID, Line Short Descriptor, and Notification Approver.
How can we pass a reference to the current line being processed within the workflow, and specifically - WHAT should we be passing??
Thanks again for your help, preferably much sooner than later. -- Tom Buck
[email protected], or post replies here to this forum.

Similar Messages

  • I`m getting a saffire pro 40,and want to know what and how to turn anything I dont`t need to have running on my 2011 Macbook Pro

    I plan to do some simple live recording ( 6 or 7 simultaneous tracks,and possibly add a few more later ) I want to keep my machine running smooth with the least amount of competition for resources while recording. Any tips and info on what and how to turn off what I don`t need? Or am I getting ahead of myself here?...Just read the manual, fire it up and see what happens?...hmmm, I think I`ll take any help I can get! Oh, and yes,I`ve got the 400 to 800 Firewire cable/adapter situation handled. Thanks!       2011 13" Macbook Pro   Intel i7   firewire 800  5400rpm serial ATA 500Gb  4Gb   2.7Ghz. GarageBand 11      Focusrite Saffire Pro 40                              

    PhilmoreEHT wrote:
    what and how to turn off what I don`t need?                      
    in System Preferences make sure FileVault is off, i'd turn off AirPort, and make sure Energy Saver is set to it's least restrictive settings (like not allowing the hard drive to sleep)
    PhilmoreEHT wrote:
    Or am I getting ahead of myself here?     
    a bit, i wouldn't worry about problems until you run into any. i've recorded a lot more, with a lot less
    PhilmoreEHT wrote:
    5400rpm serial ATA 500Gb
    that is probably the only stumbling block i can see. if you run into an issue where the drive isn't fast enough for the number of Audio tracks with which you wish to work, you can buy a FireWire hard drive to solve it (and shopping around they can be had for under $100 [a lot less if you're willing to "roll-your-own"])

  • I installed my new Apple TV and successfully completed the configuration (Wireless network, Apple ID, and others) yet I am always in the Computers and Setting page- can't move to the main page – any idea on what and how, please?

    Hello, I installed my new Apple TV and successfully completed the configuration (Wireless network, Apple ID, and others) yet I am always in the Computers and Setting page… can’t move to the main page – any idea on what and how, please?

    Welcome to the Apple Community.
    Unfortunately, a number of users appear to have encountered this problem. Some of these users have reported that the problem just disappears the following day or shortly after. Other users have found various other solutions to this problem.
    Firstly, are you receiving any date and time errors when you turn on your Apple TV?
    Check that you are properly connected to the Internet, by ensuring that you have a proper IP address and not one starting with 169. Also check that your location for the iTunes Store is set correctly, if so you might try changing it and then changing it back.
    If the problem persists try restarting the Apple TV by removing ALL the cables for 30 seconds, or resetting it using the reset option under general. You should also try restarting your router, or if this doesn't work you might like to try a restore.

  • The need to compress to max 1GB is obsolete. You can not determine what and how the space provided on iDisk can be used. You provide it or NOT. If you DO, then let US free, if you don't, then TELL us WHY, so we can choose to go public elsewhere. The stren

    The need to compress to max 1GB is obsolete. You can not determine what and how the space provided on iDisk can be used. You provide it or NOT. If you DO, then let US free, if you don't, then TELL us WHY, so we can choose to go public elsewhere. The strengthood for Apple for the fourthfullness to be legal, which I respect, can become too restrictive in my European eyes. Any hearing around? René

    As was noted in the introductory material for the Apple Support Communities website (presented when you registered), these forums are set up for user-to-user assistance and discussion, not for user-to-Apple communications.
    Suggest you resubmit your position statement to Apple via product feedback for iCloud, which you can access via a link on this page -
    Apple - Feedback
    ...we've all moved to iCloud, isn't it?
    Um, no, we all haven't.

  • HT5621 I changed my ID Apple with another email, i received the confirmation, i changed my password and also received the confirmation but when i try to download something on my iPhone it still shows me my okd email and nothing works ! ahhhhh what and how

    I changed my ID Apple with another email, i received the confirmation, i changed my password and also received the confirmation but when i try to download something on my iPhone it still shows me my old email and nothing works ! ahhhhh what and how do i solve this ?

    On your iPhone go to Settings > Store.
    Select the Apple ID at the bottom.
    Select Sign Out at the menu selection provided.
    Follow this by signing in with your new Apple ID/iTunes store account.
    All apps - all paid and free apps include DRM protection which is tied to the iTunes account that was used to download the apps. In order to install an app update for the apps downloaded with your previous Apple ID/iTunes account, you will need to use that account and password.

  • How to pass column name at run time in function.

    how to pass column name at run time in function as parameter.
    thank in advance
    pramod patel

    Hello,
    Using dynamic sql you can pass column name to function. well I am not getting what you really want to do ? Please write in more detail. By the way I am providing one example here. see it uses dynamic sql.
    Create or replace function fun_updtest (p_columnname_varchar2 in varchar2,
    p_value_number in number)
    return number is
    v_stmt varchar2(500);
    begin
    v_stmt := 'update emp
    set '||p_columnname_varchar2||' = '||to_char(p_value_number)||'
              where empno = 7369';
    execute immediate v_stmt;
    return 0;
    commit;
    end;
    call to this function can be like this..
    declare
    v_number               number;
    begin
    v_number := fun_updtest('SAL',5000);
    end;
    Adinath Kamode

  • What and how to download the required stuff from metalink for 9.0 financial

    Hi,
    I want to upgrade my 8.9 financials(SQL Server) version to 9.0 using Change Assistant.
    I am not sure what to download and how to download from metalink.
    Please give me heads up on this.
    thank you.

    Hi:
    Refer to the following document for a comprehensive explanation of the upgrade process using Change Assistant:
    [https://metalink3.oracle.com/od/faces/secure/km/DocumentDisplay.jspx?id=739129.1]
    Thanks,
    Sameer.

  • How to pass a JSP var to a Script function called in a netui:checkbox

    How to pass a JSP variable to a Java Script function called in a netui:checkbox onSelect?
    I have a requirement where based on the checkBox selected or deselected in a repeater tag I would have to select or deselect other checkboxes in a netui:form. I am trying to pass the index or unique name of the checkbox to the JavaScript function. When I try this code I am getting a Syntax Error!! and getting a " item undefined" in the javascript. This works when I use just the html form tag but when I use the <netui:form> tag I am facing this issue. Any help would be highly appreciated.
    function selectACheckBoxOnClick(name) {
    alert ("called selectACheckBoxOnClick ");
    alert ("called name "+name);
    <netui-data:repeater dataSource="{pageFlow.unregisteredContractAssetsDTOArr}">
    <netui-data:repeaterItem>
    <% String checkboxName = "selectACheckBox_"+i;
    String serialNum = "serialNum_"+i;
    String hidenboxName = "hiddenACheckBox_"+i;
    String loopNo = new Integer(i).toString();
    System.out.println("Loop String :"+ loopNo);
    System.out.println("CheckBox Name:"+ checkboxName);
    System.out.println("serialNum :"+serialNum); %>
    <tr bgcolor="#ffffff">
    <td align="center">
    <netui:checkBox dataSource="{container.item.selectedAssetFlag}" onSelect="selectACheckBoxOnClick(<%=checkboxName%>);" tagId="<%=checkboxName%>"/>
    </td>
              <td class="small"><netui:label value="{container.item.model}"/></td>
              <td class="small">
    <netui:hidden dataSource="{container.item.splitAssetNo}" tagId="<%=serialNum%>"/>
    <netui:label value="{container.item.serial}"></netui:label></td>
              <td class="small"><netui:label value="{container.item.equpimentId}"/></td>
              <td class="small">
    <netui-data:getData resultId="siteId" value="{container.item.siteNo}" />
    <%String siteId = (String) pageContext.getAttribute("siteId");%>
    <netui:anchor action="getSiteLevelAssets" formSubmit="true">
    <netui:parameter value="{container.item.siteNo}" name="siteNo" />
    <netui:label value="{container.item.siteNo}" />
    </netui:anchor>
    </td>     </tr>
    <%i++;%>
    </netui-data:repeaterItem>
    </netui-data:repeater>
    This code works within a form:
                   <td align=center>
                        <input type=image name="unassign" onclick="javascript:unassignReplacement(<%=replacementSupply.getPMSupplyId()%>)" src="<%=request.getContextPath()%>/images/bt_sm_x.gif" border=0 alt="Unassign">
                        </td>
    Thanks,
    Salome

    hi
    i did not go thru your code completly
    but u can use the following for your problem
    the checkbox in the repeater must have unique TagID
    counter = 0; (initialize)
    <netui-data:repeaterItem>
    <netui:checkBox dataSource="" tagId='<%="count"+String.valueOf(counter)%>' onClick="some function()" />
    <%counter++;%>
    </netui-data:repeaterItem>
    here if u have 3 checkbox
    They will have Tagid's as count1 , count2 and count3
    now in the javascript somefunction()
    use the following line
    for(j=0;j<<%=counter%>;j++)
    document.forms(0)[getNetuiTagName"count"+j)].checked=false;     
    }

  • How to pass a Variable value into an ODI Scenario from ODI Package

    I have created an Interface that uses the variable #ENTITY_ID for retrieving entity data from the DWH; now I have generated a Scenario from the interface and placed the Scenario in an ODI Package; am not sure how to pass the #ENTITY_ID variable to the ODI Scenario?
    Any help is greately appreciated.
    Best Regards
    Bee

    Hi Sutrtha,
    Yeah I got the pop up asking to select the variables used, I have selected ENTITY_ID that was used by the interfaces, but on execution of the package the Scenario did not work as the passeed variable #ENTITY_ID is set to 0 instead of the value I am passing.
    Am I missing something?
    Regards
    B

  • How to pass multi value selection parameter to SAP Function Module?

    Hi ,
    Anyone know how to pass CR multi value parameter - array to SAP Function module ?
    eg  multi selection of customer in CR
    and then pass to Function module
    in SAP FM,  the SQL select these customer only
    How should the import parameter / table of SAP Function module designed?
    and how should CR pass the data to SAP FM
    thx
    John

    Moved to Integration Kit forum

  • How to pass default value of argument to stored function?

    Hi,
    in procedure I don't have to pass all arguments, because I set it with name, but in stored function I have to set arguments with index som I must set all arguments. Some arguments have default value. So how to pass default value?
    thx for any comments

    It really helps me if someone tell me that it isn't possiblle.
    thx.

  • Why is there no disc for Final Cut Pro X, is there one coming, and how do I transfer the program to a new machine from the download?  Thanks!

    Hello:
    Why is there no disc for Final Cut Pro X?
    Is there one coming?
    Can and how do I move the downloaded application from my old machine to a new computer?
    Thanks!

    You purchase FCX in the Mac App Store, there is no disc. You can reload past purchases under your account within the app store. You should also be regularly backing up your system

  • Start workflow with f. module to trigger event and how to pass data to BOR?

    Hi,
    I have a custom BOR object, with Event "Created". I have also an attribute in this BOR, just simple field Plant.
    I have prepared a custom Workflow which is triggered when event Created of that custom BOR business object is raised.
    To raise an event and to start a workflow I run f. module SAP_WAPI_CREATE_EVENT.
    I have a problem to pass a Plant value to the Workflow container. In the PFTC_CHG for my Workflow I made the container
    of BOR object, and the data binding &_EVT_OBJECT& => &MATREQ&  (symbol of my BOR).
    Below both of EVTOBJECT and MATREQ I can see my field Plant.
    Then I run f. module SAP_WAPI_CREATE_EVENT with tables parameter input_container.
    I try to fill the data in many ways, but the started workflow does not have Plant filled.
    I try to use '_EVT_OBJECT.WERKS' in field name for input_container parameters.
    Business Object is passed to the Workflow container, but I do not get the fields
    as attributes. Do I have to use the parameters for the event Created ?
    Thank you in advance
    Wojtek

    Hello,
    I've never used GUID as a key but I suppose the principles are the same - the object instance is equivalent to "something", say a widget.
    This widget has attributes, e.g. the factory where it was created, the day it was created, its weight etc.
    If you make a widget BOR object and you specify attributes then you're telling SAP how, given the key, it can deduce the value of the attributes. Widget 1234's weight can be looked up in table XXX by doing this select.
    If you pass an object instance to a workflow then all you need to pass is the type of object and the key, the rest can be done by the workflow (or any other program). It can instantiate the object, and the attribute values are immediately available.
    If you can instantiate the object in SWO1 and the attributes get values, then it should work in the workflow as well.
    If not, please provide the code of the attribute or describe how it finds the attribute value.
    regards
    Rick Bakker
    hanabi technology

  • Drive where BOE is almost maxed out - need to move stuff.  What and How?

    Hey Everybody,
    I'm running BOE 3.1 SP3.  I did an out of the box installation directly onto my server.  I've been running fine for almost a year now.  I have 10+ report writers and thousands of reports/instances on the server now.
    What I didn't anticipate was just how fast the drive that I had installed on would fill up.  I'm almost at max capacity.  I have a new, bigger drive in place.  Now I just need to know what I can copy safely to that drive and what needs to change in my build to minimize downtime.
    I've seen that I can move the repository and change the settings on the INPUTFILEREPOSITORY and OUTPUTFILEREPOSITORY servers to point at the new location.
    Can anybody point me to another message thread or to some documentation to do this?

    Steps to do this correctly (lesson learned from a bad experience with this !):
    1.  In the CMC, stop ALL of the servers except the CMS.
    2.  COPY the entire file repository (input and output) to the new location.  DO NOT CUT AND PASTE!!!  The original folders have to be available in order to update the file store locations.
    3.  In the CMC, go to the Input File Repository Server and change the path to the file store.  NOTE: If your new location is on the network, you MUST use a full UNC path, you CANNOT map the drive!
    4.  Do the same thing for the Output File Repository Server.
    5.  Start the Input and Output File Repository Servers.  Make sure they stay started!
    6.  Turn on the rest of your servers and test various reports - run schedules, view/refresh reports, view older instances.
    If everything checks out ok, you can delete your original file store folders.
    -Dell

  • Bloatware and other junk - what's what and how do I get rid of it.

    I have a new Toshiba Satellite L650 series. For the most part I am very pleased with it. I am aware that there is "bloatware, Junk" software preloaded. However, I do not know how to tell what is junk and what I might actually need. Names and even the brief descriptions of the stuff has not proved helpful. Sooooo, the limited info I have found about getting rid of it seems to assume I know what I want to get rid of and what I want to keep.
    Q 1) Is there anywhere that will give me a more detailed explanation of what each of these items are or do?
    Q 2) Any lists of what I absolutely need to keep and not uninstall or I will have a big problem somewhere?
    Q 3) If there are no specifics how about some general guidelines?
    Q 4) Is there any downloads out there that are safe (free would be nice too) that just removes the unnecessary crap?
    Q 5) Why oh why to otherwise honorable computer companies like Toshiba plauge us with this stuff? At least give us an easy button to get rid of it. I understand having to put up with advertisements when you get something free but not when you fork out money.
    Any assistance would be appreciated.

    A 1) Read your User Guide, do a search on Google, read the info on these utilities on the Toshiba site. I've never had a problem finding what each utility was for/did when I really looked for it.
    A 2) I wouldn't uninstall anything. At sometime or another almost all the utilities are needed/useful. Instead use MSConfig.exe and remove the check marks in the 'Startup' tab from the utilities loading there that you do not use. Use services.msc to stop and/or disable the Toshiba services you do not use. Both these methods make it easy to re-enable or restart these utilities, should you find it necessary.
    A 3) See A1 and A2
    A 4) Not that I know of. What is necessary or unnecessary here is actually a very subjective thing. It depends on the user.
    A 5) This a peer support forum. This is just other users and Toshiba owners trying to help each other out. Please contact customer service, write a letter to the CEO, write a review on a consumer report site, etc, with your complaints.
    Mike

Maybe you are looking for

  • Windows 7 OSD failing at Starting Services with unexpected reboot

    Hello. My environment is SCCM 2012 R2. I have a Windows 7 task sequence that deploys a custom Windows 7 WIM file. The task sequence has been used for a number of years and the Windows 7 WIM file was updated with the latest security update but has bee

  • Safari 4 regular release

    I saw on the Macworld site that Safari 4 was out of beta, so I downloaded and installed the version for Tiger. This app is NOT ready for prime time. Supposedly if one process crashes the whole app does not crash, yet the app repeatedly hangs on loadi

  • Installation of OPA 10.4.3 and Siebel 8.2.2.2 webservice authentication issue

    We are working with OPA 10.4.3 and Siebel 8.2.2.2.  We have installed Siebel, and OPA.  We followed the procedures to put in all the integration parameters.  However, when we try and run the WD Smoke Test button, the popup shows a Error 500.  upon fu

  • Iweb rss help!

    I cannot for the life of me figure out why my rss doesnt work for my podcasts. I am not useing .mac cause its a rip off and I can't find any help on it. If tou know somthing please tell me. thanks Hre is the site http://www.damnitjims.com/jims%20site

  • Integration builder connection failure

    Hi All,      when i run the transaction sldcheck , i get the error message connection failed.      can somebody tell me the required parameters that i should give in sm59. Thanks. Regards. Disney.