Different Interpretation of ShellCommands local / WinRM

Hi,
SCOM is driving me crazy lately. Sometimes even simple shellcommands that work fine locally on the server won't work while executed via SCOM.
Working locally:
ps -ef | grep /opt/autara_ra/agent/webservice/bin/ucxjcitx.jar |grep -v grep
4107 3056 3046 0 Apr23 ? 00:13:52 /usr/java/latest/bin/java -jar /opt/autara_ra/agent/webservice/bin/ucxjcitx.jar -i/opt/autara_ra/agent/webservice/bin/ucxjcitx_V10.ini
Not working testing with WinRM:
<p:ExecuteShellCommand_INPUT xmlns:p="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem">
<p:command>ps -ef | grep /opt/autara_ra/agent/webservice/bin/ucxjcitx.jar |grep -v grep</p:command>
<p:timeout>120</p:timeout>
</p:ExecuteShellCommand_INPUT>
winrm i ExecuteShellCommand "http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx" -username:monuser -password:xyz -r:https://servername:1270/wsman -auth:basic -skipcacheck -skipcncheck -encoding:utf-8 -FILE:c:\temp\shellcommand.xml
ExecuteShellCommand_OUTPUT
ReturnCode = 1
StdOut
StdErr
ReturnValue = false
Trying different commands with just a "wc -l" at the end or grepping for other strings like "ucxjcitx" also doesn't work.
Is it possible that there are some problems with long command lines? or with special characters?
Not working: ps -ef | grep /opt/autara_ra/agent/webservice/bin/ucxjcitx.jar
Not working: ps -ef | grep ucxjcitx
Working: ps -ef | grep -c ucxjcitx
Working: pgrep -lf java | grep /opt/autara_ra/agent/webservice/bin/ucxjcitx.jar | grep -v bash
So it is pretty strange which combinations do work and which don't. I don't get it. Am I missing something?
Regards,
Holger

Hi Holger,
I'm having problems replicating exactly what you specified, see following:
C:\Users\jeffcof>winrm invoke ExecuteShellCommand http://schemas.microsoft.com/w
bem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx -auth:basic
-remote:https://jeffcof64-rhel6-01:1270 -username:scxuser -password:scxuser -sk
ipCAcheck -skipCNcheck -encoding:utf-8 @{command="ps -ef | grep omi";timeout="30
SCX_OperatingSystem_OUTPUT
ReturnValue = TRUE
ReturnCode = 0
StdOut = jeffcof 11382 63865 0 10:23 ? 00:00:00 /opt/microsoft/omi/
bin/omiagent 10 12 --destdir / --providerdir /opt/microsoft/omi/lib --idletimeou
t 90 --loglevel WARNING
scxuser 11541 63865 0 10:49 ? 00:00:00 /opt/microsoft/omi/bin/omiagent
10 13 --destdir / --providerdir /opt/microsoft/omi/lib --idletimeout 90 --loglev
el WARNING
scxuser 11549 11541 0 10:49 ? 00:00:00 /bin/bash -c ps -ef | grep omi
scxuser 11552 11549 0 10:49 ? 00:00:00 grep omi
root 63865 1 0 Apr28 ? 00:00:00 /opt/microsoft/omi/bin/omiserver
-d
StdErr
C:\Users\jeffcof>winrm invoke ExecuteShellCommand http://schemas.microsoft.com/w
bem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx -auth:basic
-remote:https://jeffcof64-rhel6-01:1270 -username:scxuser -password:scxuser -sk
ipCAcheck -skipCNcheck -encoding:utf-8 @{command="ps -ef | grep omi | grep -v gr
ep";timeout="30"}
SCX_OperatingSystem_OUTPUT
ReturnValue = TRUE
ReturnCode = 0
StdOut = jeffcof 11382 63865 0 10:23 ? 00:00:00 /opt/microsoft/omi/
bin/omiagent 10 12 --destdir / --providerdir /opt/microsoft/omi/lib --idletimeou
t 90 --loglevel WARNING
scxuser 11541 63865 0 10:49 ? 00:00:00 /opt/microsoft/omi/bin/omiagent
10 13 --destdir / --providerdir /opt/microsoft/omi/lib --idletimeout 90 --loglev
el WARNING
root 63865 1 0 Apr28 ? 00:00:00 /opt/microsoft/omi/bin/omiserver
-d
StdErr
I also noted that I got longer command lines, although this can by stty specific, and thus susceptible to login scripts.
To deal with the length issue, there are several ways to handle that:
1. Pick different ps output to print fewer columns, this giving you more space on the line for command line stuff. For example, a command like: "ps -eo pid,tid,comm | grep
omiserver" might help with this,
2. Set the appropriate column width that you want using stty first, or just using the '--cols x' qualifier to ps to specify this.
3. For ps, just use the -w qualifier twice for unlimited line lengt, like this: "ps -ef -w -w"
I did want to point out that these issues are really Linux *SHELL* issues, and have nothing at all to do with ExecuteShellCommand. I can replicate these issues myself from the command line on Linux on a SuSE or Redhat system.
It's not ExecuteShellCommand's fault if the shell doesn't output everything you want/need. Make the command work on UNIX/Linux first, then make the command work with ExecuteShellCommand! :-)
Hope this was helpful. If you have further questions, feel free to follow up, and I'll do everything I can to help out.
/Jeff

Similar Messages

  • Report display is different in report builder, local oc4j and app server

    Hi guys,
    we upgrade reports from sql report writer into report 10g. In the report 10g builder,
    the report format looks fine. but if i use the url as below
    http://applicationserver/reports/rwservlet?report=test.rdf&userid=username/password@service&desformat=pdf&destype=cache
    so the format will be mess up whatever i use this url in my local oc4j or i deployed it into 10g application server. and the format is different in oc4j and application server. Why this issue happend?
    Thanks in advance,
    Appcat

    Hello,
    They are a Fix Pack higher than you which may explain why it's broken on their server.
    Download the Fix Pack for R2 and see if you can duplicate the issue.
    Thank you
    Don

  • Different Results Remote vs Local Execution

    Hello community,
    Working with powershell v2, I get hung up on problem.
    When I run the command "get-childitem -Recurse " on a remote machine using invoke-command, most of the Length values of the output evaluate to 0. But if I run the command on the local machine I get the expected output with the values
    not being zero.
    Any help will be appreciated!
    Martin
    Edit: It is v2 on most of the systems, including the sever hosting the scripts.

    Thank you for your answer Chen.
    Unluckily I don't think it is about the folders. The command "get-Childitem -Path xyc -Recurse" produces the correct output if run
    locally. 
    But if I run I from a remote machine it produces the wrong output. Sample output following:
    Mode       LastWriteTime             Length          Name                                                   PSComputerName
    -ar--        12.10.2011     17:13      2342          something.cab                                       someServer
    -ar--        13.10.2010     16:59   938211           something.exe                                       someServer
    -ar--        04.01.2012     19:09     61455          something..exe             ´                      
    someServer
    -ar--        12.10.2011     17:13           0          something.cab                                       someServer
    -ar--        13.10.2010     16:59          0           something.exe                                       someServer
    -ar--        04.01.2012     19:09          0           something..exe             ´                      
    someServer
    It starts normally and then stops giving out the proper length at some point somehow.
    Some more context: I use a script starting one invoke-command as a job on different servers at the same time and then collecting the results. On some severs the remote result matches the local execution and on others others it doesn't.
    On the different servers, I use the same credentials, that I use for the local execution for the remote execution.

  • Web page appears different when located on local server

    I was editing a web page that is already up and running. Downloaded a copy to my local PC and everything was fine.
    Copied all the code to my local Microsoft Windows 2003 server and now the pages appear wrong.
    If the file is uploaded back to a website - it appears fine.
    This only happens in IE to my knowledge.
    My guess is that it is a setting in IE, but I do not know which one.
    This is a screen shot showing the bottom of the first page.  You can see part of the box is showing up below the bottom of the box which has rounded corners and a drop shadow.
    Does anybody have any ideas?
    Matt

    Thanks for the reply.
    I will review those sites and see what I can find.
    Matt

  • CSS giving different results when defined locally, and when defined using an include file.

    In my experimental photo album page I originally defined the
    styles in a
    separate .CSS file. However this appeared to be incompatible
    with the
    requirement to have the session_start (); statement at the
    start of the file, so
    I then defined the styles locally. Now I have found that a
    style which gives
    padding to the right of an image no longer works in IE6,
    although Dreamweaver
    shows the expected result.
    I have made two very simple test files to demonstrate this:
    http://localhost/Corybas/Cydalba/Test/Test_page_8[1
    http://localhost/Corybas/Cydalba/Test/Test_page_8[2
    In Test_page_8[1].htm styles are defined by the include file
    ../Spl2.ccs, which
    is included using the following statement in the head:
    <link href="../Spl2.css" rel="stylesheet" type="text/css"
    />
    The include file reads:
    /* Test.css for Cydalba project */
    .img_left { float:left; border:none; padding-left:0;
    padding-bottom:0;
    padding-top:0; padding-right:10px; }
    p { font-family: "Times New Roman", Times, serif; color:
    #f00000;
    margin-bottom: 0.25em; margin-top: 0px; border: 0; }
    In Test_page_8[2].htm styles are defined locally, using the
    following lines at
    the start of file:
    <style type="text/css">
    /* Test.css for Cydalba project */
    .img_left { float:left; border:none; padding-left:0;
    padding-bottom:0;
    padding-top:0; padding-right:10px; }
    p { font-family: "Times New Roman", Times, serif; color:
    #f00000;
    margin-bottom: 0.25em; margin-top: 0px; border: 0; }
    </style>
    With IE6 Test_page_8[1] gives the expected padding between
    the images and the
    adjacent text, but Test_page_8[2] does not. The para
    definition appears to work
    correctly in both cases.
    Can anyone explain this?
    Clancy

    Hi Rob,
    I am making a wild guess here...the reason could be that the internal tables or variables declared as part of Global data (if any) must be refreshed in your FM code.
    Regards,
    Sumant.

  • Master data in PS: Different interpretations

    Hi Experts,
    In certain Business blue prints, i have seen that the project objects like PD, WBS, NWA are described as master data. in some case, the standard templates are specified as PS master data. Of course, as per SAP menu, the work center and statistical key figures are the part of master data.
    There is little ambiduity. My understanding is that, master data is the one which is a record for predefined information for repeated usage in transaction. Master data like material, vendor, customer etc falls under this category.
    The Project objects are defined specific to transaction.
    To avoid various interpretations and arrive unique understanding, i invite comments from experts.
    warm regards
    ramSiva

    Hi,
    The Project System module uses the work breakdown structure and network as operational data for structuring, planning, and executing projects. Depending on the type of project and how it is configured, master data from other business areas is used in the project.
    The Project System module has no organizational units of its own. Depending on the project type and configuration, the organizational units from a wide range of areas are used (sales and distribution, purchasing, production, accounting, controlling, personnel, and so on).
    Some of the supporting master data used in PS is listed below,
    MM - Material Master, Vendor Master, Purchasing Info Record
    SD - Customer Master, Pricing Conditions
    PP - Work Center, Bill of Material
    FI/CO - Chart of Accounts, Cost Elements, Cost Centers, Activity Types, Activity Prices
    PS - Standard WBS Template, Standard Network Template
    I would suggest you to refer the help documents instead of Blue prints to gain more understanding on these things.
    With Regards,
    Gokul

  • Sometimes Local Address not in ARP table and Ping fails (network problem?)

    I see something like this on our network a couple of times a week.
    The same replies have been received from different hosts.
    ping fails
    local subnet machine is not in arp table
    ping fails
    local subnet machine is not in arp table
    traceroute may or maynot succeed
    If traceroute succeeds an entry is in the arp table
    if traceroute fails no entry will be in the arp table.
    A netstat -s, ont the local host, doesn't show any thing strange except that udpNoPorts=10844982 (Unfortunately I don't know what udpNoPorts is)
    The remote host IS UP.
    Does anyone have an idea as to why this is happening?
    Can our 100mb network, which is not that busy, be loosing that many ICMP or ARP messages?
    This is a problem because I'm the guy getting paged if a system is down.
    Local host is Solaris 7 on same subnet at IP 168.173.8.8
    Remote hosts are usually NT boxes.
    /usr/sbin/ping -svR stpaul_web2 56 3
    ----stpaul_web2.agribank.com PING Statistics----
    3 packets transmitted, 0 packets received, 100% packet loss
    /usr/sbin/arp stpaul_web2
    stpaul_web2 (168.173.8.143) -- no entry
    /usr/sbin/ping -svR stpaul_web2 56 3
    ----stpaul_web2.agribank.com PING Statistics----
    3 packets transmitted, 0 packets received, 100% packet loss
    /usr/sbin/arp stpaul_web2
    stpaul_web2 (168.173.8.143) -- no entry
    /usr/sbin/traceroute stpaul_web2
    1 stpaul_web2.AGRIBANK.COM (168.173.8.143) 2995.868 ms 0.231 ms 0.211 ms
    /usr/sbin/arp stpaul_web2
    stpaul_web2 (168.173.8.143) at 0:1:2:cc:a3:51
    Any help is greatly appreciated.
    Ks

    Hi,
    I Think you need to do Teaming on the servers.
    ++ configure etherchannel between switch and the server.
    configuring etherchannel b/w 4503 and server:
    ================================
    http://www.cisco.com/en/US/tech/tk389/tk213/technologies_configuration_example09186a008089a821.shtml
    Sample NIC Teaming - HP NICs with Cisco Switches (EtherChannel) :
    ==============================================
    http://support.citrix.com/article/CTX434260
    There are several NIC teaming technologies available today from  switch vendors.  Cisco uses the term “EtherChannel.”  Various switch  vendors use various terms, and these may or may not provide the same  exact functionality. Use of EtherChannel technology requires support  from the server hardware vendor, NIC vendor, and Layer-2 switch vendor.
    Hope this helps
    Cheers
    Somu
    Rate helpful posts

  • How to manage Locale info in the URL path, but not the query string

    We are building an application using Struts 1.1 and Tiles, on Oracle Application Server 10.1.3.3...
    I know this is a strange question... but we have a requirement to represent the locale info in the URL string using one of the following options:
    option 1: /eng/page.do?id=2 for english.../fra/page.do?id=2
    option 2: /page-eng.do?id=2 for english.... and /page-fra.do?id=2 for french
    We need to represent the 3 letter ISO lang code either in the directory structure, or suffix the page name (in our case, the struts action name)... we cannot replicate this using a parameter in the query string. I know this is odd, but that is what we are told to implement.
    Is there any robust way of implementing either option in Struts 1.1, JSP, JSTL etc...?
    Currently, we are looking at using a servlet filter to intercept the HTTP requests, parse the URL string, and extract the ISO lang value, and set locale and forward on the request.
    This poses a few problems... adding additional action mappings (page-eng... page-fra... page) to our struts-xml.config file to handle lang permuations... but the biggest issue is all the embedded html:link action values throughout our code...
    Because all our public facing URLs must comply with the rule, we need to change the html:link action to point to a different action, based on locale.
    Very inefficent, and I'm sure not industry standard best practice... we are using Tiles, and resource bundles for all our labels etc... but fall short in meeting this rule with regards to URLs and locale.
    Any advice or tips etc.. is greatly appreciated.

    The filter option sounds like a good solution. So it can receive the urls and parse them appropriately.
    You just need to take it one step further.
    Additional actionmappings in your struts-config should not be necessary.
    Filter:
    - analyses the url and sets the appropriate locale
    - adjusts the url such that the next level of the chain does not have to know anything about the locale being encoded in the url string.
    Thus your struts classes and mappings can remain unchanged
    /eng/page.do or /fra/page.do once through the filter should just look like /page.do to struts.
    That should get rid of half of your headache.
    Next the issue of generating urls.
    There are two approaches I can see here
    1 - use the filter approach again, this time with some post processing. Gather the generated HTML in a buffer, and do a find/replace on any urls generated, to put the locale encoding into them.
    2 - Customise struts to produce urls in this format. This would involve the html:link tag, and the html:form tag at the least (maybe others?). Get the source code for struts, and grab the html:link tag code. Extend that class to generate urls as you want them to be generated. I think you would need to extend the class org.apache.struts.taglib.html.LinkTag and override the protected method calculateURL. You would then have to edit/modify the struts-html tld to point the link tag at your classes rather than the standard ones.
    Option 1 is architecturally good because it gives you a well defined layer/border between having the locale encoded in the url, and not having it there. However it involves doing a find/replace on every html going out. This would catch all urls, whether generated by html:link tag or not.
    Option 2 requires customising struts for your own requirements, which may be a bit daunting, but has the advantage of generating the urls correctly without the extra overhead involved with option 1. Of course you would have to ensure that ALL urls are generated with the html:link tag.
    On reflection, I think option 1 is preferable, as both easier and quicker to implement, and doing a better separation in the architecture.
    Cheers,
    evnafets

  • Page not loading correctly in local Preview

    When I preview in a browser—Safari on Firefox, the page doesn't load properly.
    Here's some background:
    It seems the problem centers around recently changing my local root folder to
    public_html--(to synchronize with my remote public_html root folder).
    All my pages on my local view, including Image Gallery (a template from project vii) pages had been in a
    subfolder: www
    After the reorganizing, all my pages updated and seem to be working
    correctly, except:
    1) When I preview (local) one of my Gallery Image pages with Safari, full
    size images can't be found—although all the links are correct.
    I looked at Safari's activity window; it showed errors in loading, as it was
    still looking for the full size images in the old www subfolder (which no
    longer exits) instead of the new root folder--public_html.
    2) The problem also happens when I create a new Image Gallery page.
    Note: these pages load correctly on the server.
    3) I would appreciate help with this.
    Thanks,

    Hard to comment without seeing any code but there's no need to rename your local root folder to be the same as your remote root folder.
    Provided the site definitions (local and remote) in DW are set correctly and the Host directory for the Remote Site is set to "public_html", DW can handle the file paths.
    I have several sites on different areas of my local hard drive with various folder names. Likewise the Host directory for the Remote Site varies: html, public_html, web and so on. DW is happy with all of them.

  • How do I add files to a local Subversion repository using JDeveloper?

    Hi Guys and Gals,
    Using Studio Edition Version 11.1.1.3.0. Extension "Version Support for Subversion 11.1.1.3.37.56.60".
    I'm getting into creating my first "real" JDeveloper program and want to implement Subversion control. I've never done anything with version control software before so please go easy on me.
    Problem:
    <ol>After my initial project import, I cannot add any new files to subversion since the "Add" icon remains grayed out.</ol>
    Process:
    <ol>I'm working off the Oracle JDeveloper 11g Handbook step by step (pages 57-59). I'm not sure what I'm doing wrong.
    <li>Create a local repository by going to Versioning | Subversion | Create Local Repository. No problems</li>
    <li>Select Versioning | Version Application. No problems again.</li>
    <li>All my files now have a '1' by them, but no state icons. I do have a new window called "Versioning Navigator" that popped up showing my files and subversion connection.</li>
    <li>I add a new file. It doesn't matter what type. From looking at the book and online sources, I should be able to right click the file or select Versioning | Subversion | Add to add the file, but the icons are grayed out on the main menu and on my right-click menu all I get is Versioning | Import Files or Versioning | Pending Changes. There are no pending changes in my Pending Changes window.</li></ol>
    What gives?

    Lovett,
    Not sure what you mean by "Integrated?" I'm guessing that what you are probably doing is creating a local repository - that will be OK for just learning and playing about on a single machine, but not for working in a team. I'd seriously recommend installing a SVN server (really, it's quite easy if you use VisualSVN - it's just run the installer and go), as it will be what you must use if you are working in a team environment. For learning - just run the SVN server on the JDeveloper machine - it's what I did when I wrote the articles.
    But yes, I understand the desire to keep it simple. You should be able to do most of the stuff in the ADF Essentials series (except for log in as different users) with a local repository.
    Best,
    John

  • Diffrent Exchange rate type for 1st Local Currency

    Hello,
    I have following problem:
    E.g.
    One company code in Germany having Local Currency as EUR and Another Company Code in France having Same Local Currency as EUR.
    If i am posting transaction say on 12/09/2008 in USD for both company code and Exchange rate in Two Countries are as follows:
    Germany  -EUR to USD -1.25 on -12/09/2008 EXRTTY: M
    France     -EUR to USD -1.50 on -12/09/2008 EXRTTY: M
    By default system picks up "M" exhchange Rate Type [EXRTTY]. And we cannot change exchange rate type for Currency "10" Local Currency.
    Please help me how take care of such situation.
    Regards,
    Manish

    Hi,
    No i want system to pick diffrent exchange rate so i want to change exchange rate type for 1st Local Currency.
    But that area is greyed out. Is there any system setting where i can maintain diffrent Exchange rate type for 1st Local Currency instead of "M". or is there any other way out that system will pick up diffrent exchange rate.
    Problem is that two entities are operating in different market having same local currency but conversion rate for Foreign currency will be diffrent e.g. Local Currency EUR Exchange rate between EUR -USD in France 1.20 and Exchange rate between EUR-USD in Germany 1.25.
    Is there any wayout to deal with such situation.
    Please suggest.
    Regards,
    Manish

  • How to show value and unit in different columns

    Hi All,
    I need ABAP help for the below requirement in BI7.0
    Data source contains  the field Amount in local currency (Data source is flat file of CSV format)
    Amount in local currency
           1000  INR
           2000  INR
           1000  GBP
           2000  EUR
    I have to get this value in target like below( value and unit should be in different columns)
    Amount in local currency              0currency
           1000                                           INR
           2000                                           INR
           1000                                           GBP
           2000                                           EUR
    Can any one help me how to declare the data type for  Amount in local currency and how to show this value in two columns in the target.
    Thanks,
    kishore.

    TYPES:BEGIN OF ty_stru,
      s1 TYPE string,
    END OF ty_stru,
    BEGIN OF ty_stru1,
      s2 TYPE string,
      s3 TYPE string,
      END OF ty_stru1.
    DATA:itab TYPE TABLE OF ty_stru,
          wa LIKE LINE OF itab.
    DATA:itab1 TYPE TABLE OF ty_stru1,
         wa1 LIKE LINE OF itab1.
    START-OF-SELECTION.
    "--Input--
    In input 1000 and USD having space
      wa-s1 = '1000 USD'.
       APPEND wa TO itab.
      wa-s1 = '1000 INR'.
       APPEND wa TO itab.
      wa-s1 = '1000 EUR'.
      APPEND wa TO itab.
    "--Input--
      LOOP AT itab INTO wa.
    SPLIT wa-s1 AT space INTO  wa1-s2 wa1-s3.*------> split command
    APPEND  wa1 TO itab1.*---------------->splited value store into another internal table
      ENDLOOP.
    "--Display--
      LOOP AT itab1 inTO wa1.
        WRITE: wa1-s2,
               wa1-s3.
      ENDLOOP.
    "--Display--
    Output:
    1000 USD
    1000 INR
    1000 EUR
    This is simple prgram for split a string into two different string based on space
    regards
    Dharma
    Edited by: dharma raj on Aug 19, 2009 2:01 PM

  • Date interpretation issues

    I am having some problems with a date query when running on
    different databases. We think that there is a different
    interpretation of the year. One seems to assume 2099(Oracle
    8.0.5) while the other is 1999(Oracle 8.1.6).
    This is the sample query that we are running:
    SELECT DISTINCT Restrictions.* FROM Restrictions WHERE (EndDate
    = '18-Oct-01') AND (BeginDate <= '31-Dec-99') Where is the difference coming from in the interpretation of the
    year? What should we do to ensure that the interpretation is the
    same across the different databases?
    Thanks,
    Dave Buckley

    If you select name, value from v$parameter where name like '%
    nls%';
    you will see nls_date_format = DD-MON-YY or DD-MON-RR. The
    queries you are using use an implicit date conversion like
    TO_DATE('01-JAN-99','DD-MON-YY') or 'RR' depending on the
    NLS_DATE format.
    This is an implicit data conversion done by Oracle. It is
    better to utilize the TO_DATE format and this will elivate your
    issues.
    Otherwise, you can set the NLS_DATE_FORMAT in the init.ora or at
    the session level. ALTER SESSION SET NLS_DATE_FORMAT='';
    Look at the TO_DATE function for the valid date formats.
    Good luck!
    Brad

  • Different Chapter ID for various assets in same excisable plant

    Dear SAP guru,
    We're currently using 4.6C.
    Currently we have a scenario where different category of asset will have different chapter id. And the same machinery will have different chapter id between local and import. In J1ID, 1 plant can only have 1 chapter id when material number is blank. If 1 plant have several chapter ID's then the system would not know what Excise percentage to extract from J1ID during the creation of Purchase Order. Can you advise how to resolve this scenario? Thanks.
    regards,
    Jules

    Hi,
    Then in that case create Material code for asset and assign chapter id in J1ID,
    shakir
    Edited by: Shakir on Jan 14, 2008 2:16 PM

  • Domain local groups with members from other (same forest) domains?

    I'm confused about granting access to a share via a domain local group that contains members from other domains. Consider this scenario:
    Joe Smith logs into his own domain (DALLAS.CORP.COM) and his token gets the DALLAS\sales global group.
    A share (named sales) in a different domain within the same forest (FORTSMITH.CORP.COM) assigns ntfs modify on its DACL via the FORTSMITH\sales_modify domain local group, which contains the DALLAS\sales global group.
    Joe goes to access the sales share...what happens, exactly?
    Since Joe logged into a DC in the DALLAS domain (outside the replication scope of the sales_modify group), his token does not contain sales_modify, right? So when he goes to access the sales share, that file server in FORTSMITH checks his token, doesn't
    see FORTSMITH\sales_modify in his token, and boom: access denied...right?

    Universal group is ok within the same forest but different domain.
    Domain local is ok between separate forest (Trust should be in place).
    Global is ok for same domain.
    See this for more details.
    http://msmvps.com/blogs/acefekay/archive/2012/01/06/using-group-nesting-strategy-ad-best-practices-for-group-strategy.aspx 
    Written by Ace Fecay-DS MVP.
    Regards~Biswajit
    Disclaimer: This posting is provided & with no warranties or guarantees and confers no rights.
    MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, MCTS, Enterprise Admin
    MY BLOG
    Domain Controllers inventory-Quest Powershell
    Generate Report for Bulk Servers-LastBootUpTime,SerialNumber,InstallDate
    Generate a Report for installed Hotfix for Bulk Servers

Maybe you are looking for