Saturday, September 6, 2008

Faye, Hanna and Ike

I was listening to NPR the other day. A New Orleans resident was complaining "we need food, we need water, we need electricity". I am amazed! Have people in US forgotten basic survival skills? Can't they think of buying few loaves of bread and storing few buckets of water before such storms?
Two years ago, after Katrina, New Orleans residents were looting Walmart and other stores for TV and Electronics and were dying of hunger. I couldn't help wondering why they wouldn't get inflatable boats and flotation devices available in all big sports stores and rowed themselves out of that misery. American's routinely buy boats and water vehicles. Hundreds of water sports establishments carry tens of thousands of water rafts. I wonder why no-one came forward to use that equipment to move New Orleans residents after Katrina's aftermath.
Has this country really forgotten how to survive?

Monday, August 4, 2008

EDI Overview

http://www.ediinformation.com/edi/edi.php

 

 

EDI Overview


General EDI Information - What is EDI?
EDI which stands for Electronic Data Interchange is the computer-to-computer communication of business documents between companies in a standard format.  It is a paperless way to send and receive Purchase Orders, Invoices, etc.  EDI replaces human-readable documents with electronically coded documents. The sending computer creates the document and the receiving computer interprets the document.  Implementation of EDI streamlines the process of exchanging standard business transactions.   Companies save by eliminating people cost as well as the cost due to errors and double entry of data.   The transmissions are accomplished by connecting to a mailbox via a modem or the internet.   The most common mailbox is a Value Added Network's (VAN) electronic mailbox.  Each user, identified by a unique EDI ID, accesses his mailbox to send and receive all EDI transactions.  To standardize the documents communicated between many companies, the Transportation Data Coordinating Committee, in 1975, published its first set of standards.   EDI standards are formats and protocols that trading partners agree to use when sending and receiving business documents.   Around 1979, The American National Standards Institute (ANSI) designated an accredited standards committee for EDI.   More information can be found by visiting the ASCX12-Website.   The standards continue to evolve to address the needs of the member companies.   The Uniform Communication Standard (UCS) is used by the grocery industry and other retail-oriented industry sectors. The UCS standards are a subset of the ANSI ASC X12 standards.   For more information, visit the UCSWebsite. In the 1980's, the UN/EDIFACT standards were announced for international trade.   The ANSI standards, however, are still the most commonly used standards in North America.   The VICS (Voluntary Interindustry Commerce Standards Association) standards are used by some retailers and are a subset of the ANSI standards. The VICS standards are maintained by the VICS-Association.

How EDI Works
Typically, an EDI document begins in a trading partner's business application computer system.  A document is produced and sent to a specialized computer program that translates the document into a standard EDI format.   The EDI file is then transmitted, usually via the trading partner's VAN.   When the VAN receives the transmission, it is sent to the intended recipient's mailbox, identified by its EDI ID.  The trading partner receives the document from its VAN when it connects and empties its mailbox.  Through the use of an EDI translation program, the document is translated into a file that will be processed by the trading partner's business application system.  During the inbound translation process, a new EDI document is transmitted back to the sender to acknowledge receipt of the document.   This new document, the functional acknowledgment (FA), assures the sender that its transmission has been received.

Typical EDI Documents
Purchase Orders (ANSI- EDI 850, UCS- EDI 875) detail the items, quantities, actual cost or estimated cost, Terms, Notes, Ship-to locations, Ship Dates, Cancel Dates, etc.

Invoices (ANSI- EDI 810, UCS- EDI 880) are issued by the trading partner who has provided products and/or services as a request for payment.  These EDI invoices include most of the purchase order information as well as Invoice Number, Invoice Date and Total Amount Due.

Functional Acknowledgments (EDI 997) are short documents returned to the sender of an EDI transmission.  They indicate that the transmission was received, but do not indicate agreement with the document.

Purchase Order Acknowledgements (EDI 855) are used to provide seller's acknowledgment and acceptance or rejection of a buyer's purchase order. This can be an acknowledgement that the entire ordered quantity will be shipped and the date when it will be shipped. It can also be a line by line acknowledgment of partial or complete quantities and single or multiple shipping dates. The 855 Document can also be used as notification of a vendor-generated order or Reverse Purchase Order. The 855 Reverse PO is used in support of Vendor Managed Inventory (VMI). The vendor creates this Reverse PO to indicate to the buyer that the supplier has created a purchase order to maintain inventory levels as agreed to in the VMI agreement between the two parties. There is usually a minimum time period for the 855 to be sent prior to the sending of the 856 - Advance Ship Notice, which is sent when the goods are shipped.

Advance Shipping Notices (EDI 856) tell the customer all the details about the shipment: what items were sent, how many, when they were sent, etc.   The ASN document has information about each carton and its contents including the carton number, weight, cube, etc.  There is almost always a UCC128 label on each carton, which has information about the contents of the carton and its destination and shipping method.  There are several barcodes so that important data items can be scanned.  One of the most important codes on the UCC128 label is the carton number (128 code), which is how this carton information is referenced back to the ASN document.

Sample UCC128 Label

The Purchase Order Change Request (EDI 860) document is sent by a customer to communicate changes to a previous Purchase Order.  The 860 can be used to cancel the entire order, add and delete items, alter item quantities and prices, and change dates specifying order shipment, delivery, etc.

The Text Message (EDI 864) document is used to communicate plain free-form text messages.  The 864 is often used to communicate information regarding problems with a received document.  It is also used to communicate general business information about the trading relationship that is not document specific.

The Credit/Debit Adjustment (EDI 812) document is used to communicate details of credits and debits for products.  It may reference a specific Purchase Order and Invoice and include detailed information such as item identification and quantity. Standard codes are used to indicate the reason for the credit or debit request.  Some common reasons are defective product, non-receipt of goods, return of goods, order quantity shortage or overage, and pricing error.

The Organizational Relationships (EDI 816) document is used to communicate location address and relationship information. On the most frequently exchanged EDI documents (the PO, ASN, and invoice) locations are most often identified only by codes in order to avoid the cost of transmitting full addresses.  Location codes are unique to a specific trading partner.   The 816 document tells trading partners the address to associate with a particular location code.  The trading partner receiving the 816 can use it to maintain a list of the sender's location codes and associated addresses.  An alternate format of the 816 is used to show organizational relationships, such as stores serviced by a specific Distribution Center or warehouse.  Trading of 816's begins with a full set of the trading partner's addresses, after which changes may be sent on a weekly or monthly basis, or as needed.

The Payment Order/Remittance Advice (EDI 820) document is used in connection with Electronic Funds Transfer (EFT) in one of two ways.  In the first, a Remittance Advice is sent to the trading partner and a Payment Order is sent to the sender's bank to initiate transmission of the payment to the trading partner's bank.  The second option sees a combined Payment Order/Remittance Advice transmitted to the sender's bank, which in turn sends the payment and remittance data to the trading partner's bank, which then informs the trading partner that the payment has been received.  The 820 includes such data as payer and payee identification, including bank and account IDs, seller's invoice ID, adjustment amounts, reason codes, and billed and paid amounts.

The Application Advice (EDI 824) document is used to inform trading partners of errors in EDI documents they have sent, most often invoices.  The 824 differs from the 997 Functional Acknowledgement in that it is created as the result of error checking by the trading partner's business application program, whereas the 997 generally indicates EDI standard problems rather than business rule errors.  In contrast to the 864 Message Text document, the 824 provides a fixed format for the identification of specific data items in error and for their suggested correction, in addition to free-form text message.

The Product Activity Data (EDI 852) document is used to report sales, inventory, and ordering information.  Data is reported by item and may be broken out by store location.  The 852 is usually sent on a weekly basis.  The data is useful to the selling trading partner for product planning purposes.   Normally the purchaser's buyer must approve the sending of 852 data to the seller.

EDI Document Structure
A single EDI transmission constitutes an ISA/IEA envelope, which isolates one group of transmitted data from another. Each envelope contains EDI documents to (outbound) or from (inbound) a single EDI trading partner.   These envelopes contain one or more GS/GE envelopes, which contain one or more documents of the same type.  The use of separate GS/GE envelopes allows for several different document types to be communicated within the same ISA/IEA envelope. Within the GS/GE envelope is the ST/SE envelope that isolates one document from another.  A Transaction Set is wrapped in the Transaction Set Header/Trailer (ST/SE) envelope.  Data Segments (similar to a record in a data file) are used to make up Transaction Sets.   Data Segments are roughly equivalent to a single line on a document.  Data Elements (similar to a field in a record) contain the basic units of information and are used in various combinations to make up Data Segments.

The Interchange Header (ISA), commonly known as the Communications envelope, starts an interchange of one or more functional groups.  It contains: the syntax identifier, Sender and Receiver EDI ID's, unique control number, acknowledgment requested, test indicator, date and time sent, recipient reference or password, and version of Standard being used.  The Functional Group Header (GS) indicates the beginning of a group of transaction sets and provides a second level of Sender and Receiver IDs.  It usually includes an identifier for the type of transaction set, application sender identifier, application recipient identifier, date and time sent, unique functional group reference, agency responsible for specification of structure (i.e. X12, VICS), message type version, and password.

The Detail area contains the details of the business transaction.   In a PO document, the ST includes elements such as: Purchase Order Number, Date and PO Type, Item Numbers for Products Ordered and Product Descriptions, Prices, Method of Shipment and Delivery Dates, Terms of the Order, and, for some orders, a Distribution List by Item by Location.

The Trailer Envelope Segments contain control information such as total ST Segments and total GS Segments and unique control numbers that must be identical to the values in the ISA and the GS.


Benefits of EDI
· Closer relationships with your trading partners.
· Reduction of data entry errors.
· Shorter ordering cycle.
· Personnel reductions.
· Competitive advantage when selling to large, EDI capable customers.
· Potential for faster payment process.
· Decrease of on-hand inventories.

Standards
EDI standards help facilitate EDI by providing a common format or rules of data structure and transmission protocols.   The objective is to use an agreed upon structure for communicating the data in business documents.   Each organization that maintains a set of standards provides a full set of documentation and definitions of each version of their standards. The standards say which pieces of information are mandatory for a particular document and which pieces are optional. These standards are necessary because so many trading partners conduct transactions with several other trading partners.  It would be difficult to conduct business if every trading partner had completely different rules.  As the standards have grown, they have become more general and able to be interpreted in many different ways. If you trade with 5 EDI partners, you will probably have 5 different documents for each PO, Invoice, etc.  Because of the standards, they will at least have the same basic structure.  Each partner with whom you trade will have a detailed set of EDI specifications.  The documents you trade must adhere to these specifications.  Some trading partners will assess a charge against your invoice for mistakes or missing documents.   Therefore your understanding and compliance with your partner's specifications are very important

 

DummyNet

DummyNet is a tool for bandwidth throttling.

 

http://cs.baylor.edu/~donahoo/tools/dummy/tutorial.htm

Wednesday, May 21, 2008

I couldn't sleep well last night. Got up at 12:00. I should have actually studied but was too depressed to do that.

It rained heavily yesterday evening. I was scared that I will get struck by lightening while driving. It was dark, and quite still. I still need to check if my van roof got damaged by hail storm.

Today I heard Farewell to Arms -disk 5. Now Lt Fredric Henry is retreating. Very interesting description of how military police catches retreating officers and executes them. There is a poignant small scene around two young girls, 14 and 15 year old, who are trying to find refuge and are stuck with this group of army men.

Roses are doing good in the garden. Little bird is getting aggressive about her nest. I need to take care of weeds. And also big dead tree in backyard.

Tuesday, May 20, 2008

Fahrenheit 451 - Interesting for most of the time, slightly boring at end, full of lectures. I expected more of Clarice but she was taken out of book very early. I was sympathetic to Milfred, poor Millie as Montague called her. She came out as helpless person trying to avoid a hopeless situation. At one point I thought that author Ray Bradbury was complaining against emphasis on minority rights. Later however he came out against dictatorship of majority thought.
Overall 3.5 out of 5.

Audio books - Farewell to Arms

I have been listening to audio books for more than a year. I wonder how or why I didn't start that earlier. I have already finished Spanish lessons, of more than 30 hours, Freakonomics, few books on management and also Fahrenheit 451.
for last three days I have been listening to Farewell to Arms. It takes care of my driving time, one hour either way. Earlier I wasted lot of time just sitting in traffic. At other times I heard NPR, or songs, or when desperate, heard 750 AM, listening to idiots like Neils Bohrtz and Shawn Hennety.
Now back to Farewell to Arms - to Lt. Fredric Henrey, "Tenente", Catherine Barkley, priest and Renaldi. What a story teller Hemmingway is! I earlier read his "old man and the sea". It was good, but not that good. but this book, what a yarn he has woven. I almost see & smell Miss Barkley. Though I know how it is going to end (my impatience! have already been to Wiki!!) it is still going to be fun to go through complete story.

Thursday, May 15, 2008

standard exchange format

http://www.edidev.com/SEF.htm

The Standard Exchange Format (SEF)

  EDI Tool for Developers

The Standard Exchange Format (SEF) is an open-standard, computer readable, text format that contains the schematic information of an  EDI document.  SEF files are used to convey the EDI implementation guidelines of trading partners.

The purpose of SEF is to standardize the format of EDI implementation guidelines, so that it can be programmatically read; and thus making it possible to create EDI applications that can directly import and read the SEF files to obtain the rules and instructions contained in them for constructing, translating and validating EDI documents. 

The advantages of SEF over other file formats (e.g. pdf, doc, html, and paper) are:

  • It is an open standard, which allows you to create your own SEF files and distribute them without any permission or having to pay any royalty fees.
  • SEF files are immediately useable by both users and computers.
  • SEF files are small electronic files that can be transmitted easily over the Internet.
  • SEF files can be edited with  a text editor or with our SEF Manager, and can be read with the SEF reader.

A Synopsis of different EDI standards

http://www.theedizone.com/edi_resources/edi_standards.html

Different EDI Standards
EDI incorporates standard layouts for all business documents. However, there are different standards available. The decision as to which standard to adopt is usually determined by what is already in general use within your business sector and by mutual agreement with your trading partner.

There are four main technical standards:

  • UN/EDIFACT - the main standard supported by the UN
  • ANSI X12 - common in USA, Canada and Australia
  • TRADACOMS - predominantly used in the UK
  • ODETTE - developed in the UK for the motor industry.

Each standards body publishes definitions of the documents, which may be exchanged electronically. An EDI message represents common business documents and its definition specifies the content and sequence of the data to be included.

 

Wednesday, May 14, 2008

Sunday, May 11, 2008

Saturday, May 10, 2008

Photos from Mendoza Argentina

Loan is with Alex

Sleeping looking person is our tour guide.

We are in front of St Julia vineyard.

Inside winery

In front on Winery

Operations class

BMW case study! Shift to manufacturing, but I am feeling sleepy
--------------------------
Sent using BlackBerry

Friday, May 9, 2008

Test blog through email

This is my first email blog.

 

stunnel

I am trying to follow "The web applications hackers handbook" by Dafydd Stuttard and Marcus Pinto. It is an interesting book. I also tried stunnel software at "http://www.stunnel.org/examples/" . Purpose of software is to create tunnels for TCP traffic. I wouldn't make it work.