Automatically setting the GR flag on a PReq

Hi
I have a client which has all non-stock materials.  Purchase requisitions are either charged to Cost centers or to orders.  Item categories are either standard or service.   It's a fairly simple setup. 
They want to have purchase requisitions where standard lines default to a GR flag = yes, and disabled.  Also services lines where GR flag = no and disabled. 
Currently the GR flag is set to default to no on Account assignments (just using that as an example). 
I have been able to set the service lines on the Purchase req to display only, so that part is working.
My difficulty now is I need to force them to enter the GR flag to Yes for standard lines.  When I set the GR/IR indicator to required on the PT0B line (because that is the only indicator which is available), it forces me to enter the GR non-val flag. 
Has anyone done anything like this? 
Joyce Roessner

Thanks for the input, but I tried that.  You can not differentiate there between a service line and a material line - it treats them both the same and that is my problem.

Similar Messages

  • Can i automatically set the timestamp of a file based on part of its filename?

    I have a bunch of files (approx. 500) with the same name pattern, that is : name_CreationDate.pdf. For instance: invoice015_2013_06_25.pdf or invitation035_2012_11_30.pdf. The last 10 digits are always the creation date. The original timestamps of the files have been messed up by a batch application which set them all to the same day; therefore they mean nothing anymore.
    Is there a way to automatically set the timestamp (for instance the "Creation Date" one) to the date indicated in the filename? I was thinking of Automator or some kind of shareware/freeware. Does anyone of you have an idea about this? Ideally as a batch rather than individually.
    Thanks,

    Thank you for your script. I made a test based on your script:
    a) I copied a PDF file on my desktop and named it "URSAFF 1er trim 2012_1998_09_19.pdf". The date component I want to set ultimately is therefore 1998_09_19.
    b) I created a service in Automator and pasted your script in a "Run a Shell Script" command. I added the Get Specified Finder Items at the beginning to be able to test the script on the file from Automator. (See screen shot of Automator below)
    c) The script appears to run successfully but I don't see a change in the timestamps of the file after I display Get Info from the Finder. (See screen shot of Get Info after I run the shell script)
    I wonder if my Region settings (I am based in France) do not interfere with the date/time string layout compatible with touch in your script. Just in case, I have added a capture of these settings.

  • [ Solved ] Issue with Partitioning (setting the boot flag)

    I've tried to install Arch a few times. I always seem to run into this issue which affects me later on.
    fdisk (fdisk /dev/sda) doesn't provide me with the ability to set the boot flag on any of the partitions. Therefore I have issues when I get to the bootloader bit. (intend to use grub)
    When I use cfdisk (cfdisk /dev/sda), while its help does say pressing 'b' will toggle the flag, in all images I've seen of what cfdisk should look like there has been a column marked 'Flags'  - that isn't present for me. So, I have no way of knowing if it actually gets set, though I doubt it does.
    Partition Table is GPT.
    Though,
    fdisk -l gives
    Disk /dev/sda ~465.8 GiB
    Disk /dev/loop0 ~278.2 MiB //Not entirely sure what loop0 and loop1 are...
    Disk /dev/loop1 ~32 GiB
    Disk /dev/mapper... //the live image.
    I'm probably just making a simple mistake - though I have no idea what. Help?
    (Ruling out other errors, using latest dual architecture image, (using 86_64 UEFI) on this system; Asus X99 Pro, Core  i7 5820k, 16GB RAM, ~500GB SSD, generic video card).
    Last edited by AndyWM (2015-06-10 17:21:20)

    It's okay - I just decided to follow the beginner's guide again. It recommend the use of parted for GPT  when using UEFI. So I just did that,  I also went for gummiboot as the bootloader. Never used it before, but it seems to do the job...
    Did forget to create a user though, so I'll have to log in as root and do that.
    Anyway, I'll mark this as solved.

  • How do I make Mail automatically set the reciepient of an E-Mail as the replying E-Mail-Adress

    Hi!
    I have an @me.com iCloud E-Mail-Adress with 2 Aliases
    I'm using one of them for students of my tutorial at the university, so that they can contact me without knowing my actual email-adress.
    so when someone of them sends me a message to this tutorial-alias and a write an answer, i always have to set the replying email adress
    from my actual @me.com to the tutorial-alias.
    I often forget to do this, so in the replying email people see my actual one instead of the alias, answer on it again, and everybody starts using both.
    I want to prevent this, so ist there a way to automatically set the replying adress to the one the former email im replying on was sent to?
    Regards
    DaNylz

    Mail Preferences:
    It works with accounts; I've never tried it with aliases but you may be lucky. Presumably from what you say they already appear in the drop-down menu when composing.

  • You must set the deletion flag in the master record

    Hi,
      when I go  through  Archiving  document,
      Pre requiste is to 'you must set the deletion flag in the master record'.
      Please  let   me  know  how  to set  deletion  flag.
    Thanks,
    Asha

    For archiving you have to Flag thel master record for deletion. This is known as logical deletion.
    For examble make customer delete ie set flag you can use tranx vd06

  • In table TCURC set the primary flag

    Hello,
    I am trying to do a RSCRM_BAPI download and am getting an error in the job log "For the ISO code there is no unique SAP currency code for ALE".  The procedure says to set the primary flag for ISO codes used multiple times in the TCURC table.  I have looked at the table and indeed there are two entries for the ISO code USD.  One is a currency USD and the other is USDN for Internal United States Dollar.  Has anyone seen this before or adjusted this table for this problem.   Seems to me that USD should be the the primary ISO code but i am reluctant to make the change without knowing the implication.
    TMS

    Hi Ted,
    Please check OSS note 605208 - RSCRM - Restrictions.
    "The OLAP processor delivers the RSCRM the SAP currency code. The RSCRM has to convert this code to the ISO code. Therefore the table TCURC has to be maintained correctly. If an ISO code appears several time in the ISOCD column, exactly one line should have set the XPRIMARY flag to 'X' for this ISO code. Otherwise a warning is thrown. But it should work also with this warning. The warning is just annoying."
    Hope this helps...

  • Production Orders - Setting the Deletion Flag

    Our company is at a point where we need to begin setting the deletion flag on old production orders so that our settlement process does not time out.  I have read countless posts on the subject but I am still lost on how to proceed.
    We do not currently archive any data (future project but not in the immediate future), so I am left wondering:
    If I execute PPARCHP1 directly and only set the deletion flag, will I be able to make use of the archiving process at a later date without problems?
    Regards,
    Austin

    Hi,
    Yes you can proceed to use PPARCHP1 to set deletion flag for the production orders. Normally all order types will have a residence time of 1 month, which means you have the option to revoke the deletion flag during that one month.
    So for your need, you can run the report & set deletion flag, check the residence time for the order type in OPJH, if it says 1 month, then after 1 month you can run the same report & set the deletion indicator.
    Then based on the time specified in residence time 2 you can proceed with the archival process after the completion of that time.
    Hope it clarifies.
    Regards,
    Vivek

  • Automatically set the Black and the White points in Aperture?

    Jasoninajeep, in this thread, refers to this Aperture Export article, which includes the helpful hint that holding "{Option}" while clicking the auto-luminance button in the Curves brick will cause Aperture to set the Black and the White points without making any other changes.
    Is there any other way to automatically set the Black and the White points in Aperture?
    Thanks.

    Hi BBurgess!
    Unfortunately, it sounds like you may have a service issue on your hands.  While our QuickStart guide provides details on installing the cartridges in their respective slots, putting those catridges in the wrong position may cause an internal issue with the Canon PiXMA MG3222.  
    We recommend contacting our Technical Support group directly via this Contact Us link.  Our Technical Support group can provide you with all available service options.
    Thanks!

  • Automatically set the stroke color as fill color

    Hello all,
    I have a file with two squares with red and blue fill colors respectively and transparent surrounding strokes. I'm trying to find a way to automatically set the stroke color of each square to the respective fill color.
    Is there an Illustrator script somewhere that would achieve that? I am not aware of an internal Illustrator command for this purpose.
    Thank you

    I'm not a scripting guy at all, but getting an object's fill color and applying it elsewhere sounds like it should be scriptable. You should post the question in the AI Scripting Forum.
    The hitch I see here is your assertion that your objects have "transparent surrounding strokes." I could be wrong, but I believe there is actually no such thing in Illustrator. Through some simple experimenting, I conclude that an object's stroke set to "no color" by choosing the blank swatch actually becomes a stroke of undetermined, or perhaps zero, weight.
    Take an object with a stroke color and weight and set its stroke to no color. The weight goes away as well. One can't exist without the other, and vice-versa, with repect to stroke weight and color. Now enter a weight for that colorless stroke, and it again receives color; defaulting to black regardless of what it may have been previously.
    Similarly, if you assign a color where there is no weight, a 1-point weight appears by default.
    I'm not sure how/if that plays into your plans, but I just thought I'd ramble on about it here in case it's something you hadn't considered.

  • Is there a way to make it automatically set the ouputs of new tracks to Bus 5? (or something other than Stereo Out?)

    When I add a new track, it is automatically set to Stereo Out, is there a way to make it automatically set to Bus 5?  I use a mix that sends everything through busses and every time I add a track it seems I have to adjust this.
    Thanks

    ...and/or setup one or more tracks the way you want.. and then create/save a template and load that when you want to start a new project...
    You can even have Logic (via it's Startup preferences) autoload that template every time you start a new project... by choosing your template as the default one.
    See this page in the User Guide for more info

  • Automatically Setting the Masterpage in Sharepoint 2013

    I am trying to install our custom masterpage (and supporting files) as a feature which would automatically turn on and set the default masterpage to our custom one.
    When deploying in VS2012, it works fine. The feature is installed & activated at the site collection level and the default masterpage is successfully changed.
    But when I publish the solution and install the WSP via Solution Management in Central Administration, it doesn't work. The feature gets installed & activated at the site collection level BUT it doesn't set the masterpage to our default.
    If i then turn the feature off and back on again the default masterpage is correctly set to our custom masterpage.
    Our requirement is to have everything done automatically so having not having to turn the feature off and back on is something we need.
    I'd appreciate any tips or help to get this working.
    using System;
    using System.Runtime.InteropServices;
    using System.Security.Permissions;
    using Microsoft.SharePoint;
    using System.Linq;
    namespace our_masterpage.Features.Activate.Custom.Master
    /// <summary>
    /// This class handles events raised during feature activation, deactivation, installation, uninstallation, and upgrade.
    /// </summary>
    /// <remarks>
    /// The GUID attached to this class may be used during packaging and should not be modified.
    /// </remarks>
    [Guid("fca75088-7182-4727-853a-76e82fdfc7a1")]
    public class ActivateCustomEventReceiver : SPFeatureReceiver
    {/// Activating the feature
    public override void FeatureActivated(SPFeatureReceiverProperties properties)
    SPSite site = properties.Feature.Parent as SPSite;
    if (site != null)
    SPWeb topLevelSite = site.RootWeb;
    // Calculate relative path to site from Web Application root.
    string webAppRelativePath = topLevelSite.ServerRelativeUrl;
    if (!webAppRelativePath.EndsWith("/"))
    webAppRelativePath += "/";
    // Activate publishing infrastructure
    site.Features.Add(new Guid("f6924d36-2fa8-4f0b-b16d-06b7250180fa"), true);
    // Enumerate through each site and apply branding.
    foreach (SPWeb web in site.AllWebs)
    // Activate the publishing feature for all webs.
    web.Features.Add(new Guid("94c94ca6-b32f-4da9-a9e3-1f3d343d7ecb"), true);
    web.MasterUrl = webAppRelativePath + "_catalogs/masterpage/our-custom-masterpage.master";
    web.CustomMasterUrl = webAppRelativePath + "_catalogs/masterpage/our-custom-masterpage.master";
    web.Update();
    /// Deactivating the feature
    public override void FeatureDeactivating(SPFeatureReceiverProperties properties)
    SPSite siteCollection = properties.Feature.Parent as SPSite;
    if (siteCollection != null)
    SPWeb topLevelSite = siteCollection.RootWeb;
    // Calculate relative path to site from Web Application root.
    string webAppRelativePath = topLevelSite.ServerRelativeUrl;
    if (!webAppRelativePath.EndsWith("/"))
    webAppRelativePath += "/";
    // Enumerate through each site and apply branding.
    foreach (SPWeb site in siteCollection.AllWebs)
    site.MasterUrl = webAppRelativePath + "_catalogs/masterpage/seattle.master";
    site.CustomMasterUrl = webAppRelativePath + "_catalogs/masterpage/seattle.master";
    site.SiteLogoUrl = string.Empty;
    site.Update();

    The question was answered in another forum,..
    Second, your code fails because it assumes that the feature activation happens while on a particular SharePoint web site:
    SPSite site = properties.Feature.Parent as SPSite;
    If activating via PowerShell you will not get a valid SPSite object via the code above, while it works just fine if running via a Web browser UI on the site collection feature page.
    Disabling the auto-activation and run the corresponding PowerShell code to activate the feature once the WSP has been installed and deployed should fix your problem.
    Do this worked like a charm.

  • Setting the 'reportable' flag for a very large ODS

    Hello Community,
    I am working on a very large BW system (6 Tb), and we recently have the need to set the 'BEx Reporting' flag on some very large ODS objects.
    It was my impression that setting this flag would be easy to do.  But the transport that contains this flag for six large ODS objects has already been running for more than 16 hours.
    Can you tell me, what actually happens in the database when the 'BEx Reporting' flag is turned on for an ODS ?
    Thanks !
    Keith

    Hello Bhanu,
    Thanks for the quick response.  Are you able to provide some more information ?
    are the SID values created in a new SID table ?
    if the ODS was already very large, then would you expect the new SID table to also be very large ?
    what about the case if a SID value already exists for the characteristic ?
    Thank you !
    Keith

  • Cannot Set the Deletion Flag on Order

    All the SAP Gurus,
    I am facing a problem when setting deletion flag for the Maintenance Order after I have Closed the Maintenance Order. It gives me the following error that the Purchase Order still exists that is why Deletion flag cannot be set on the Order. Now what should I do? How to delete the Purchase Order?
    Regards,
    Usman

    hi
    Since PO is already converted it is not possible to put the deletion flag unless all the services or material has been purchased.
    In the maintenance order try to delete the service or material ,which in turn deletion icon will  be set in the PR .
    then try to put the deletion flag for closed order
    regars
    thyagarajan

  • Automatically set the mail profile for users

    Hello all,
    Is it possible to set the default delivery profile of all users to email and add the email device as well.
    I have integrated OBIEE with LDAP, so I can read all mail adressess of the users.
    But for now every user has to 'configure' his own delivery profile.
    (I meand the screen when you go to settings -> my account)
    Is it possible to set this profile automatically?
    can't find anything about this, but I think it is strange that it can't be done...
    So hope anyone out here have a good tip for me!
    best regards,
    Remc0

    Hi,
    Yes it is possible to have users' email addresses set automatically, it is what the SA System subject area is for. However I am not sure whether it is possible to get the email from LDAP. The only method I am aware of is to have a database table which holds the user's contact details and then set up SA System to use this table. The user will then have a delivery profile called "System profile" and a device called "System email" which will be the default, the email address for this device will be the one from the table and cannot be changed (although the user can override it by creating a new device/profile.
    There is a section in this book:
    Oracle® Business
    Intelligence Server
    Administration Guide
    Version 10.1.3.2
    December 2006
    Called
    About the SA System Subject Area
    Which should point you in the right direction.
    Regards,
    Matt

  • Automatically setting the browsers title

    Hi,
    we are rendering xdp forms using LiveCycle Forms 7.1, and using Reader 8.0. The pdfs are opened inside of the browser.
    Just wondering if there is a way, in the xdp, of setting the browsers title when it opens the pdf? something like xfa.host.title = "Window title", although this does not work.
    Currently, the title is set to the URL of the link used to generate the xdp.
    thanks,
    John

    The question was answered in another forum,..
    Second, your code fails because it assumes that the feature activation happens while on a particular SharePoint web site:
    SPSite site = properties.Feature.Parent as SPSite;
    If activating via PowerShell you will not get a valid SPSite object via the code above, while it works just fine if running via a Web browser UI on the site collection feature page.
    Disabling the auto-activation and run the corresponding PowerShell code to activate the feature once the WSP has been installed and deployed should fix your problem.
    Do this worked like a charm.

Maybe you are looking for