HTMLParser - Can it be moulded?

Hi.
I am currently trying to design an HTML Parser using Java. When I started I decided to use the HTMLEditorKit.Parser class which is in the package "javax.swing.text.html.parser".
All was working relatively well until I recently realised that the Parser class likes to correct HTML itself, e.g. If I parse an HTML file which contains just one tag <HTML> without its closing tag, then Parser will add a closing tag. The whole point of my prog is to look for errors in HTML and it doesn't seem that I can do this if the Parser is automatically correcting them.
I am only a beginner programmer and therefore am not 100% sure as to what I can do. My first reaction is to write my own Parser package, however I would like to know if there's any way of manipulating core java classes so that I could still use the Parser class provided by Java. I don't know that much about modifying core Java classes and if this would even solve my problem.
Does anyone have any other suggestions?
Please reply ASAP.
Thanks,
Rob

Maybe you can use a ParserCallback. This class just notifies you when it finds start/end tags. This thread has a simple example:
http://forum.java.sun.com/thread.jsp?forum=57&thread=277777

Similar Messages

  • Capacity Limit for work center

    Hi PP experts,
    Our client have a requirement to map the moulds used in their manufacturing process as a resource to plan the capacity. But they want to assignment of capacity limit to this resource.
    I.e. A mould can produce 1000 products. So 1000 is the capacity of the mould and as per its use in production order this capacity will reduce. So if I have a production order to produce 100 products, then after the production order processing, the remaining capacity should be 900.
    Is there any way to map this by standard SAP or through enhancements??
    A quick reply is appreciated.
    Thanks & Regards
    Enrico.

    Hi Digambar,
    Thanks a lot for your reply.
    I would like to explain in detail what is my exact requirement so that you may be able to help me.
    The mould is used in a machine to produce the final product. The mould is having a total capacity when its procured but its total capacity reduces also. after each use i.e. The mould can be used for producing a certain quantity of the product and this capacity reduces after each production run.
    For eg If the total capacity of the mould is to produce 1000 no of a product which will be available daily or weekly etc, and if my production order is for 100 Nos, after the production run, I can use the mould only for producing 900 product next time.
    But in standard SAP, if Iam assigning the available capacity for the mould resource as 1000, I will be having the same capacity every day or every week even after I produce any quantity
    So what exactly Iam looking for is a kind of usage factor which can reduce the capacity after every usage of the mould. Is it possible some how in R/3 or APO? either by standard or by any enhancement?
    Request your expert advise
    Thanks
    Enrico

  • Random Startup Memory Problem

    It already happened three times, with an interval of 2 months from one event to the other.
    The issue is that only 2 of the installed 4 Gb are recognized.
    I normally solve the problem by removing and re-inserting the memory risers (all memory by Apple).
    Where is the problem???
    Massimo

    Hello Hatter
    Thank you again for your support.
    The machine is connected to the UPS. Every weekend or leave I switch off and disconnect the UPS.
    The MacPro is always working perfectly. No kernel panic or other problem as far as I can feel.
    I did not find any other way than reseating the memory to see it fully. Actually the behavior was not always the same (events every 2 months approx):
    - first event: machine did not start, led blinking. After several attempt started, only 2 GB found
    - second event: same as before
    - third event: machine boot but only 2 GB shown.
    I do think that humidity could excess 95% in the room, but consider that after long absent you can get some mould (shoes, clothes......this is Vietnam).
    Maybe there is some condensation inside...Normally I always cover with the original plastic packaging the MacPro when cold.

  • The n900 can't die, it can do everything

    Well alots of you guys lost hope in the n900, after everyone said that nokia "killed" it, really ??? look where the device is now,
    you can get android 2.2 via nitdroid, you can overclock to 1 ghz in a push of a button, you can have up to 9 homescreens with desktop+,you can watch most of the flash 10 animations and videos on the web using 'tweak flash version', you can remotly control your pc via vnc viewer
    , you can have remote xp !! via rdesktop, you can jailbreak your ps3 using your n900, you can run like 6 OSs on the same device (froyo, windows98, mac os, ubunto, eclair, donut, debian...),you can have extreme speed with the custom transitions in the blac plastic theme, you can do voice guided navigation with modtana,you can control your tv with irreco, .... and this is only a strat or an introduction to what can device really do,
    the n900 is like 2pac, they killed him too soon, but we all listen to the 2pac rap, now after 16 years of his death,, most of the people still thinks that he's the best rapper ever, so is the n900, best smartphone/computer/tablet/thingy ever .
    long live maemo5 and the mighty n900, it can do everything...
    Reality is wrong....dreams are for real... 2pac .
    don't forget to hit that green kudos

    I wouldn't go as far as to say the best phone ever made..... not now. 6 months ago, maybe.
    A lot of manufacturers have taken some of it's best features and only slightly improved on them. The screen for instance.... The iPhone 4 screen is actually only another 32 pixels per inch more than the N900, and others are still trying to beat the resolution but ending up with devices that could double up as surf-boards.
    The web browsing, despite Flash 10.1.xx is still very cumbersome on some of the rival models, simply because at this moment in time Flash 10.1.xx is so buggy and troublesome as a plugin, I'm certainly not in a hurry to get it on my N900.
    I'd say the N900 broke the mould, just like the Commodore Amiga did in the 80's. Anyone remember that one? It was the machine that started the high end graphics and 3D video editing race, it also invented the multimedia race. People in their thousands sold their PCs to buy the Amiga, because they got fed up of playing Falcon on a 4 colour display. In reality it "kickstarted" the home computer market.
    As for the N900, I'll remember it as I remember the Amiga. The N900 has proved that Nokia can make a mobile computer, and in that respects it will be the device to compare other mobile computers. It's opened up the full web experience for handsets and it's driven the final nail into the coffin of the antiquated WAP service, thus dragging the networks screaming and kicking into the 21st Century. Some of them are putting up a fight with restrictions and blocks, but the more handsets we see with full web capabilities, the more they are backing into a corner.
    The Commodore Amiga, and indeed the CD32 (the grand-daddy of the console market) have pride of place in the Science Museum because of their cult status. I think the N900 should join them for the same reasons.

  • Yosemite on 13" MBP(Mid 2012) running super slow on standard configuration. Is there a rock solid way that I can make it fast? or Yosemite is designed to work only on PCIe SSDs with 16GB RAM? Missing Steve Jobs :(

    My 13" MBP MD 101 / A1278 / 9,2 / Mid 2012 is still in production and it is performing like a windows pc; super slow after updating it to Yosemite.I can't afford to upgrade its HDD to SSD and 4GB RAM to 16GB.
    Tried everything found on internet, nothing got successful in making it fast as it was once with mountain lion. I hope I could have Yosemite's features and leopard's responsiveness and stability.
    I think Apple guys have designed Yosemite only for SSDs only. They should design OS X according to every mac's different hardware, like if I have a spinning old hard drive it should mould itself to the capabilities of it and not demand responsiveness of an SSD.
    Please do let me know if anyone have brilliant new idea other than found on the internet.
    Problem description:
    My MBP acting like a windows pc; running really very slow after Yosemite update
    EtreCheck version: 2.1.8 (121)
    Report generated 13 March 2015 4:50:42 am GMT+5
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (13-inch, Mid 2012) (Technical Specifications)
        MacBook Pro - model: MacBookPro9,2
        1 2.5 GHz Intel Core i5 CPU: 2-core
        4 GB RAM Upgradeable
            BANK 0/DIMM0
                2 GB DDR3 1600 MHz ok
            BANK 1/DIMM0
                2 GB DDR3 1600 MHz ok
        Bluetooth: Good - Handoff/Airdrop2 supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 611
    Video Information: ℹ️
        Intel HD Graphics 4000
            Color LCD 1280 x 800
    System Software: ℹ️
        OS X 10.10.2 (14C1510) - Time since boot: 1:8:8
    Disk Information: ℹ️
        APPLE HDD HTS547550A9E384 disk0 : (500.11 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 498.88 GB (94.57 GB free)
                Core Storage: disk0s2 499.25 GB Online
        MATSHITADVD-R   UJ-8A8 
    USB Information: ℹ️
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Computer, Inc. IR Receiver
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Inc. FaceTime HD Camera (Built-in)
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Applications/MacX Video Converter Pro.app
        [not loaded]    com.digiarty.driver.goodSysAudioCapture (1 - SDK 10.8) [Click for support]
            /Applications/Parallels Desktop.app
        [not loaded]    com.parallels.kext.hypervisor (10.1.1 28614 - SDK 10.7) [Click for support]
        [not loaded]    com.parallels.kext.netbridge (10.1.1 28614 - SDK 10.7) [Click for support]
        [not loaded]    com.parallels.kext.usbconnect (10.1.1 28614 - SDK 10.7) [Click for support]
        [not loaded]    com.parallels.kext.vnic (10.1.1 28614 - SDK 10.7) [Click for support]
            /Applications/Tunnelblick.app
        [not loaded]    net.tunnelblick.tap (1.0) [Click for support]
        [not loaded]    net.tunnelblick.tun (1.0) [Click for support]
            /Library/Extensions
        [not loaded]    com.equinux.VPNTracker7 (7.0.0 - SDK 10.8) [Click for support]
        [not loaded]    com.sony.filesystems.pdudf (5.02.0d002 - SDK 10.6) [Click for support]
        [not loaded]    com.sony.filesystems.pdudfr (5.02.0d002 - SDK 10.6) [Click for support]
        [loaded]    com.sony.scsi.PDW-U1 (5.02.0d002 - SDK 10.6) [Click for support]
            /System/Library/Extensions
        [not loaded]    com.wdc.driver.1394HP (1.0.11 - SDK 10.4) [Click for support]
        [not loaded]    com.wdc.driver.1394_64HP (1.0.1 - SDK 10.6) [Click for support]
        [not loaded]    com.wdc.driver.USBHP (1.0.11) [Click for support]
        [not loaded]    com.wdc.driver.USB_64HP (1.0.0 - SDK 10.6) [Click for support]
            /Users/[redacted]/Library/Services/ToastIt.service/Contents/MacOS
        [not loaded]    com.roxio.TDIXController (2.0) [Click for support]
    Startup Items: ℹ️
        MobileBrServ: Path: /Library/StartupItems/MobileBrServ
        Startup items are obsolete in OS X Yosemite
    Problem System Launch Agents: ℹ️
        [killed]    com.apple.AirPlayUIAgent.plist
        [killed]    com.apple.BezelUI.plist
        [killed]    com.apple.CallHistoryPluginHelper.plist
        [killed]    com.apple.CallHistorySyncHelper.plist
        [killed]    com.apple.cmfsyncagent.plist
        [killed]    com.apple.coreservices.appleid.authentication.plist
        [killed]    com.apple.EscrowSecurityAlert.plist
        [killed]    com.apple.Maps.pushdaemon.plist
        [killed]    com.apple.SafariNotificationAgent.plist
        [killed]    com.apple.sbd.plist
        [killed]    com.apple.security.cloudkeychainproxy.plist
        [killed]    com.apple.spindump_agent.plist
        [killed]    com.apple.telephonyutilities.callservicesd.plist
        [killed]    com.apple.xpc.loginitemregisterd.plist
        [running]    com.paragon.NTFS.notify.plist [Click for support]
        14 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
        [killed]    com.apple.awdd.plist
        [killed]    com.apple.corestorage.corestoragehelperd.plist
        [killed]    com.apple.ctkd.plist
        [killed]    com.apple.icloud.findmydeviced.plist
        [killed]    com.apple.ifdreader.plist
        [killed]    com.apple.nehelper.plist
        [killed]    com.apple.softwareupdated.plist
        [killed]    com.apple.spindump.plist
        [killed]    com.apple.systemstats.analysis.plist
        [killed]    com.apple.wdhelper.plist
        [killed]    com.apple.xpc.smd.plist
        11 processes killed due to memory pressure
    Launch Agents: ℹ️
        [not loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [loaded]    com.divx.dms.agent.plist [Click for support]
        [loaded]    com.divx.update.agent.plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [loaded]    com.oracle.java.Java-Updater.plist [Click for support]
        [loaded]    com.paragon.updater.plist [Click for support]
        [not loaded]    com.teamviewer.teamviewer.plist [Click for support]
        [not loaded]    com.teamviewer.teamviewer_desktop.plist [Click for support]
    Launch Daemons: ℹ️
        [failed]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.adobe.SwitchBoard.plist [Click for support]
        [loaded]    com.equinux.VPNTracker7.agent.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
        [loaded]    com.oracle.java.JavaUpdateHelper.plist [Click for support]
        [loaded]    com.paragon.ntfs12.refresh.plist [Click for support]
        [not loaded]    com.teamviewer.teamviewer_service.plist [Click for support]
        [loaded]    com.tunnelbear.mac.tbeard.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [loaded]    com.BlueStacks.AppPlayer.LogRotator.plist [Click for support]
        [loaded]    com.BlueStacks.AppPlayer.Service.plist [Click for support]
        [loaded]    com.BlueStacks.AppPlayer.UninstallAgent.plist [Click for support]
        [loaded]    com.BlueStacks.AppPlayer.UpdaterAgent.plist [Click for support]
        [loaded]    com.facebook.videochat.[redacted].plist [Click for support]
        [loaded]    net.tunnelblick.tunnelblick.LaunchAtLogin.plist [Click for support]
    User Login Items: ℹ️
        iTunesHelper    Application  (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
        InfiniteHD    Application  (/Users/[redacted]/Library/Octoshape/InfiniteHD.app)
        XDMSetupHelper    Application  (/Library/Application Support/XDCAM Drive/Helpers/XDMSetupHelper.app)
    Internet Plug-ins: ℹ️
        o1dbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        OVSHelper: Version: 1.1 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Click for support]
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        DivX Web Player: Version: 3.2.4.1250 - SDK 10.6 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 Outdated! Update
        PepperFlashPlayer: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        googletalkbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        iPhotoPhotocast: Version: 7.0
        AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        SharePointBrowserPlugin: Version: 14.1.3 - SDK 10.6 [Click for support]
        JavaAppletPlugin: Version: Java 8 Update 31 Check version
    User internet Plug-ins: ℹ️
        BlueStacks Install Detector: Version: 0.3.6 - SDK 10.7 [Click for support]
        OctoshapeWeb: Version: 1.0 - SDK 10.8 [Click for support]
    Safari Extensions: ℹ️
        Open in Internet Explorer
    Audio Plug-ins: ℹ️
        DVCPROHDAudio: Version: 1.3.2
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        Java  [Click for support]
        Paragon NTFS for Mac ® OS X  [Click for support]
        Perian  [Click for support]
        XDCAM Drive Monitor  [Click for support]
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
            13%    Google Chrome
             5%    WindowServer
             2%    coreaudiod
             1%    Activity Monitor
             1%    sysmond
    Top Processes by Memory: ℹ️
        164 MB    Google Chrome
        26 MB    Google Chrome Helper
        21 MB    WindowServer
        21 MB    System Events
        17 MB    VLC
    Virtual Memory Information: ℹ️
        153 MB    Free RAM
        1.05 GB    Active RAM
        1.05 GB    Inactive RAM
        835 MB    Wired RAM
        5.13 GB    Page-ins
        250 MB    Page-outs
    Diagnostics Information: ℹ️
        Mar 13, 2015, 04:25:03 AM    /Library/Logs/DiagnosticReports/Finder_2015-03-13-042503_[redacted].cpu_resourc e.diag [Click for details]
        Mar 13, 2015, 03:33:34 AM    Self test - passed
        Mar 12, 2015, 10:42:57 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/Google Chrome_2015-03-12-224257_[redacted].crash
        Mar 12, 2015, 02:29:49 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/Google Chrome_2015-03-12-142949_[redacted].crash
    Thanks!

    Sorry for the delay, here are the results. I don't think there is any critical information.
    Start time: 02:37:18 03/20/15
    Revision: 1290
    Model Identifier: MacBookPro9,2
    System Version: OS X 10.10.2 (14C1510)
    Kernel Version: Darwin 14.1.0
    Time since boot: 4:13
    UID: 501
    Activity
        en1: in 222, out 7 (KiB/s)
    I/O requests (KiB/s)
        coresymbolicati (UID 0): 15084
        kernel_task (UID 0): 4112
    Energy (lifetime)
        Google Chrome Helper (UID 501): 12.91
    Energy (sampled)
        kernel_task (UID 0): 14.50
        storedownloadd (UID 501): 9.77
        WindowServer (UID 88): 6.85
    Font issues: 4
    Firewall: On
    Diagnostic reports
        2015-03-09 Adobe Premiere Pro CS6 hang x2
        2015-03-14 CalendarAgent crash
        2015-03-14 Google Chrome crash x2
        2015-03-14 cider crash x2
        2015-03-14 cloudd crash
        2015-03-16 garcon crash x2
        2015-03-17 garcon crash
        2015-03-19 Safari hang
    HID errors: 209
    Shutdown codes
        -60 4
        -62 2
    Kernel log
        Mar 14 00:58:53 utun_start: ifnet_disable_output returned error 12
        Mar 14 08:40:28 utun_start: ifnet_disable_output returned error 12
        Mar 15 03:44:54 Failed to open the file
        Mar 16 08:48:51 ARPT: 104931.993359: MacAuthEvent en1   Auth result for: bc:98:89:51:d2:a9 Auth timed out
        Mar 16 08:48:52 ARPT: 104933.756283: MacAuthEvent en1   Auth result for: bc:98:89:51:d2:a9 Auth timed out
        Mar 16 08:48:53 ARPT: 104934.356521: MacAuthEvent en1   Auth result for: bc:98:89:51:d2:a9 Auth timed out
        Mar 16 11:06:49 ARPT: 112055.047262: directed SSID scan fail
        Mar 17 03:45:47 Sleep failure code 0x00000000 0x1f006500
        Mar 17 04:01:34 utun_start: ifnet_disable_output returned error 12
        Mar 17 13:11:57 Sleep failure code 0x00000000 0x1f006500
        Mar 17 13:12:44 utun_start: ifnet_disable_output returned error 12
        Mar 17 13:23:44 utun_start: ifnet_disable_output returned error 12
        Mar 17 17:23:36 [SendRawHCICommand] ### ERROR: EnqueueRequestForController failed (err=e00002d8)
        Mar 17 17:23:36 [SendRawHCICommand] ### ERROR: EnqueueRequestForController failed (err=e00002d8)
        Mar 17 17:23:36 [SendRawHCICommand] ### ERROR: EnqueueRequestForController failed (err=e00002d8)
        Mar 17 17:23:36 [SendRawHCICommand] ### ERROR: EnqueueRequestForController failed (err=e00002d8)
        Mar 17 17:23:36 [SendRawHCICommand] ### ERROR: EnqueueRequestForController failed (err=e00002d8)
        Mar 17 17:23:37 [SendRawHCICommand] ### ERROR: EnqueueRequestForController failed (err=e00002d8)
        Mar 18 09:59:27 utun_start: ifnet_disable_output returned error 12
        Mar 19 10:37:51 utun_start: ifnet_disable_output returned error 12
        Mar 19 10:59:28 PM notification timeout (pid 415, Safari)
        Mar 19 10:59:58 PM notification timeout (pid 415, Safari)
    System log
        Mar 20 00:29:44 com.apple.WebKit.WebContent: CGBitmapContextCreate: unsupported parameter combination: 8 integer bits/component; 8 bits/pixel; 0-component color space; kCGImageAlphaNoneSkipFirst; 896 bytes/row.
        Mar 20 00:29:44 com.apple.WebKit.WebContent: CGBitmapContextCreate: unsupported parameter combination: 8 integer bits/component; 8 bits/pixel; 0-component color space; kCGImageAlphaNoneSkipFirst; 2048 bytes/row.
        Mar 20 00:29:44 com.apple.WebKit.WebContent: CGBitmapContextCreate: unsupported parameter combination: 8 integer bits/component; 8 bits/pixel; 0-component color space; kCGImageAlphaNoneSkipFirst; 2048 bytes/row.
        Mar 20 00:29:44 com.apple.WebKit.WebContent: CGBitmapContextCreate: unsupported parameter combination: 8 integer bits/component; 8 bits/pixel; 0-component color space; kCGImageAlphaPremultipliedFirst; 64 bytes/row.
        Mar 20 00:29:44 com.apple.WebKit.WebContent: CGBitmapContextCreate: unsupported parameter combination: 8 integer bits/component; 8 bits/pixel; 0-component color space; kCGImageAlphaPremultipliedFirst; 64 bytes/row.
        Mar 20 00:47:30 com.apple.WebKit.WebContent: CGBitmapContextCreate: unsupported parameter combination: 8 integer bits/component; 8 bits/pixel; 0-component color space; kCGImageAlphaPremultipliedFirst; 64 bytes/row.
        Mar 20 00:47:30 com.apple.WebKit.WebContent: CGBitmapContextCreate: unsupported parameter combination: 8 integer bits/component; 8 bits/pixel; 0-component color space; kCGImageAlphaPremultipliedFirst; 64 bytes/row.
        Mar 20 00:52:02 WindowServer: disable_update_timeout: UI updates were forcibly disabled by application "System Preferences" for over 1.00 seconds. Server has re-enabled them.
        Mar 20 00:53:20 WindowServer: WSGetSurfaceInWindow : Invalid surface 1086387412 for window 218
        Mar 20 00:54:31 com.apple.usbmuxd: LOCKDOWN_V2_BONJOUR_SERVICE_NAME is _apple-mobdev2._tcp,8dc207de
        Mar 20 00:54:58 WindowServer: disable_update_timeout: UI updates were forcibly disabled by application "Spotlight" for over 1.00 seconds. Server has re-enabled them.
        Mar 20 00:55:02 WindowServer: disable_update_timeout: UI updates were forcibly disabled by application "Spotlight" for over 1.00 seconds. Server has re-enabled them.
        Mar 20 01:46:08 Google Chrome Helper: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar 20 01:46:08 Google Chrome Helper: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar 20 01:46:20 Google Chrome Helper: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar 20 01:46:20 Google Chrome Helper: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar 20 01:46:22 Google Chrome Helper: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar 20 01:46:22 Google Chrome Helper: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar 20 01:50:50 Google Chrome Helper: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar 20 01:50:50 Google Chrome Helper: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar 20 01:51:34 Google Chrome Helper: CGAffineTransformInvert: singular matrix.
        Mar 20 01:51:34 Google Chrome Helper: CGAffineTransformInvert: singular matrix.
        Mar 20 01:51:53 Google Chrome Helper: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar 20 01:51:53 Google Chrome Helper: CoreText CopyFontsForRequest received mig IPC error (FFFFFFFFFFFFFECC) from font server
        Mar 20 02:37:46 dtrace: Invalid connection: com.apple.coresymbolicationd
    launchd log
        Mar 19 11:45:37 com.BlueStacks.AppPlayer.UninstallAgent: Interval spawn of service failed: 139: Service cannot presently execute
        Mar 19 11:45:37 com.BlueStacks.AppPlayer.LogRotator: Interval spawn of service failed: 139: Service cannot presently execute
        Mar 19 13:16:13 com.apple.xpc.launchd.user.501.100005.Aqua: Could not import service from caller: caller = otherbsd.202, service = com.shazam.mac.ShazamHelper, error = 119: Service is disabled
        Mar 19 13:16:13 com.apple.xpc.launchd.user.501.100005.Aqua: Could not import service from caller: caller = otherbsd.202, service = com.fiplab.BatteryHealthHelper, error = 119: Service is disabled
        Mar 19 13:16:20 com.apple.xpc.launchd.domain.pid.fmfd.253: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 13:16:22 com.apple.xpc.launchd.domain.pid.SocialPushAgent.267: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 13:16:22 com.apple.xpc.launchd.domain.pid.syncdefaultsd.262: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 13:16:23 com.apple.xpc.launchd.domain.pid.NotificationCenter.273: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 13:16:23 com.apple.xpc.launchd.domain.pid.om.apple.photostream-agent.282: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 13:16:23 com.apple.xpc.launchd.domain.pid.storeaccountd.310: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 13:16:26 com.apple.xpc.launchd.domain.pid.SafariDAVClient.303: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 13:16:37 com.BlueStacks.AppPlayer.UninstallAgent: Interval spawn of service failed: 139: Service cannot presently execute
        Mar 19 13:16:37 com.BlueStacks.AppPlayer.LogRotator: Interval spawn of service failed: 139: Service cannot presently execute
        Mar 19 13:17:15 com.apple.xpc.launchd.domain.pid.SafariDAVClient.372: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 13:22:29 com.apple.xpc.launchd.domain.pid.bird.221: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 13:46:31 com.apple.xpc.launchd.domain.pid.syncdefaultsd.466: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 14:21:13 com.apple.xpc.launchd.domain.pid.syncdefaultsd.543: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 18:47:20 com.apple.xpc.launchd.domain.pid.syncdefaultsd.1029: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 22:14:50 com.apple.xpc.launchd.domain.pid.syncdefaultsd.1418: Failed to bootstrap path: path = /System/Library/PrivateFrameworks/AccountsDaemon.framework/XPCServices/Dataclas sOwnersManager copy.xpc, error = 128: The specified path is not a bundle
        Mar 19 22:21:12 : Error reading cache: 2: No such file or directory
        Mar 19 22:25:54 com.apple.xpc.launchd.user.501.100005.Aqua: Could not import service from caller: caller = otherbsd.206, service = com.shazam.mac.ShazamHelper, error = 119: Service is disabled
        Mar 19 22:25:54 com.apple.xpc.launchd.user.501.100005.Aqua: Could not import service from caller: caller = otherbsd.206, service = com.freemacsoft.AppCleaner-Helper, error = 119: Service is disabled
        Mar 19 22:25:54 com.apple.xpc.launchd.user.501.100005.Aqua: Could not import service from caller: caller = otherbsd.206, service = com.fiplab.BatteryHealthHelper, error = 119: Service is disabled
        Mar 19 22:26:16 com.BlueStacks.AppPlayer.LogRotator: Interval spawn of service failed: 139: Service cannot presently execute
        Mar 19 22:26:16 com.BlueStacks.AppPlayer.UninstallAgent: Interval spawn of service failed: 139: Service cannot presently execute
    Console log
        Mar 19 11:44:21 fontd: Failed to open read-only database, regenerating DB
    Loaded kernel extensions
        com.sony.scsi.PDW-U1 (5.02.0d002)
    System services loaded
        com.adobe.SwitchBoard
        com.adobe.fpsaud
        com.apple.watchdogd
        com.equinux.VPNTracker7.agent
        com.google.keystone.daemon
        com.microsoft.office.licensing.helper
        com.oracle.java.Helper-Tool
        com.oracle.java.JavaUpdateHelper
        com.paragon.ntfs12.refresh
        com.tunnelbear.mac.tbeard
    System services disabled
        com.openssh.sshd
        com.apple.mrt
    Login services loaded
        com.BlueStacks.AppPlayer.LogRotator
        - status: 78
        com.BlueStacks.AppPlayer.Service
        com.BlueStacks.AppPlayer.UninstallAgent
        - status: 78
        com.BlueStacks.AppPlayer.UpdaterAgent
        - status: 78
        com.adobe.AAM.Scheduler-1.0
        com.adobe.ARM.UUID
        com.apple.mrt.uiagent
        com.divx.dms.agent
        com.divx.update.agent
        com.facebook.videochat.NAME.updater
        com.fiplab.MemoryCleanHelper
        com.google.keystone.system.agent
        com.oracle.java.Java-Updater
        com.paragon.ntfs.trial
        com.paragon.updater
        net.tunnelblick.tunnelblick.LaunchAtLogin
        - status: 78
    Login services disabled
        com.adobe.AdobeCreativeCloud
    User services disabled
        com.adobe.AdobeCreativeCloud
    Startup items
        /Library/StartupItems/MobileBrServ/mbbservice
        /Library/StartupItems/MobileBrServ/mbbserviceopen.app/Contents/Info.plist
        /Library/StartupItems/MobileBrServ/mbbserviceopen.app/Contents/MacOS/mbbservice open
        /Library/StartupItems/MobileBrServ/MobileBrServ
        /Library/StartupItems/MobileBrServ/runmbbserviceopen
        /Library/StartupItems/MobileBrServ/StartupParameters.plist
        /Library/StartupItems/MobileBrServ/Uninstall.app/Contents/Info.plist
        /Library/StartupItems/MobileBrServ/Uninstall.app/Contents/MacOS/applet
    Global login items
        /Library/Application Support/XDCAM Drive/Helpers/XDMSetupHelper.app
    User login items
        iTunesHelper
        - /Applications/iTunes.app/Contents/MacOS/iTunesHelper.app
        InfiniteHD
        - /Users/USER/Library/Octoshape/InfiniteHD.app
        XDMSetupHelper
        - /Library/Application Support/XDCAM Drive/Helpers/XDMSetupHelper.app
    Firefox extensions
        Screengrab  (fix version)
        ZenMate Security & Privacy VPN
    Widgets
        wfcc
    iCloud errors
        bird 829
        cloudd 164
        Automator 24
        accountsd 2
        CallHistorySyncHelper 1
    Continuity errors
        sharingd 51
        lsuseractivityd 25
        Google Chrome 13
    User caches/logs
        1.8 GiB: /var/folders/jy/7r31rvr17dl9cdw_4sqhvg800000gn/T/../C/com.apple.appstore/915041 082/wct8079783343594854923.pkg
    Restricted files: 10
    Lockfiles: 24
    Accessibility
        Keyboard Zoom: On
        Scroll Zoom: On
    Contents of /Library/LaunchAgents/com.divx.dms.agent.plist
        - mod date: Nov 17 13:11:48 2014
        - checksum: 637650676
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.divx.dms.agent</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Application Support/DivX/DivXMediaServer.app/Contents/MacOS/DivXMediaServer</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        </dict>
        </plist>
    Contents of /Library/LaunchAgents/com.divx.update.agent.plist
        - mod date: May 20 02:24:29 2014
        - checksum: 3867571547
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.divx.update.agent</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Application Support/DivX/DivXUpdate.app/Contents/MacOS/DivXUpdate</string>
        <string>/silent</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StartInterval</key>
        <integer>10800</integer>
        </dict>
        </plist>
    Contents of /Library/LaunchAgents/com.oracle.java.Java-Updater.plist
        - mod date: Apr  5 15:58:39 2013
        - checksum: 3344678577
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.oracle.java.Java-Updater</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Java Updater.app/Contents/MacOS/Java Updater</string>
        <string>-bgcheck</string>
        </array>
        <key>StandardErrorPath</key>
        <string>/dev/null</string>
        <key>StandardOutPath</key>
        <string>/dev/null</string>
        <key>StartCalendarInterval</key>
        <dict>
        <key>Hour</key>
        <integer>0</integer>
        <key>Minute</key>
        <integer>57</integer>
        <key>Weekday</key>
        <integer>2</integer>
        </dict>
        </dict>
        ...and 1 more line(s)
    Contents of /Library/LaunchAgents/com.paragon.updater.plist
        - mod date: Oct 31 19:52:50 2014
        - checksum: 962844124
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>StartInterval</key>
        <integer>86400</integer>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Application Support/Paragon Updater/Paragon Updater.app/Contents/MacOS/Paragon Updater</string>
        <string>--check</string>
        <string>--delay=30</string>
        </array>
        <key>Label</key>
        <string>com.paragon.updater</string>
        <key>RunAtLoad</key>
        <true/>
        </dict>
        </plist>
    Contents of /Library/LaunchAgents/com.teamviewer.teamviewer.plist
        - mod date: Aug  8 11:34:37 2014
        - checksum: 1602219417
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.teamviewer.teamviewer</string>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/TeamViewer.app/Contents/MacOS/TeamViewer</string>
        <string>-RunAsAgent</string>
        <string>YES</string>
        </array>
        <key>WorkingDirectory</key>
        <string>/Applications/TeamViewer.app/Contents/MacOS/</string>
        <key>RunAtLoad</key>
        <true/>
        <key>KeepAlive</key>
        <true/>
        <key>Disabled</key>
        <true/>
        </dict>
        </plist>
    Contents of /Library/LaunchAgents/com.teamviewer.teamviewer_desktop.plist
        - mod date: Aug 22 19:30:07 2014
        - checksum: 2466887275
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.teamviewer.desktop</string>
        <key>LimitLoadToSessionType</key>
        <array>
        <string>LoginWindow</string>
        <string>Aqua</string>
        </array>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/TeamViewer.app/Contents/Helpers/TeamViewer_Desktop</strin g>
        <string>-RunAsAgent</string>
        <string>YES</string>
        <string>-Module</string>
        <string>Full</string>
        </array>
        <key>WorkingDirectory</key>
        <string>/Applications/TeamViewer.app/Contents/Helpers/</string>
        <key>RunAtLoad</key>
        <true/>
        <key>KeepAlive</key>
        <true/>
        ...and 4 more line(s)
    Contents of /Library/LaunchDaemons/com.apple.qmaster.qmasterd.plist
        - mod date: Aug 26 06:24:23 2010
        - checksum: 681742547
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.apple.qmaster.qmasterd</string>
        <key>ProgramArguments</key>
        <array>
        <string>/usr/sbin/qmasterd</string>
        </array>
        <key>OnDemand</key>
        <false/>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.equinux.VPNTracker7.agent.plist
        - mod date: May 28 18:56:00 2014
        - checksum: 294513792
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>EnvironmentVariables</key>
        <dict/>
        <key>Label</key>
        <string>com.equinux.VPNTracker7.agent</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/PrivilegedHelperTools/com.equinux.VPNTracker7.agent</string>
        </array>
        <key>ServiceIPC</key>
        <true/>
        <key>Sockets</key>
        <dict>
        <key>IPCSocket</key>
        <dict>
        <key>SockFamily</key>
        <string>Unix</string>
        <key>SockPathMode</key>
        <integer>438</integer>
        <key>SockPathName</key>
        <string>/var/run/com.equinux.VPNTracker7.agent.socket</string>
        <key>SockType</key>
        ...and 5 more line(s)
    Contents of /Library/LaunchDaemons/com.paragon.ntfs12.refresh.plist
        - mod date: Jan  2 02:52:40 2015
        - checksum: 3946840225
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <!-- This file is NOT provided by Paragon Software -->
        <dict>
            <key>Label</key>
            <string>com.paragon.ntfs12.refresh</string>
            <key>ProgramArguments</key>
            <array>
                <string>/Library/Application Support/Paragon Software/ntfs12refresh.sh</string>
            </array>
            <key>RunAtLoad</key>
            <true/>
            <key>StartInterval</key>
            <integer>604800</integer>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.teamviewer.teamviewer_service.plist
        - mod date: Aug  8 11:34:37 2014
        - checksum: 2586050363
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Disabled</key>
        <true/>
        <key>Label</key>
        <string>com.teamviewer.service</string>
        <key>KeepAlive</key>
        <true/>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/TeamViewer.app/Contents/MacOS/TeamViewer_Service</string>
        <string>-Module</string>
        <string>Full</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>WorkingDirectory</key>
        <string>/Applications/TeamViewer.app/Contents/MacOS</string>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.tunnelbear.mac.tbeard.plist
        - mod date: Jul 12 04:24:27 2014
        - checksum: 960441644
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.tunnelbear.mac.tbeard</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/PrivilegedHelperTools/com.tunnelbear.mac.tbeard</string>
        </array>
        <key>Sockets</key>
        <dict>
        <key>MasterSocket</key>
        <dict>
        <key>SockFamily</key>
        <string>Unix</string>
        <key>SockPathMode</key>
        <integer>438</integer>
        <key>SockPathName</key>
        <string>/var/run/com.tunnelbear.mac.tbeard.socket</string>
        <key>SockType</key>
        <string>Stream</string>
        </dict>
        </dict>
        </dict>
        ...and 1 more line(s)
    Contents of /System/Library/LaunchAgents/com.paragon.NTFS.notify.plist
        - mod date: Oct 31 19:53:00 2014
        - checksum: 3292335405
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.paragon.ntfs.trial</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/PreferencePanes/NTFSforMacOSX.prefPane/Contents/MacOS/notifica tor</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.BlueStacks.AppPlayer.LogRotator.plist
        - mod date: Nov 27 08:17:10 2014
        - checksum: 1253472770
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
            "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
          <dict>
            <key>Label</key>
            <string>com.BlueStacks.AppPlayer.LogRotator</string>
            <key>ProgramArguments</key>
            <array>
              <string>/Users/USER/Library/BlueStacks App Player/Runtime/uHD-LogRotator</string>
            </array>
            <key>StandardInPath</key>
            <string>/dev/null</string>
            <key>StandardOutPath</key>
            <string>/dev/null</string>
            <key>StandardErrorPath</key>
            <string>/dev/null</string>
            <key>StartInterval</key>
            <integer>15</integer>
            <key>RunAtLoad</key>
            <true/>
          </dict>
        </plist>
    Contents of Library/LaunchAgents/com.BlueStacks.AppPlayer.Service.plist
        - mod date: Nov 27 08:17:08 2014
        - checksum: 836378979
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
            "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
          <dict>
            <key>Label</key>
            <string>com.BlueStacks.AppPlayer.Service</string>
            <key>ProgramArguments</key>
            <array>
              <string>/Users/USER/Library/BlueStacks App Player/Runtime/uHD-Kal</string>
            </array>
            <key>StandardInPath</key>
            <string>/dev/null</string>
            <key>StandardOutPath</key>
            <string>/dev/null</string>
            <key>StandardErrorPath</key>
            <string>/dev/null</string>
            <key>RunAtLoad</key>
            <false/>
          </dict>
        </plist>
    Contents of Library/LaunchAgents/com.BlueStacks.AppPlayer.UninstallAgent.plist
        - mod date: Nov 27 08:17:11 2014
        - checksum: 2029135569
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
            "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
          <dict>
            <key>Label</key>
            <string>com.BlueStacks.AppPlayer.UninstallAgent</string>
            <key>ProgramArguments</key>
            <array>
              <string>/Users/USER/Library/BlueStacks App Player/Uninstall/uHD-UninstallAgent</string>
            </array>
            <key>StandardInPath</key>
            <string>/dev/null</string>
            <key>StandardOutPath</key>
            <string>/dev/null</string>
            <key>StandardErrorPath</key>
            <string>/dev/null</string>
            <key>StartInterval</key>
            <integer>15</integer>
            <key>RunAtLoad</key>
            <true/>
          </dict>
        </plist>
    Contents of Library/LaunchAgents/com.BlueStacks.AppPlayer.UpdaterAgent.plist
        - mod date: Nov 27 08:17:10 2014
        - checksum: 3847672156
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
            "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
          <dict>
            <key>Label</key>
            <string>com.BlueStacks.AppPlayer.UpdaterAgent</string>
            <key>ProgramArguments</key>
            <array>
              <string>/Users/USER/Library/BlueStacks App Player/Runtime/uHD-UpdaterAgent</string>
            </array>
            <key>StandardInPath</key>
            <string>/dev/null</string>
            <key>StandardOutPath</key>
            <string>/dev/null</string>
            <key>StandardErrorPath</key>
            <string>/dev/null</string>
            <key>StartCalendarInterval</key>
            <dict>
              <key>Hour</key>
              <integer>13</integer>
              <key>Minute</key>
              <integer>0</integer>
            </dict>
            <key>RunAtLoad</key>
        ...and 3 more line(s)
    Contents of Library/LaunchAgents/com.adobe.ARM.UUID.plist
        - mod date: Feb 19 07:08:24 2015
        - checksum: 4116814193
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.adobe.ARM.UUID</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/Adobe Acrobat XI Pro/Adobe Acrobat Pro.app/Contents/MacOS/Updater/Adobe Acrobat Updater Helper.app/Contents/MacOS/Adobe Acrobat Updater Helper</string>
        <string>semi-auto</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StartInterval</key>
        <integer>12600</integer>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.apple.FolderActions.folders.plist
        - mod date: Mar 14 11:25:54 2015
        - checksum: 2841064722
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.apple.FolderActions.folders</string>
        <key>Program</key>
        <string>/usr/bin/osascript</string>
        <key>ProgramArguments</key>
        <array>
        <string>osascript</string>
        <string>-e</string>
        <string>tell application "Folder Actions Dispatcher" to tick</string>
        </array>
        <key>WatchPaths</key>
        <array>
        <string>/Users/USER/Desktop/CONVERT to B&amp;W</string>
        <string>/Users/USER/Desktop/Convert to B&amp;W</string>
        </array>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.facebook.videochat.NAME.plist
        - mod date: Dec  5 01:06:08 2014
        - checksum: 1998993382
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
          <key>Label</key>
          <string>com.facebook.videochat.NAME.updater</string>
          <key>ProgramArguments</key>
          <array>
            <string>/usr/bin/java</string>
            <string>-cp</string>
            <string>/Users/USER/Library/Application Support/Facebook/video/3.1.0.522/FacebookUpdate.jar</string>
            <string>FacebookUpdate</string>
            <string>com.facebook.peep</string>
            <string>3.1.0.522</string>
          </array>
          <key>RunAtLoad</key>
          <true/>
          <key>StartInterval</key>
          <integer>10800</integer>
          <key>StandardErrorPath</key>
          <string>/dev/null</string>
          <key>StandardOutPath</key>
          <string>/dev/null</string>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/net.tunnelblick.tunnelblick.LaunchAtLogin.plist
        - mod date: Jul 17 23:09:49 2014
        - checksum: 2295440304
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>net.tunnelblick.tunnelblick.LaunchAtLogin</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/Tunnelblick.app/Contents/Resources/launchAtLogin.sh</stri ng>
        </array>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>RunAtLoad</key>
        <true/>
        <key>OnDemand</key>
        <true/>
        <key>ExitTimeOut</key>
        <integer>0</integer>
        <key>ProcessType</key>
        <string>Interactive</string>
        </dict>
        </plist>
    Extensions
        /Library/Extensions/SONY_PDW-U1.kext
        - com.sony.scsi.PDW-U1
        /Library/Extensions/com.equinux.VPNTracker7.kext
        - com.equinux.VPNTracker7
        /Library/Extensions/pdudf.kext
        - com.sony.filesystems.pdudf
        /Library/Extensions/pdudfr.kext
        - com.sony.filesystems.pdudfr
        /System/Library/Extensions/JMicronATA.kext
        - com.jmicron.JMicronATA
        /System/Library/Extensions/WD1394HPDriver.kext
        - com.wdc.driver.1394HP
        /System/Library/Extensions/WD1394_64HPDriver.kext
        - com.wdc.driver.1394_64HP
        /System/Library/Extensions/WDUSBHPDriver.kext
        - com.wdc.driver.USBHP
        /System/Library/Extensions/WDUSB_64HPDriver.kext
        - com.wdc.driver.USB_64HP
    Applications
        /Applications/Adobe After Effects CC 2014/Adobe After Effects CC 2014.app
        - N/A
        /Applications/Adobe After Effects CS6/Plug-ins/Effects/Synthetic Aperture/(CF3 Support)/SA Color Finesse 3 UI.app
        - com.synthetic-ap.SA Color Finesse 3 UI
        /Applications/Adobe After Effects CS6/Plug-ins/Effects/mochaAE/(Mocha Support)/mocha AE CS6.app
        - com.imagineersystems.mocha4ae_adobe
        /Applications/Adobe Flash Builder 4.6/eclipse/Eclipse.app
        - org.eclipse.eclipse
        /Applications/Adobe Flash Builder 4.6/sdks/4.6.0/lib/nai/lib/naib.app
        - APP_ID
        /Applications/Adobe Flash CS6/AIR3.2/lib/nai/lib/naib.app
        - APP_ID
        /Applications/Adobe Flash CS6/Common/Configuration/Simulator/SimController.app
        - SimController
        /Applications/Adobe/Adobe Help.app
        - chc.UUID.1
        /Applications/Adobe/Adobe Widget Browser.app
        - com.adobe.WidgetBrowser
        /Applications/AppCleaner.app
        - com.freemacsoft.AppCleaner
        /Applications/AppCleaner.app/Contents/Library/LoginItems/AppCleaner Helper.app
        - com.freemacsoft.AppCleaner-Helper
        /Applications/Blu-ray Player.app
        - com.macblurayplayer.MacBlurayPlayer
        /Applications/Data Rescue 3.app
        - com.prosofteng.DataRescue3
        /Applications/Deeper.app
        - com.titanium.Deeper
        /Applications/DivX/DivX Preferences.app
        - com.divx.divxprefs
        /Applications/DivX/Uninstall DivX for Mac.app
        - com.divxinc.uninstalldivxformac
        /Applications/Fidelia.app
        - com.audiofile.fidelia
        /Applications/LooksBuilderPL.app
        - com.RedGiantSoftware.LooksBuilderPL
        /Applications/Magic Bullet Grinder.app
        - com.RedGiant.Grinder
        /Applications/Magic Bullet Looks.app
        - com.RedGiantSoftware.LooksBuilder
        /Applications/Maintenance.app
        - com.titanium.Maintenance
        /Applications/Microsoft Communicator.app
        - com.microsoft.Communicator
        /Applications/Microsoft Messenger.app
        - com.microsoft.Messenger
        /Applications/Microsoft Office 2011/Office/Add-Ins/Solver.app
        - com.apple.ASApplication
        /Applications/Microsoft Office 2011/Office/Equation Editor.app
        - com.microsoft.EquationEditor
        /Applications/Microsoft Office 2011/Office/Microsoft Office Setup Assistant.app
        - com.microsoft.office.setupassistant
        /Applications/Microsoft Office 2011/Office/Microsoft Query.app
        - N/A
        /Applications/Need for Speed™ Most Wanted.app:™ Most Wanted:
        - N/A
        /Applications/OnyX.app
        - com.titanium.OnyX
        /Applications/Red Giant Link/Red Giant Link.app
        - org.pythonmac.unspecified.RedGiantLink
        /Applications/Remote Desktop Connection.app
        - com.microsoft.rdc
        /Applications/Utilities/Adobe AIR Application Installer.app
        - com.adobe.air.ApplicationInstaller
        /Applications/Utilities/Adobe AIR Uninstaller.app
        - com.adobe.air.Installer
        /Applications/VideoSpec.app
        - com.houdini.VideoSpec
        /Library/Application Support/Adobe/Installers/AdobeInDesign8AppBase/ExtraFiles/INSTALLDIR_EXE/Adobe InDesign CS6.app
        - N/A
        /Library/Application Support/Adobe/SwitchBoard/SwitchBoard.app
        - com.adobe.switchboard-2.0
        /Library/Application Support/DivX/DivXTransferWizard.app
        - com.divx.TransferWizard
        /Library/Application Support/DivX/DivXUpdate.app
        - com.divx.DivXUpdate
        /Library/Application Support/DivX/DivXUpdater.app
        - com.divx.DivXUpdater
        /Library/Application Support/Microsoft/MERP2.0/Microsoft Error Reporting.app
        - com.microsoft.error_reporting
        /Library/Application Support/Microsoft/MERP2.0/Microsoft Ship Asserts.app
        - com.microsoft.netlib.shipassertprocess
        /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app
        - com.adobe.air.ApplicationInstaller
        /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Adobe AIR Updater.app
        - com.adobe.air.Installer
        /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/Template.app
        - com.adobe.air.Template
        /Library/PDF Services/Save as Adobe PDF.app
        - com.apple.automator.SaveasAdobePDF
        /Library/StartupItems/MobileBrServ/Uninstall.app
        - N/A
        /Library/StartupItems/MobileBrServ/mbbserviceopen.app
        - com.yourcompany.mbbserviceopen
        /Users/USER/Applications (Parallels)/{UUID} Applications.localized/Accessibility On-Screen Keyboard.app
        - com.parallels.winapp.UUID.UUID
        /Users/USER/Applications (Parallels)/{UUID} Applications.localized/Activate Application.app
        - com.parallels.winapp.UUID.UUID
        /Users/USER/Applications (Parallels)/{UUID} Applications.localized/Alarms.app
        - com.parallels.winapp.UUID.UUID
        /Users/USER/Applications (Parallels)/{UUID} Applications.localized/Audio Control Panel.app
        - com.parallels.winapp.UUID.UUID
        /Users/USER/Applications (Parallels)/{UUID} Applications.localized/Bing Travel.app
        - com.parallels.winapp.UUID.UUID
        /Users/USER/Applications (Parallels)/{UUID} Applications.localized/COM Surrogate.app
        - com.parallels.winapp.UUID.UUID
        /Users/USER/Applications (Parallels)/{UUID} Applications.localized/Calculator.app
        - com.parallels.winapp.UUID.UUID
        /Users/USER/Applications (Parallels)/{UUID} Applications.localized/Calendar.app
        - com.parallels.winapp.UUID.UUID
        /Users/USER/Applications (Parallels)/{UUID} Application

  • How can i get the parent value by sum of the child value of billing of material by using with cte

    I want to sum every parent recursively to the top of parent for example
    So far i got all relation between parent and child
    but I can t get the sum value of all parent in every levels ,
    This is what i get so far 
     WITH EmpCTE( MS_ID ,  MMS_ID , Qty , FLG , lvl)
                        AS
                        SELECT        Child_Code, Parent_Code , Cast(1 as float) ,  GSS_HR_COSTRELATION.FLG  , 0 AS lvl
                        FROM            GSS_HR_COSTRELATION
                        WHERE Child_Code  =  '01'
                        UNION ALL
                        SELECT        Child_Code, Parent_Code , Cast(1 as float) , E.FLG  , M.lvl + 1
                        FROM            GSS_HR_COSTRELATION AS E
                        JOIN EmpCTE AS M  ON E.Parent_Code = M.MS_ID WHERE  E.FLG is null
                        SELECT  A.Cost_ID , MS_ID  , A.Cost_CODE , A.Cost_name ,  MMS_ID , FLG , ISNULL(A.TOTAL , 0) As Cost , Cast(A.month AS nvarchar) As month , lvl From EmpCTE  LEFT join
                        SELECT  Cost_ID , Cost_CODE , Cost_Name ,  Sum(QTY*PRICE) AS TOTAL ,month(DateCreated) AS month
                        FROM            GSS_HR_COSTCENTER LEFT JOIN
                        GSS_AC_WTHDRAW ON GSS_HR_COSTCENTER.Cost_ID = GSS_AC_WTHDRAW.line_id
                        GROUP BY Cost_ID , Cost_Name , Cost_CODE ,month(DateCreated) ) A ON A.Cost_code = EmpCTE.MS_ID Order by lvl , A.Cost_CODE
    Thanks
    I am using Sql server 2012 
    this is my script of my database (include data)
    USE [SMEDB]
    GO
    /****** Object:  Table [dbo].[GSS_AC_WTHDRAW]    Script Date: 11/23/2014 3:31:31 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[GSS_AC_WTHDRAW](
    [MATID] [int] IDENTITY(1,1) NOT NULL,
    [MATNO] [nvarchar](50) NULL,
    [STPRICE_ID] [int] NULL,
    [MS_CD] [nvarchar](50) NULL,
    [QTY] [decimal](16, 2) NULL,
    [PRICE] [float] NULL,
    [DateCreated] [datetime] NULL,
    [Name] [nvarchar](50) NULL,
    [DeptID] [int] NULL,
    [CreatedID_by] [int] NULL,
    [JvHeader_ID] [int] NULL,
    [line_id] [int] NULL,
    [createby] [nvarchar](50) NULL,
     CONSTRAINT [PK_GSS_AC_WTHDRAW] PRIMARY KEY CLUSTERED 
    [MATID] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    GO
    /****** Object:  Table [dbo].[GSS_HR_COSTCENTER]    Script Date: 11/23/2014 3:31:31 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[GSS_HR_COSTCENTER](
    [Cost_ID] [int] IDENTITY(1,1) NOT NULL,
    [Cost_code] [nvarchar](50) NOT NULL,
    [Cost_name] [nvarchar](50) NULL,
    [Dept_ID] [int] NULL,
    [DeptGroup_ID] [int] NULL,
     CONSTRAINT [PK_GSS_HR_COSTCENTER] PRIMARY KEY CLUSTERED 
    [Cost_code] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    GO
    /****** Object:  Table [dbo].[GSS_HR_COSTRELATION]    Script Date: 11/23/2014 3:31:31 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE TABLE [dbo].[GSS_HR_COSTRELATION](
    [Relation_ID] [int] IDENTITY(1,1) NOT NULL,
    [Child_Code] [nvarchar](50) NULL,
    [Parent_Code] [nvarchar](50) NULL,
    [FLG] [int] NULL
    ) ON [PRIMARY]
    GO
    SET IDENTITY_INSERT [dbo].[GSS_AC_WTHDRAW] ON 
    INSERT [dbo].[GSS_AC_WTHDRAW] ([MATID], [MATNO], [STPRICE_ID], [MS_CD], [QTY], [PRICE], [DateCreated], [Name], [DeptID], [CreatedID_by], [JvHeader_ID], [line_id], [createby]) VALUES (1002, N'1411-0130', 1385, N'9101101', CAST(200.00 AS Decimal(16, 2)), 18,
    CAST(0x0000A3DB00000000 AS DateTime), N'0', 13, NULL, NULL, 49, NULL)
    INSERT [dbo].[GSS_AC_WTHDRAW] ([MATID], [MATNO], [STPRICE_ID], [MS_CD], [QTY], [PRICE], [DateCreated], [Name], [DeptID], [CreatedID_by], [JvHeader_ID], [line_id], [createby]) VALUES (1003, N'1411-0130', 1466, N'910201', CAST(50.00 AS Decimal(16, 2)), 18, CAST(0x0000A3DB00000000
    AS DateTime), N'0', 13, NULL, NULL, 49, NULL)
    INSERT [dbo].[GSS_AC_WTHDRAW] ([MATID], [MATNO], [STPRICE_ID], [MS_CD], [QTY], [PRICE], [DateCreated], [Name], [DeptID], [CreatedID_by], [JvHeader_ID], [line_id], [createby]) VALUES (1004, N'1411-0131', 1456, N'914201', CAST(150.00 AS Decimal(16, 2)), 27.25,
    CAST(0x0000A3DB00000000 AS DateTime), N'0', 13, NULL, NULL, 58, NULL)
    INSERT [dbo].[GSS_AC_WTHDRAW] ([MATID], [MATNO], [STPRICE_ID], [MS_CD], [QTY], [PRICE], [DateCreated], [Name], [DeptID], [CreatedID_by], [JvHeader_ID], [line_id], [createby]) VALUES (1005, N'1411-0131', 1118, N'914016', CAST(31.00 AS Decimal(16, 2)), 105, CAST(0x0000A3DB00000000
    AS DateTime), N'0', 13, NULL, NULL, 59, NULL)
    INSERT [dbo].[GSS_AC_WTHDRAW] ([MATID], [MATNO], [STPRICE_ID], [MS_CD], [QTY], [PRICE], [DateCreated], [Name], [DeptID], [CreatedID_by], [JvHeader_ID], [line_id], [createby]) VALUES (1006, N'1411-0131', 105, N'914015', CAST(34.00 AS Decimal(16, 2)), 70, CAST(0x0000A3DB00000000
    AS DateTime), N'0', 13, NULL, NULL, 59, NULL)
    SET IDENTITY_INSERT [dbo].[GSS_AC_WTHDRAW] OFF
    SET IDENTITY_INSERT [dbo].[GSS_HR_COSTCENTER] ON 
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (107, N'01', N'SME', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (1, N'02', N'ADMIN', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (2, N'03', N'MANUFACTURE', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (15, N'11', N'Pattern', 11, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (104, N'21', N'Foundry', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (16, N'2100', N'FD Common', NULL, 2)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (41, N'2110', N'Melting', 12, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (108, N'2110-00', N'Melting Common', 12, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (123, N'2110-01', N'Melting Repairing', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (109, N'2110-01-0101', N'Melting_เตา.1', 12, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (124, N'2110-01-0201', N'Melting CM1', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (125, N'2110-01-0202', N'Melting CM2', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (126, N'2110-01-0203', N'Melting CM3', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (127, N'2110-01-0204', N'Melting CM4', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (128, N'2110-01-0205', N'Melting CM5', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (129, N'2110-01-0206', N'Melting CM6', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (130, N'2110-01-0207', N'Melting CM7', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (131, N'2110-01-0208', N'Melting CM8', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (132, N'2110-01-0209', N'Melting CM9', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (110, N'2110-02-0102', N'Melting_เตา.2', 12, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (111, N'2110-03-0103', N'Melting_เตา.3', 12, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (112, N'2110-04-0104', N'Melting_เตา.4', 12, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (113, N'2110-05-0105', N'Melting_เตา.5', 12, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (114, N'2110-06-0106', N'Melting_เตา.6', 12, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (115, N'2110-07-0107', N'Melting_เตา.7', 12, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (116, N'2110-08-0108', N'Melting_เตา.8', 12, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (117, N'2110-09-0109', N'Melting_เตา.9', 12, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (118, N'2110-10-0110', N'Melting_เตา.10', 12, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (119, N'2110-11-0111', N'Melting_เตา.11', 12, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (18, N'2111', N'Molding', 13, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (42, N'2111-01', N'Core Common', 13, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (151, N'2111-01-0201', N'Moulding -Core _CSC1', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (152, N'2111-01-0202', N'Moulding -Core _CSC2', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (148, N'2111-01-0401', N'Moulding -Core _CS-1', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (149, N'2111-01-0402', N'Moulding -Core _CS-2', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (150, N'2111-01-0501', N'Moulding -Core _MP-1', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (43, N'2111-0110', N'Core - HSP', 13, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (44, N'2111-0111', N'Core - AVS', 13, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (45, N'2111-0112', N'Core - VML', 13, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (46, N'2111-0113', N'Core - AMF', 13, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (47, N'2111-0114', N'Core - DISA', 13, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (48, N'2111-02', N'Molding Line Common', 13, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (49, N'2111-0210', N'Molding Line - HSP', 13, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (144, N'2111-0210-0201', N'Moulding Line-HSP_CHSP1', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (145, N'2111-0210-0202', N'Moulding Line-HSP_CHSP2', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (146, N'2111-0210-0203', N'Moulding Line-HSP_CHSP3', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (143, N'2111-0210-0301', N'Moulding Line-HSP_HSP', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (50, N'2111-0211', N'Molding Line - AVS', 13, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (139, N'2111-0211-0201', N'Moulding Line-AVS_CAVS', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (140, N'2111-0211-0202', N'Moulding Line-AVS_CAV1', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (141, N'2111-0211-0203', N'Moulding Line-AVS_CAV2', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (142, N'2111-0211-0204', N'Moulding Line-AVS_CAV3', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (138, N'2111-0211-0301', N'Moulding Line-AVS_AVS', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (51, N'2111-0212', N'Molding Line - VML', 13, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (137, N'2111-0212-0201', N'Moulding Line-VML_CVML', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (136, N'2111-0212-0301', N'Moulding Line-VML_VML', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (52, N'2111-0213', N'Molding Line - AMF', 13, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (134, N'2111-0213-0201', N'Moulding Line-AMF_CAMF1', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (135, N'2111-0213-0202', N'Moulding Line-AMF_CAMF2', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (133, N'2111-0213-0301', N'Moulding Line-AMF_AMF', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (53, N'2111-0214', N'Molding Line - DISA', 13, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (147, N'2111-0214-0301', N'Moulding Line-DISA_DISA', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (54, N'2111-0215', N'Finishing Small - Shot Blast', 13, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (55, N'2111-0216', N'Finishing Small - Grinding', 13, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (159, N'2111-0216-1101', N'Moulding-Finishing-small grinding_G1', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (160, N'2111-0216-1102', N'Moulding-Finishing-small grinding_G2', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (161, N'2111-0216-1103', N'Moulding-Finishing-small grinding_G3', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (162, N'2111-0216-1104', N'Moulding-Finishing-small grinding_G4', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (163, N'2111-0216-1105', N'Moulding-Finishing-small grinding_G5', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (164, N'2111-0216-1106', N'Moulding-Finishing-small grinding_G6', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (165, N'2111-0216-1107', N'Moulding-Finishing-small grinding_G7', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (166, N'2111-0216-1108', N'Moulding-Finishing-small grinding_G8', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (167, N'2111-0216-1109', N'Moulding-Finishing-small grinding_G9', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (168, N'2111-0216-1110', N'Moulding-Finishing-small grinding_G10', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (56, N'2111-0217', N'Finishing Small - Oil Painting', 13, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (57, N'2111-0218', N'Finishing Small - Packing', 13, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (58, N'2111-0219', N'Finishing Line - Shot Blast', 13, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (153, N'2111-0219-0901', N'Moulding-Finishing Line Shot Blast_SB-1', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (154, N'2111-0219-0902', N'Moulding-Finishing Line Shot Blast_SB-2', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (155, N'2111-0219-0903', N'Moulding-Finishing Line Shot Blast_SB-3', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (156, N'2111-0219-0904', N'Moulding-Finishing Line Shot Blast_SB-4', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (157, N'2111-0219-0905', N'Moulding-Finishing Line Shot Blast_SB-5', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (158, N'2111-0219-0906', N'Moulding-Finishing Line Shot Blast_SB-6', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (59, N'2111-0220', N'Finishing Line - Grinding', 13, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (60, N'2111-0221', N'Finishing Line - Oil Painting', 13, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (61, N'2111-0222', N'Finishing Line - Packing', 13, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (62, N'2111-03', N'Molding Repairing', 13, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (19, N'2112', N'F1', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (63, N'2112-00', N'F1 Common', 14, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (64, N'2112-01', N'Molding Roll', 14, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (65, N'2112-0110', N'Grinding Roll', 14, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (66, N'2112-02', N'Molding M/C Tool', 14, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (67, N'2112-0210', N'Finishing F1', 14, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (68, N'2112-0211', N'Shot Blast F1', 14, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (69, N'2112-0212', N'Grinding F1', 14, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (70, N'2112-0213', N'Painting F1', 14, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (71, N'2112-0214', N'Packing F1', 14, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (72, N'2112-0215', N'Repairing F1', 14, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (20, N'2113', N'F2', NULL, NULL)
    GO
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (73, N'2113-00', N'F2 Common', 15, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (74, N'2113-01', N'Molding Press Die', 15, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (75, N'2113-02', N'Finishing F2', 15, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (76, N'2113-03', N'Shot Blast F2', 15, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (77, N'2113-04', N'Grinding F2', 15, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (78, N'2113-05', N'Painting F2', 15, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (79, N'2113-06', N'Repairing F2', 15, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (105, N'51', N'Machine', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (21, N'5100', N'MC Common', NULL, 3)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (22, N'5110', N'SME M/C', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (80, N'5110-00', N'SME M/C Common', 16, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (81, N'5110-01', N'SME M/C CNC Late', 16, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (82, N'5110-02', N'M/C Center', 16, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (83, N'5110-03', N'Timing', 16, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (84, N'5110-04', N'Milling', 16, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (85, N'5110-05', N'SME M/C Grinding', 16, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (86, N'5110-06', N'Drilling', 16, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (87, N'5110-07', N'Boring', 16, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (88, N'5110-08', N'Honning', 16, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (89, N'5110-09', N'Double Colume', 16, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (90, N'5110-10', N'Painting', 16, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (91, N'5110-11', N'SME M/C Packing', 16, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (23, N'5111', N'ROLL M/C', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (92, N'5111-00', N'ROLL M/C Common', 16, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (93, N'5111-01', N'Rough Cut', 16, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (94, N'5111-02', N'Center', 16, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (95, N'5111-03', N'ROLL M/C  CNC Late', 16, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (96, N'5111-04', N'M/C Center (Ring roll)', 16, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (97, N'5111-05', N'ROLL M/C Grinding', 16, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (98, N'5111-06', N'Plan Cut', 16, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (99, N'5111-07', N'Flower Cut', 16, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (100, N'5111-08', N'Drilling', 16, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (101, N'5111-09', N'Hand Finish', 16, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (102, N'5111-10', N'ROLL M/C Packing', 16, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (106, N'81', N'Maintenance', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (24, N'8100', N'MT Common', NULL, 3)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (3, N'91', N'ADMIN', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (4, N'9100', N'Admin Common', NULL, 5)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (5, N'9110', N'Account', 1, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (6, N'9111', N'Purchase', 2, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (7, N'9112', N'Human Resource', 3, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (8, N'9113', N'Quality Assurance', 4, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (9, N'9114', N'Quality Control', 5, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (10, N'9115', N'Safety', 6, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (11, N'9116', N'Doc.Control', 7, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (12, N'9117', N'Sale', 8, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (13, N'9118', N'Planning', 9, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (14, N'9119', N'Store&Delivery', 10, NULL)
    INSERT [dbo].[GSS_HR_COSTCENTER] ([Cost_ID], [Cost_code], [Cost_name], [Dept_ID], [DeptGroup_ID]) VALUES (120, N'9120', N'R & D Engineering', 19, NULL)
    SET IDENTITY_INSERT [dbo].[GSS_HR_COSTCENTER] OFF
    SET IDENTITY_INSERT [dbo].[GSS_HR_COSTRELATION] ON 
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (1, N'02', N'01', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (2, N'03', N'01', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (3, N'91', N'02', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (4, N'9100', N'91', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (5, N'9110', N'91', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (6, N'9111', N'91', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (7, N'9112', N'91', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (8, N'9113', N'91', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (9, N'9114', N'91', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (10, N'9115', N'91', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (11, N'9116', N'91', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (12, N'9117', N'91', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (13, N'9118', N'91', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (14, N'9119', N'91', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (15, N'11', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (16, N'2100', N'21', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (17, N'2110', N'21', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (18, N'2111', N'21', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (19, N'2112', N'21', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (20, N'2113', N'21', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (21, N'5100', N'51', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (22, N'5110', N'51', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (23, N'5111', N'51', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (24, N'8100', N'81', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (121, N'2110-01', N'2110', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (122, N'2110-01-0201', N'2110-01', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (123, N'2110-01-0202', N'2110-01', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (124, N'2110-01-0203', N'2110-01', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (125, N'2110-01-0204', N'2110-01', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (126, N'2110-01-0205', N'2110-01', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (127, N'2110-01-0206', N'2110-01', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (128, N'2110-01-0207', N'2110-01', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (129, N'2110-01-0208', N'2110-01', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (130, N'2110-01-0209', N'2110-01', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (131, N'2111-0213-0301', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (132, N'2111-0213-0201', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (133, N'2111-0213-0202', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (134, N'2111-0212-0301', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (135, N'2111-0212-0201', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (136, N'2111-0211-0301', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (137, N'2111-0211-0201', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (42, N'2111-01', N'2110', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (43, N'2111-0110', N'2111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (44, N'2111-0111', N'2111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (45, N'2111-0112', N'2111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (46, N'2111-0113', N'2111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (47, N'2111-0114', N'2111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (48, N'2111-02', N'2111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (49, N'2111-0210', N'2111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (50, N'2111-0211', N'2111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (51, N'2111-0212', N'2111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (52, N'2111-0213', N'2111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (53, N'2111-0214', N'2111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (54, N'2111-0215', N'2111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (55, N'2111-0216', N'2111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (56, N'2111-0217', N'2111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (57, N'2111-0218', N'2111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (58, N'2111-0219', N'2111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (59, N'2111-0220', N'2111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (60, N'2111-0221', N'2111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (61, N'2111-0222', N'2111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (62, N'2111-03', N'2111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (63, N'2112-00', N'2112', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (64, N'2112-01', N'2112', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (65, N'2112-0110', N'2112', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (66, N'2112-02', N'2112', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (67, N'2112-0210', N'2112', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (68, N'2112-0211', N'2112', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (69, N'2112-0212', N'2112', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (70, N'2112-0213', N'2112', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (71, N'2112-0214', N'2112', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (72, N'2112-0215', N'2112', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (73, N'2113-00', N'2113', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (74, N'2113-01', N'2113', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (75, N'2113-02', N'2113', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (76, N'2113-03', N'2113', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (77, N'2113-04', N'2113', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (78, N'2113-05', N'2113', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (79, N'2113-06', N'2113', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (80, N'5110-00', N'5110', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (81, N'5110-01', N'5110', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (82, N'5110-02', N'5110', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (83, N'5110-03', N'5110', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (84, N'5110-04', N'5110', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (85, N'5110-05', N'5110', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (86, N'5110-06', N'5110', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (87, N'5110-07', N'5110', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (88, N'5110-08', N'5110', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (89, N'5110-09', N'5110', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (90, N'5110-10', N'5110', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (91, N'5110-11', N'5110', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (92, N'5111-00', N'5111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (93, N'5111-01', N'5111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (94, N'5111-02', N'5111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (95, N'5111-03', N'5111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (96, N'5111-04', N'5111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (97, N'5111-05', N'5111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (98, N'5111-06', N'5111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (99, N'5111-07', N'5111', NULL)
    GO
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (100, N'5111-08', N'5111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (101, N'5111-09', N'5111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (102, N'5111-10', N'5111', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (103, N'11', N'03', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (104, N'21', N'03', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (105, N'51', N'03', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (106, N'81', N'03', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (107, N'01', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (108, N'2110-00', N'2110', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (109, N'2110-01-0101', N'2110-01', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (110, N'2110-02-0102', N'2110-01', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (111, N'2110-03-0103', N'2110-01', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (112, N'2110-04-0104', N'2110-01', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (113, N'2110-05-0105', N'2110-01', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (114, N'2110-06-0106', N'2110-01', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (115, N'2110-07-0107', N'2110-01', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (116, N'2110-08-0108', N'2110-01', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (117, N'2110-09-0109', N'2110-01', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (138, N'2111-0211-0202', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (139, N'2111-0211-0203', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (140, N'2111-0211-0204', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (141, N'2111-0210-0301', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (142, N'2111-0210-0201', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (143, N'2111-0210-0202', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (144, N'2111-0210-0203', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (145, N'2111-0214-0301', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (146, N'2111-01-0401', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (147, N'2111-01-0402', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (148, N'2111-01-0501', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (149, N'2111-01-0201', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (150, N'2111-01-0202', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (151, N'2111-0219-0901', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (152, N'2111-0219-0902', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (153, N'2111-0219-0903', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (154, N'2111-0219-0904', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (155, N'2111-0219-0905', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (156, N'2111-0219-0906', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (157, N'2111-0216-1101', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (158, N'2111-0216-1102', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (159, N'2111-0216-1103', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (160, N'2111-0216-1104', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (161, N'2111-0216-1105', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (162, N'2111-0216-1106', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (163, N'2111-0216-1107', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (164, N'2111-0216-1108', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (165, N'2111-0216-1109', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (166, N'2111-0216-1110', NULL, NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (118, N'2110-10-0110', N'2110-01', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (119, N'2110-11-0111', N'2110-01', NULL)
    INSERT [dbo].[GSS_HR_COSTRELATION] ([Relation_ID], [Child_Code], [Parent_Code], [FLG]) VALUES (120, N'9120', N'91', NULL)
    SET IDENTITY_INSERT [dbo].[GSS_HR_COSTRELATION] OFF

    >> I want to sum every parent recursively to the top of parent <<
    The terms “parent” and “child” are part of network databases and NOT RDBMS. We have “weak entity” and “{strong entity” in our data models today.
    If you use the nested sets model, this hierarchical aggregation is easy. But your mindset is still in file systems, pointer chains and procedural language programming code. You also have no idea how ISO-11179 naming rules work. 
    Most of the data element names are garbage! Most of your code is garbage, even after we get over the fundamental design errors. 
    Think about how absurd “qty” as a data element name is in a schema. Quantity of what?? From logic (specifically the Law of Identity, the most fundamental law in mathematics) that “to be” (exist) is to be something in particular; so this has to be “<something
    in particular>_qty” to be valid. Your other data elemet names are also vague garbage. 
    We do NOT use flags in SQL; this is a predicate language like Assembly code. We do NOT set flags; we discover a current “state of being” with predicates. 
    Think about “GSS_Hr_Cost_Relation” as a name. Is there only one of them, as you have said?? Would also call a table of “Marriages” a “Man_Woman_Legal_Relations” ? NO! The relationship has a name of its own! 
    CAST(1 AS FLOAT) is better written AS a constant E1.0; but it is weird. why are you using FLOAT? Do you want rounding errors? Why do you write crap like “CAST(34.00 AS DECIMAL(16, 2)”  when an insertion of just 34.00 works better? Why do you write crap
    like “CAST(0x0000a3db00000000 AS DATETIME” instead of using ISO-8601 formats, DATE and DATETIME2(0) data types? 
    Then you have no idea what kind of attribute a “<something>_code” is and why it cannort ever be key. Go to any library and look at the Dewey DECIMAL Classification system. The hierarchy is in the encoding itself, NOT in some multiple levels of storage. 
    Why do you have more NULL-able columns than the loan systems of major automobile corporations? I can answer that! Your schema is a disaster that needs to be re-done. 
    Putting audit data into the table being audited is both stupid and illegal! And then to make it worse, “datecreated” should have been “creation_date” if the moron knew ISO-11179 rules. But it is still a crime; what happens to the audit data when the row is
    deleted or the table is dropped? Can a person with access to the data also have access to the audit trail? DOH! 
    The use of “NVARCHAR(50)” might be correct in places where the data actually is in Unicode varying strings. I think I have seen ~10 of them in 30 years of writing SQL. But everything does not qualify; most likely some moron using ACCESS or a ORM tool used this
    default because he is both stupid and lazy. Fire him; his ignorance is dangerous to the project. 
    Most ISO encodings are fixed length and between 9 and 16 characters with a regular expression for validation. Not all but most. 
    Finally, after all the decades of RDBMS, why do you use “mat_id INTEGER IDENTITY(1,1) NOT NULL”?? Why do you think that the insertion attempt count of one table is a valid logical attribute, much less a KEY? 
    You do not know how to write an INSERT UNTO statement! Look up the VALUES () clause and row constructions. 
    I have decades of my life invested in SQL and RDBMS. Reading code like this is painful. Can you please get a minimal education and correct this mess? I have been asked to write a book on bad SQL and this is classic illiterate programming! Almost nothing is
    right. 
    Sorry, but you wanted help and the best help is to stop you from doing more harm until you can learn how to do it properly. >> I want to sum every parent recursively to the top of parent <<
    The terms “parent” and “child” are part of network databases and NOT RDBMS. We have “weak entity” and “{strong entity” in our data models today.
    If you use the nested sets model, this hierarchical aggregation is easy. But your mindset is still in file systems, pointer chains and procedural language programming code. You also have no idea how ISO-11179 naming rules work. 
    Most of the data element names are garbage! Most of your code is garbage, even after we get over the fundamental design errors. 
    Think about how absurd “qty” as a data element name is in a schema. Quantity of what?? From logic (specifically the Law of Identity, the most fundamental law in mathematics) that “to be” (exist) is to be something in particular; so this has to be “<something
    in particular>_qty” to be valid. Your other data elemet names are also vague garbage. 
    We do NOT use flags in SQL; this is a predicate language like Assembly code. We do NOT set flags; we discover a current “state of being” with predicates. 
    Think about “GSS_Hr_Cost_Relation” as a name. Is there only one of them, as you have said?? Would also call a table of “Marriages” a “Man_Woman_Legal_Relations” ? NO! The relationship has a name of its own! 
    CAST(1 AS FLOAT) is better written AS a constant E1.0; but it is weird. why are you using FLOAT? Do you want rounding errors? Why do you write crap like “CAST(34.00 AS DECIMAL(16, 2)”  when an insertion of just 34.00 works better? Why do you write crap
    like “CAST(0x0000a3db00000000 AS DATETIME” instead of using ISO-8601 formats, DATE and DATETIME2(0) data types? 
    Then you have no idea what kind of attribute a “<something>_code” is and why it cannort ever be key. Go to any library and look at the Dewey DECIMAL Classification system. The hierarchy is in the encoding itself, NOT in some multiple levels of storage. 
    Why do you have more NULL-able columns than the loan systems of major automobile corporations? I can answer that! Your schema is a disaster that needs to be re-done. 
    Putting audit data into the table being audited is both stupid and illegal! And then to make it worse, “datecreated” should have been “creation_date” if the moron knew ISO-11179 rules. But it is still a crime; what happens to the audit data when the row is
    deleted or the table is dropped? Can a person with access to the data also have access to the audit trail? DOH! 
    The use of “NVARCHAR(50)” might be correct in places where the data actually is in Unicode varying strings. I think I have seen ~10 of them in 30 years of writing SQL. But everything does not qualify; most likely some moron using ACCESS or a ORM tool used this
    default because he is both stupid and lazy. Fire him; his ignorance is dangerous to the project. 
    Most ISO encodings are fixed length and between 9 and 16 characters with a regular expression for validation. Not all but most. 
    Finally, after all the decades of RDBMS, why do you use “mat_id INTEGER IDENTITY(1,1) NOT NULL”?? Why do you think that the insertion attempt count of one table is a valid logical attribute, much less a KEY? 
    You do not know how to write an INSERT UNTO statement! Look up the VALUES () clause and row constructions. 
    I have decades of my life invested in SQL and RDBMS. Reading code like this is painful. Can you please get a minimal education and correct this mess? I have been asked to write a book on bad SQL and this is classic illiterate programming! Almost nothing is
    right. 
    Sorry, but you wanted help and the best help is to stop you from doing more harm until you can learn how to do it properly. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • MOULD DIE as a PRT tool in CF01

    Dear All,
    I have created -MOULD DIE as a PRT tool in CF01.(I dont want to  create the Mould die as a Material it can only be a PRT tool)
    I need to issue the Mould whenever it is required to production.
    I need to have track on the PRT issued to production.
    I need to issue the PRT from its storage location whenever the production requires it & track.
    Keep in mind I need this Mould only as PRT TOOL (CF01).
    Is this can be done ,Pls suggest a better solution.
    Point will be awarded
    Subbu.

    Thanks Mario,
    1. Whether I need to maintain the PRT material in the BOM or simply I can attach in routing.
    Which will have better tracebility.
    2. Basically what is the diff in creating PRT  as Material (MM01) and as PRT tool (CF01) (considering PM module not in the Scope).
    Regards,
    Subbu.
    << Moderator message - Personal information removed >>
    Edited by: Rob Burbank on Oct 29, 2010 9:28 AM

  • Can JSF page content convert to PDF?

    I want to develop a jsf page that when user click a button can display a pdf file that contain the jsf page content. I know using iText can generate pdf but what i read the example in the iText homepage all is like adding the line by line using document.add() or paragragh , anyway can do it ?

    I adding this code in a servlet
    Document document = new Document();
         document.setPageSize(PageSize.A4.rotate());
         OutputStream out1 = response.getOutputStream();
         response.addHeader("Content-Type", "application/pdf");
         response.addHeader("Content-Disposition", "attachment; filename=\"Test.pdf\"");
              try {
                   URL yahoo = new URL("http://localhost:8080/Test/HelloWorld.faces");
                   URLConnection yc = yahoo.openConnection();
                   BufferedReader in = new BufferedReader(
                   new InputStreamReader(
                   yc.getInputStream()));
              PdfWriter.getInstance(document, out1);
              HtmlParser.parse(document, yc.getInputStream());
              catch (Exception e) {
              System.out.println("error="+e);
              e.printStackTrace();
    But i save the file, the file canot open the error message is either not a supported file or file damaged

  • Allocation of moulds cost to units produced....

    Hi All,
    I have an issue... need ur expert opinion on it....
    Client is using the die for producing the material...one die is used for sometime...may be it produces 100 or 200 or 500 units...we dont know the exact quantity.
    Problem is that client want to allocate the cost of the die on produced units...on no of production orders...at month end. How can we do that???
    Thanks in advance,
    Rajesh

    Hi,
    If I am not wrong check the following points:
    1. Usually For moulds fixed capacity will be there which you will get from their tooling dept or tool manufacturers.
    Based on the capacity you can define one asset class in Fixed Assets for moulds.
    2. When Coming to production if you enter no. of units produced it will calculate the mould cost as (total cost of the mould/total capacity)*no.of units produced.
    3. One more way you can create mould activity type and you can give 1 to 1 relation for mould cost and no. of goods produced.
    Thanks & Regards,
    Kalpana.

  • Checking the mould availability when creating prod order

    Hi,
    we have a client and we still working in blue print phase.
    our client creating spun pole, flat type pc sheet, mainly use for construction of a building.
    Our client have a pain point that the requirement from production always didn;t consider the mould
    availability.
    for example :
    the client is set up with 3 plant, region A, B and C.
    We plan to maintain the mould as asset.
    1)
    When requirement arise from sales for example 10 PCS spun pole 3Meter in the plant B.
    Production must know whether the mould 3M is available if not there should be some information.
    But if there is 2 mould (1M and 2M) it can be use together to produce spun pole 3M.
    The mould in plant A and C should not be used in consideration because the requirement is in plant B.
    2) so management will also want to know the scheduling
    for example 1mould 3Meter can produce the spun pole in 20 days
    so if there is 3 mould for the 3 spun pole 3Meter it takes 20days to
    On the other hand mould is maintain as asset
    Is there any idea how to design the solution for this pain point?
    best regards,
    Freddy Ha

    This seems standard. Refer the note 124917.
    Extract of Note:
    When you create a purchase order with reference to a purchase requisition (PReq), the system does not execute any availability control if the order value is smaller or equal to the value of the purchase requisition.
    This is also the case if you set in Customizing different tolerance limits or actions for the activity groups purchase requisition and purchase order.
    This is not a program error. Since an availability control has already been executed when you create the purchase requisiton, during conversion into a purchase order the system executes only an availability control again if the value assigned increases as a result.
    Up to now, it is not planned to change this logic of the availability control in our standard system.
    Regards
    Sreenivas

  • Can't remove faceplate on master socket

    One of the screws on my BT master socket faceplate just spins and spins and won't unscrew, so although I can unscrew one side the other side is still attached. I can pull it abut 1mm away from the backplate but that's it. If I pull hard then the backplate starts to flex away from the wall. I've tried screwing clockwise and anticlockwise, waggling the faceplate about but it won't unscrew.
    This isn't a problem right now but I'm sure one day I'll need to access the test socket behind there.
    Has this ever happenned to anyone before? Any tips on removing it? I obviously don't want to damage anything.

    Alfie25 wrote:
    Hello and thanks for the tips. What doesn't help is that the socket is only a couple of inches off floor level.
    The only bit of the backplate I can see is underneath the socket. I stuck a flat blade screwdriver in here which parted the faceplate from the backplate by about 1mm but that was it. On the sides of the box if I stick a flat blade screwdriver and turn it then it just pushes the backplate away from the wall. I've also tried sticking a screwdriver in the gap between the 2 sections of the front of the socket but again with no joy - DS, is this where you mean in your 1st post? Apply pressure here then try to unscrew?
    What I can't understand is if the brass insert is just spinning around inside the plastic moulding, why wont it just pull out? Or is the brass insert 'encased' in the plastic?
    Yes, that bit (between front plate and back plate)
    And yes, it is encased, so brute force may help it (and probably break this little piece of plastic)
    -+-No longer a forum member-+-

  • Can't reset my time capsule using reset button and I don't have the password to get into reset it.

    I can't reset my time capsule b/c the reset button broke off when my time capsule fell off my shelf. I can't remember the password to the disk or time capsule to do a manual reset and I can't access the time capsule. Any suggestions around this?
    Thanks.

    Bob's suggestion is the best, as the old passwords should be stored on that computer.
    If you need to do it .. the hard way.. just open the TC.
    You need a heat gun (hair dryer on hottest setting works fine).. to heat the rubber mat up to very hot.. I usually take 5min or more just heating it, evenly as possible. Lift on one corner and keep heating whilst peeling off the rubber. I use a pair of leather garden gloves as it needs to be so hot you cannot hold it for long.
    Really hot the rubber easily peels off with all the glue on the rubber.
    Now undo the 10 small philips head screws and carefully lift up the aluminium base plate. There is a fan plugged into the board so don't pull. You can disconnect the plug carefully and lift it completely off.
    You can then press the reset switch with a small screwdriver or the like.. careful not to short anything if you use metal.
    The plastic lever should still be rolling around inside the TC.. when I look carefully at the plastic, the lever is inserted later.. not part of the one moulding.. there are two plastic stakes, which are heated and bent down like a rivet to hold the lever in place. You may be able to relocated the lever onto the plastic stakes with some glue.. use a good 5min epoxy rather than instant glue.. although on ABS plastic the instant glue works very well. Use the glue under and on top but a tiny amount, otherwise you will simply glue the lever to the body and it will never work again. You might be able to make it stay.. just be very gentle if you ever need to press it again.
    You can try a more permanent repair.
    Plastic flexing as hinges is not an engineering solution .. but you can get a scrap of metal, thin brass would be ideal... drill a hole in one end and use a small dia screw.. I would tap it and run a screw from the inside, using a short screw so only the end of the screw is visible. Coat the inside with silastic so it cannot short anything. Depends on your handyman type skills I guess.
    Strange that it would break.. Must have hit hard!!

  • Can any one suggest me how to tactile this new technology JAVA CARD

    HI
    I AM C.NAVEEN . I KNOW BASICS OF JAVA. AND STUDIED DOCUMENTATION OF JAVA CARD , AND UNDERSTAND THE CONCEPTS REGARDING THAT. BUT HOW TO CHOOSE A CARD AND A CARD READER .
    AS I AM NEW TO THIS TECHNOLOGY . HOW CAN I MOULD MY SELF TO BE A PROGRAMMER FOR JAVA CARDS .....................
    Thanks
    Naveen.C

    Because the Windows 8 is a client operating system.  To make BI4.1 Server work on windows, you'll have to make sure you install it on versions supported as per the PAM below:
    SAP BusinessObjects BI 4.1 Supported Platforms (PAM)
    Please refer page #3 for server operating system, where you will be installing the server software and for all the client tools - refer page #4.
    Make sure you install the server and the client tools as per the supported OS types and versions respectively.

  • I Need Help of all experts , can anybody?

    Dear,
             I am Mohammad Nabi, have done my MBA in June 2006,After completion of the course i immediately joined the insurance co.presently iam working as Agency Manager for Bharti Axa Life Insurance......Before that i am very much interested in pursuing SAP SD ...when i about to join the course i have consulted some consultancies their they asked me experience....for that reason i joined insurance co. for experience....Now i would like to pursue SAP SD and i need full support of all SAP SD experts suggestions...I Know only what is SAP but i dont know even concept also...for that i need support of u all.....kindly you yourself give me suggestions and mould me as an expert....i will be very thankful for this kind of act.
               Hope U all definetly suggest me in making an expert....i am interested...i will work hard...
    Thanx & Regards
    Mohammad Nabi
    <REMOVED BY MODERATOR>

    Hi
    Its really great that you have now decided to achieve something. Lot of people take lot of time to first decide which route to ride... Just being part of this forum will help you a lot. You can read through all the queries asked here and try to find answers. Firstly it will be very difficult, but slowly you will get hang of things.
    According to me, to become expert in SAP, most important is your business process understanding should be good. SAP will behave the way we design.
    Keep on work.
    Regards
    Sandeep

  • I want to know the function moulde used to convert the unit of measure

    The whole process should be done in the Portugues login language.
    For the login language PT( Portuguese). In table MARA, if i choose the menu settings-> use parameters-> and chek this field (conversion field exit) . Then for any material if i check the unit of measure (MEINS), is display of all the material its shows differently, but if i select one material and see all the fields of that material, the MEINS field is changed. For example when all the materials are show the MEINS is ST. but when i select one material and display it . it shows PEC in portugues language.
    I want to know the function moulde used to convert the unit of measure

    HI,
    There exits the conversion routine for that particular field in its domain level..
    copy that conversion routine and search for that in SE37 your conversion routine
    you will find the function module this gives you the internal and external formats
    Fms are listed below for MEINS
    CONVERSION_EXIT_CUNIT_INPUT    Conversion exit for commercial (3-char) measurement unit INPUT
    CONVERSION_EXIT_CUNIT_OUTPUT   Conversion exit for commercial (3-char) measurement unit OUTPUT
    For convertiung quantity into base unit of measure you can do this way
    CALL FUNCTION 'ME_CONVERSION_MEINS'                       "#EC *
        EXPORTING
          i_matnr             = "give material number"
          i_mein1             = "Unit of measurement "
          i_meins             = "base unit of measure
          i_menge             = "quantity
        IMPORTING
          menge               = "quantioty in your required measurement
        EXCEPTIONS
          error_in_conversion       = 1
          no_success                = 2
          OTHERS                    = 3.
    HOpe this helps you
    Reward if useful
    regards,
    nazeer
    Message was edited by:
            nazeer shaik

Maybe you are looking for

  • Disk error when burning in 10.3.9

    This burner sometimes works, sometimes not. Any way to confirm its the drive and not the software? $200 for a new drive is an expensive bad guess.

  • How do I boot from an external hard drive?

    I have a MacBook Intel. I attached a USB hard drive and made a partition for an system image and another for Time Machine. I did a system Restore to the Image partition. I would like to test it to see if I can back up to it. Is there a key or somethi

  • Adding Silverlight to a webpage with Dreamweaver

    I recently created a free Dreamweaver extension for adding Silverlight 2.0 & 3.0  .XAP file to a  webpage / website. http://www.GJHDigital.com and click the Free Dreamweaver Extensions link.

  • Font and size

    I can't seem to figure how to change font and size when writing emails.

  • Missing Plugin for Adobe Flash Player 10.1?

    I have an 64 bit acer computer Windows Explorer 7 XP I am using Mozilla Firefox When trying to download Flashplayer 10.1 I click to download but the information bar comes up saying Additional plug-ins required to display all media on this page. When