Skip to main content

Import Shipping Bill

There are two import windows with the same name, each in a different file. In a profit center's file you import a shipping bill that head office sent, to receive it in the center. In the head office file you import a returns bill that the center entered, to create a shipping return from it. The window connects to the other file directly and reads the bill from it. For the steps, see Import a shipping bill from head office.

Opening the window​

To open either window your licence must include profit centers. In the center's file you need the Profit Centers - Import Shipping Bill permission, and in the head office file the Profit Centers - Import Shipping Returns Bill permission. Both are on the Operations page of Users Management, each in its own file only.

FileHow to openWindow title
Profit center fileCenters > Profit Centers > Import Shipping BillImport Shipping Bill from Management
Head office fileCenters > Tools > Tools > Import Shipping BillImport Shipping Returns Bill from Profit Center

The command in the head office file is also named Import Shipping Bill, but it imports returns. A profit center file is a file whose options say that it belongs to a profit center.

Import a shipping bill in the center's file​

FieldDescriptionRequiredValues and rules
Bill NumberThe shipment number in the head office file, the number the navigator of Shipping to a Profit Center shows.YesA whole number. Only shipments of the type Shipping to a Profit Center are read.
Date of receiptThe date of the receipt bill created in the center.YesStarts with today. It must not be before the shipment date, nor fall on a closed day or before the lock date of operations or bills. The program asks you if it is after today.
Connection statusThe state of the connection to the head office file.—Read only: "Not connected" when the window opens, "Connected" after a successful connection.
ButtonWhat it does
ConnectConnects to the head office file with the connection parameters saved in the center's options. If it succeeds, it writes "Connected" and enables Import. If it fails, it shows "An error occurred in connection settings.They should be correctly specified" and writes "Not connected".
ImportImports the bill. Dimmed until the connection succeeds.
CloseCloses the window and cuts the connection.

On Import the program checks, in order: the bill number, then the date, then the lock date of the file and of the form, then that the day is not closed. It then reads the shipment and checks:

  • That the shipment exists in the head office file with this number. If not, it shows "There is no invoice bearing this number in the invoice form specified in the profit center's options".
  • That Date of receipt is not before the shipment date.
  • That the profit center is linked to the center's card in management, and that the shipment is addressed to this center.
  • That the shipment receipt bill form set in the center's options has a default warehouse.
  • That the center's options are complete.
  • That there is no earlier receipt bill for this shipment. If there is, the program asks "Invoice exists and will be replaced. Do you want to continue" and deletes it if you answer yes.
  • That the currency and the materials exist in the center's file.
warning

The earlier receipt bill is deleted when you answer yes, before the currency and the materials are checked. If one of these checks fails, the old bill does not come back: fix the cause, then import again.

Then the program saves the receipt bill, posts it and generates its entry if its form does so automatically, shows "Invoice has been successfully generated", opens the bill, and records the operation in the operations log.

Import a returns bill in the head office file​

The Import Shipping Returns Bill from Profit Center window with the profit center, bill number, date of receipt and connection status Not connected

FieldDescriptionRequiredValues and rules
Profit CenterThe center you import from.YesA sub profit center. Changing it resets the connection status to "Not connected" and dims Import.
Bill NumberThe number of the returns bill in the center's file.YesThe number of a bill of the form that the center's options name as the shipping returns bill.
Date of receiptThe date the return is received in head office.YesStarts with today. It must be inside the financial period and not before the lock date or the date of the center's bill. The program asks you if it is after today.
Connection statusThe state of the connection to the center's file.—Read only.
ButtonWhat it does
ConnectConnects to the chosen center's file with the connection parameters saved in its card. If no center is chosen, it shows "Please specify a sub profit center". It succeeds or fails as Connect above does.
ImportImports the bill. Dimmed until the connection succeeds.
CloseCloses the window and cuts the connection.

On Import the program checks the center, the bill number and the date, then reads the bill from the center's file and checks:

  • That the center's settings are complete.
  • That the bill exists in the shipping returns form. If not, it shows "There is no invoice bearing this number in the invoice form specified in the profit center's options".
  • That the bill materials are the center's materials. The program lists the materials that are not, from the first ten lines.
  • That Date of receipt is not before the bill date.
  • That the materials exist in the head office file.
  • That there is no earlier shipping return from the same bill. If there is, it asks "Invoice exists and will be replaced. Do you want to continue" and deletes it if you answer yes.

Then the program creates a Shipping Returns from a Profit Center document dated as the center's bill, with the Date of receipt you typed, and with the bill's materials, quantities, unit prices and currency, without its discounts, extras and taxes, and with the next shipping return number. It takes the center's accounts and warehouses from its card. If the center has a goods in transit warehouse, the return is in transit, and you receive it from the returns window. The program shows "Invoice has been successfully generated", opens the document, and records the operation.

What is created​

  • In the center's file: an input bill of the shipment receipt form in its default warehouse, dated the date of receipt, with the shipment's materials, quantities and unit prices, posted, with its entry generated, if its form does so automatically. The program links it to the shipment, so if you import the same shipment again it replaces the bill. The accounting effect of the bill follows the form's settings.
  • In the head office file: a shipping return with its entry and transposition, as in the window page.

Example in the center's file: head office shipped number 7 on 1/3/2026, with 100 units of rice at 5.00 and 50 units of sugar at 8.00. In the center you type 7 in Bill Number and 3-3-2026 in Date of receipt. A receipt bill dated 3/3/2026 is created with two lines, rice 100 and sugar 50, worth 900 at the shipment prices.

Example in the head office file: the center "Jeddah Center" entered returns bill number 12 on 5/12/2026 with 20 units of rice at 5.00. You import it on 6/12/2026, and the center has no goods in transit warehouse. A shipping return dated 5/12/2026 is created: debit consigned goods 100, credit Jeddah Center current account 100, and 20 units of rice move from the Jeddah Center warehouse to the shipping warehouse.

Messages​

MessageWhen it appearsWhat to do
An error occurred in connection settings.They should be correctly specifiedConnect failed.Check the connection parameters in the center's options or card, and that the other file is available.
Please specify a sub profit centerConnect or Import in the head office file with no center.Choose the center.
Invoice number must be specifiedBill Number is empty.Type the number.
Invoice in a closed day cannot be imported.Date of receipt is on a closed day, in the center's file.Choose a day that is not closed.
There is no invoice bearing this number in the invoice form specified in the profit center's optionsNo bill has this number in the other file.Check the number and the form set in the options.
The invoice can't be received in a prior date to its actual dateDate of receipt is before the bill date.Type the bill date or a later date.
The profit center hasn't been linked with the center's card in the managementThe center's file is not linked to the center card.Link it in the center's options.
Shipping bill doesn't belong to this center. Please enter the correct invoice numberThe shipment is addressed to another center.Type this center's shipment number.
A default warehouse must be set in receipt formThe shipment receipt bill form has no default warehouse.Set the warehouse in the form.
Profit center's settings are incomplete. Kindly complete the settingsThe center's options are incomplete.Complete them.
Invoice exists and will be replaced. Do you want to continueThe bill was imported before.Yes deletes the old one and imports again.
Currencies between the management and the center haven't been synchronized yetThe shipment currency is not in the center's file.Synchronize the currencies.
Materials not foundA material of the bill is not in the file you import into. "Shipping bill materials doesn't exist. Kindly update the materials from the management to the profit center" follows.Update the materials from head office to the center, then import again.
There is a material or more do not belong to the selected profit centerThe returns bill has a material that is not one of the center's materials.Edit the center's materials in its card.
Invoice hasn't been generatedThe earlier shipping return could not be deleted.Check the earlier return, then import again.
Invoice has been successfully generatedThe import succeeded.Review the bill or the return the program opens.

If saving fails after the checks, the program may show no message. In the head office file nothing is saved. Check the bill form, the warehouses and the accounts in the settings, then try again.

This page applies to alameen ERP 10, version 10.1.79.764.