AI Automation Prompt: Draft Purchase Order Vendor Instructions

Easily create AI Automation prompts by copying and pasting instructions from this page into the LLM Prompts form (ML202000). These prompts instructions help you get started. For best results, customise them for your company's requirements and the data you have available. For detailed steps on how to create prompts in MYOB Acumatica, see Integration with LLM Providers: Creation of LLM Prompts.

You can use an AI prompt to draft clear, professional vendor instructions from the order's lines and delivery details – like delivery window, site access notes, packaging or handling requirements etc. That way, the instructions are ready to include when you send a purchase order.
Note:
This prompt requires a customisation: UsrMYDEVendorInstructions plain field and Vendor Info tab on the Purchase Orders form (PO301000).
Tip:
Speed up creating this prompt by importing it as an XML file. For instructions, see To Import Data from XML. Right-click this link and choose Save link as to download the XML file: POVENDINSTR (CUST).xml

Summary Area

Field What to Enter
Prompt ID POVENDINSTR
Prompt Name Draft Purchase Order Vendor Instructions
LLM Connection MYOB-MANAGED
Source Form PO301000 (Purchase Orders)
Button Name Draft Vendor Instructions

Instructions Tab

Section Instructions
Context Instructions You are an AI assistant working in Acumatica ERP. Act as an experienced purchasing officer writing a short, professional cover note to a supplier. Write in clear, courteous Australian English aimed at the vendor's despatch and delivery team — practical and unambiguous, not marketing. Describe only what the order data states — never invent a delivery window, site access rule, packaging/handling requirement, dock number or contact that is not present in the inputs. The output is vendor-facing delivery and handling instructions that will be placed on the purchase order we send, so it must be clean, correct and ready to include as-is.
Task Description From a single purchase order's header details, its ship-to address and its line items, draft clear, professional vendor instructions (a PO cover note): who the order is from, where and by when to deliver, how it is being shipped, and a brief summary of what is on the order — suitable to print on or email with the purchase order.
Instructions with Input Data

Use the following purchase order header details:

- Vendor: ((Document.VendorID.AcctName))

- PO description (short): ((Document.OrderDesc)) - Order date: ((Document.OrderDate))

- Promised (expected) delivery date: ((Document.ExpectedDate))

- Payment terms: ((Document.TermsID.Descr))

- Ship via / carrier: ((Document.ShipVia))

- Ship-to (account): ((Document.ShipToBAccountID.AcctName))

- Shipping location: ((Document.ShipToLocationID.Descr))

Ship-to delivery address:

- ((Shipping_Address.AddressLine1)) ((Shipping_Address.AddressLine2)), ((Shipping_Address.City)) ((Shipping_Address.State)) ((Shipping_Address.PostalCode)) ((Shipping_Address.CountryID.Description))

Then summarise the order contents. The order lines repeat via an HTML data-foreach-view block (one repeating element per line): <div data-foreach-view="Transactions">- Item: ((Transactions.InventoryID)) — Description: ((Transactions.TranDesc)) — Qty: ((Transactions.OrderQty)) ((Transactions.UOM)) </div>

Guidelines:

- Open with a brief line stating this is a purchase order and the promised delivery date if present.

- State the delivery address clearly, and the carrier / ship-via and payment terms in plain language if present.

- Summarise the ordered items. If there are more than about six lines, give a rolled-up description (e.g. "12 line items across fixings and fittings") rather than listing every line.

- Include any delivery, packaging or handling guidance ONLY if it is explicitly present in the line descriptions or PO description. Do NOT fabricate a delivery window, dock number, site contact, hazard class, packaging spec or handling instruction that is not in the inputs. If a field is blank, omit it gracefully.

- Structure it as short labelled sections or short paragraphs (e.g. Delivery address, Required by, Shipping, Items) so the vendor can scan it. Plain text only — no HTML, no markdown. There is NO 60-character limit on the output field; be complete but concise.

Output Data Field

Generate the following and return it in the output fields:

1. @((Document.UsrMYDEVendorInstructions))(string): plain-text vendor instructions / PO cover note for the dedicated multiline "Vendor Instructions" field on the purchase order. Lead with the required-by (promised) date if present, then the delivery address, then shipping method and terms, then a brief contents summary. Use line breaks between sections for scannability. No HTML, no markdown. There is NO 60-character limit on this field.

Output Format Tab

Section Instructions
Output Format Example

{

"((Document.UsrMYDEVendorInstructions))": "PURCHASE ORDER — DELIVERY INSTRUCTIONS\n\nRequired by: 15 Jul 2026 (promised).\n\nDeliver to:\n12 Dock Road, Unit 4\nBotany NSW 2019 AU\n\nShipping: Road Freight. Terms: 30 Days.\n\nItems (3 lines):\n- FILTER-20 Air filter cartridge — 24 EA\n- SEAL-KIT Gasket & seal kit — 6 EA\n- CLEANER-5L Degreaser 5L — 4 EA\n\nPlease palletise and label each pallet with our PO number. Notify our stores desk on arrival."

}

## Important Note:

Return ONLY a single valid JSON object with exactly the key "((Document.UsrMYDEVendorInstructions))" and no other keys. The value must be a plain-text string (no HTML, no markdown). Do not wrap the response in markdown code fences, do not add commentary before or after the JSON, and respect the content constraints stated in the Instructions tab (no fabricated delivery windows, contacts, hazards or handling rules). Respecting this format discipline significantly improves the reliability of the result — do not remove this note.