Email Vendor PO

The image below is the Generic Text PO Xmit Document, which depicts each variable field that can be included on a PO and its field length.

 

The red numbers in the graphic below correspond to the notes mentioned below.

 

 

  1. The first two lines of the text file do not transmit, this is a ruler inserted to allow the viewer to see field position.

  2. Each variable field displays beginning with the letter X, followed by the field max length, padded with the letter X to the end of the field.

  3. If a field displays as X6XXXX, it means the field is limited to 6 characters.

  4. If a field displays as X12XXX, it means the field is limited to 12 characters.

  5. The "TO:" City-State-Zip will be tricky, as City, ",", State, ",", and Zip are all directly concatenated and then limited to 46 characters. So, the State and Zip will not always begin at the same position.

  6. The "FROM:" City-State-Zip will be tricky also, as City, ",", State, ",", and Zip are all directly concatenated and then limited to 80 characters. So, the State and Zip will not always begin at the same position.

  7. The "FROM:" Contact-Phone-Email is even trickier. "CONTACT:", SenderEmailName, "PHONE:", StorePhone, “EMAIL:”, and SenderEmail are all directly concatenated and then limited to 80 characters. So, Phone and Email will not always begin at the same position.

  8. The blank line below FROM: CSZ and the first PO Notes line only output if the order has a note.

  9. The second PO Notes line only outputs if the order has a note that is greater than 80 characters in length.

  10. The first XMIT Notes line only outputs if the XMIT record has a note or either of the Flag1 or Flag2 values are set in the XMIT record.

  11. The second XMIT Notes line only outputs if the XMIT record has a note that is greater than 46 characters in length.

  12. The Special Codes: line only outputs if the XMIT record has special codes.

  13. The Special Codes line below Special Codes: literal text only outputs if the XMIT record has special codes.