Cats: No Approver column in Cats _DA

Hi,
Recently we noticed a Wierd issue, where in the approved by, approved date, columns were missing in Cats table. Since these values wiill be pulled directly from the org unit assignment and for contractors from a custom table.
But the problem here is for an external.But when we checked the custom table, we could see the assignment of Line manager.We compared with other externals, assignment, missing of authorisations etc., nothing seems to be an issue.Every thing seems to be fine.But for only one employee the Linemanger is not picking up in cats.
And when we noticed in BI report the approver details are populating as #.But in R/3, the column itself is missing.
Any suggestions would be highly appreciated.

Please note that the prerequisite for a field to be hidden on the
data entry screen of transaction CAT2 is that this field have
the button 'Hide' set in transaction CAC2,  in the 'Influencing'
(per profile)
Also check in  the 'Modifiable' (per client) part ie this is global setting for CATS, it can be set as display here but to hide
it you can do as above in 'influenceing'

Similar Messages

  • To change the default value in approval column of Approve time data view

    Approve working times in MSS
    For a manager:
    Approval view in approve time data iview has a column with name approval.  The value is defaulted to approve all. Can any one let me know how to change this value.
    Or  point me to any documentation which will be of help with this.
    ESS BP Version 1.41
    ECC 6.0 EHP4
    Thanks,
    John.

    Hi John,
                  uncheck the mass approval option in the Timesheet config.
    Cheers!!!
    Umang

  • EP7.0 - How to configure UWL Mass Approval Column

    Hi All,
    Any one of you know how can I configure the UWL with "Approve" and "Reject" column for ESS-Leave Request mass approval?
    For example, the manager can perform the mass approval by clicking the "Approve" check box and click "submit" button from the UWL instead of approve one by one....
    We are using EP7.0
    Thanks!
    Best Regards,
    S.Y

    Hello SY,
    This can be achieved using an xml config. The following document describes the config you need to do to achieve the decision (Mass Approval) view:
    <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/fa21a890-0201-0010-708b-d0cfc117e7cd">How to configure the UWL</a>
    This should help you get started. Feel free to post any queries to the forum.
    Sudha

  • Update Column value after current item is Approved and then publish major version using Sharepoint 2013 designer workflow

    Hi,
    We have a requirement to update a column value once the item has been approved.
    Following settings have been made in the publishing articles list:
    Require content approval for submitted items : yes
    Create major and minor (draft) versions
    Who should see draft items in this document library? :Only users who can edit items
    Require documents to be checked out before they can be edited? : yes
    I have createdatu a Sharepoint 2013 workflow to check if Approval sts of current item = 0 i.e. Approved , then check out and update the item and finally checkin the item. Everything works fine till this point except that the minor version of the item is
    checked in. Due to this the updated columns are not published to others.
    Also, I created a Sharepoint 2010 workflow to SET CONTENT APPROVAL = APPROVED and started this workflow from my list workflow above, but the item does not get checked-in and always shows "In Progress" status with comment "The item is currently
    locked for editing. Waiting for item to be checked in or for the lock to be released.".
    Please let me know where I am missing out so that once the item is approved, column value gets updated and current item is still in Approved status.
    Thanks

    Hi,
    According to your post, my understanding is that you want to update Column value after current item is Approved and then publish major version using Sharepoint 2013 designer workflow.
    You will get into this kind of Catch-22 situation trying to set the Content Approval Status in SharePoint Designer workflow:
    - You must check out the document before you can change the Content Approval Status
             - You can't change the Content Approval Status once the document in checked out
    Since you set the Require documents to be checked out before they can be edited=Yes, you will need to check out the document when run the workflow on the item. But you cannot approve a document when it is checked
    out. So the logic in workflow conflicts.
    As a workaround, you can use the Start Another Workflow action to start the normal Approval workflow on the document.  The built-in Approval workflow can work with a document that’s not checked out.
    The designer approval workflow also can work with a document that’s not checked out.
    You can create two workflow using SharePoint Designer 2013.
    First, create a SharePoint 2010 platform workflow.
    Then, create a SharePoint 2013 platform workflow.
    Then when the SharePoint 2013 platform workflow start, it will start the SharePoint 2010 platform workflow to set content approval status, then the SharePoint 2013 platform workflow will update current item value.
    More information:
    SharePoint Designer Workflow Content Approval Issue
    SharePoint 2010 Approval Workflow with Content Approval
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Sort of field Approval in MSS Approval time by manager

    Hello Experts,
    When I use the Time approval by the manager in MSS, in the approval field I can choose from Approve (all), Reject (all) or Resubmit (all). Standard the screen opens with Approve (all). Does anyone know if this order can be changed and that the screen starts with Resubmit all?
    Regards,
    Rudi

    Well this will require both the front end and backend changes
    The RFC Function Module called is HRMSS_CAT_WD_APPROVAL. I believe
    values for the approval column are either fetched from backend
    (FM HRMSS_CAT_WD_APPROVAL) or are coded in webdynpro application
    sap.com/msscatapproval.

  • In an approval workflow, how do I wait for either Approval or Reject to proceed?

    I have a field that will get set to Approved or reject in the form.  In the workflow I inserted the action "Wait for a field to change in current item".  The program is it reads:
    WAiT FOR "SOMEFIELD" TO EQUAL "VALUE"
    the value could be "Approved" or "Reject".  How can I set the wait till the value is changed to proceed to next action in the workflow?
    Thank you.

    Hi,
    According to your post, my understanding is that you wanted to create a workflow to wait for the filed changed and then proceed to next action.
    As Matt
    Milsark's Blog said,
    in the SharePoint Designer 2013, the value of the action has to be equal to.
    However, we cannot use parallel blocks to wait for the item to change.
    When the column’s value of the List is “Approved” at the first and not changed, the workflow also will start and perform the next action.
    The reason is that if we create an item which set the column value to “Approved”, the workflow will proceed to the Approved Step without any changes and then wait for the filed changed to Rejected.
    As a workaround, we can use the “Stage” and the “Wait for Filed Change in Current Item” action.
    You can follow the steps as below to implement it.
     Create a Custom List > Create a Column with the type of “choose” > Set the Column’s value is “Approved” or “Rejected.
       Open the SharePoint Designer 2013 > Create a Workflow for this List > Add some conditions and actions
    as below:
       3. Click “Save” to save the workflow.
       4. Go to the “Navigation” and click the “Workflows” > Open the new workflow > Go to “Start Options” > Check “Start workflow automatically when an item is created”.
       5. Click “Publish” to publish the workflow.
    In addition, we can use the “Wait for Event in List Item” action to achieve what you want.  Please create workflow as below:
    Then if the “Approved” Column’s value of the current item is changed to “Approved”, the workflow will log “Approved Column changed to Approved”.
    If the “Approved” Column’s value of the current item is changed to “Reject”, the workflow will log “Approved Column changed to Rejected”.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Change texts in Approve Working Time

    Hi,
    In approve working time we have a dropdown wherein we have options like 'Approve' or 'Approve All'. Can we change the texts of these  like 'Approve Time for all'

    there is no customisation available for this, but change in java code is requiired usinhg NWDI
    ie
    The RFC Function Module called is HRMSS_CAT_WD_APPROVAL. I believe
    values for the approval column are either fetched from backend
    (FM HRMSS_CAT_WD_APPROVAL) or are coded in webdynpro application
    sap.com/msscatapproval.

  • Workflow  in ESS/MSS

    Hi experts,
    We want to customize a workflow for approved overtime when an employee entered it via ESS.
    Do you have an idea ?
    Thanks in advance
    Soufiene

    HI Soufiene ,
    Go to spro --> Cross-application components --> Timesheet --> specific settings for cats regular /classic --> Record working time --> Set up data entry profile --> select the configured profile and double click --> under approval column select radiobutton 'with approval process ' and select two check boxes 'with sap business workflow' and 'with auto determination of receipient' and enter task id as
    TS31000007.
    Also , please refer
    Re: Workflow for Time-Sheet Approval through ESS
    Thanks,
    Sahiba

  • Restrict Which Users Can Enter Data In List Form in SharePoint Foundation 2013

    Is there a way to restrict which users can enter data in particular fields in a list item entry form?
    We are using a SharePoint Foundation 2013 list and calendar to manage vacation time. We need to restrict non-supervisor users users from entering a value in a certain field in the vacation request form.
    Here is how the system works now:
    1. Employees complete the vacation request form (which creates a list item)
    2. An email is sent to their supervisor to either approve or decline the request
    3. Approved requests are automatically entered onto the vacation calendar
    We have restricted the list so that only supervisors can edit items (the pending vacation requests). The problem is that all users can mark their own requests as approved when they fill out the request form in the first place. Is there a way to restrict
    which users can enter data in particular fields on a list item entry form?

    Thanks for the suggestion. We ended up 1) hiding the approval column and 2) creating a second list, workflow, etc. The user no longer sees the approval column when filling out the form. Requests are now submitted to list A. Workflow #1 copies the request
    to List B, then deletes the item from List A. Once the request is added to List B, Workflow #2 emails the user that the request has been received and emails the supervisor that a request needs to be approved. Only supervisors have editing permissions on List
    B. Approved requests are automatically added to the vacation calendar (the calendar view of List B).
    We found the following site to be helpful in learning how to hide the list column:
    http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2013/06/03/how-to-hide-a-sharepoint-list-column-from-a-list-form.aspx

  • Server not downloading all of the assigned updates

    I have a mix of Windows 2008R2 and Windows 2003 servers at one of my clients.  I approved Windows updates for the servers a couple of weeks ago.  Most of the updates downloaded and installed with no problems, but I noticed at the time that some
    of the updates on several servers didn't download.  These servers are set by group policy to detect and download updates but not to install them automatically.  In WSUS, the computer "updates needed" report shows the updates under
    the Approval column as "Install" but the status column shows "Not Installed," where it should be "Downloaded."
    Nothing has changed since the servers were restarted a couple of weeks ago after the initial installation of the other approved updates. I looked in the Windows Update log for one of the servers, but I can't find anything that stands out.  It looks
    to me as though the server finds the update it needs (there's only one outstanding on this particular server) but just never downloads it.
    2015-03-30 13:42:52:637  928 1944 AU #############
    2015-03-30 13:42:52:637  928 1944 AU ## START ##  AU: Search for updates
    2015-03-30 13:42:52:637  928 1944 AU #########
    2015-03-30 13:42:52:637  928 1944 AU <<## SUBMITTED ## AU: Search for updates [CallId = {B6316D61-9CBE-4D6B-9575-2E7071239520}]
    2015-03-30 13:42:52:637  928 220c Agent *************
    2015-03-30 13:42:52:637  928 220c Agent ** START **  Agent: Finding updates [CallerId = AutomaticUpdates]
    2015-03-30 13:42:52:637  928 220c Agent *********
    2015-03-30 13:42:52:637  928 220c Agent   * Online = Yes; Ignore download priority = No
    2015-03-30 13:42:52:637  928 220c Agent   * Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation' or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1
    or IsInstalled=0 and DeploymentAction='Uninstallation' and RebootRequired=1"
    2015-03-30 13:42:52:637  928 220c Agent   * ServiceID = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7} Managed
    2015-03-30 13:42:52:637  928 220c Agent   * Search Scope = {Machine}
    2015-03-30 13:42:52:668  928 220c Setup Checking for agent SelfUpdate
    2015-03-30 13:42:52:684  928 220c Setup Client version: Core: 7.6.7600.320  Aux: 7.6.7600.320
    2015-03-30 13:42:55:304  928 220c Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wuident.cab with dwProvFlags 0x00000080:
    2015-03-30 13:42:55:319  928 220c Misc  Microsoft signed: NA
    2015-03-30 13:42:55:319  928 220c Misc WARNING: Cab does not contain correct inner CAB file.
    2015-03-30 13:42:55:319  928 220c Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wuident.cab with dwProvFlags 0x00000080:
    2015-03-30 13:42:55:335  928 220c Misc  Microsoft signed: NA
    2015-03-30 13:42:55:335  928 220c Setup Wuident for the managed service is valid but not quorum-signed. Skipping selfupdate.
    2015-03-30 13:42:55:335  928 220c Setup Skipping SelfUpdate check based on the /SKIP directive in wuident
    2015-03-30 13:42:55:335  928 220c Setup SelfUpdate check completed.  SelfUpdate is NOT required.
    2015-03-30 13:42:57:768  928 220c PT +++++++++++  PT: Synchronizing server updates  +++++++++++
    2015-03-30 13:42:57:768  928 220c PT   + ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, Server URL =
    http://york:8530/ClientWebService/client.asmx
    2015-03-30 13:42:57:799  928 220c PT WARNING: Cached cookie has expired or new PID is available
    2015-03-30 13:42:57:799  928 220c PT Initializing simple targeting cookie, clientId = 482ec978-1913-48ae-8979-50134325e59a, target group = , DNS name = server.domain.com
    2015-03-30 13:42:57:799  928 220c PT   Server URL =
    http://WSUS:8530/SimpleAuthWebService/SimpleAuth.asmx
    2015-03-30 13:43:24:051  928 220c PT +++++++++++  PT: Synchronizing extended update info  +++++++++++
    2015-03-30 13:43:24:051  928 220c PT   + ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, Server URL =
    http://WSUS:8530/ClientWebService/client.asmx
    2015-03-30 13:43:27:764  928 220c Agent   * Added update {E06056E3-0199-4C68-8AC3-BDDDFF356A0A}.105 to search result
    2015-03-30 13:43:27:764  928 220c Agent   * Found 1 updates and 74 categories in search; evaluated appl. rules of 902 out of 1694 deployed entities
    2015-03-30 13:43:27:764  928 220c Agent *********
    2015-03-30 13:43:27:764  928 220c Agent **  END  **  Agent: Finding updates [CallerId = AutomaticUpdates]
    2015-03-30 13:43:27:764  928 220c Agent *************
    2015-03-30 13:43:27:858  928 2628 AU >>##  RESUMED  ## AU: Search for updates [CallId = {B6316D61-9CBE-4D6B-9575-2E7071239520}]
    2015-03-30 13:43:27:858  928 2628 AU   # 1 updates detected
    2015-03-30 13:43:27:858  928 2628 AU #########
    2015-03-30 13:43:27:858  928 2628 AU ##  END  ##  AU: Search for updates [CallId = {B6316D61-9CBE-4D6B-9575-2E7071239520}]
    2015-03-30 13:43:27:858  928 2628 AU #############
    2015-03-30 13:43:27:858  928 2628 AU Successfully wrote event for AU health state:0
    2015-03-30 13:43:27:858  928 2628 AU Featured notifications is disabled.
    2015-03-30 13:43:27:858  928 2628 AU AU setting next detection timeout to 2015-03-30 18:41:51
    2015-03-30 13:43:27:858  928 2628 AU Successfully wrote event for AU health state:0
    2015-03-30 13:43:27:858  928 2628 AU Successfully wrote event for AU health state:0
    2015-03-30 13:43:32:772  928 220c Report REPORT EVENT: {1CA3D6A9-90BA-4DF2-A201-13A2A4F8B138} 2015-03-30 13:43:27:764-0400 1 147 101 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Software
    Synchronization Windows Update Client successfully detected 1 updates.
    2015-03-30 13:43:32:772  928 220c Report REPORT EVENT: {727C06EB-A5D7-4DBD-BC38-3AD544D6428C} 2015-03-30 13:43:27:764-0400 1 156 101 {00000000-0000-0000-0000-000000000000} 0 0 AutomaticUpdates Success Pre-Deployment
    Check Reporting client status.
    2015-03-30 13:43:32:772  928 220c Report CWERReporter finishing event handling. (00000000)
    2015-03-30 13:52:59:874  928 220c Report Uploading 2 events using cached cookie, reporting URL =
    http://WSUS:8530/ReportingWebService/ReportingWebService.asmx
    2015-03-30 13:52:59:874  928 220c Report Reporter successfully uploaded 2 events. 
    Any help would be appreciated.
    Deb

    Hi Deb,
    Could you check the updates and install them manually?
    If it works, please check if the GPO is applied properly:
    gpupdate /force
    gpresult /h C:\report.html
    Check the detailed information in report.html
    Note: This procedure need the privilege of the Administrator.
    If the GPO is applied properly, please try to reset the Windows Update Agent.
    For detailed information, please follow the steps below:
    http://support.microsoft.com/en-us/kb/971058
    Best Regards.
    Steven Lee Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • SCCM 2012 R2 - Distribution Point untrusted domain - Not acknowledging Network Access Account (FYI)

    Hello!
    Scenario
    Built a single primary site server in one domain with multiple distribution points. All site servers are member of this one site.
    The distribution points in the primary site servers' domain function as expected. The distribution point deployed to an untrusted domain does not. The primary site server can see all objects in the domain, publishes successfully, and CCM client on the
    DP in the untrusted domain knows its part of the site, knows its AD site (according to locationservices.log). The DP role is installed properly, logs are populating, queries are being made for application lists and updates. nfortuantely authentication
    errors indicate that this software can'tbe downloaded.
    In essence the DP in the untrusted domain can't pull down content from the primary site server. The role uses BITS to download content from IIS on the primary site server, but the requests each throw a 401 error. Unauthorised. This should be an easy fix.
    Create a Network Access Account in the primary site server's domain, assign it to the site (Software Distribution setting), wait for the DP to pick up the setting and watch it retrieve its content. The DP in the untrusted domain is configured as a Pull DP,
    implying it has to use a Network Access Account to download content. It knows the content is available and makes every effort to download it.
    Problem
    The DP in the untrusted domain doesn't know a Network Access Account (NAA) has been defined for the site.
    The account does exist, created in the primary site server's domain and assigned to the site. Its not a password issue. IIS has not been set for Anonymous access as this isn't needed - the NAA should provide the credentials it requires to pull down content.
    A manual check using the URL of the package confirms the package is accessible from the DP when using the NAA's credentials. I've allowed enough time (i think) for the DP to acknowledge the NAA. For fun the DP role was removed, and the CCM agent removed. Both
    were reinstalled. A fresh install didn't detect the NAA.
    Solution
    After some soul searching and a little frustration, it came down to this: A Pull DP always uses the Network Access Account. If the DP can't find a Network Access account it will fail to pull down content. This is undisputed. Found an article that states
    the Pull DP always uses the CCM client configuration to do its dirty work. At that point the CCM client was checked. It had the classic problem of only displaying two Actions - Machine Policy Retrieval & Evaluation Cycle, User policy Retrieval & Evaluation
    Cycle. Most components were installed but not enabled. This is fairly common. Looked at the console, found the device, added the Approval column. Turns out it wasn't auto-approved. Reason being that the client is in an untrusted domain and clients in untrusted
    domains aren't approved automatically (by default).
    In this case something as simple as an Approving the client fixed these issues. 
    The DataTransferService.log highlights the issue:
    <![LOG[CDTSJob::JobError: DTS Job ID='{17E0B672-F699-434D-B063-87CC2ACF715C}' BITS Job ID='{38B81ADE-55B5-4BD7-A881-DBFF13943EDE}' ErrorCode=0x80190191]LOG]!><time="18:25:54.264+00" date="02-19-2015" component="DataTransferService"
    context="" type="1" thread="3136" file="dtsjob.cpp:3501">
    <![LOG[CDTSJob::JobError: DTS Job ID='{17E0B672-F699-434D-B063-87CC2ACF715C}' URL='http://PRIMARYSERVER.A.B.COM:80/SMS_DP_SMSPKG$/5af1680e-4a14-4dc5-8a60-bda7370e6d68'
    ProtType=1]LOG]!><time="18:25:54.264+00" date="02-19-2015" component="DataTransferService" context="" type="1" thread="3136" file="dtsjob.cpp:3504">
    <![LOG[Authentication required by the proxy, DTS Job ID='{17E0B672-F699-434D-B063-87CC2ACF715C}' BITS Job ID='{38B81ADE-55B5-4BD7-A881-DBFF13943EDE}'.]LOG]!><time="18:25:54.264+00" date="02-19-2015" component="DataTransferService"
    context="" type="3" thread="3136" file="dtsjob.cpp:3513">
    <![LOG[DTSJob {8814E9A1-3D26-4089-83CF-3C7D17BCEC6E} in state 'Cancelled'.]LOG]!><time="18:25:54.264+00" date="02-19-2015" component="DataTransferService" context="" type="1" thread="3688"
    file="dtsjob.h:166">
    <![LOG[DTS job {17E0B672-F699-434D-B063-87CC2ACF715C} BITS job
    {38B81ADE-55B5-4BD7-A881-DBFF13943EDE} encountered Access Denied error during download.  Will retry using Network Access Account.]LOG]!><time="18:25:54.264+00" date="02-19-2015" component="DataTransferService"
    context="" type="2" thread="3136" file="dtsjob.cpp:3652">
    <![LOG[DTSJob {8814E9A1-3D26-4089-83CF-3C7D17BCEC6E} cancelled by client.]LOG]!><time="18:25:54.280+00" date="02-19-2015" component="DataTransferService" context="" type="1" thread="3688"
    file="dtsjob.cpp:3205">
    <![LOG[No network access account info found.]LOG]!><time="18:25:54.327+00" date="02-19-2015" component="DataTransferService" context="" type="1"
    thread="3136" file="netaccessaccount.cpp:288">
    <![LOG[The network access account is not defined.]LOG]!><time="18:25:54.327+00" date="02-19-2015" component="DataTransferService" context=""
    type="1" thread="3136" file="netaccessaccount.cpp:858">
    <![LOG[DTSJob {17E0B672-F699-434D-B063-87CC2ACF715C} encountered error setting BITS job to use Network Access Account
    (0x00000000).]LOG]!><time="18:25:54.327+00" date="02-19-2015" component="DataTransferService" context="" type="3" thread="3136" file="dtsjob.cpp:1885">
    The IIS server logs u_ex150219.log captures the request:
    2015-02-19 123.11.12.13 GET /SMS_DP_SMSPKG$/5af1680e-4a14-4dc5-8a60-bda7370e6d68/sccm /windows6.1-kb3021917-x64.cab 80 - 9.10.11.12 Microsoft+BITS/7.7 -
    401 2 5 1509 2
    2015-02-19 123.11.12.13 GET /SMS_DP_SMSPKG$/5af1680e-4a14-4dc5-8a60-bda7370e6d68/sccm /windows6.1-kb3021917-x64.cab 80 - 9.10.11.12 Microsoft+BITS/7.7 -
    401 1 3221225581 1509 4
    2015-02-19 123.11.12.13 GET /SMS_DP_SMSPKG$/5af1680e-4a14-4dc5-8a60-bda7370e6d68/sccm /windows6.1-kb3021917-x64.cab 80 - 9.10.11.12 Microsoft+BITS/7.7 -
    401 1 3221225581 1509 3
    2 x Domains: DomainA and DomainX
    - Single domain forests
    - No trusts between domains/forests
    DomainA\PRIMARYSERVER
    - Primary Site Server, MP, DP, IIS, all roles
    DomainX\DP1
    - Distribution Point, IIS, etc
    - CCM client installed

    Based on the above, you are using a PullDP. If so, have you installed the client agent on this system? The client agent is required on PullDPs in untrusted domains so that they can acquire the NAA.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Update current date in mysql using Update form DW CS4 PHP

    I have a field called datePosted that is set to curdate in the database.  What I want to do is when the checkbox on this form called approved is checked, and the form is submitted, I want that dateApproved field to update to the current date in the database.  When I have tried it, it says zero.  I have tried setting a variable and using now() but cant get it to change on update.
    Here is the form
    <form action="<?php echo $editFormAction; ?>" method="post" name="form1" id="form1">
        <table align="center">
          <tr valign="baseline">
            <td nowrap="nowrap" align="right">JobName:</td>
            <td><input type="text" name="jobName" value="<?php echo htmlentities($row_rs_crave['jobName'], ENT_COMPAT, 'UTF-8'); ?>" size="32" /></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right" valign="top">Description:</td>
            <td><textarea name="description" cols="50" rows="5"><?php echo htmlentities($row_rs_crave['description'], ENT_COMPAT, 'UTF-8'); ?></textarea></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right">State:</td>
            <td><select name="state">
              <option value="h" <?php if (!(strcmp("h", htmlentities($row_rs_crave['state'], ENT_COMPAT, 'UTF-8')))) {echo "SELECTED";} ?>>hh</option>
            </select></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right">FleetID:</td>
            <td><input type="text" name="fleetID" value="<?php echo htmlentities($row_rs_crave['fleetID'], ENT_COMPAT, 'UTF-8'); ?>" size="32" /></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right">Approved:</td>
            <td><input type="checkbox" name="approved" value=""  <?php if (!(strcmp(htmlentities($row_rs_crave['approved'], ENT_COMPAT, 'UTF-8'),""))) {echo "checked=\"checked\"";} ?> /></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right">DatePosted:</td>
            <td><input type="text" name="datePosted" value="<?php echo htmlentities($row_rs_crave['datePosted'], ENT_COMPAT, 'UTF-8'); ?>" size="32" /></td>
          </tr>
          <tr valign="baseline">
            <td nowrap="nowrap" align="right"> </td>
            <td><input type="submit" value="Update record" /></td>
          </tr>
        </table>
        <input type="hidden" name="jobid" value="<?php echo $row_rs_crave['jobid']; ?>" />
        <input type="hidden" name="MM_update" value="form1" />
      </form>
    And they sql
    if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1")) {
      $updateSQL = sprintf("UPDATE crave SET jobName=%s, `description`=%s, `state`=%s, fleetID=%s, approved=%s, datePosted=%s WHERE jobid=%s",
                           GetSQLValueString($_POST['jobName'], "text"),
                           GetSQLValueString($_POST['description'], "text"),
                           GetSQLValueString($_POST['state'], "text"),
                           GetSQLValueString($_POST['fleetID'], "int"),
                           GetSQLValueString(isset($_POST['approved']) ? "true" : "", "defined","1","0"),
                           GetSQLValueString($_POST['datePosted'], "date"),
                           GetSQLValueString($_POST['jobid'], "int"));

    Change the SQL like this:
    // Check whether the approved checkbox has been selected
    $_POST['approved'] = isset($_POST['approved']) ? 1 : 0;
    if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1")) {
    $updateSQL = sprintf("UPDATE crave SET jobName=%s, `description`=%s,
    `state`=%s, fleetID=%s, approved=%s, datePosted=%s WHERE jobid=%s",
                           GetSQLValueString($_POST['jobName'], "text"),
                           GetSQLValueString($_POST['description'], "text"),
                           GetSQLValueString($_POST['state'], "text"),
                           GetSQLValueString($_POST['fleetID'], "int"),
                           GetSQLValueString(isset($_POST['approved']), "defined","NOW()","approved"),
                           GetSQLValueString($_POST['datePosted'], "date"),
                           GetSQLValueString($_POST['jobid'], "int"));
    What that does is check whether the approved checkbox has been selected. If it has, $_POST['approved'] is set to 1 (true); if not, it's set to 0 (false).
    In the GetSQLValueString() function, the value is set to NOW() if the checkbox has been selected. Otherwise, the existing value in the approved column is reassigned.

  • Check box in the List in sharepoint2013.

    Hi ALL,
    Meeting dates are coming from the list.
    In list i need to create the column as approve as a check box=yes/No.
    If a say yes in the Approve Column.
    Meeting should show in the webpart.
    If i click on No it wont show in the webpart.
    Please i need help in this.
    Thank you,
    Sowjanya.

    Hi,
    You can create a view with based on the Approve column.  In the view, set the filter column as "Approve" and set the value to "yes".  Then your view will show only approved items.
    Please refer to the following article for how to apply filters.
    http://blog.pentalogic.net/2008/10/advanced-sharepoint-view-and-filters/
    Connect a Filter
    Web Part to a Data View Web Part
    Please don't forget to mark it as answered, if your problem resolved or helpful.

  • Checkboxes in report to insert or update a value, doesn't do both

    I'm going crazy trying to solve this, hopefully someone can help me out. At the moment, I have a credit card table that will contain the information relating to a user-credit card pairing. Banks and such can submit credit cards to users, and the credit card table will be updated, with the column Approved_Flag being set to "N". Now, in another page, I have a report that displays any credit cards that a user may want, along with checkboxes. This report contains any bank submitted cards, or any cards that have been marked "General". Users can decide which ones they would like to keep, and then hit a submit button, which will update the credit card table. Existing records in the table would have the Approved column marked 'Y', new records from the so called "General" cards would be inserted.
    The issue is that with the code I've written, it updates any existing records in the credit card table perfectly, but it will not insert any new information. The following is my code for the process that activates when the submit button is hit:
    FOR i in 1..APEX_APPLICATION.G_F01.count
    LOOP
    MERGE INTO ls_credit_cards dest
    USING( SELECT apex_application.g_f01(i) credit_card_id,
    :F125_USER_ID created_by,
    sysdate created_on,
    :P54_CARDS card_id,
    :P54_USER user_id,
    'Y' approved_flag
    FROM dual) src
    ON( dest.credit_card_id = src.credit_card_id )
    WHEN MATCHED
    THEN
    UPDATE SET dest.approved_flag = src.approved_flag
    WHEN NOT MATCHED
    THEN
    INSERT( credit_card_id,
    created_by,
    created_on,
    card_id,
    user_id,
    approved_flag )
    VALUES( src.credit_card_id,
    src.created_by,
    src.created_on,
    src.card_id,
    src.user_id,
    src.approved_flag );
    END LOOP;
    Through some testing, I've found out the the issue is any "General" credit cards will not have a credit card ID assigned to them. By hard coding it, I can get them to insert, but then existing records do not get updated. I've used this code to assign each checkbox in the table a credit_card_id (I think...) so I don't understand why this isn't working.
    APEX_ITEM.CHECKBOX(1,credit_card_id) " ",
    Could anyone shed some light on how I can do this? I would appreciate it IMMENSELY

    A Trigger is just a set of code that runs when certain DML events are applied to a specific table. Here's an example of a simple trigger that assigns a value to a key field when no value is supplied (NULL). Notice that the trigger makes use of another structure - a Sequence - for determining the ID. Sequences are just auto-incrementing values that are very useful for deriving unique values for use in primary key fields, etc.
    Here's an example of how to create a sequence using SQL:
    CREATE SEQUENCE SEQ_MVR_RATING_SCALE
        MINVALUE 1 INCREMENT BY 1 START WITH 1
    /You can also create them directly using the SQL Workshop portion of the APEX console.
    Here's an example of how to create a trigger that uses that sequence to populate the key value:
    CREATE OR REPLACE TRIGGER  BI_MVR_RATING_SCALE
      before insert on MVR_RATING_SCALE
      for each row
    declare
    begin
      if :NEW.MVR_RATING is null then
        select SEQ_MVR_RATING_SCALE.nextval into :NEW.MVR_RATING from dual;
      end if;
      if :NEW.ENTERED_BY is null then
        :NEW.ENTERED_BY := FN_GET_USER(nvl(v('APP_USER'),user));
      end if;
      :NEW.ENTERED_ON := SYSDATE;
    end;
    /Without giving you a complete tutorial on triggers, just note the call to SEQ.nextval. That's what retrieves the next value from the sequence and tells the DB engine to increment the sequence value. The next time it is called, it will then be a different value.

  • Displaying subset of rows in a row

    Hi,
    I have a report that I am working on and need some help and Report looks like below.
    Can you please tell me, how to display Column D (Approver) through Column H (Gate 2) as sub rows within the row?
    Thanks,
    Koti K

    Hi Koti K,
    According to your description, you want to hide the Approver column and make it can be toggled by Gate2 column. Right?
    As another moderator suggested, your goal can be achieved in Reporting Services. In Reporting Services, we can set visibility for column and set the whole column can be toggled by another textbox. We have tested this case in our local environment. Here are
    steps and screenshots for your reference:
    1. Create a table in report based on screenshot above.
    2. Right click on Approver column, select Column Visibility. Choose Hide and Display can be toggled by this report item. In the dropdown list, select the textbox which is header of Gate2.
    3. Save and preview. It looks like below:
    Reference:
    Tables (Report Builder and SSRS)
    Understanding Groups (Report Builder and SSRS)
    Column Visibility Dialog Box (Report Builder)
    If you have any feedback on our support, please click
    here.
    Best Regards,
    Simon Hou

Maybe you are looking for