Skip to main content

Purchase Orders

Purchase Orders based on sales / purchase and stock status

Auto PO​

Works out what to order from a supplier by looking at what sold, what is in stock and what is already on order, lets you adjust the quantities, and creates the purchase order in one click.

Auto PO screen with a generated sheet

Step 1 – choose what to look at​

Selection area of the Auto PO screen

  • Mfr (and Div for a single division rather than the whole group), Party (items of the manufacturers that supplier deals in) and, if rate contracts are in use, RC.
  • S-n-S Date – the period of sales and purchases to analyse. It starts as this month so far. The Stock on column shows stock as at the end date.
  • Sale Party / Sale Cate / Sale Sr – optional. Tick them to also count how much was sold to one party, one category or in one bill series (shown in Pty/Cate Sale), so that those sales can be left out of the demand.
  • Highlight Near Exp Last – marks items whose last purchase date cell is brown when you hold stock expiring within the given number of months, so you don't reorder what you can't sell.

Click Generate. The grid lists the manufacturers' items, under a heading line for each manufacturer.

Step 2 – read the grid​

Each manufacturer's items sit under a heading line (bold, pale yellow). The last line of the grid is a bold yellow Total: line.

Last rows of the sheet: items, and the yellow Total line

ColumnMeaning
Sr., Num, NameSerial number, item code and item name. These stay in view while you scroll right.
Last PurcDate of the last purchase (or opening stock) up to the end date.
Last SaleNumber of days since the item was last sold (0 if it has never been sold).
Last RatePurchase rate on the last purchase (or the Base Rate of the rate contract).
In QtyPurchased in the period.
Old Out / Out QtySold, consumed or transferred out in the previous month / in the period.
Pty/Cate SaleThe part of Out Qty sold to the party, category or series chosen above (shown only when one of them is ticked).
Out ValValue of Out Qty at the last rate.
Stk onStock at the end date.
SODue / PODueSales-order quantity not yet supplied; quantity ordered on POs but not yet purchased.
Reqd QtyQuantity worked out as required (step 3).
OrderWhat you actually order (editable, but see PuRetn Lock).
NoteA remark for the supplier (editable).
PuRetn DysDays since the item was last returned to a supplier by a purchase return. Blank if never returned.
Short CountNumber of open short entries for the item.
Disc.%A discount for the line (editable).
Stk ValueStock × last rate.
Approx ValueValue of the order quantity for the line (rate or RC rate, less the discount).
Min / Max / Cs-FctrThe item's minimum and maximum stock levels, and its case factor.
CateThe item's category.
note

In installations that work with rate contracts and sales orders (the RC / SO System setting), the sale-analysis columns (In Qty, Old Out, Out Qty, Pty/Cate Sale, Out Val), Short Count, Disc.%, Min / Max and Cate are hidden, and SODue / PODue are shown instead.

Double-click an item name to open the item master, a quantity column to see the item's status, or Short Count to see the short entries. Hover over a coloured cell for a tooltip where one is available (NRx, Fast Moving, near expiry).

Click any cell to see that item's details in the strip below the grid: its last purchase (quantity, date and scheme), the last PO (quantity and date), whether it is NRx or Fast and its scheme, the Case Factor, the Scheme Register (the current purchase scheme, in blue) and its purchase price range.

Item details below the grid

What the colours mean​

Colours in the Auto PO grid

All colours are applied by dsGST; you can't change them. They fall into row colours, cell warnings, column tints and form colours.

Rows​

ColourWhereMeaning
Pale yellow, boldWhole rowManufacturer heading line.
Yellow, boldWhole row (last)Total of In Qty, Out Qty, Pty/Cate Sale, stock quantity and stock value for the whole sheet.

Cells that warn you about the item​

ColourCellMeaning
PinkLast SaleNot sold for more than 90 days – think twice before ordering more.
Red (white text)Sr. and UoMNRx (prescription-only) item. Tooltip: NRx Item.
Dark green (white text)Num (item code)Fast-moving item. Tooltip: Fast Moving.
Blue (white text)Name and Short CountThe item has one or more open short entries – customers have asked for it.
Brown (white text)In Qty, Old Out, Out Qty, Out ValThe last PO for this item has not been supplied – it was placed after the last purchase, so the item may already be on its way.
Brown (white text)Last PurcThe item has stock expiring within the months set beside Highlight Near Exp Last. Tooltip: <item> has near expiry stock. Only when that option is ticked.
Red (white text)PuRetn DysThe item was returned to a supplier less than 90 days ago.
Light greyReqd QtyThe requirement worked out is negative (you hold more than needed).

NRx items (red Sr. and UoM), here shown with the Only NRx filter:

NRx items

Dark green in Num marks fast-moving items (rows 2 and 4 below), and blue in Name marks items with open short entries (rows 3 and 6):

Fast-moving (green) and short (blue) items

The same items show their short count, in blue, in the Short Count column (1 and 2 here):

Short Count column

Brown in Old Out, Out Qty and Out Val – the last PO for the item has not been supplied yet (the items on these two lines were just ordered):

PO not supplied marks

Brown in Last Purc – stock that expires soon:

Near expiry mark

The same brown is used for both the "PO not supplied" and the "near expiry" marks; look at which column it is in. The Short Marks and Last PO not Supplied boxes below the grid repeat the blue and brown as a key.

Colour key

The Order cell​

The Order column is pink by default. It changes colour to tell you what state the item is in:

ColourMeaning
Red (white text)Locked. A purchase return was made in the last 90 days and PuRetn Lock is ticked. You can't type in the cell and Set Order will not fill it.
OrangeRecent purchase return, lock released. The item was returned in the last 90 days but PuRetn Lock is unticked, so you can order it. The orange reminds you this is an exception.
Green-yellowA quantity has been entered, and it will go on the PO.
PinkNo quantity.

The Disc.% cell turns green-yellow when a discount has been entered for the line.

Recent purchase returns and PuRetn Lock​

If an item was returned to a supplier by a purchase return in the last 90 days, you should not be ordering it again. PuRetn Lock (ticked when you open the screen) enforces this:

  • Ticked – the Order cell of such an item is red and read-only. Set Order skips it, so no order is created for it.

    PuRetn Lock ticked: Order cell red

  • Unticked – the lock is released for the occasion when an order must be placed anyway. The cell turns orange (still marked as a recent return) and can be edited.

    PuRetn Lock unticked: Order cell orange

  • Ticking or unticking only changes whether the cell can be edited and how it looks. It never changes a quantity. If you untick the lock, order a quantity (below, 5) …

    Quantity entered while the lock is released

    … and tick it again, the quantity stays on the sheet and is included in the PO, but the cell can no longer be edited.

    Lock ticked again: quantity kept, cell red and read-only

  • The PuRetn Dys cell stays red either way, so the warning is never lost.

  • After Resume, the lock follows the current state of the tick box.

Editing Min / Max / Cs-Fctr​

ColourMeaning
YellowMin, Max and Cs-Fctr columns are open for editing (Update Min/Max/PCase is ticked).
Hot pinkA value you have changed and not yet saved. The colour goes away when you click Save Min/Max/PCase.

Tick Update Min/Max/PCase at any time, before or after Generate. The Min and Max columns appear, and Min, Max and Cs-Fctr turn yellow and can be edited. Cs-Fctr is the last column, so scroll the sheet to the right to see it (the sheet scrolls there by itself as you tab across). Unticking hides Min and Max again.

Below, Min 8, Max 40 and Cs-Fctr 10 have been entered for one item, and are hot pink until saved:

Min, Max and Cs-Fctr being edited

Click Save Min/Max/PCase to store the changes in the item master. Only the items whose values you changed are updated, and each value goes to its own field. The yellow goes away and the box is unticked.

Column tints​

These are fixed background tints that only help you tell neighbouring columns apart:

ColumnTint
In Qty, SODueLavender
Old Out, Out Qty, PODueLight yellow
Pty/Cate SaleLight cyan
Order, NoteLight pink (the editable columns)

Searching​

Type text in Find and click Find. The first match is shown in aqua and the sheet moves to it; Next goes to the next one, and the count appears beside Found.

Find box

Matching name in aqua

Colour reference by position​

The tables above explain each colour. These two put them all together by where they appear: first the areas of the screen, then every grid column.

Areas of the screen​

WhereColourWhat it tells you
Top area: Party, Mfr, S-n-S Date, Generate, Print, CloseWheatWhere you choose what to analyse.
Sale Party / Sale Cate / Sale Sr box, inside the top areaOld lace (paler)The optional sale filters, grouped together.
Highlight Near Exp LastBrown, white textThe same brown as the near-expiry mark in Last Purc.
Middle strip: Code, Name, PuRetn Lock, the filter lists, FindPlain grey (normal screen colour)Controls for looking at the sheet, not for selecting it. The chosen entry in each filter list is blue.
Empty part of the gridGreyNo sheet generated yet.
Bottom area: item details, Calc Reqd, order totals, Party, Make POWheatWorking area for the item you are on and for the order.
Short Marks label (bottom)Blue, white textKey for the blue short marks in the grid.
Last PO not Supplied label (bottom)Brown, white textKey for the brown pending-PO marks in the grid.
Sale Value figures and labelsBlueThe sale value, for comparison with the order and stock values (which are in black).
Hint beside Calc Reqd (for example Reqd = (Sale - PtySale) * Factor - Stock)BlueThe formula of the method selected.
Purchase scheme text beside Scheme RegisterBlueThe item's current purchase scheme.

Grid columns​

Column tint is the colour of the whole column. Cell colour appears only on the cells that meet the condition.

ColumnColumn tintCell colour and what it means
Sr.noneRed, white text: NRx item.
NumnoneDark green, white text: fast-moving item.
NamenoneBlue, white text: the item has open short entries.
UoMnoneRed, white text: NRx item.
Last PurcnoneBrown, white text: stock that expires soon (when Highlight Near Exp Last is ticked).
Last SalenonePink: not sold for more than 90 days.
Last Ratenone–
In QtyLavenderBrown, white text: the last PO has not been supplied.
Old Out, Out QtyLight yellowBrown, white text: the last PO has not been supplied.
Out ValnoneBrown, white text: the last PO has not been supplied.
Pty/Cate SaleLight cyan–
Stk onnone–
SODueLavender– (shown in RC / SO systems)
PODueLight yellow– (shown in RC / SO systems)
Reqd QtynoneLight grey: negative requirement.
OrderLight pinkRed: locked by recent purchase return. Orange: recent return, lock released. Green-yellow: a quantity is entered.
NoteLight pink–
PuRetn DysnoneRed, white text: purchase return within the last 90 days.
Short CountnoneBlue, white text: open short entries (the count).
Disc.%noneGreen-yellow: a discount is entered.
Stk Value, Approx Value, Catenone–
Min, Max, Cs-FctrYellow when Update Min/Max/PCase is tickedHot pink: value changed, not yet saved.
Whole row: manufacturer headingPale yellow, boldGroups the items of one manufacturer.
Whole row: last lineYellow, boldThe Total: line.

Cell colours take priority over a column tint, so a coloured cell hides its column's tint. The cell found by Find is shown in aqua, in whichever column it is.

Step 3 – calculate the requirement​

Pick the method in the list beside Calc Reqd and click it:

  • None – clears the requirement.
  • Sale * Fctr - Stock – required = (Out Qty − party/category sale) × Factor − stock. With Factor 1 it orders what sold in the period; with 2 it covers two periods.
  • SO Required – required = SO due − stock − PO due. Orders what customers have ordered through sales orders and you can't supply from stock. This is also what the Auto PO - PO Against Pending SO option on the Order menu opens.

Negative requirements are shown in grey.

Calc Reqd, Factor and Set Order

Step 4 – set the order quantities​

Click Set Order to copy the requirement into the Order column, rounded up to a multiple of the item's case factor, or of the Multiple Of number you have entered when the item has no case factor. Items locked by PuRetn Lock (red) are left alone. You can then type over any quantity, discount or note.

Use the lists above the grid to focus on what matters: items with or without short entries, stock or no stock, SO due or none, below Min or above Max, requirement above or not above zero, order entered or not, NRx and fast-moving items. Code and Name boxes filter by text (press Enter), and Find / Next jump between matches.

Filter lists and Find

The totals show the number of items, quantity and value on order for the whole sheet and for the selected manufacturer, with the sale and stock values for comparison.

Order totals: selected manufacturer and whole sheet

Step 5 – make the PO​

Select the supplier in Party (it is preselected with the last supplier you bought the manufacturer from) and click Make PO. dsGST saves a purchase order with every line that has an order quantity, using the discount and note you gave, marks the short entries of the ordered items as done, and opens the PO in the PO Entry screen for you to check, print or mail. Items with no order quantity are left out, including items locked by PuRetn Lock unless you entered a quantity for them with the lock released. The PO is saved and unlocked, so it can be printed or mailed straight away.

Purchase Order screen opened by Make PO

The PO above has the 22 items and 340 quantity shown in the Order Total box, and the same value (43,974.60) as the sheet.

  • Pause saves the sheet (with your quantities and its colours) to a file, and Resume brings it back, so you can continue after other work or on the next day. There is one saved sheet at a time; Generate discards it.
  • Update Min/Max/PCase – tick this to make the Min, Max and Cs-Fctr columns editable (yellow), and click Save Min/Max/PCase to store the changes in the item master (see Editing Min / Max / Cs-Fctr).
  • Print prints or exports the sheet.

PO Entry​

This is the screen that Make PO opens, and you can also open it directly from the menu to enter a PO by hand or to look at one made earlier.

Purchase Order entry screen

  • Top part – Computer Id and PO Num of the order, its Date, the supplier (Party; N adds a new party), the supplier's Document number and date, and a Note. RC opens the rate contract if one is used.
  • Item strip – pick an item (tick Short to list only items with short entries, InActive to include inactive items; N adds a new item), check its Min, Max and Stock, enter MRP, Rate, Qty and a Note, and use Add (F12), Change (F11) or Delete (F10).
  • Grid – one line per item (with its manufacturer), showing MRP, rate, quantity, note and the approximate amount. Below it are the number of items and quantity in the PO, and the Grand Total.
  • First / Previous / Next / Last move between POs; Add New starts a new one; Edit changes the PO shown (see Edit a PO). Force is available only when the PO is locked because an edit was started and not saved; see below.
  • Supply Status opens the report of what has been supplied against this PO. Print opens the print options for it. These two are shown only while the PO is not being edited. Close closes the screen.

Edit a PO​

Click Edit to change the PO shown. The screen turns cyan and its fields open:

PO in edit mode

  • Change the Party, Date, Document or Note, or work on the lines with the item strip: select a line in the grid and use Change (F11) or Delete (F10), or pick an item and Add (F12). A Mfr tick box and list appear (top right): tick Mfr to narrow the item list to one manufacturer.
  • While you edit, the buttons for moving between POs, Add New, Edit, Force, Supply Status and Print are hidden. Only Save and Close are left, so a PO cannot be printed or mailed until the edit has been completed with Save.
  • Click Save to complete the PO. Take care with an empty PO: if it has no party, or you have deleted all its lines, Save deletes the PO.
  • There is no way to cancel an edit. A PO that is being edited stays marked as in use, with the user, computer and time that started the edit shown below the grid, until it is saved properly. If you close the screen without saving, the PO remains locked: Edit stays greyed out and the PO cannot be printed or mailed.
  • Force (available only on a locked PO) releases the lock. Use it to get a PO out of this state, for example after a crash or when the person who started the edit is no longer available. It does not complete the edit that was in progress. After Force, reopen the PO, click Edit, check it and Save; only then are Print and the mail options available.

A PO can be printed or mailed only after it has been completed and saved (a PO still being edited is locked; see Edit a PO). A PO made with Make PO is already saved.

Click Print on the PO screen. The Printing of Purchase Order box opens for the PO shown:

Printing of Purchase Order

  • Printer – shows the printer in use; click it to choose another.
  • PO Id – the PO to print. Change it to print another PO from here.
  • Hide Rate, Hide Value, Hide Description – tick these to leave the rate, value and description out of the printed PO. Useful for the copy that goes to a supplier, who needs the items and quantities. Untick them for your own copy.
  • Show Div Separator – puts a heading line for each manufacturer / division between the items.
  • Party, Value, Items show what you are about to print. EMail (Pty) and EMail (MR) show the supplier's address and those of the medical representatives who receive POs by mail (see Mail PO).
  • Preview shows the PO on screen first; Print sends it straight to the printer; Export saves it to a file named PO-<number>.

The preview looks like this (here with rate and value hidden, and the supplier's address and the company's contact details blanked out for this guide):

Print preview of a purchase order

Close the preview to return to the box, and Close the box when done.

Mail PO​

The Printing of Purchase Order box above also mails the PO. The EMail button is shown only when a mail server has been set up in dsGST, and is available only when there is an address to send to. It uses the Hide Rate, Hide Value and Hide Description choices in the box, so tick them for a mail to a supplier.

EMail​

With Preview ticked, EMail prepares the mail and opens it in the SMTP Client – Send EMail window, where you can check and change it before anything is sent:

SMTP Client – Send EMail window with the PO in the message

  • From is the mail address of your firm set in dsGST. To is the supplier's address (more than one can be given, separated by ; or ,). CC has the addresses of the medical representatives of the manufacturers on the PO who are set to receive POs. If the supplier has no address, the representatives' addresses are used as To. The small numbers under the To, CC and BCC buttons count the addresses.
  • The Subject is Purchase Order PO-<number>, and the message is the PO itself, with a short covering note. You can edit the message like any mail.
  • The PO is attached as a CSV file (for example AA-PO-1047.csv), and as a PDF too when Attach PDF was ticked in the box and the PDF could be made. Use Attach and Detach to change the attachments.
  • Send sends the mail. Close closes the window without sending.

With Preview unticked, EMail sends the mail at once, without showing this window, and then shows a message with the address it was sent to, or the error if sending failed.

Other options in the box​

  • Attach PDF – makes a PDF copy of the PO, through the PDF printer set up on the computer, and attaches it to the mail.
  • Outlook – instead of dsGST's own mail, opens a new message in Outlook with the PO and the same addresses, for you to review and send from Outlook.
  • Export – saves the PO to a file instead of printing or mailing it; you choose where, and the file is named PO-<number>.