Skip to main content

Orders Posting

This window moves the quantities of sales or purchase order items from one phase to another. If the phase you move them to generates an invoice, a transposition, a manufacturing operation or an assembly invoice, the program generates it from the quantities you posted. The window shows the items of several orders in one table, so you can put items of more than one order in a single invoice, or generate one invoice for each order. You can also cover orders from the warehouse balance, and save the table to a file and restore it.

This page explains the window and every dialog it opens. The steps are in Post orders to bills. Posting one order from inside its own window is in Order pages: preparation, posting, dividing and payments.

Opening the window​

There are two ways:

  • From the ribbon: Orders > Tools > Posting of Sales Orders for sales orders, or Purchase Orders Posting for purchase orders. Each command needs the permission of the same name in Users Management, and appears when your licence includes the orders feature and a file is open. It is the same window for both, titled Posting of Sales Orders or Purchase Orders Posting, and it works only with the forms and phases of that order type.
  • From the Post page of an order window, with Post Order.... The window opens for that order only and loads its items at once, without Filter.... The button does not open it for a finished or cancelled order unless you are the administrator.

The Post All Quantity window of an order uses the same posting steps and dialogs (What happens when you post) without opening this window. See Post the whole quantity of an order.

Opened from the ribbon, the table is empty. Click Filter... and choose what to show, or press F5 after you set the filter.

Buttons and totals​

ButtonWhat it does
CloseCloses the window without asking. It saves nothing and undoes nothing you posted.
PreviewOpens the posting report for what is in the table now, with its visible columns. See Posting of Sales Orders (report). Nothing opens if the table is empty.
PrintPrints the same report directly, without a preview.
PostPosts the whole table: checks the lines, then generates what the phases require. See What happens when you post. Nothing happens if the table is empty.
Filter...Opens the Filter window, then reloads the table.
ResetPuts zero in the Posting column of every line. It does nothing if the column is not visible.
Cover from WarehouseOpens Cover from Warehouse to distribute the quantities by the balance. Shown in the sales window only, and disabled without the permission Cover sales order from warehouse.
ImportReads an XML file you saved with Export and applies it to the table. See Export and import.
ExportSaves the current filter and the table values to an XML file. It does nothing if the table is empty.
Enter Mat. ManuallyOpens Enter materials manually to post the quantities of chosen materials without typing them line by line in the table.

Two totals sit under the table:

FieldMeaning
Total Posted ValuesThe sum of (quantity in Posting x the line price) over all lines.
Total Posted QuantityThe sum of the quantities in Posting.

The program recalculates the totals when you edit a quantity in Posting, Qty 2 or Qty 3, or change From in a line. After the table loads it calculates them only if the Posted Qty Value column is visible. Reset does not recalculate them.

The table​

The table shows one line for each order item. What it shows depends on how you opened the window:

  • From the ribbon: the items of the orders that the filter selects. The program reads the quantity of each item in each phase only from the phase movements dated inside the date range of the filter. Make the range include the date the order was created and the dates of its earlier postings. Otherwise the phase quantities come out short, or the order does not appear.
  • From an order window: all the items of that order, with no date range.

How the first values are set​

  • From and To: the two lists under Order Status in the filter start on the first phase of the list, so every line starts from the first phase to the first phase. Choose a To other than the first phase before you click Post, or the message "Can't Post to the same status! Line" appears. If the phase chosen in From or To is not among the phases of the order form, the line starts on the first phase of its form.
  • Posting: the item's quantity in the From phase when the table loads, and zero if the line started on another phase as above.
  • Posting Date: today.
  • Post Gifts: the item's gifts not posted yet, for lines whose phase posts to an invoice.
  • Fulfilled, Pending, Extra and Shortage: calculated from the quantities that entered phases whose quantity counts as fulfilled and were linked to an invoice. Pending = Demand - Fulfilled (never below zero), Extra = Fulfilled - Demand when positive, and Shortage = Pending.
  • The order of the lines follows Sort by in the filter.

If the order option Don't show fulfilled items in posting window is on, the program removes from the table every item that is completely fulfilled (fulfilled is at least demand, and posted gifts at least gifts). See Orders options.

Table columns​

The Posting Table Fields option in Orders options decides which columns appear and their order. The first six columns in the table below are the ones shown by default, in this order, and cannot be unticked there. If you tick the field Status Quantity, a column appears for each phase that the table shows, titled with the phase name, with the line's quantity in it.

ColumnMeaning and calculationCan you edit it
Order NameThe abbreviation of the order form, then the order number.No
Material NameThe material name (the Latin name in a non-Arabic interface, if there is one).No
PostingThe quantity you will move from the From phase to the To phase, in the line's unit.Yes
FromThe phase the quantity leaves. A list of the order's phases.Yes
ToThe phase the quantity enters. A list of the order's phases.Yes, unless the order form forces the order of phases: then the program picks the phase after From and you cannot change it
Post GiftsThe item's gifts you will post.Yes, if To posts to an invoice and gifts remain
Order NotesThe order notes.The cell accepts text, but the program does not use it when posting
Posting DateThe movement date.Yes, unless the order form forces the posting date
Customer NameThe order's customer. If you may not browse the customer, the words "You do not have permission" appear.No
WarehouseThe item's warehouse. Empty if it is the order's own warehouse.Yes, if To posts to an invoice and the order form shows the warehouse. Chosen from a search window
Item NoThe item number in the order.No
Material CodeThe material code.No
CombinationThe combination (segments) of the material. Appears when material segments are on and the order form shows it.No
UnitThe line's unit.No
StockThe material balance in the item's warehouse, in the line's unit.No
DemandThe item quantity in the order.No
FulfilledThe quantity that entered fulfilled phases (see first values).No
PendingThe quantity not fulfilled yet.No
ExtraThe fulfilled quantity above the demand.No
ShortageThe quantity missing from the demand.No
PriceThe unit price in the order. If you may not read prices on the order form, the words "You do not have permission" appear and the cell has a distinct colour.Yes, if you may change prices on the order form. The price you type is the one used to generate the invoice, unless it is zero or the option that converts the price to the invoice form's price is on (see Bill data). Without the permission to read prices, the invoice line gets the default price of the order form.
GiftsThe item's gifts in the order.No
Posted GiftsThe gifts posted before.No
Line-Item NotesThe item notes.Yes. They go to the movement
CategoryThe item's category. Appears if the order form shows the category.Yes
Expiry DateThe item's expiry date. Appears if the form shows it.Yes, if the material has an expiry date
Cost centerThe item's cost center. Empty if it is the order's own cost center.Yes, under the two conditions given for Warehouse
Reserved QtyThe quantity of the material reserved in sales orders. Shown in the sales window, and its option is available if the order reservation system is on.No
The remaining from purchase ordersThe quantity not yet received from purchase orders. Shown in the sales window, and its option is available if the option that counts the remainder of purchase orders is on.No
Net inevntoryBalance - reserved, plus the remainder of purchase orders if that option is on. Shown in the sales window if selected; the Posting Table Fields list has no entry for it.No
Posted Qty ValuePosting x Price. It has no title in the purchase window.No
Qty 2 and Qty 3The posting quantity in the second and third unit. If the material has a fixed conversion factor, the program calculates it from Posting and recalculates the other when you edit one. If it has no fixed factor, you type it, and it starts at zero after you edit Posting. For both quantities the program follows the second unit's factor only.Yes
Unit 2 and Unit 3The names of the material's second and third units.No

The purchase window does not show Reserved Qty, The remaining from purchase orders or Net inevntory. In a window opened from an order window, the columns Warehouse, Category, Expiry Date and Cost center appear only if the order form shows the same field, and Combination only if the form shows it.

Line colours​

ColourMeaning
PurpleAn item of a special offer (a detail line of an offer).
Grey-greenA completely fulfilled item: nothing pending, and all its gifts posted.
Light blueA partly fulfilled item: pending is less than demand and more than zero.
Dark slate blueAn item with nothing fulfilled: pending equals demand.
Warning colourA phase cell that is not one of this order's phases, or the price cell without permission.

Editing cells​

  • Posting: after you type the quantity the program formats it to the quantity precision, and drops the fraction if the material takes whole numbers only. If it is more than the line's quantity in the From phase, the question "Quantity to be posted is more than quantity left" appears with Ok and Cancel; Cancel restores the old value. A negative value becomes 0.00. The program then calculates Qty 2 and Qty 3 and updates the totals.
  • From: changes the source phase, and the program puts in Posting the line's quantity in that phase. If the form forces the order of phases, it also sets To to the next phase.
  • To: the program puts in Post Gifts the item's remaining gifts (or zero if To does not post to an invoice), and returns the category, expiry date, cost center and warehouse to what is in the order.
  • Post Gifts: if it is more than the remaining gifts, the message "Gifts quantity to be posted is more than quantity left" appears and the program puts the remainder.
  • Posting Date: it must fall inside the financial period of the file. If you type anything else the program restores the old value without a message.
  • Qty 2 and Qty 3: if you type more than the From phase holds, the same question appears. A negative value becomes 0.00.
  • Warehouse and Cost center: search by name or code in a search window. The search lists only warehouses and cost centers that have no sub-levels.

The row menu​

Right-click the row number. The usual row items appear (see Grid properties and Extra grid menus), then these two items:

ItemWhat it does
View OrderOpens the order window of the order the line belongs to, with its form.
Material CardOpens the card of the line's material.

The table never deletes lines or clears cells: the delete and cut items of the menu do not remove a line from it.

Special keys​

  • F5: reloads the table with the current filter.
  • F12 in the window opened from an order window, on a line that has a material: opens the quantity details of the material. If the order option Allow posting more than one category or expiry date of the same material is on, To posts to an invoice, and the material has a category or expiry date that the order form shows, the quantity details window described in Order pages: preparation, posting, dividing and paymentsopens. If the option is off, then in an output form that shows the warehouse, category, expiry date or cost center, the window for choosing the quantity from the warehouses opens. After you choose, the program puts the chosen warehouse, category, date and cost center in the line, and refuses an expired material with "Material is expired, please pay attention" if the form forbids issuing it.
  • While the information window is open, moving between lines shows the order, item and phase quantities in it. See Information windows.

Filter​

It opens from Filter.... It decides which orders load into the table and how they are sorted. When you click Ok the program saves the sort in your options, then loads the table.

FieldDescriptionValues and rules
Orders TypesThe list of order forms, all ticked at the start. The program loads only the ticked forms.Tick at least one, or the message "At least one order type should be selected" appears. In the sales window it lists only the forms you may browse. If the window was opened from an order window, only that order's form is ticked. If the Egyptian tax system is on, the program does not accept an Egyptian-tax order form and shows "Cannot select a previously used order type as an order type within the General tab in Egyptian tax settings".
View Options > Show Closed OrdersAdds finished orders.Unticked: only unfinished orders show.
View Options > Show Canceled OrdersAdds cancelled orders.Unticked: only orders that are not cancelled show.
View Options > Show Unapproved OrdersAdds orders that were rejected in approval.Unticked: the program shows orders that need no approval and orders whose approval was not rejected, that is, not approved yet or approved partly or fully. It does not allow posting from an order whose approval is incomplete (see Messages).
Order Status > FromThe phase posting starts from.Starts on the first phase. Sets the first From value in the lines.
Order Status > ToThe phase to post to.Starts on the first phase. Sets the first To value in the lines.
Order Date > From and ToThe date range.The program compares it with the dates of the item phase movements, not with the order date alone (see The table). It starts at the beginning of the financial period if the program option "Start Date" is beginning date is on, otherwise at the first of the current month, and ends today, or at the end of the financial period if today is later.
AccountThe customer or supplier account.Empty: all accounts.
MaterialOne material.Choosing it disables Group.
GroupA material group and its children.Choosing it disables Material.
WarehouseThe warehouse of the items.Empty: all warehouses.
Cost CenterThe cost center of the items.Empty: all cost centers.
CustomerThe customer of the order.Empty: all customers.
Order NoOne order number.0 or empty: all numbers. If the window was opened from an order window, the program writes its number.
Sort byThe order of the lines.Starts on what you chose last (the program keeps it for each user), and on the first item the first time. The items in order: Order Code, Material Code, Material Name, then the material card fields Size, Source, Location, Manufacturer, Color, Provenance, Type, Model and Specifications (by the names shown in your program), then Group Name. Order Code sorts by order name, then item number, then material code; all the others sort by their field, then material code, then order name.
Materials TermsA saved condition on materials.Without or a condition name. See Customize Conditions.
Customers TermsA saved condition on customers.Without or a condition name.
Order TermsA saved condition on orders.Without or a condition name. See Order conditions.
ButtonWhat it does
OkChecks the ticked types, prepares the chosen conditions and loads the table.
CloseCloses the window without changing the table.

The Save as default item of the system menu works as Save a window's values as default explains.

The program always hides the items whose order or material has a security level above your permission.

Under each condition list there is a table showing the lines of the chosen condition, and five small picture buttons with no text: new, modify, delete, save and update. They work as they do in the materials tools, explained in Modify group prices. If you choose a condition and edit its table without saving, the program uses the table when you click Ok, and the saved condition stays as it is.

Customize Conditions for materials and customers​

It opens from New and Modify under Materials Terms or Customers Terms. Its title is Customize Conditions.

FieldDescriptionRequiredValues and rules
DescriptionThe name of the condition, shown in the list of conditions.YesNot repeated among the conditions of the same kind. If left empty the message "Please enter description." appears. If repeated, the message "Description is already in use. Can't use same description again" appears.
The conditions tableOne line for each condition, with the columns Field, Condition, Text and Link.YesSee below.
The preview (a disabled box)Shows the condition written on one line, and updates with every edit.—Read only.
ButtonWhat it does
OkChecks the name and the table lines, then saves the condition.
PreviewUpdates the preview box.
CancelCloses the window without saving.

The table columns:

ColumnWhat it does
FieldA material or customer field, a custom field, a segment, or the parentheses ( and ). The names of some fields follow the names you set in the program options.
ConditionThe operation: Contains, Doesn't Contain, Start with, Not Start with, Ends with, Not End with, Equal, Not Equal, More than, Greater than or Equal To, Less than and Less than or Equal to.
TextThe value to compare. For some material fields (size, source, location, manufacturer, model, type, provenance, colour) a list of the values in use appears, and for a yes/no field a list. Dates use your program's date format.
LinkAnd or Or between this line and the next.

Choose ( in the Field column to open a parenthesis and ) to close it. You cannot edit Condition and Text in a parenthesis line. Ok and the buttons that save check the condition and show the same messages that are listed in Modify group prices.

The Materials Terms fields: the two parentheses, then Material Code, Material Name, Latin name, Barcode, Second Unit Barcode, Third Unit Barcode, Specifications, Group, Group Code, Size, Source, Location, Manufacturer, Model, Type, Provenance and Color; the six prices of the first unit (Wholesale Unit Price, Semi wholesale Unit Price, Retail Unit Price, Export Unit Price, Distributor Unit Price, Consumer Unit Price); Minimum Limit and Maximum Limit; Value Added Tax if the licence includes material tax; then the same six prices in the second unit (such as Wholesale Price in Second Unit) and in the third unit; then the custom fields of materials and the segments.

The Customers Terms fields: the two parentheses, then Customer Name, Details, Nationality, Phone1, Phone2, Fax, Telex, Notes, Latin Name, Email, Website, Prefix, Suffix, Region, City, Street, Post Box, ZIP Code, Mobile, Pager, Country, Field 1 to Field 4, Certificates, Work, Nature of Work, Gender, Hobbies, Account Code, Sale Price, Percentage Discount, Sales Channel, Customer Type and Offer Code, and Customer Type (the tax one) if the Saudi tax system is on; then the custom fields of customers.

The permissions Materials Terms - Add, Materials Terms - Modify and Materials Terms - Delete control the small buttons, and so do their counterparts for Customers Terms. Without the permission the message "You do not have permission" appears.

Order conditions​

It opens from New and Modify under Order Terms, with the same title (Customize Conditions), but with order fields. Its name field is Desc and its buttons are at the side. The permissions are Order Terms - Add, Order Terms - Modify and Order Terms - Delete, and Save works with the Modify permission.

The differences from the materials and customers window:

  • The program does not check for a repeated name among order conditions, but between the name and the names of invoice conditions. If the name matches an invoice condition the window stays open and no message appears; change the name.
  • The condition fields are order and item fields: Code Currency, Currency Name, Category, Expiry Date, Delivery Date, Width, Length, Height, Gifts Discount, Items Discount, Items Additions, Salesman and Distributor (if the salesman and distributor invoice fields are in the licence), Cost Center Code and Center name (if the licence includes cost centers), Price, Percentage Discount, Shipping Type, Shipping Company, Delivery Terms, Expected Date, Order Notes, Shipping Terms, the eight dates of shipping, arrival, delivery and letter of credit (suggested and agreed) and Order No, then custom fields and segments.
  • Date fields use the Hijri format if your program uses it.

Enter materials manually​

It opens from Enter Mat. Manually, and it does not block the main window. Use it to fill the Posting column for materials you choose from the table's items: enter the material and the quantity, then choose the two phases.

FieldDescriptionValues and rules
Posting DateThe date put on the lines.Today at the start.
Post fromThe source phase of all lines.Starts on the first phase.
Post toThe target phase.Starts on the first phase. It and its label disappear if the file forces the sequence of posting, and then each line stays on its own phase.
The materials tableThe columns Material Name, Unit and Qty.Unit is read only.

In Material Name, type part of the code, the name or the barcode, and the Select order materials window opens. It lists only the items now in the table, with the columns Material Code, Material Name, Unit and Posted Quantity, and then whatever is visible in the main table (Category, Expiry Date, Warehouse, Cost center). After you choose, Unit fills and the quantity 1 is put in. The quantity takes whole numbers only; any other text is cleared. Delete the cell to delete the line.

The corner menu of the table has an extra item: Import Materials (Ctrl+R), which opens Read Materials from File. Ctrl+R and Ctrl+O work from the keyboard too.

ButtonWhat it does
OkChecks the two phases, then writes into the posting table.
CancelCloses the window without changing anything.

On Ok:

  1. If Post to is visible and its phase number equals that of Post from, the message "Cannot post to the same phase" appears; if it is lower, "Cannot post to a previous phase".
  2. The program adds up repeated quantities of one item.
  3. For each item of the main table that you collected, it sets From, To, Posting and Posting Date.
  4. For each item you did not mention it puts 0.00 in Posting, even if it had a quantity before.
  5. The window closes.

Read Materials from File​

It opens from Import Materials in the corner menu or with Ctrl+R. Its title is Read Materials from File. It reads a text file with a line for each material and puts its quantities in the manual entry table from the current line, for the materials that exist among the table items only.

FieldDescriptionRequiredValues and rules
FileThe path of the file.YesThe program remembers the last path. The small button next to it opens a text file picker.
File FieldsThe list of what each line holds, in order: Material Code, Material Name, Qty and Unit.YesTick the fields your file has. They must come in the line in this fixed order: code, name, quantity, unit; reading of a line stops at the first empty field. Tick at least one.
ButtonWhat it does
OkChecks, then reads the file and fills the table.
CancelCloses the window.
OptionsOpens the Export Options window to set the field separator and the encoding. See Export options.

The messages are "File Name Missing", "The file not found", "Must select an item" (you ticked no field) and "File is empty". A material that matches no item is skipped without a message. The program puts in the table the material code, name and the whole part of the quantity.

Cover from Warehouse​

It opens from Cover from Warehouse in the sales window. It divides the quantity of every item between two phases by the available balance, then starts posting at once. It needs the permission Cover sales order from warehouse.

FieldDescriptionValues and rules
Move from StatusThe source phase.Lists the phases whose quantity does not count as fulfilled. Starts on the first.
Move Available Qty toThe phase of the quantity the balance covers.Lists the phases that have no operation, or post to an invoice or a transposition.
Move Pending Qty toThe phase of the quantity the balance does not cover.without or a phase that has no operation. Starts on the first phase that has no operation, if there is one, otherwise on without.
Post available quantity to reach minimum limitLeaves the material's minimum limit in the warehouse.Unticked.
Generate orderGenerates a new order with the quantities not covered.Unticked. It enables the next items.
Generate PO for the pending QtyThe type of the new order.The default. Disabled until you tick Generate order.
Generate Sales Order for the pending QtyThe other type of the new order.Disabled until you tick Generate order.
To reach maximum limitAdds to the new order what brings the balance to the material's maximum limit.Disabled until you tick Generate order; ticking it disables To reach current balance.
To reach current balanceAdds to the new order what brings the balance to its current value.Disabled until you tick Generate order; ticking it disables To reach maximum limit.

On Ok the program changes each line of the table, then starts posting. For each line let D be the line's quantity in the Move from Status phase, S the Stock column, and L and H the minimum and maximum limit in the material card:

  1. It puts From on the Move from Status phase, To on the Move Available Qty to phase, and Posting on D.
  2. If the balance is negative it changes nothing more in the line.
  3. Otherwise Posting becomes the smaller of D and S (and of D and S - L if you ticked Post available quantity to reach minimum limit). The remainder R is D - Posting.
  4. If you chose a phase in Move Pending Qty to, it differs from the source phase and R is more than zero, the program adds a new line, a copy of the line, with quantity R and To set to that phase.
  5. To generate the new order the program records a quantity for each line: R, plus H - L if you ticked the minimum limit and To reach maximum limit, or S - L if you ticked the minimum limit and To reach current balance, or H or S if you ticked one of those two alone. If the balance covers the whole demand without reaching the minimum limit, it adds only R when Generate order is ticked. With Post available quantity to reach minimum limit ticked alone, when the balance covers the demand and still keeps the minimum, it records L. The quantities are used only if you tick Generate order.
  6. The program starts posting for all the lines of the table after the change, and the usual posting questions appear.
  7. If you ticked Generate order, after posting (even if you cancelled it) the program opens the Bill data window titled Purchase Order Details (or Sales Order Details) so you choose the new order's form and warehouse. After Ok it creates nothing if the Move Available Qty to phase does not post to an invoice. Otherwise it saves the order with the recorded quantities, records the first phase of its form, and opens its window.

Example: an order of 10 rice bags and a balance of 4, with no option ticked. D = 10 and S = 4, so Posting becomes 4 from Move from Status to Move Available Qty to, and a line of 6 bags is added to Move Pending Qty to.

What happens when you post​

The program reads the table values (including what you edited), then follows these steps. Steps 1 to 3 are checks: if an error message appears in them, posting stops and nothing is saved. After them, the operations run one by one, and whatever was saved stays saved if a later operation fails.

  1. Checking the lines one after the other; the message gives the line number. From and To must not be the same phase; To must not be before From; Posting must not exceed the quantity in From unless you have the permission Allow to post quantity more than Order quantity; the quantity in To after posting must not exceed the order quantity (the program asks in this case); Qty 2 and Qty 3 must not be zero if their columns show, for a material whose second unit has no fixed conversion factor; the quantity details must equal Posting; you must have the permission to post to the chosen phase (each phase has a permission named Posting to a state and the phase name); and the order must be approved if its form requires approval. The check stops at the first line whose form does not require approval, so the lines after it are not checked. It also stops after the line that raises the exceeded-quantity question when you click Ok.
  2. Unit quantities: for lines that post to an invoice and whose second unit has no fixed conversion factor, Qty 2 and Qty 3 must not be zero. The program does not read the third unit's own setting; it follows the second unit's. The message appears and the cursor goes to the cell.
  3. Net inventory after reservation: in sales orders, if the order reservation system is on and the To phase reserves the quantity or counts it as fulfilled, the program compares the required quantity (after deducting what was reserved in the From phase) with the net inventory. If a program option prevents issuing after reservation, or you do not have the permission Negative Materials Ouput, the message "Net inventory quantity is insufficient to reserve" appears with the quantities, and posting stops. If the option only warns, the message "Material quantity in warehouse has become negative" appears with the quantities and the buttons Close and Don't Show Again; posting goes on after either.
  4. Phases that generate an invoice (forward): for each target phase that generates an invoice, the program asks "Posting to Bill. Are you sure?". On Yes it opens Bill data, checks the date (see Messages), the expiry date of the category and the custom fields, then generates the invoice (or one invoice per order), records the phase movements in the order, and opens the generated invoice (the last one if it generated several) unless the order option Don't show invoice directly after posting is on. One invoice is generated for each target phase. If two target phases have the same invoice form, the lines of the second phase are not posted; post them in a second run.
  5. Transposition: if the phase posts to a transposition it asks "A transposition will be generated.Are you sure". On Yes it opens Transposition Notes.
  6. Manufacturing: it asks "Manufacture Operations will be generated.Are you sure". For each material it runs the command that generates manufacturing from the material's manufacturing form. If the material has no form it asks "No manufacturing form for this material, material will be posted. Are you sure? Material :".
  7. Assembly invoice: it asks "Posting to the assemble bill. Are you sure?" and opens Assembly Invoice Details.
  8. For lines that step 1 did not check: posting to an earlier phase of a phase that posts to an invoice, a transposition, manufacturing or assembly: the program generates nothing. It asks, for example, "Posting to ex-phase. Phases will be modified without generating an invoice. Do you agree", then records the phase movements only.
  9. Phases with no operation: it asks "Materials Quantities will be posted. Are you sure?", then records the phase movements.
  10. After posting: it reloads the table with the same filter. If the order option End the order automatically after reaching the last phase is on, the program finishes each posted order whose quantity in the last phase reached the sum of the ordered quantity, and writes a finish entry with "Auto" in the operations log for every order in the table. If generating started but nothing was posted (even after a refused invoice date), the message "An error occurred. Bill wasn't saved" appears.

What the phase movements record​

For each item you post, the program records two movements in the order: - the quantity in the From phase and + the quantity in the To phase, dated with the posting date. Both carry the posting number (it grows by one with each posting of the order), the number of the invoice or transposition that came out, and its line number. This changes the phase columns and the Fulfilled and Pending columns in the table, and the posting shows in the orders reports.

Worked example​

Sales order no. 3 for the customer "Alnakheel Est.", with one item: rice, 10 bags at 5.00. The form has two phases: "Received", with no operation, and "Delivered", which posts to an invoice and whose quantity counts as fulfilled. The item is in "Received" with 10. The rice balance in the shipping warehouse is 100.

  1. Click Filter..., keep From on "Received", choose "Delivered" in To, and click Ok. The item shows: Demand 10, Fulfilled 0, Pending 10, Posting 10.
  2. Type 6 in Posting. Total Posted Quantity becomes 6 and Total Posted Values becomes 30.00.
  3. Click Post and answer Yes. In Bill data choose the sales invoice form (credit), check the warehouse, and click Ok.
  4. If the question "The date is later than the order date" appears, click Yes.

The result:

EffectValue
The invoiceA sales invoice with one line: rice 6 x 5.00 = 30.00.
The warehouseThe rice balance in the shipping warehouse goes from 100 to 94.
The entry, if the invoice form generates an entry automaticallyAlnakheel Est. debit 30.00 and Sales credit 30.00. The entry and its accounts come from the invoice form.
The order"Received" 4, "Delivered" 6; Fulfilled 6 and Pending 4.

Click Post again after you put 4, and the order is complete: Fulfilled 10, Pending 0, and the line turns grey-green (and the order is finished if that option is on).

Bill data​

It opens when you post to a phase that generates an invoice. Its title is Bills Notes, and it is the same window that opens when you generate a new order from Cover from Warehouse (its title then is Purchase Order Details or Sales Order Details). It starts with the order's values if you post one order, and with the values the orders share if you post several.

FieldDescriptionRequiredValues and rules
Invoice TypeThe form of the generated invoice.YesLists the sales forms (for sales orders) or the purchase forms (for purchase orders) that you may see. If the phase counts its quantity as fulfilled, the forms that post materials are listed; otherwise the forms that do not post materials. It starts on the invoice form set in the phase. If the Syrian VAT system is on, only the forms with the same tax system as the phase's form are listed. Disabled if the phase locks the default invoice form. When you generate a new order from Cover from Warehouse it lists the purchase or sales order forms.
CustomerThe invoice customer.Yes if the payment is on credit or the Gulf tax system is onStarts with the order's customer if the items belong to one customer. Disabled when you post from several orders. If you may not browse the customer, the words "You do not have permission" appear.
AccountThe customer account.NoShows the customer account for credit payment, and is disabled. With cash payment the program uses the invoice form's default cash account whatever you type here. If you may not browse the account, "You do not have permission" appears.
AddressThe customer address.NoA list of the customer's addresses.
DateThe invoice date.YesToday at the start. Disabled if the invoice form forces the posting date.
CurrencyThe invoice currency.YesStarts with the order's currency. Disabled when posting orders.
ParityThe number of base-currency units in one unit of the currency. The equivalent box sits next to it.YesStarts with the order's rate.
WarehouseThe invoice warehouse.YesStarts with the order's warehouse. The search list shows only warehouses that have no sub-warehouses. The message "Please select Warehouse" appears if it is empty.
Cost CenterThe invoice cost center.Yes if the order option Force cost center when generating the invoice from order is onStarts with the order's cost center.
NotesThe invoice notes.NoEmpty at the start; it takes up to 800 characters. The invoice notes get the order name and notes, or the order notes alone if you cleared Generate auto note of invoice posted from order, or "Generated from Several Orders" for several orders, then " - " and what you type here. If you turned on the program option Copy bill due date to notes, it adds the maturity date. If you turned on the order option Insert the order number of which the invoice is generated from in field No.1, it writes the order number in the invoice's first field.
Distributor and SalesmanThe invoice distributor and salesman.NoStart with the order's values.
Letter of CreditThe invoice letter of credit.NoShown in purchase orders if the phase counts its quantity as fulfilled.
Payment MethodCash, On Credit, or a bank card defined in the file.YesStarts with the order's method. It changes only if the order option Link payment to generated invoices is on. Choosing Cash on a form that forces credit shows "You can not use cash payment, only pay credit is available for your".
Use selected warehouse for all order line itemsUses the warehouse written here for every line instead of each item's warehouse.NoUnticked: each line keeps its warehouse. Not shown when generating an order.
Generate Invoices by OrdersGenerates a separate invoice for each order, with its own customer, payment method and currency.NoDisabled if you post one order, and hidden when you generate a new order. When ticked, the fields that come from each order are disabled. The notes of each invoice are the abbreviation of the order form, the order number and its notes. In this case the order number is not written in field 1, nor the customer address.
Activity Type and Invoice Type (the second)Two fields for Egyptian tax invoices.When neededShown only for an Egyptian-tax order. The sale type is Local Sale or Export Sale.

The fields Customer, Warehouse, Cost Center and Parity cannot be changed unless you have the permission Modify Information of Bill Posted from Sales or Purchase Order (when posting one order, and Customer stays changeable with credit payment). Date, Invoice Type, Notes, Distributor and Salesman need no permission.

ButtonWhat it does
OkChecks, then returns the data to the posting.
CancelGoes back without posting.

On Ok these messages appear before the window closes:

  • No form: "Please select Bill".
  • Items of several orders that differ in customer, payment method, currency, order form or total discounts and additions, without Generate Invoices by Orders ticked: "Can’t generate the invoice! There is a difference in customer name, payment method, currency, order form, or discounts or additions in one of the posted orders. Therefore you can activate 'Generate Invoices by Orders' option".
  • You may not enter this form: "You don't have the authority to save in the specified security level", unless you have the permission Pass the permissions of invoices through orders.
  • If you did not tick Generate Invoices by Orders: no customer with credit payment: "Please select Client Name". No warehouse: "Please select Warehouse". No payment method: "Please Select Method of Payment". No cost center with the option: "Cost Center should be selected".
  • An Egyptian-tax form with a non-tax order or the reverse: "The sales bill to be posted must be the same as the sales bill type defined within General tab in Egyptian tax settings." or "Cannot use a bill form linked to an order not defined as an order type in Egyptian tax".

After Ok the program checks the invoice date (see Messages), then generates the invoice. The values carried to each line:

  • The material, the quantity in the line's unit and the gifts, the dimensions, the warehouse (the item's, or the one chosen in the window), the cost center, the category, and the production and expiry dates.
  • The line notes: if the order option Generate items auto note after posting order to an invoice is on (it is by default), the program writes the item notes between parentheses, then the abbreviation of the order form, the order number and the item number. Otherwise it carries the item notes alone.
  • The price: the order price multiplied by the currency rate. With the order option Change order price to the price specified in the invoice form on, it uses the default price of the invoice form. If the order price is zero, it uses the default price of the order form.
  • Tax: the material's tax, and zero for an exempt customer.
  • Discount and addition: the line's discount and addition ratios calculated from their values in the order, and the order's total discount and addition as a ratio of the order.
  • The invoice is saved and posted the same way the invoice window saves it. Its source is "order". What it does to the warehouse and the entry is decided by its form. See How bills work.

Custom Fields​

The Custom Fields window opens before the invoice is generated if your licence includes custom fields and the chosen invoice form has at least one mandatory custom field. It has one page named Custom Fields, with the fields of the group linked to the invoice form. You must fill the mandatory fields.

ButtonWhat it does
OkChecks the fields and keeps their values to save with the invoice.
CancelCloses the window. The program then checks the mandatory fields, and if one is empty posting stops.

The field values are saved with the generated invoice, and with each invoice if you generate several by orders. Custom fields explains how to define them.

Transposition Notes​

It opens when you post to a phase that posts to a transposition. Its title is Transposition Notes.

FieldDescriptionRequiredValues and rules
Transposition TypeThe transposition form.YesLists the transposition forms you may use, by their names without the prefixes "Out." and "Inp.". When you choose a form the program puts in the two warehouses the default warehouse of its output and input invoice forms.
Currency and ParityThe currency and its parity, with the equivalent box beside it.NoStart with the order's currency and parity when the window was opened from an order window; otherwise empty.
DateThe transposition date.YesToday at the start.
Distributor and SalesmanThe distributor and salesman of the transposition.NoStart with the order's values when the window was opened from an order window; otherwise empty.
From > WarehouseThe output warehouse.YesThe message "Please select Warehouse" if left empty.
To > WarehouseThe input warehouse.YesThe same message.

If you choose no form, the message "Please select Bill" appears.

On Ok the program generates two invoices: an output from the source warehouse, then an input to the target warehouse, with the same lines and the same prices, and links them as one transposition. The transposition notes are the order name and notes, and the notes of each line are the abbreviation of the order form, then "Order No" and its number, then "Material Row Number" and the item number. The line price is the order price, and if it is zero, or the order option Change order price to the price specified in the invoice form is on, the default price of the output invoice form. The phase movements stay recorded with the transposition's name and number.

Its effect on the warehouses: the balance of the source warehouse goes down and that of the target warehouse goes up by the quantity of each line. If saving the second invoice fails, the first stays saved and unlinked, and a save-failure message appears.

Assembly Invoice Details​

It opens when you post to a phase that posts to an assembly invoice, if the lines include an assembled material with a quantity above zero. Its title is Assembly Invoice Details. If no line has an assembled material, the program generates nothing and records no phase movement. If one does, the phase movements are recorded for all the lines posted to this phase, with the output invoice. If you choose no form, the message "Please select Bill" appears.

FieldDescriptionRequiredValues and rules
Assembly Invoice TypeThe assembly form.YesLists the (old-style) assembly forms that have no default final invoice. When you choose it the program puts the input and output warehouses from the two forms, and the distributor and salesman from the output form.
Currency and ParityThe currency and its parity, with the equivalent box beside it.No
DateThe date used to read the material prices; not written to the two invoices.YesToday at the start.
Distributor and SalesmanNot carried to the two invoices.No
Input > WarehouseThe warehouse of the input invoice (the assembled product).YesThe message "Please select Warehouse".
Output > WarehouseThe warehouse of the output invoice (the components).YesThe same message.

On Ok the program generates in one operation:

  1. An input invoice for the assembled product with the posted quantity. If the input form has a default price and shows the price, the product price is the material price of the input form's default price (the average when that price is the cost), otherwise the order price. If the input form's default price is the sum of component prices, the product price is that sum.
  2. An output invoice for the components: for each component in the material's composition, its quantity x the product quantity. The component price follows the output form's default price, if that form shows the price and has a default price. The discounts and additions of the output invoice are cleared.
  3. The assembly detail records and the link between the two invoices.

If any part fails, the whole operation is cancelled. If you click Cancel, nothing is generated. After success the phase movements are recorded with the output invoice. Their effect on the warehouses: the input warehouse goes up by the assembled product and the output warehouse goes down by the components.

Export and import​

  • Export: asks for an XML file name (default extension xml) and writes the current filter into it, and for each line: the order, the material, Posting, the item's quantities in the second and third unit, From, To, Post Gifts, the date, the price and the notes.
  • Import: opens a file in that format. If the order type in it (sales or purchase) is not the type of the window, the message "Order Type wanted to be restored is different from Order Type in this window" appears. Otherwise the program uses the filter in the file, reloads the table, and applies the file values to every line whose order and material match. Lines it does not find in the table are skipped.

After Import, the Posting column shows a date instead of the quantity when it is in its first position, and Posting Date stays today. Type the quantities and the date again before you click Post.

Messages​

MessageWhy it appearsWhat to do
Can't Post to the same status! Line …A line has From and To on one phase, and Posting is above zero.Change To.
Can not post to a previous state. Row …To is before From.Change the phase.
Quantity Posted to will Exceed Demanded Quantity: line …The line's quantity in the To phase plus what you post exceeds the demand.Ok to go on, or Cancel to go back.
No Permission to post an order bigger than the order quantity in Line …Posting is above the From quantity and you lack that permission.Lower the quantity, or ask for the permission Allow to post quantity more than Order quantity.
You are not authorized to post to the specific state. Row …You lack the permission Posting to a state of this phase.Ask for the permission.
Cannot post to Unapproved order! the line …The order form requires approval and it is not complete.Complete the approvals.
There is a difference between the quantity to be posted and that specified in Material Quantity window, line …The sum of the quantity details differs from Posting.Fix the details or the quantity.
Quantity2 equals 0 in line … / Quantity3 equals 0 in line …For a material whose second unit has no fixed conversion factor, Qty 2 and Qty 3 must not be zero when their columns show.Type the quantity.
Quantity to be posted is more than quantity leftYou typed in Posting, Qty 2 or Qty 3 more than the From phase holds.Ok or Cancel.
Gifts quantity to be posted is more than quantity leftPost Gifts is above the remainder.The program puts the remainder.
Order status should be defined in Order Status CardNo phases are defined for the requested type.Define the phases in the Order Phase Card.
There is no movement on accounts during specified periodThe filter matches no item.Widen the filter.
Error: …The query for the orders failed.Check the database connection.
Order Type wanted to be restored is different from Order Type in this windowYou imported a file of the other type.Open the window of the right type.
Posting to Bill. Are you sure? / A transposition will be generated.Are you sure / Manufacture Operations will be generated.Are you sure / Posting to the assemble bill. Are you sure? / Materials Quantities will be posted. Are you sure? / Posting to ex-phase. Phases will be modified without generating … Do you agreeA confirmation before each kind of operation.Yes to go on, No to skip.
Messages of the Bill data window: Please select Bill, Please select Client Name, Please select Warehouse, Please Select Method of Payment, Cost Center should be selected, and othersSee Bill data.Fix the field named.
The process date is before Entry Type Lock DateThe invoice date is before the invoice form's lock date.If you have full authority and the option Force lock date on full authority users is off, the program asks if you want to go on. Anyone else is stopped.
A message that starts with an empty line, then «Do you want to continue?» or «Can't continue», and shows «Entered Date» and «Bills Lock Date» with their dates and the line «You can change the date from File >> Program Options >> Default Values»The date is before the bills lock date of the file.As above.
A message that starts with an empty line, then «Do you want to continue?» or «Can't continue», and shows «Entered Date», your operations lock date and the line «You can modify the date from Tools menu-Management-Lock Operations by Users»The date is before the operations lock date for you.As above.
The date is before the order dateThe invoice date is before the order date, and the warning option Date is before today is on.Change the date.
The date is later than the order dateThe invoice date is after the order date.Yes to go on.
Date is prior to period beginning date / Date is after ending dateThe invoice date is outside the financial period.Type a date inside the period.
Order is finished or closed and cannot be postedYou clicked Post Order... in a finished or cancelled order and you are not the administrator.Open an order that can be modified.
There is category with incorrect expiry date, can't continue!The option linking category to expiry date is on and a line's category has no valid expiry date.Fix the category or the date.
Net inventory quantity is insufficient to reserveReservation prevents issuing after reservation.Lower the quantity.
An error occurred. Bill wasn't savedSaving failed after generating started.Read the message that appeared before it.
Sold with negative balance / Sell Materials Exceeding Minimum Limit / Sell Materials Exceeding Re-order Point / This process can't be executed because the output became negativeThe generated output invoice posts automatically and makes the stock of a material negative or under the limit, and you lack the matching permission or the file forbids negative output. The invoice is not saved.Lower the quantity or ask for the permission.

This page applies to alameen ERP 10, version 10.1.79.764.