Investment Contract
An asset investment contract hands a sub asset of the company to a customer on a consignment basis. The contract calculates no amount and creates no entry. It creates a transposition that moves the asset from one warehouse to another when the contract starts, and a reverse transposition that brings it back when the contract closes. For the steps see Record an asset investment contract.
Opening the window
- From the ribbon: Assets > Investments > Asset Investment Contract. The icon shows when the licence of alameen ERP 10 includes the fixed assets feature and the asset investment feature, and you have the Asset Investment Contract permission on the Cards page of Users Management. The permission has four levels: add, browse, modify and delete.
- From a transposition window that the contract created: click the arrow of the Display button and choose the item that starts with "Investment Contract of Contract Transposition" or "Investment Contract of Closure Transposition", followed by the record number of the contract (not Contract No). The window opens on that contract.
- From the Fixed Asset Movement report: right-click a row that comes from a contract and choose Asset Investment Contract. See Fixed Asset Movement.
From the ribbon the window opens new and empty. From a transposition or a report it shows the requested contract. If you lack the browse permission, or the security level of the contract is higher than yours, the fields show "You do not have permission" instead of the contract data. The navigator buttons and the security level work as in every card, see Record navigator and window menus.
Contract fields
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Navigator buttons | Move between the saved contracts and show the record number. | — | The record number is given by the program. It is not the Contract No. |
| Security Level | Security level of the contract. | No | The bills of the two transpositions take the same level. If you press Add with a level higher than the add level granted to you on this card, the message "You don't have the authority to save in the specified security level" appears and the contract is not saved. |
| Contract No | A number you type to identify the contract. | Yes | Text up to 255 characters, not used by another contract. Example: C-001. The program does not number it for you. |
| Customer | The customer who receives the asset. | Yes | Choose a customer card. The name goes into the transpositions. |
| Handed-Over Asset | The sub asset handed over, identified by its serial number. | Yes | The list offers only free sub assets: not under an open investment contract, not in the guardianship of an employee, and with a serial number that is in stock. With branches on, it offers the assets of the branches you can see. When you open a saved contract its asset shows even if the list would not offer it. The list shows code, name and Latin name. See Lookup boxes, edit boxes and search windows. |
| Contract Date | The start date of the contract. It is the date of the two bills of the first transposition. | Yes | Starts as today. It must fall between the opening date and the ending date of the period, otherwise the date message appears. See Date fields and calendar. |
| Contract Closure Date | The date the contract ends and the asset returns. | No | A date field with a box at its edge. In a new contract the box is not ticked, and the field shows <Without> and is read-only. Tick the box to change the date. It must not be earlier than Contract Date. See Modify and close. |
| Transposition Form | The transposition type from which the pair of bills is created. | Yes | The list offers the transposition types defined without an entry that post to stock, and on which you have the enter, browse or browse-posted permission. They are defined in Transposition Types. When you choose a type the program fills Output Warehouse and Input Warehouse with the default warehouses of the type. You can change them afterwards. |
| Output Warehouse | The warehouse the asset leaves when the contract starts, and returns to when it closes. | Yes | Choose a warehouse. The error message calls it "Source Store". |
| Input Warehouse | The warehouse the asset enters when the contract starts, and leaves when it closes. | Yes | Choose a warehouse. The error message calls it "Destination Store". |
| Branch | The branch of the contract and its transpositions. | — | The field shows when branches are on in the licence and the file. It starts empty, and the program does not require it. |
| Notes | Notes of the contract. | No | Text up to 255 characters. The program copies it into the notes of the transpositions when it creates them. |
Buttons
| Button | What it does |
|---|---|
| Add | Saves the contract and creates the Contract Transposition. See Add. After saving, the window starts a new contract. |
| New | Starts a new contract: it clears Contract No, the customer, the asset, the transposition form, the two warehouses, the branch and the notes, resets both dates to today and unticks Contract Closure Date. It keeps Security Level. |
| Modify | Saves the edits of the contract shown. It is disabled until a saved contract is shown. It is the button that creates the Closure Transposition when Contract Closure Date is ticked. See Modify. |
| Delete | Deletes the contract and its transpositions after confirmation. It is disabled until a saved contract is shown. After deleting, the data stay on screen: click New. See Delete. |
| Transpositions | Opens the Transpositions menu. It is disabled while the contract is not saved. |
| Close (it reads Cancel after any change) | Closes the window. If it has unsaved changes and the warning option On cancel is on, the program asks whether to discard them. See Account Card and the warning options. |
Transpositions menu
The Transpositions button opens a menu of two items. Each item opens the recorded transposition window. After the item name the program writes the number of the output bill of that transposition.
| Item | When it is enabled | What it opens |
|---|---|---|
| Contract Transposition | In every saved contract. | The start transposition: the asset from Output Warehouse to Input Warehouse. |
| Closure Transposition | After the closure transposition exists. | The closing transposition: the asset from Input Warehouse to Output Warehouse. Before closing, the item is disabled and the number -1 shows beside it. |
The transposition opens with the transposition form shown in the window at the moment you click. Save any change to Transposition Form before you open it.
What the contract creates
Each transposition creates two bills: an output bill and an input bill. The program posts both at once. Each bill has one item: the asset, quantity 1, with its serial number. Customer, branch, notes and security level come from the contract. The currency is the default currency of the file.
| When | Transposition | Leaves | Enters | Date |
|---|---|---|---|---|
| Add the contract | Contract Transposition | Output Warehouse | Input Warehouse | Contract Date |
| Modify with Contract Closure Date ticked | Closure Transposition | Input Warehouse | Output Warehouse | Contract Closure Date |
The price of the asset in each bill is the default price of the asset material at the moment the bill is created: Maximum, Average or Last Purchase, according to the option Default price. You set it in Set default values for new documents. The default is Maximum. So the closure transposition takes the price of the day it is created, not the price of the start transposition. The transposition types in the list have no entry, so the contract creates no entry and does not change the customer's balance. What changes is the stock of the two warehouses.
The transposition window refuses to change or delete a transposition that a contract created: it shows "Cannot modify or delete a transposition generated from an asset investment contract". Change it from the contract only.
On add, modify and delete the program writes a note in the log of the contract with the output bill number of the transposition concerned. The transposition window opens the contract from its own menu, see Opening the window.
Example
Contract C-001 for an excavator with serial number EX-001, to the customer Alnakheel Est. Output Warehouse is the Main Warehouse and Input Warehouse is the Leased Assets Warehouse. Contract Date is 10/1/2026, and the maximum price of the excavator is 50,000.00.
| Step | What the program creates | Stock effect |
|---|---|---|
Add on 10/1/2026 | An output bill from the Main Warehouse, quantity 1, value 50,000.00, and an input bill into the Leased Assets Warehouse with the same value. | Main Warehouse minus 1, Leased Assets Warehouse plus 1. |
Modify after you tick Contract Closure Date and type 25/1/2026 | An output bill from the Leased Assets Warehouse and an input bill into the Main Warehouse, both dated 25/1/2026, quantity 1, value 50,000.00 if the default price did not change. | The asset returns to the Main Warehouse. |
There is no entry in either case.
Saving rules
Add, modify and delete are each one operation: if one step fails, the program undoes every step before it in that operation, so no contract stays without its transpositions. A progress indicator shows while it saves.
Add
When you click Add the program checks, in this order:
- If a saved contract is shown, it asks you to confirm the add, because Modify is the right button. Click Yes to add a new contract with the data shown.
- If Security Level is higher than your add level, the message "You don't have the authority to save in the specified security level" appears and the contract is not saved.
- It checks Contract Date, then the closure date even if the box is not ticked. Both must fall between the opening and the ending of the period. If today is outside the period of the file, type a date inside the period in the closure field.
- If the warning option On save is on, it asks you to confirm the save.
- If you did not choose Transposition Form, a message appears.
- It checks what is missing: Contract No, then Customer, then Handed-Over Asset, then that a ticked Contract Closure Date is not earlier than Contract Date, then the two warehouses.
- It checks that the enter level granted to you in Users Management on the two bill types of the chosen transposition form (output and input) is not lower than Security Level.
- It refuses an asset that is in an employee's guardianship, and an asset that has an open contract.
- It refuses a Contract No used by another contract.
- It creates the contract transposition and posts it. If creation fails the message "Undefined error" appears, in English in every interface language.
After saving, the window starts a new contract. If you tick Contract Closure Date when you add, the contract is saved as closed and no closure transposition is created. Leave the box unticked when you add, and tick it when you close.
Modify and close the contract
Modify runs the same checks, with these differences:
- You need the modify level on this card, otherwise the message "You don't have the appropriate authority to perform this operation" appears.
- If Contract Closure Date is ticked, you need the enter level on the two transposition bill types, because the closure transposition is new. If it is not ticked, you need the modify level on both types, and the delete level for bills on the closure transposition if it exists.
- It refuses an asset that went into an employee's guardianship after the contract, with the message "Undefined error". It refuses an asset that has another open contract, with the message "Guardianship is handed-over or invested".
- If the warning option On modify is on, it asks you to confirm the save.
What Modify does depends on the box:
| The box | What the program does |
|---|---|
| Contract Closure Date ticked | It deletes the old closure transposition if there is one, and creates a new closure transposition with the date typed. It does not touch the Contract Transposition. So a change you make to the customer, the date, the notes or the warehouses does not reach the contract transposition. |
| Contract Closure Date not ticked | It deletes the Contract Transposition and creates it again with the data typed. It does not delete the closure transposition if there is one. |
Before any later Modify on a closed contract, type Contract Closure Date and Output Warehouse again; otherwise the closure transposition is made with the old values.
On Modify the program does not save Contract Closure Date and Output Warehouse in the contract record. It saves them only on Add. The transpositions take what you typed at the time of the modify. But when you open the contract again, and in the reports that show the closing date, you see the value saved when you added the contract. Check the date in the transposition window itself.
Delete
- You need the delete level on this card, otherwise the message "You don't have the appropriate authority to perform this operation" appears.
- The program always asks you to confirm the delete. The buttons are Delete and Cancel.
- It checks the delete level for bills on each existing transposition. For a posted bill it needs the delete-posted level. Otherwise the message "You don't have the permission to delete bills" appears.
- It deletes the contract record, then its link to the transpositions, then the bills of both transpositions.
After the delete the program does not check that each bill was really deleted. If the asset has a later movement, a bill may remain, so look at the asset movement after deleting.
Messages
| Message | When it appears | What to do |
|---|---|---|
| This window contains some information that might be duplicated... Are you sure you want to add? | You clicked Add while a saved contract is shown. | Click Yes to add a new contract, or No and use Modify. |
| Date is prior to period beginning date, Can't continue, with "Entered Date", "Opening Date" and the hint to change the date from Default Values | Contract Date or the closure date is before the opening of the period. | Type a date inside the period. |
| Date is after ending date, Can't continue, with "Entered Date" and "Ending date" | Contract Date or the closure date is after the end of the period. | Type a date inside the period. It appears also when the box is not ticked and today is outside the period. |
| You don't have the authority to save in the specified security level | Add with a Security Level higher than your add level. | Lower the security level, or ask for the permission. |
| Unable to edit! The current file is a subscriber file in Replication. | Branches are on and the file is a subscriber in replication. It appears first on Add, Modify and Delete. | Do the operation from the publisher file. |
| Cannot perform an operation that has a source code not belong to the current database. | Modify or Delete of a contract entered in another file of the replication. | Do the operation in the file where it was entered. |
| Are you sure you want to complete saving? (followed by: Contents of the current window will be saved) | Add with the option On save on. | Save goes on, Cancel returns to the window. |
| Are you sure you want to save changes ? | Modify with the option On modify on. | Save goes on, Cancel returns. |
| Are you sure you want to delete? | Delete. | Delete goes on, Cancel stops. |
| Make sure you select Transposition Type | Add without Transposition Form. | Choose the form. |
| Please enter "Contract No." | Contract No is empty. | Type the number. |
| Please enter "Customer" | Customer is empty. | Choose the customer. |
| Please enter "Asset" | Handed-Over Asset is empty. | Choose the asset. |
| Please select "Source Store" | Output Warehouse is empty. | Choose the warehouse. |
| Please select "Destination Store" | Input Warehouse is empty. | Choose the warehouse. |
| "Contract End Date" is before "Contract Date" | Contract Closure Date is ticked and earlier than Contract Date. | Correct the date. |
| You don't have the permission to add bills | Your enter level (or modify level on a modify without closure) on a transposition type is lower than Security Level. | Ask for the level, or lower Security Level. |
| You don't have the permission to delete bills | Your delete level on one of the transpositions is lower than Security Level, on Delete or on Modify without closure. | Ask for the permission. |
| Guardianship is handed-over or invested | The asset is in an employee's guardianship or has an open contract (on modify, another open contract). | Choose a free asset, or close the other contract. |
| The contract number is already used | Contract No belongs to another contract. | Type another number. |
| Undefined error | Creating or deleting a transposition, or saving the contract record, failed, or the asset is in an employee's guardianship on Modify. It appears in English in every interface language. | Look for the message the bill window showed just before it, then check the guardianship and the stock of the asset. |
| You don't have the appropriate authority to perform this operation | You lack the modify or delete level on Asset Investment Contract. | Ask for the permission. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.