Re: Date manipulation

docdwarf_at_panix.com
Date: 12/26/03

  • Next message: Thane Hubbell: "Re: Interaction with office programs"
    Date: 26 Dec 2003 09:00:08 -0500
    
    

    In article <h43ouvcesecmn1s1mq2hfvij176u91c3un@4ax.com>,
    Ian Dalziel <iandalziel@lineone.net> wrote:
    >On 24 Dec 2003 08:26:24 -0500, docdwarf@panix.com wrote:
    >
    >>... and it turned out that the President of the bought-out hospital was
    >>the beneficiary of some rather... creative accounting; it seems that he'd
    >>had a pre-tax deduction applied to his payroll profile, one which would,
    >>every week, automatically take out one hundred pre-tax dollars...
    >>
    >>... and then somehow - *must* have been an accident because *everyone*
    >>denied knowing *anything* about this - the VSAM file containing the
    >>employee profiles got changed... and the sign-nibble on the COMP-3 field
    >>for this deduction went from negative to positive, giving the man a
    >>'negative deduction'...
    >>
    >
    >That doesn't work, does it? A tax-free deduction is before the tax
    >calculation, a tax-free addition is after the tax calculation -
    >there's more than a sign involved.

    That's one way of doing it... but as there are some deductions which are
    taxable and others which are not taxable I can see a structure in the
    program which would determine this by, say, a flag set for the deduction
    and queried during processing (IF DEDN-TXBL-SW = 'Y' PERFORM
    DEDUCT-THE-TAX-RITUAL or suchlike); such a structure would allow, at the
    level for the data, a change in the status of a deduction from taxable to
    non-taxable without any code alterations.

    DD


  • Next message: Thane Hubbell: "Re: Interaction with office programs"