Vacation period

Hi all,
I have two tables,
CREATE TABLE HOLIDAYS
  START_DATE  DATE,
  END_DATE    DATE
Insert into HOLIDAYS
   (START_DATE, END_DATE)
Values
   (TO_DATE('05/01/2001', 'DD/MM/YYYY'), TO_DATE('10/01/2001', 'DD/MM/YYYY'));
Insert into HOLIDAYS
   (START_DATE, END_DATE)
Values
   (TO_DATE('01/02/2001', 'DD/MM/YYYY'), TO_DATE('03/02/2001', 'DD/MM/YYYY'));   
Insert into HOLIDAYS
   (START_DATE, END_DATE)
Values
   (TO_DATE('02/10/2002', 'DD/MM/YYYY'), TO_DATE('25/10/2002', 'DD/MM/YYYY'));   
COMMIT;
CREATE TABLE EMP_VAC
  EMP_ID      NUMBER(5),
  START_DATE  DATE,
  VAC_LENGTH  NUMBER(3),
  END_DATE    DATE
Insert into EMP_VAC
   (EMP_ID, START_DATE, VAC_LENGTH)
Values
   (10, TO_DATE('01/01/2001', 'DD/MM/YYYY'), 6);
Insert into EMP_VAC
   (EMP_ID, START_DATE, VAC_LENGTH)
Values
   (20, TO_DATE('01/01/2001', 'DD/MM/YYYY'), 28);   
Insert into EMP_VAC
   (EMP_ID, START_DATE, VAC_LENGTH)
Values
   (10, TO_DATE('01/01/2001', 'DD/MM/YYYY'), 2);    
Insert into EMP_VAC
   (EMP_ID, START_DATE, VAC_LENGTH)
Values
   (40, TO_DATE('01/01/2003', 'DD/MM/YYYY'), 1);  
COMMIT;
select * from HOLIDAYS;
START_DATE END_DATE
05/01/2001 10/01/2001
01/02/2001 03/02/2001
02/10/2002 25/10/2002
select * from EMP_VAC;
    EMP_ID START_DATE VAC_LENGTH END_DATE
        10 01/01/2001          6
        20 01/01/2001         28
        10 01/01/2001          2
        40 01/01/2003          1
I want END_DATE for every a vacation,
and i want check overlap with holidays period,
ex: Employee 10 make this vacation
    EMP_ID START_DATE VAC_LENGTH END_DATE
        10 01/01/2001          6
and overlap with holidays
START_DATE END_DATE
05/01/2001 10/01/2001    
START_DATE for a vacation  01/01/2001 for 6 days :
I have overlap with  
01/01/2001 6 days and END_DATE 06/01/2001  
this period overlap with holidays
I will Except period holidays(05/01/2001 , 10/01/2001)
to become End_date 12/01/2001
Output Desired
    EMP_ID START_DATE VAC_LENGTH END_DATE
        10 01/01/2001          6 12/01/2001
        20 01/01/2001         28 07/02/2001
        10 01/01/2001          2 26/10/2002
        40 01/01/2003          1 01/01/2003
Thanks in advance
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
PL/SQL Release 10.2.0.4.0 - Production
CORE    10.2.0.4.0 ;     Production
TNS for Solaris: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production Edited by: 900510 on Jul 25, 2012 5:29 AM

Hi,
I think you want something like this:
WITH     non_holidays     AS
     SELECT     TO_DATE ('1', 'J')     AS start_date
     ,     MIN (start_date) - 1     AS end_date
     FROM     holidays
    UNION ALL
         SELECT     end_date + 1                    AS start_date
     ,     LEAD ( start_date
               , 1
               , DATE '9999-12-30'
               ) OVER (ORDER BY  start_date) - 1     AS end_date
     FROM    holidays
,     all_overlap     AS
     SELECT     e.emp_id, e.start_date, e.vac_length
     ,     GREATEST (e.start_date, n.start_date)     AS f_start_date
     ,     n.end_date                    AS f_end_date
     FROM     emp_vac          e
     JOIN     non_holidays     n  ON   n.end_date     >= e.start_date
--     WHERE     ...          -- if you need any filtering, put it here
,     got_total_length     AS
     SELECT     a.*
     ,     SUM (f_end_date + 1 - f_start_date)
              OVER ( PARTITION BY  emp_id, start_date
                      ORDER BY        f_start_date
                )       AS total_length
     FROM    all_overlap  a
SELECT       emp_id, start_date, vac_length
,       MIN (f_end_date + (vac_length - total_length))     AS end_date
FROM       got_total_length
WHERE       total_length     >= vac_length
GROUP BY  start_date, emp_id, vac_length
ORDER BY  start_date, emp_id
;Thanks for posting the CREATE TABLE and INSERT statements, and the desired results. Remember why you need to do that: so that the people who want to help you can re-create the problem and test their ideas. If you post statements that don't work, or the wrong results, then it's not all that helpful. Please test your code (and correct it, if necessary) before posting. All of the INSERT statements you posted for emp_vac have errors. I suspect that the two rows for emp_id=10 should have different start_dates, and that either the data or results for emp_id=20 have some mistake.
This assumes that holiday periods don't overlap, and that the same employee can't have overlapping vacations.
This does not produce the results you posted, given your sample data.
If if does not produce the resutls you really want, then point out where it is wrong, and explain how you get the right results in those places.
You can simplify this a little if you add an impossibly early row to the holidays table. For example, if this application tracks vacation time in a company that was founded in 1998, then consider adding a row like this to the holidays table:
Insert into HOLIDAYS
   (START_DATE,                            END_DATE)
Values
   (TO_DATE ('01/01/1900', 'DD/MM/YYYY'),  TO_DATE ('31/12/1997', 'DD/MM/YYYY')); Then you won't need the first branch of the UNION in sub-query non_holidays.

Similar Messages

  • Vacation Period settings in bpm workspace

    Hi,
    I have enable vacation period for one user but still instacnes are being assigned to user and even vacation rule also is not working as expected. Please send me some documentation or sample which talks about vacation period configuration in oracle bpm 11g.
    Thanks

    Hi
    I don't have solution for your problem, but I can make it worst (sorry :)).
    We are using the latest SOA/BPM 11.5 + FP (Feature Pack) applied. When we apply the holiday calender rules to send task expirations, reminders, notifications, we want to EXCLUDE weekends like Saturdays, Sundays and some standard dates for US Holidays like New Year, Dec 25, ThanksGiving etc. BUT this is NOT working. A user gets reminder whether its saturday, sunday or a national holiday.
    So keeping our issue in view, I am confident, may be your vacation settings may also not work.
    Anyhow, we have a SR Opened with Oracle for this issue long back in Oct 2011. Still they are working on it.
    SR 3-4659578381: Calendar rules for Organization in BPM is not working properly
    Thanks
    Ravi Jegga

  • Vacation availed in advance and working in vacation period

    Dear Friends,
    We have a scenario in which vacation is availed in advance and during actual vacation employee work. Since we are using single work calander for all personal areas.
    Pls guide me how to handle it?
    Thanks in advance
    anand

    Hi Raghav,
    I have moved latest version only.
    Server also bounced.
    I have one doubt ragrding this..
    I have generated only VOImpl.java not VORowImpl.java. Is there any connection with rowimpl.java?
    Regards,
    Murali

  • Monthly charge for High speed internet vacation period (suspensio​n)

    I talked to two agents regarding with temporarily suspending my high speed internet service, and I just found out I was getting charged monthly $10 during the suspension periold, which the two agents never mentioned.
    Why did I get the wrong information from the 2 agents even though I made sure with them couple of times I will not be charged during the suspension on the phone. Now I am disconnecting verizon internet service. And I will disconnect my verizon phone service with my wife next year when the contact is over.
    One more thing, I can not file complaint anywhere about this issue in the verizon website, which I found out they made it impossible in their website. Other verizon users mentioned it in the forum. There is no such thing about filing complaint in their company. Good luck.
    Good bye verizon kingdom.

    Your issue has been escalated to a Verizon agent. Before the agent can begin assisting you, they will need to collect further information from you.
    Please go to your profile page for the forum, and look in the middle, right at the top where you will find an area titled "My Support Cases". You can reach your profile page by clicking on your name beside your post, or at the top left of this page underneath the title of the board.
    Under “My Support Cases” you will find a link to the private board where you and the agent may exchange information. This should be checked on a frequent basis as the agent may be waiting for information from you before they can proceed with any actions.
    To ensure you know when they have responded to you, at the top of your support case there is a drop down menu for support case options. Open that and choose "subscribe".
    Please keep all correspondence regarding your issue in the private support portal.

  • Assign tasks automatically when vacation set for a user

    Hi,
    I've a requirement where user can set the vacation period and rules. When the vacation period starts, all the tasks already assigned to him should get REASSIGNED AUTOMATICALLY to the other user that we configured in the vacation rule. How can I achieve this? Please suggest me some ideas.
    Thanks

    Hi Bill,
    I am able to reassign/delegate the task to a SINGLE user programmatically using the below code.
    private void vacationTask(String taskAction) {
    String errorMessage = "Below users are not valid: ";
    boolean isFirstInvalidUser = true;
    FacesContext facesContext = FacesContext.getCurrentInstance();
    FacesMessage facesMessage = null;
    try {
    String contextStr = ADFWorklistBeanUtil.getWorklistContextId();
    IWorkflowServiceClient wfSvcClient = WorkflowService.getWorkflowServiceClient();
    ITaskQueryService querySvc = wfSvcClient.getTaskQueryService();
    ITaskService taskService = wfSvcClient.getTaskService();
    IWorkflowContext ctx = querySvc.getWorkflowContext(contextStr);
    String loggedInUser = ctx.getUser();
    List queryColumns = new ArrayList();
    queryColumns.add("TASKID");
    queryColumns.add("TASKNUMBER");
    queryColumns.add("TITLE");
    queryColumns.add("OUTCOME");
    List tasks = querySvc.queryTasks(ctx,queryColumns,null,ITaskQueryService.AssignmentFilter.MY,null,this.getTaskPredicate(),null,0,0);
    ITaskService taskSvc = wfSvcClient.getTaskService();
    for(int i = 0 ; i < tasks.size() ; i ++) {
    Task task = (Task)tasks.get(i);
    String title = task.getTitle();
    String taskId = task.getSystemAttributes().getTaskId();
    String userInputList = null;
    String[] usersList = null;
    if(this.getUserToAssign().getValue() != null) {
    userInputList = (String) this.getUserToAssign().getValue();
    usersList = userInputList.split(",");
    } else {
    facesMessage = new FacesMessage("No users list provided. Please provide atleast one userId to reassign the task(s). ");
    facesContext.addMessage(null, facesMessage);
    return;
    for(int j=0; j<usersList.length; j++) {
    String userToAssign = usersList[j];
    userToAssign = userToAssign.trim();
    if(userToAssign!=null) {
    UserBean userBean = new UserBean();
    boolean isUserValid = userBean.isValidUser(userToAssign);
    if(isUserValid) {
    List<TaskAssignee> assignees = new ArrayList<TaskAssignee>();
    TaskAssignee assignee = new TaskAssignee(userToAssign, IWorkflowConstants.IDENTITY_TYPE_USER);
    assignees.add(assignee);
    if(taskAction.equals(TASK_ACTION_REASSIGN)) {
    taskSvc.reassignTask(ctx, taskId, assignees) ;
    this.getConfirmMsg().setValue("The task(s) have been reassigned");
    else if(taskAction.equals(TASK_ACTION_DELEGATE)) {
    taskSvc.delegateTask(ctx, taskId, assignees);
    this.getConfirmMsg().setValue("The task(s) have been delegated");
    } else {                       
    if(isFirstInvalidUser)
    errorMessage = errorMessage + " " + userToAssign;
    else
    errorMessage = errorMessage + ", " + userToAssign;
    isFirstInvalidUser = false;
    if(!isFirstInvalidUser) {
    facesMessage = new FacesMessage(errorMessage);
    facesContext.addMessage(null, facesMessage);
    } else {
    this.getConfirmationPopup().show(new RichPopup.PopupHints());
    catch (Exception e) {
    //Handle any exceptions raised here...
    System.out.println("Caught workflow exception: "+e.getMessage());
    But, when I supply multiple uses separated by comma(,), the tasks are being assigned to the last user ONLY. Any idea why its happening.
    Thanks.

  • Automatic Tasks are assigning to the user even the Vacation rule Enabled

    Hi Experts,
    I have enabled a Vacation rule in bpm/workspace.
    But I can see all the tasks assigned in the inbox for that user.
    Then I have enabled the Customized rule as the vacation rule and tried to reassign the tasks to an another user.
    That is also not happening. Tasks are assigning to the other user.
    Our ECM version is 11.1.1.6.0
    Went through all the documentations and couldn't find the solution..
    Thanks,
    Nir

    Hi Nir,
    When you said
    But I can see all the tasks assigned in the inbox for that user.
    do you mean the instances that were previously assigned to the user are still there in the user's queue?
    Vacation rules let you reassign or delegate tasks assigned to a user once the vacation period begins.  If work items are already in their queue before the vacation rule goes into effect, they remain in the person's queue.  It's up to the user to reassign or delegate the existing work item instances that were already in their queue.
    New instances that arrive once the rule goes into effect however, should be automatically reassigned (or delegated depending on the vacation rule's radio button selected) to the other person.
    Dan Atwood

  • Implementing vacation Rule in Oracle BPM

    Hi,
    I am trying to implement vacation period rule for a user in Oracle BPM, then re assigning the task to his sub ordinate,
    but the task is still in the user's inbox and not going to assigned user's inbox.
    Can any one help me.
    Thanks in advance

    Hi,
    I'm not getting the business logic.But,the below link can be useful
    http://docs.oracle.com/cd/E21764_01/user.1111/e15175/bpmug_intro_bpm_suite.htm#CACEJIDJ
    Best regards,
    Rafi.

  • Is there any way to turn off airport without removing the electrical plug and should I unplug it when not using it??

    I just got the 5G Airport Extreme base station. Set-up was a snap! Maybe 10-15 minutes compared to a friend who got another name brand for his pc and took a couple hours, even having to call customer support! Been working great so far, but am concerned about never turning it off, not only about the possibe harm that could be done to the unit, but also about having an active, open Internet connection 24/7. Before I got my Airport Extreme I was using Ethernet cable with a cable modem that could be placed on "standby" whenever I was not using my Mac for Internet, but since AE5G doesn't have a power switch on the unit, have left it turned on rather than unplugging it by the electrical cord. I did turn AirPort "off" in the menu bar when not using it wth my Mac, but AE is still apparently constantly active, showing a steady green light. Would there be any harm done by plugging it in only when I want to use Wi-Fi, then unplugging it?
    Thanks for the help!

    Would there be any harm done by plugging it in only when I want to use Wi-Fi, then unplugging it?
    That is a matter of debate, since there are two schools of thought regarding power status on a router.
    One school maintains that you can turn the device on and off as needed. Makes sense for some folks. The advantage of this is that it might save a bit of electricity, although the Extreme draws very little power most of the time.
    Another school believes that there is a reason why Apple did not even place an "Off" switch on the device. It's designed to run 24/7.
    Leaving the Extreme on will place far less stress on the electrical components in the device since they stay in an "idle" state most of the time, drawing very little current. Powering any electrical device up sends a sudden rush of current through the device, which places far more stress on a device than if it is simply left on.
    It depends on your priorities. If you want to save electricity, your decision is already made. If you intend to prolong the life of the router, then consider leaving it on, as Apple intended.
    A compromise position might be to leave the Extreme on most of the time and power if off for long weekends or vacation periods when you will be away. Remember that the Extreme must establish all new network connections every time that it powers back up....perhaps another reason to simply leave it on.

  • Tcode : LX16 and Tcode : LI11N

    Hi all,
    As a part of warehouse management , these transactions are used to carry on continuous inventory and inventory count.
    My first question is what are these things used for.
    I have an inbound interface where i am confirming the Transfer order and carrying out these transactions.
    Please do help me out in understanding of this transaction and the related BAPI to create.
    Thanks in Advance,
    Regards,
    B.Anandha Krishnan.

    Documentation for LX16 Tcode
    Carry out Continuous Inventory
    <b>Purpose</b>
    With the continuous inventory method you take inventory on a selected number of storage bins in a storage type.  The inventory can take place at any time during the fiscal year. Compared to the annual inventory count at the end of the fiscal year, the continuous inventory has some advantages.
    The effort for the inventory is not concentrated on a certain day or days but is distributed over the entire year.  This can result in a better levelling of the workload in the warehouse.
    Inventory can be conducted during slow times, for example, during the summer vacation period.
    With a reduction in the effort required at the end of the fiscal year, a company can respond better to problems that might arise during an end-of-year closing.
    When an inventory is carried out on a continuous basis, up-to-date information about the correspondence between the warehouse stock and the book inventory is always available.
    Try with these BAPI's for LI11N
    BAPI_WHSE_TO_CREATE_STOCK   
    BAPI_WHSE_TO_GET_DETAIL     
    BAPI_WHSE_TO_GET_LIST       
    BAPI_WHSE_STOCK_GET_DETAIL 
    BAPI_WHSE_STOCK_GET_LIST   
    Regds
    Manohar

  • If this is how customer service works for a POTENTIAL customer, I shudder to think

    I live in a condo complex and Verizon came to make a pitch.  I was interested in a Fios bundle, but I needed to know  the answer to this question: Do you have a way to suspend service when I go to Florida for 3 months each winter?
    1 person didn't know
    1 person said they didn't have it but were working on it
    I called Verizon
    1 person didn't know, but said he'd get back to me (he didn't)
    1 person said they had it but it would cost $25. to reconnect
    I looked on the web (you have to know what the service is called...I tried "vacation" "temporary disconnect" and variants, till I hit on the word seasonal.
    This is a direct quote from the website:
    What is Seasonal Service Suspension?
    Verizon offers Seasonal Service Suspension to customers who will be away from their homes for an extended period of time.
    To qualify you must suspend your FiOS TV service for at least one month but not more than six months. Also, there is a fee charged to temporarily suspend your FiOS TV service.
    To suspend your FiOS TV service for an extended timeframe, contact us at 1-888-553-1555 for further assistance.
    I got on the live chat to find out the cost.  The person could not tell me.  He said to call billing and gave me a link to the contents page.  I did that and got a person who said, at first that they did not have seasonal suspension.  When I read the web page to him he changed his tune and told me that it was technically not seasonal suspension.  He said it was $24.99 to disconnect the TV, and that they would be charging me $20 per month for the internet service even though I wasn't using it.  (which is about $15 per month more than cable charges me).  I asked him how I could be sure that what he told me was accurate since I'd already talked with 3 or 4 other individuals who'd given me different answers, he just repeated the $24.99 & $20 per month.  
    So to sum up:
    person 1 - does not know
    person 2 - not available
    person 3 - available and total cost is $24.99 at reconnect
    person 4 - available but cannot tell me the cost
    person 5 - available and total cost is $24.99 at disconnect PLUS $20 per month.
    I don't think I'll be signing up for Fios TV and Internet any time soon

    Further update:   I got a flyer in the mail and decided to take a chance and call Verizon again...maybe I'd get a definitive answer. 
    Person 6: There is a vacation service.  It costs $25.95 to reconnect.  There is no monthly charge for iternet service during the vacation period.

  • Find date range for sick leaves

    Hi,
    Ive been trying to get readable output from HR system.
    I have added the source data into Data Model, since i had to read the data with power query. Now i have pivot table like this:
    date        workdaY?    user
    6.3.2014    Sickleave    user1
    1.2.2014    Sickleave    user2
    2.2.2014    Sickleave    user2
    5.3.2014    Sickleave    user4
    5.3.2014    Sickleave    user1
    5.5.2014    Sickleave    user1
    16.9.2014  Sickleave    user3
    7.3.2014    Sickleave    user1
    6.5.2014    Sickleave    user1
    6.3.2014    Sickleave    user4
    Is there any possible way to get some kind of find function to sort and combine the data like this:
    user1        Sickleave    5.3-7.3.2014
    user1        Sickleave    5.5-6.5.2014
    user2        Sickleave    1.2-2.2.2014
    user3        Sickleave    16.9-16.9.2014
    user4        Sickleave    5.3-6.3.2014

    One way to do this is with a VBA macro.  The following should get you started.
    As you can see looking at the macro, the original data is assumed to be on a worksheet named HRData and starts in A1.
    The results are placed on the same worksheet but starting at cell G1.  You could easily write the results to another worksheet.
    The original data is copied to a temporary worksheet for sorting (and the temporary sheet is subsequently deleted).
    A Class Module is added so we can use a User Defined Object which has the properties of the user name, start date and end date of the vacation period.
    We then cycle through the sorted data, and create a Sickleave object and add it to a collection.  If the "previous" row has the same user, and the date is one more than the previous End Date, we add one to the previous end date; if not, we
    create a new object and start another sickleave period.
    This is the data input:
    and  here are the results:
    To enter this Macro (Sub), <alt-F11> opens the Visual Basic Editor.
    Ensure your project is highlighted in the Project Explorer window.
    First, from the top menu, select Insert/Class Module.  Highlight the new class module in the Project Explorer; click F4, and rename it to cSickLeave
    Then paste the code below into that class module:
    =======================================
    Option Explicit
    Private pUser As String
    Private pStartDt As Date
    Private pEndDt As Date
    Public Property Get User() As String
    User = pUser
    End Property
    Public Property Let User(Value As String)
    pUser = Value
    End Property
    Public Property Get StartDt() As Date
    StartDt = pStartDt
    End Property
    Public Property Let StartDt(Value As Date)
    pStartDt = Value
    End Property
    Public Property Get EndDt() As Date
    EndDt = pEndDt
    End Property
    Public Property Let EndDt(Value As Date)
    pEndDt = Value
    End Property
    Then, from the top menu, select Insert/Module and
    paste the code below into the regular module window that opens.
    To use this Macro (Sub), <alt-F8> opens the macro dialog box. Select the macro by name, and <RUN>.
    ====================================
    Option Explicit
    Option Compare Text
    Sub SickLeave()
    Dim cSL As cSickLeave, colSL As Collection
    Dim wsSrc As Worksheet, wsRes As Worksheet
    Dim wsTemp As Worksheet, rTemp As Range
    Dim vSrc As Variant, rSrc As Range
    Dim vRes() As Variant, rRes As Range
    Dim I As Long
    'set Worksheets
    Set wsSrc = Worksheets("HRData")
    With wsSrc
    Set rSrc = .Range("A1", .Cells(.Rows.Count, "C").End(xlUp))
    End With
    Set wsRes = Worksheets("HRData")
    Set rRes = wsRes.Range("G1") 'upper left cell of results
    'Sort the HRdata on a Temp sheet
    Worksheets.Add
    Set wsTemp = ActiveSheet
    Set rTemp = wsTemp.Range("A1")
    rSrc.Copy rTemp
    Set rTemp = rTemp.CurrentRegion
    With rTemp
    .Sort key1:=.Columns(3), order1:=xlAscending, _
    key2:=.Columns(1), order2:=xlAscending, _
    Header:=xlYes, MatchCase:=False
    End With
    vSrc = rTemp.Value
    With Application
    .ScreenUpdating = False
    .DisplayAlerts = False
    wsTemp.Delete
    .DisplayAlerts = True
    End With
    'create collection for results
    Set colSL = New Collection
    For I = 2 To UBound(vSrc)
    If vSrc(I, 2) = "Sickleave" Then
    If I = 2 Then
    Set cSL = New cSickLeave
    With cSL
    .User = vSrc(I, 3)
    .StartDt = vSrc(I, 1)
    .EndDt = vSrc(I, 1)
    colSL.Add cSL
    End With
    ElseIf vSrc(I, 3) = colSL(colSL.Count).User And _
    (vSrc(I, 1) - 1) = colSL(colSL.Count).EndDt Then
    With colSL(colSL.Count)
    .EndDt = .EndDt + 1
    End With
    Else
    Set cSL = New cSickLeave
    With cSL
    .User = vSrc(I, 3)
    .StartDt = vSrc(I, 1)
    .EndDt = vSrc(I, 1)
    colSL.Add cSL
    End With
    End If
    End If
    Next I
    ReDim vRes(0 To colSL.Count, 1 To 3)
    vRes(0, 1) = "User"
    vRes(0, 2) = "workdaY?"
    vRes(0, 3) = "Date Range"
    For I = 1 To colSL.Count
    With colSL(I)
    vRes(I, 1) = .User
    vRes(I, 2) = "Sickleave"
    vRes(I, 3) = Format(.StartDt, "d.m\-") & _
    Format(.EndDt, "d.m.yyyy")
    End With
    Next I
    Set rRes = rRes.Resize(UBound(vRes) + 1, UBound(vRes, 2))
    With rRes
    .EntireColumn.Clear
    .Value = vRes
    .EntireColumn.AutoFit
    .Rows(1).HorizontalAlignment = xlCenter
    End With
    Application.ScreenUpdating = True
    End Sub
    Ron

  • Not all storage bins in LX16 transaction Carry Out continous inventory

    Hello,
    I would be please if anybody knows the way of working of transacction LX16. Our client is running this transaction and have the problem that for a warehouse number and storage type, the report not shows all the storage bins that is created and with stock. If we run LX03 transacction, for the same selection we obteins all the storage bins, but if we do the same for LX16 the storage bin is not showed.
    Can somebody help us??
    Thanks in advance

    hi
    LX16 transaction is only for " Continious Physical inventory Counting Only"
    LX03 is for bin status Report
    Take Continuous Inventory
    Purpose
    With the continuous inventory method, you take inventory for a certain number of storage bins in a storage type. The inventory can take place at any time during the fiscal year.
    Continuous inventory has the following advantages over the annual inventory count at the end of the fiscal year:
    The effort and costs for the inventory is not concentrated on a certain day or days but is distributed over the entire year. This means that the warehouse supervisor can plan the workforce needed for the workload in the warehouse more accurately.
    Inventory can be conducted during slow times in the warehouse, such as during summer vacation periods.
    With a reduction in the effort required at the end of the fiscal year, you can respond better to problems that might arise during a year-end closing.
    When an inventory is carried out on a continuous basis, up-to-date information about the correspondence between the warehouse stock and the book inventory is always available.
    Prerequisites
    Inventory methods are defined for each storage type. To define a continuous inventory for a storage type, see Activities ® Physical Inventory ® Define Types per Storage Type in the Warehouse Management section of the Implementation Guide (IMG) documentation.
    Process Flow
    To run a continuous inventory, you need to complete the following steps in the order displayed:
    Plan the inventory by selecting storage bins, for which you want to take inventory.
    Create the system inventory record
    Activate the system inventory record
    Print the warehouse inventory list.
    Take physical inventory in the warehouse.
    Enter the inventory results
    Close the inventory
    Process differences in Warehouse Management (WM) and record them in Inventory Management (IM).
    hope this helps to solve your issue
    regards
    KKY

  • Email on demand only...

    Hi,
    I am new to Blackberry devices, but have just got an 8220 on Orange in the UK.
    I have set up email from my existing account, and it works fine.
    However, i would like to recieve my emails when i choose, not have them arrive as they are sent. Is this available on the 8220. I have looked about but can't find anything in the menu's, and the supplied manual is pants.
    Thanks for any help on this,
    Dave

    Dave, RIM doesn't do email on demand. The BlackBerry's dependability is the 'push' email. It just happens.
    There is not a way to schedule it.
    You can go to Manage Connections or Mobile Network and turn off data, for a period (which disables all data, internet, etc.)
    You can also quieten or disable email notifications so that you aren't notifed by sound or icon notification of email arrival.
    And, you can disable your email account in your BIS personal email setup also, although that is not a great daily routine, best for an extended few days or vacation period.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Generate report for employees on leave for a given period

    Hi,
    I want to know how can i extract a report of a list of employees who are on leave for a given period of time?
    For instance i want to a list of employees who are on vacation / leave (any kind of leave) for the period of April 2010
    Is there a standard report to generate this info? or any other way of doing it?
    Regards,
    Humaira

    HI all,
    Thanx for the response.
    The info set Query was great help.
    the Tcode PT_QTA10 only gives me the leave Quota of the employees which was also helpful. Thanx
    Regards,
    Humaira

  • Aironet 350 reset to factory config over vacation.

    I have an Aironet 350 non-root bridge that was reset back to its factory default configuration over a 5 day period of inactivity (Christmas vacation). I didn't set it up, so I can't say too much about how it was configured before except that it was running 12.0 firmware.
    I have upgraded it to 12.04 and reconfigured it and it seems to be running fine.
    Any ideas on what could have caused this? Could I have had a security breach?

    That could be very likely. Are you using a default configuration for security, or have you turned user-manager on and added a management username/password. Note that someone could have potentially done this via SNMP also.

Maybe you are looking for

  • Is there a way to remove Linen background in Safari 5.1?

    Has anyone found a resource to edit that can replace the inconsistent (and IMO rather ugly) linen background in the reading list of Safari 5.1 with something that matches the rest of the app?

  • Toshiba 19CV100U 110v-220v?

    Hi Toshiba! I have very quick question, i bought my 19CV100U in the US and now i returned to Europe, do i need get a voltage converter in order to use the Tv or not? I can't see any info in the TV specs that´s why i decided to post here. Thanks Hugo

  • Query help to Get day wise count

    I have a table: Table_Sample with two columns: Date_Time_Field - Timestamp; Request_Type - Number; The insert statement for the table is as follows: -- INSERTING into TABLE_SAMPLE1 Insert into TABLE_SAMPLE1 (DATE_TIME_FIELD,REQUEST_TYPE) values (to_t

  • Error while billing - VF01

    Hi all, While i conform the SD billing the system is displaying the following message... The Material belong to 3000 plant. No standard cost estimate could be found for material "11120DAL0" Message no. K/834 Diagnosis In Profitability Analysis, an at

  • YouTube embedded videos not working on iWeb 3.01/Safari?

    My website has three videos, uploaded to YouTube and the embed codes downloaded to iWeb 3.01 site using HTML. All three videos work on the site pages, although video one uses the "new" code and videos two/three use the "old" code. In each case, I hav