Morning
I need to export orders in a particular format. Here are the requirements.
- (CRLF) 10 format
- Use a .TXT extension
- 2023-02-01-10-06-44-533.txt
- the filename includes a date/time stamp as noted above
- All lines within the file must be terminated by Carriage Return Line Feed (CRLF) 10
define the “header” elements that are not part of the order but hard-coded into the format.
Example:
Account Number: 0000000
Sub Acct:
Account Name: Our Business
Acct Addr1: 100 Petronia Road
Acct Addr2: Suite 200N
Acct Addr3:
Acct City: Easton
Acct State: Cal
Acct ZIP: 18104
Acct Phone:484-456-2600
Acct EMail: frank.smithy@aol.org
Acct Contact: Frank Smithy
TOP DATA IS HARD CODED
Recip Name: Jane Doe
Recip Addr1: 123 Street Road
Recip Addr2:
Recip Addr3:
Recip City: Anytown
Recip State: PA
Recip ZIP: 18252
Recip Phone: 484-555-1212
Recip EMail: JaneDoe@gmail.com
Order Number: 10001 (shopify order number)
M15 VBR00346 - 2 (Shopify sku - quantity)