Pages

Thursday, July 15, 2010

Microsoft Learning

Certification/Exams

Join Other IT Professionals and Developers Playing

Take a crack at a typical certification exam question, or learn something new about Windows 7. Are You Certifiable? is the spot to have some fun while learning
Read the full article »
Original Publication Date: 07/01/2010

Application Compatibility for Office 2010

Keep your technical skills up to date with this latest training opportunity for Office 2010. Analyze your environment for installed add-ins and identify potential migration issues as you migrate earlier versions of Office to Office 2010. Watch this video on Channel 9 to learn how the Compatibility Inspector tools can perform an analysis of the code and suggest potential issues. Additional videos and a lab are also available.

Original Publication Date: 06/22/2010

Learn SharePoint 2010 Best Practices

As an MCP, keep your technical skills up to date with help from the latest training opportunity for SharePoint 2010. In this new training course on Channel 9, you’ll explore design considerations to keep in mind as you start creating SharePoint solutions targeting SharePoint 2010.  Additional videos, labs, and code available to help you learn more about SharePoint testing, deployment, and security.

Original Publication Date: 06/22/2010

Monthly Edition

July 2010

In This Issue

Resources

Share Your Feedback

Learning Portals

Amazon Web Services

Over the past month, several AWS service teams have released exciting features and capabilities to help customers be successful. Amazon EC2 has released several features, including Cluster Compute Instances, designed for high-performance computing (HPC) applications and support for user managed kernels. Amazon S3 has released support for Bucket Policies and support for Reduced Redundancy Storage in the AWS Management Console. Amazon Simple Queue Service has introduced a free tier, giving customers the first 100,000 requests at no charge. We have also released several resources: a web hosting whitepaper, a new Mechanical Turk best practices guide, and developer resources for Windows and .NET.

Read this newsletter online

  • News & Announcements
    • Announcing Cluster Compute Instances for Amazon EC2
    • Amazon EC2 Support for User Managed Kernels
    • Amazon VPC Adds IP Address Assignment Capability
    • Amazon CloudWatch Adds Monitoring for Amazon EBS Volumes
    • Amazon CloudFront Enhances Log Files
    • Amazon S3 Announces Support for Bucket Policies
    • Amazon S3 Enhances Support for Reduced Redundancy Storage
    • Amazon RDS Now Supports SSL Encrypted Connections
    • Amazon SQS Introduces Free Tier and Adds Support for Larger Messages and Longer Retention
    • New Amazon Mechanical Turk Best Practices Guide
    • AWS Authentication Survey
  • Developer Resources
  • AWS On The Road
  • Virtual Events

News & Announcements

To keep you up-to-date, here are the latest news items and announcements from AWS.

Announcing Cluster Compute Instances for Amazon EC2
We are excited to announce the availability of Cluster Compute Instances for Amazon EC2, a new instance type specifically designed for high-performance computing (HPC) applications and other demanding network-bound applications. Customers with complex computational workloads such as tightly coupled parallel processes, or with applications sensitive to network performance, can now achieve the same high compute and network performance provided by custom-built infrastructure while benefiting from the elasticity, flexibility and cost advantages of Amazon EC2. Learn more about the new Cluster Compute instances and their use in running HPC applications. Or, sign-up to attend the Introduction to Cluster Compute Instances webinar on July 21.

Amazon EC2 Support for User Managed Kernels
Many Amazon EC2 users have asked for the ability to load and manage their own kernels when they launch an instance, and now you can. Amazon EC2 has launched a special Amazon Kernel Image (AKI), based on Xen PV-GRUB, which loads a kernel of your choosing from your AMI when you launch an instance. We are working with popular AMI maintainers to begin using this feature, so that new instances launched with those AMIs will now have user managed kernels. Check with the maintainer of your AMI to see when they will make the switch. AMI maintainers choosing not to enable this feature will work just as they always have. If you bundle your own AMIs and want to start using this feature immediately, read this Feature Guide.

Amazon VPC Adds IP Address Assignment Capability
Now you can specify the IP address of any Amazon EC2 instance you launch within your VPC. This new feature makes it easier to run services within Amazon VPC that your users and applications expect to have a consistent IP address. For example, this feature makes it easier for you to run DNS servers and Microsoft Active Directory domain controllers within Amazon VPC. When you specify an IP address, it is retained for the instance's lifetime. An IP address previously assigned to a running instance can only be used again once that instance is in a terminated state. For more information about how to leverage this highly requested capability, please see the Amazon VPC Getting Started Guide.

Amazon CloudWatch Adds Monitoring for Amazon EBS Volumes
Amazon CloudWatch has added monitoring support for all Amazon EBS volumes for no additional charge. This monitoring provides performance metrics for your Amazon EBS volumes on bandwidth, throughput, latency and queue depth accessible via the AWS CloudWatch API or the AWS Management Console. For information on the metric schema and the graphs available, please see the Amazon EC2 User Guide.

Amazon CloudFront Enhances Log Files
Amazon CloudFront, the easy to use content delivery network, now supports query string parameters added to access logs. This feature will help you analyze your traffic to images distributed through Amazon CloudFront. You can include unique identifiers to each of your requests to analyze things like which end users are making which requests, or which web pages are generating the most traffic for your objects, and these will be added query string parameters to access logs. You can read more about our access logs in the Amazon CloudFront Developer Guide.

Amazon S3 Announces Support for Bucket Policies
Amazon S3 bucket policies gives customers the ability to create conditional rules for managing access to their buckets and objects. Bucket policies can restrict access based on AWS account as well as request-based attributes, such as HTTP referrer and IP address. With bucket policies, customers can also now define security rules that apply to more than one object, including all objects or a subset of objects within a bucket. For more information, please refer to the Amazon S3 FAQs and Developer Guide or watch the Introduction to Bucket Policies recorded webcast.

Amazon S3 Enhances Support for Reduced Redundancy Storage
Amazon S3 has released two features for Reduced Redundancy Storage (RRS): notifications for object loss and support in the AWS Management Console. Customers using the console can now select the RRS storage option when uploading new files and can easily move a set of objects or even an entire folder from Standard storage to RRS. Additionally, customers can now configure their bucket so that when Amazon S3 detects the loss of an RRS object, a notification will be sent through Amazon Simple Notification Service (SNS). For more information on these new features, attend the webinar on July 20 or visit the Amazon S3 page for more details.

Amazon RDS Now Supports SSL Encrypted Connections
Amazon RDS, the relational database in the cloud, now generates an SSL certificate for each Database Instance that you can use to encrypt the data transferred between your application and your DB Instance. If you would like to encrypt your DB Instance connections for enhanced security or learn more about Amazon RDS SSL support, please visit the forum announcement for more information.

Amazon SQS Introduces Free Tier and Adds Support for Larger Messages and Longer Retention
Amazon SQS, the reliable, highly scalable, hosted queue service now offers a free tier that makes trying the service risk free. Starting July 1, Amazon SQS users will incur no charges for the first 100,000 requests. Many applications may be able to operate within this free tier limit and pricing for additional requests continues to be $0.10 per 100,000 requests. In addition, Amazon SQS now supports larger message sizes of up to 64 kB and message retention can now be configured for up to 2 weeks. These features increase the range of applications that can potentially use Amazon SQS for queuing.

New Amazon Mechanical Turk Best Practices Guide
This best practices guide has been expanded to help businesses manage the on-demand human workforce of Mechanical Turk and get better results. Learn techniques including how to qualify a group of workers, how to route your work to this qualified group, and how to set your price. These best practices will make it easier to get better, more accurate work results.

AWS Authentication Survey
If you have feedback on how AWS can help improve your organization's current authentication process or technology, we highly encourage you to participate in this survey. This short, 15 question survey will help us understand your authentication needs. We appreciate your feedback and time.


Developer Resources

Check out these developer resources to help you build and grow on AWS.

AWS Whitepaper: Web Application Hosting on the AWS Cloud
This whitepaper discusses best practices for hosting your web application on Amazon Web Services. It is targeted at IT Managers and Systems Architects who are looking to build a highly available, scalable Web application on the cloud. Download the whitepaper and see the list of whitepapers at aws.amazon.com/whitepapers.

Doing More With Amazon EC2 Security Groups
Learn more about using Amazon EC2 Security Groups by reading this article by Steve Riley, AWS security evangelist. The article describes how to use Security Groups to define a virtual three-tier architecture.

Single Sign-on with Windows ADFS to Amazon EC2 .NET Applications
This document provides step-by-step instructions for creating a test lab demonstrating identity federation between an on-premise Windows Server Active Directory domain and an ASP.NET web application hosted on Amazon EC2, using Microsoft's Active Directory Federation Services (ADFS) technology.

Using Windows PowerShell with the AWS SDK for .NET
This how-to article by Microsoft MVP Macro Shaw looks at how to use Microsoft Windows PowerShell 2 and the AWS SDK for .NET with Amazon S3. See all available resources for Windows & .NET in the .NET Developer Center.


AWS On The Road

We hope you can join AWS, our customers, and partners at the following events.

AWS Cloud for the Enterprise Event
July 20, Los Angeles

Casual Connect Seattle
July 20-22, Seattle, WA
Join AWS at Casual Connect to learn how cloud computing allows social gaming companies to cost-effectively develop and scale with their rapidly growing user base.

Silicon Valley Cloud Computing User Group
July 19, Palo Alto, CA

Workshop: Getting Started with IBM Software on AWS, featuring WebSphere sMash and DB2
July 22, San Mateo, CA

AWS User Group - NYC
August 11, New York, NY

Seattle Hadoop Day
August 14, Seattle, WA


Virtual Events

Learn more about AWS by registering for an upcoming webinar or virtual event.

Introducing Amazon S3 Notifications for Reduced Redundancy Storage Object Loss
July 20, 10 AM PDT
Attend this webinar to learn more about enhancements to Amazon S3's Reduced Redundancy Storage (RRS), specifically notifications for RRS object loss and support in the AWS Management Console. We will walk through these features and take questions from the live webinar audience.

Introduction to Cluster Compute Instances for Amazon EC2
July 21, 10 AM PDT
Attend this webinar and learn about the new offering from Amazon EC2: Cluster Compute Instances. Cluster Compute Instances are a new EC2 instance type that combine high compute performance with low latency, high bandwidth networking optimized for a number of tightly-coupled parallel workloads and other network intensive applications. Deepak Singh will walk through this feature and its use cases, and take questions from the live webinar audience.

The Amazon Cloud - Revolutionizing Rich Media Marketing
July 28, 2010, 10:00 AM PT
AWS invites you to learn how Interactive Agencies (IAs) and their clients are using cloud computing to power their rich media marketing strategies, increasing their flexibility and decreasing time to market and costs. This webinar will cover key marketing use cases deployed in the cloud, including microsites, interactive web media campaigns, social networking applications, and marketing analytics. You will also learn how companies have implemented successful campaigns on AWS and how easy it is to get started.

Stored procedure date format

Standard Date Formats
Date FormatStandardSQL StatementSample Output
Mon DD YYYY 1
HH:MIAM (or PM)
DefaultSELECT
CONVERT(VARCHAR(20), GETDATE(), 100)
Jan 1 2005 1:29PM 1
MM/DD/YYUSASELECT CONVERT(VARCHAR(8), GETDATE(), 1) AS [MM/DD/YY]11/23/98
MM/DD/YYYYUSASELECT CONVERT(VARCHAR(10), GETDATE(), 101) AS [MM/DD/YYYY]11/23/1998
YY.MM.DDANSISELECT CONVERT(VARCHAR(8), GETDATE(), 2) AS [YY.MM.DD]72.01.01
YYYY.MM.DDANSISELECT CONVERT(VARCHAR(10), GETDATE(), 102) AS [YYYY.MM.DD]1972.01.01
DD/MM/YYBritish/FrenchSELECT CONVERT(VARCHAR(8), GETDATE(), 3) AS [DD/MM/YY]19/02/72
DD/MM/YYYYBritish/FrenchSELECT CONVERT(VARCHAR(10), GETDATE(), 103) AS [DD/MM/YYYY]19/02/1972
DD.MM.YYGermanSELECT CONVERT(VARCHAR(8), GETDATE(), 4) AS [DD.MM.YY]25.12.05
DD.MM.YYYYGermanSELECT CONVERT(VARCHAR(10), GETDATE(), 104) AS [DD.MM.YYYY]25.12.2005
DD-MM-YYItalianSELECT CONVERT(VARCHAR(8), GETDATE(), 5) AS [DD-MM-YY]24-01-98
DD-MM-YYYYItalianSELECT CONVERT(VARCHAR(10), GETDATE(), 105) AS [DD-MM-YYYY]24-01-1998
DD Mon YY 1-SELECT CONVERT(VARCHAR(9), GETDATE(), 6) AS [DD MON YY]04 Jul 06 1
DD Mon YYYY 1-SELECT CONVERT(VARCHAR(11), GETDATE(), 106) AS [DD MON YYYY]04 Jul 2006 1
Mon DD, YY 1-SELECT CONVERT(VARCHAR(10), GETDATE(), 7) AS [Mon DD, YY]Jan 24, 98 1
Mon DD, YYYY 1-SELECT CONVERT(VARCHAR(12), GETDATE(), 107) AS [Mon DD, YYYY]Jan 24, 1998 1
HH:MM:SS-SELECT CONVERT(VARCHAR(8), GETDATE(), 108)03:24:53
Mon DD YYYY HH:MI:SS:MMMAM (or PM) 1Default +
milliseconds
SELECT CONVERT(VARCHAR(26), GETDATE(), 109)Apr 28 2006 12:32:29:253PM 1
MM-DD-YYUSASELECT CONVERT(VARCHAR(8), GETDATE(), 10) AS [MM-DD-YY]01-01-06
MM-DD-YYYYUSASELECT CONVERT(VARCHAR(10), GETDATE(), 110) AS [MM-DD-YYYY]01-01-2006
YY/MM/DD-SELECT CONVERT(VARCHAR(8), GETDATE(), 11) AS [YY/MM/DD]98/11/23
YYYY/MM/DD-SELECT CONVERT(VARCHAR(10), GETDATE(), 111) AS [YYYY/MM/DD]1998/11/23
YYMMDDISOSELECT CONVERT(VARCHAR(6), GETDATE(), 12) AS [YYMMDD]980124
YYYYMMDDISOSELECT CONVERT(VARCHAR(8), GETDATE(), 112) AS [YYYYMMDD]19980124
DD Mon YYYY HH:MM:SS:MMM(24h) 1Europe default + millisecondsSELECT CONVERT(VARCHAR(24), GETDATE(), 113)28 Apr 2006 00:34:55:190 1
HH:MI:SS:MMM(24H)-SELECT CONVERT(VARCHAR(12), GETDATE(), 114) AS [HH:MI:SS:MMM(24H)]11:34:23:013
YYYY-MM-DD HH:MI:SS(24h)ODBC CanonicalSELECT CONVERT(VARCHAR(19), GETDATE(), 120)1972-01-01 13:42:24
YYYY-MM-DD HH:MI:SS.MMM(24h)ODBC Canonical
(with milliseconds)
SELECT CONVERT(VARCHAR(23), GETDATE(), 121)1972-02-19 06:35:24.489
YYYY-MM-DDTHH:MM:SS:MMMISO8601SELECT CONVERT(VARCHAR(23), GETDATE(), 126)1998-11-23T11:25:43:250
DD Mon YYYY HH:MI:SS:MMMAM 1KuwaitiSELECT CONVERT(VARCHAR(26), GETDATE(), 130)28 Apr 2006 12:39:32:429AM 1
DD/MM/YYYY HH:MI:SS:MMMAMKuwaitiSELECT CONVERT(VARCHAR(25), GETDATE(), 131)28/04/2006 12:39:32:429AM

Tuesday, July 13, 2010

ระบบคลังสินค้า

สินค้าคงคลัง (Inventory) หมายถึงวัสดุหรือสินค้า
ต่างๆที่เก็บไว้เพื่อใช้ประโยชน์ในการดำเนินงาน อาจเป็นการดำเนินงานผลิต ดำเนินการขาย หรือดำเนินงานอื่นๆ ส่วนการจัดการสินค้าคงคลัง (Inventory Management) หมายความถึงการเก็บทรัพยากรไว้ใช้ในปัจจุบัน หรือในอนาคต เพื่อให้การดำเนินการของกิจการดำเนินไปอย่างราบรื่น ผ่านการวางแผนกำหนดปริมาณสินค้าคงคลังที่เหมาะสม
สินค้าคงคลังแบ่งได้เป็น 4 กลุ่มใหญ่ๆ คือ วัตถุดิบ งานระหว่างผลิตหรืองานระหว่างปฏิบัติการ วัสดุ อุปกรณ์ เครื่องมือที่ใช้ในการบำรุงรักษาและผลิต และสินค้าสำเร็จรูป
ถ้าหากไม่มีสินค้าคงคลัง การผลิตก็อาจจะไม่ราบรื่น โดยทั่วไปฝ่ายขายค่อนข้างพอใจหากมีสินค้าคงคลังจำนวนมากๆ เพราะให้ความรู้สึกราบรื่น อย่างไรก็ตาม หน้าที่ของสินค้าคงคลังคือ รักษาความสมดุลระหว่างอุปสงค์และอุปทาน ทำให้เกิดการประหยัด ต่อขนาด (Economy of Scale) เพราะการสั่งซื้อจำนวนมากๆ เป็นการลดต้นทุน และคลังสินค้าช่วยเก็บสินค้าปริมาณมากนั้น
แต่สินค้าคงคลังก็ถือเป็น Cost โดยตรง การพยากรณ์อุปสงค์เพื่อทราบจำนวนผลิตจึงเกี่ยวข้องโดยตรงกับสินค้าคงคลังและป้องกันความเสี่ยงต่างๆ ในกรณีที่โรงงานมีวัตถุดิบมาเป็นจำนวนมาก หากสินค้าคงคลังมีมากเกินไปก็เสียค่าใช้จ่ายในการจัดเก็บสูงผิดปกติ หากมีน้อยเกินไปก็อาจรบกวนสมดุลตลาด หรือทำให้การผลิตติดขัด

ความสำคัญของการจัดการสินค้าคงคลัง
เมื่อผลิตเป็นสินค้าแล้วก็จำเป็นต้องจัดการให้จำนวน สินค้ากระจายออกไป ก่อนที่สินค้าจะถึงมือผู้บริโภคคนสุดท้าย จะมีคลังสินค้าเป็นเสมือนหน่วยกลางระหว่างหน่วยผลิตและ หน่วยบริโภค ในอดีต สินค้าที่เก็บในคลังเป็นผลิตผลทางการเกษตร เก็บเพื่อรอจนกว่าฤดูเก็บเกี่ยวจะมาถึงอีกครั้งหนึ่ง ทำให้สินค้า ไม่มีความเคลื่อนไหว (Dead Stock) ซึ่งไม่เป็นที่นิยมในหลักการจัดเก็บสินค้าคงคลังยุคปัจจุบันมากนัก สมัยนี้สินค้าควรมีการ หมุนเวียนอยู่เสมอเพื่อความสดใหม่
การหมุนเวียนเข้าออกใช้หลัก FIFO (First In First Out) สินค้าใดที่เข้าคลังสินค้าก่อนก็หมุนเวียนออกไปก่อน เพื่อลดความเสื่อมจากการจัดเก็บเป็นเวลานาน ในซัพพลายเชนการจัดเก็บสินค้ายังเป็นส่วนที่สร้างต้นทุนไม่ว่าจะเป็นที่ซัพพลายเออร์, โรงงานผู้ผลิต, ผู้ค้าปลีก, ผู้ค้าส่ง, การจัดเก็บ และการกระจายสินค้า จึงเป็นศาสตร์สาขาหนึ่งของโลจิสติกส์


“ช่วงที่อุปทานสูง อย่างเช่นฤดูลำไยล้นตลาด ราคาก็ จะตก รายได้ของเกษตรก็ลดลง แก้ปัญหาอย่างไรดี รัฐบาลก็ เข้ามาช่วย โดยการเรียกผู้ผลิตผลไม้กระป๋องเจ้าใหญ่ๆ มาช่วย รับซื้อไปเป็นพันๆ ตัน จึงต้องมีสินค้าคงคลัง มีกำลังผลิตก็ผลิต ไปเลย แล้วเก็บสต็อกเอาไว้ก่อน ไว้ขายช่วงนอกฤดู การที่เราผลิตมากๆ มองในแง่ดีคือช่วยให้คนงานมี Skill มากขึ้น ประโยชน์ อีกประการหนึ่งคือ เก็บสินค้าสำรองไว้เพื่อป้องกันการขาดแคลน หรือ Out of Stock และเพื่อทำให้ระบบการผลิต การซื้อสินค้า เป็นอิสระ”
“แต่กลไกตลาดที่มีอุปสงค์และอุปทานเป็นตัวบ่งชี้ ในเวลาที่ตลาดมีความต้องการมากคือ มีอุปสงค์สูง ผู้ผลิตก็อาจจะผลิตสินค้าไม่ทัน เกิดวัตถุดิบขาดไปอย่างหนึ่งก็อาจร้ายแรงถึงขั้น สูญเสียฐานลูกค้าไปเลยก็ได้ ในอีกด้านหนึ่งหากอุปสงค์ต่ำมาก สินค้าขายไม่ดี วัตถุดิบล้นไม่ได้ทำการผลิตก็เก็บไว้เฉยๆ ผู้ผลิตก็แบกรับต้นทุนอีก การคาดคะเนอุปสงค์จึงเป็นเครื่องมือที่ช่วยป้องกันปัญหาเหล่านี้ได้”


คลังสินค้าคือสถานที่รักษาสินค้าคงคลัง

ส่วนคลังสินค้า (Warehouse)
คือสถานที่สำหรับวาง จัดเก็บ พัก กระจายสินค้าคงคลัง คลังสินค้ามีชื่อเรียกได้ต่างๆ กัน อาทิ ศูนย์กระจายสินค้า, ศูนย์จำหน่ายสินค้า และโกดัง ฯลฯ คำว่าคลังสินค้าจึงเป็นคำที่มีความหมายรวมๆ ส่วนจะเรียกว่าอะไร ก็ขึ้นอยู่กับฟังก์ชันของคลังสินค้าแต่ละประเภท คลังสินค้าที่รับ สินค้าเข้ามาทำการคัดแยก แล้วกระจายออกไป เรียกว่า ศูนย์กระจายสินค้า (Distribution Center) และกระบวนการ ดังกล่าว เรียกว่า Cross Docking
ในขณะที่คลังสินค้าบางแห่งมีฟังก์ชันเพิ่มขึ้นมาคือหลัง รับสินค้าเข้ามาแล้ว ก็เก็บสินค้าไว้และทำหน้าที่จัดสรรสินค้าก่อนส่งมอบตามคำสั่งซื้อ จึงมีขั้นตอนย่อยประกอบด้วย รับสินค้าเข้า จัดเก็บ จัดสินค้าตามใบสั่งซื้อ (Order Picking) อันเป็นขั้นตอน ที่ใช้เวลาและกำลังคนมากที่สุด ตรวจสอบ หีบห่อ และจัดส่ง กล่าวคือ รับหน้าที่ในการจำหน่ายไว้ด้วย จึงเรียกว่าศูนย์จำหน่ายสินค้า การลดเวลาและขั้นตอนในศูนย์จำหน่ายสินค้าทำได้ด้วย การนำคอมพิวเตอร์ช่วยออกใบสั่งซื้อ
อย่างไรก็ตาม ข้อควรคำนึงถึงเกี่ยวกับคลังสินค้ายังรวมถึง ประเด็นเกี่ยวกับความเป็นเจ้าของสายการผลิต การจำหน่าย และการกระจายสินค้าที่ไม่มีคลังสินค้าเป็นของตัวเอง ไม่ต้องการสร้างคลังสินค้าเองอาจใช้บริการเช่าคลังสินค้าสาธารณะ และประเด็นเกี่ยวกับสถานที่ตั้ง คลังสินค้าควรตั้งในจุดที่ตอบสนอง ผู้ใช้ได้อย่างลงตัว

คลังสินค้าเป็นทั้ง Inbound และ Outbound ของวัตถุดิบและสินค้า
ด้วยเหตุผลที่สินค้าคงคลังมีหลายประเภท Input ของ คลังสินค้าจึงแตกต่างกันไป อาจมีจุดเริ่มต้นจากซัพพลายเออร์นำวัตถุดิบมาป้อนให้คลังสินค้า หรือฝ่ายพัสดุนำ MRO (Maintenance Repair and Operation Supply ชิ้นส่วนอุปกรณ์ที่ใช้ในการบำรุงรักษาและสนับสนุนการผลิต) มามอบให้ฝ่ายผลิต ผู้ผลิตสินค้านำสินค้าสำเร็จ ส่งเข้าคลังสินค้าและกระจายไปยัง ผู้บริโภค ฯลฯ วงจรดังกล่าวเป็น Spec ทั่วไปของสินค้าคงคลัง
ความไม่แน่นอนของอุปสงค์ทำให้ผู้ผลิตต้องวางแผนและคำนวณว่า จะจัดสรรปันส่วนการผลิตเป็นจำนวนเท่าใด เพื่อนำ สินค้าคงคลังมาสร้างคุณค่าโดยการผลิตให้เป็นสินค้า การวางแผนจะทำให้ทราบว่าควรผลิตจำนวนเท่าใดควรจัดเตรียมวัตถุดิบ แต่ละชนิดจำนวนเท่าไร
ในวัตถุดิบที่มีอายุสั้นอย่างผักผลไม้ การวางแผนสั่งวัตถุดิบค่อนข้างจำเป็นมาก เพราะสินค้าไม่มีความเป็นอิสระ มีเงื่อนไข ด้านเวลาเป็นข้อจำกัด หากต้องการให้อิสระอาจนำเข้าห้องเย็น แต่เป็นการเพิ่มต้นทุน การทราบอุปสงค์ทำให้ได้ข้อมูลของวัตถุดิบที่สินค้าคงคลังส่งผลต่อเนื่องต่อระบบการผลิตและจำหน่ายสินค้า
คลังสินค้ามีความสำคัญในแง่ที่เป็นทั้งทางเข้าและทางออกของวัตถุดิบไปจนถึงสินค้าสำเร็จรูป ดังนั้นก่อนการพยากรณ์ อุปสงค์ จึงจำเป็นต้องเข้าใจการจัดหาวัตถุดิบ/สินค้า (Supply) เข้าใจแนวคิดการจัดการวัตถุดิบและแนวคิดการกระจาย

Thursday, July 8, 2010

Re: Workflow Web Service Example part1


มาลองสร้าง web service โดยใช้ window workflow ด้วย visual studio 2008 กับ .net 3.5 กันดูครับว่าจะง่ายแค่ไหน

เรามาเริ่มกันเลยครับ

9-7-2553 9-36-06.png

เลือกเป็น Workflow   
Templates เป็น Empty workflow
ตั้งชื่อ  Project เป็น MathService
Solution name : MathService (แล้วแต่จะตั้งเป็นอย่างอื่นได้)
จากนั้นก็ OK 

9-7-2553 9-43-07.png

คลิกขาว ที่ MathService    project เลือก Add>>Sequential Workflow...

9-7-2553 9-45-11.png

ในช่อง Templates เลือก Sequential Workflow (with code separa...
ตั้งชื่อเป็น MathWorkflow.xoml 
เสร็จแล้วเราก็จะได้ workflow มาตัวหนึ่ง
9-7-2553 9-46-51.png

คลิกว่าที่ MathService เลือก Add>>Class

9-7-2553 9-47-48.png
ตั้งชื่อไฟล์เป็น MathService.cs

9-7-2553 9-48-39.png

แก้ไขจาก public class ให้เป็น interface class

9-7-2553 9-51-50.png
เราจะได้ไฟล์เพิ่มมา 2 ไฟล์ คือ MathService.cs กับ MathWorkflow.xoml

9-7-2553 9-52-48.png

จากนั้นกลับมาที่ MathWorkflow.xoml

พร้อมกับทำ workflow
ลาก WebServiceInput มาวาง
ลาก Code มาวางต่อ
และลาก WebServiceOutput มาวางต่อท้ายสุด
ดังรูป

9-7-2553 9-54-46.png

คลิกที่ webServiceInputActivity1 ตัวบนพร้อมกับตั้งค่า property 

9-7-2553 9-57-51.png



9-7-2553 9-58-34.png

9-7-2553 10-00-58.png


จากนั้นก็ทำการบันทึก



--
Best regards
Mr. Wirat Wawisay
Mobile : +66 858500131

Joget workflow