Skip to main content

Letter of Credit Expenses and Allocation

In this window you define the types of expenses that you charge to letters of credit, such as freight, insurance and customs clearance, and for each type the method by which it is allocated to the materials of the bills of the letter of credit. A type is one definition for the whole file. You choose it for each expense line in the Letter of Credit card. For the practical steps see Allocate letter of credit expenses.

Opening the window​

From the ribbon: Invoices > Letter of Credit > Letter of Credit Expenses and Allocation. You need the permission Letter of Credit Expenses and Allocation on the Operations page of Users Management. It is one check box. No licence feature controls the command.

The grid​

The grid has a hundred lines, and only the lines that hold data are saved.

ColumnDescriptionRequiredValues and rules
Credit ExpensesThe name of the expense type.Yes, in every line that holds dataNot repeated in the grid. Example Freight. You can rename a type that is in use.
Latin nameThe name of the type in Latin letters.NoIf you write it, it must not repeat in the grid. Example Freight.
Allocation MethodHow the type is allocated to the materials of the bills.Yes, in every line that holds dataChoose from the list of seventeen methods in the table below. You cannot change it for a type that is in use in a letter of credit card.

A line holds data once you write a name or a Latin name, or choose a method in it. The program counts a type as in use if you chose it in an expense line of any letter of credit card and clicked Modify in that card. You cannot delete the line of a type that is in use, nor an empty line.

The usual menus and commands of the grid are in Grids. The two menus of this grid are in Extra menus in grids.

Allocation methods​

The program allocates the amount of an expense to the lines of the bills of the letter of credit in proportion to the basis of each line over the sum of the bases. The basis of a line is the value in the table multiplied by the quantity of the line. The whole allocation and a worked example are in Closing the letter of credit.

MethodBasis of the line before it is multiplied by its quantity
SizeThe number written in the field Size of the material card.
SourceThe number in the field Source.
LocationThe number in the field Location.
ManufacturerThe number in the field Manufacturer.
ColorThe number in the field Color.
ProvenanceThe number in the field Provenance.
TypeThe number in the field Type.
ModelThe number in the field Model.
QtyOne, so the amount is shared in proportion to the quantities.
AmountThe unit price in the bill line, so the amount is shared in proportion to the values of the lines.
LengthThe length written in the bill line.
WidthThe width written in the bill line.
HeightThe height written in the bill line.
CntThe count written in the bill line.
Length x WidthLength multiplied by width.
Length x Width x HeightLength multiplied by width multiplied by height.
Length x Width x Height x CountThe program allocates by this method by the unit price, as Amount does. It does not multiply the length, width, height and count.

The first eight fields are text fields in the material card. When you close the letter of credit, each of them must hold a number in the card of every material of the letter of credit, otherwise the closing does not happen. See Before closing. If the sum of the bases is zero, the program does not allocate that type.

Buttons​

ButtonWhat it does
OkChecks the grid and saves it, then closes the window. See Saving.
CloseCloses the window without saving. If it has unsaved changes and the warning option On cancel is on, the program asks whether to discard them.

Saving​

When you click Ok the program checks the lines that hold data in order and stops at the first error:

  1. The line must have a name, otherwise the message "Please set the expense name" appears.
  2. It must have an Allocation Method, otherwise "Please set expenses allocation method of the letter of credit" appears.
  3. The name must not repeat the name of another line, nor the Latin name the Latin name of another line. The match is on the exact text.

Then the program deletes all the saved types and saves the types in the grid, each with the same identity it had, in one operation. So the letter of credit cards that chose types keep their link. If the save succeeds and the grid has a line, the message "Saved successfully" appears. If the grid is empty, the warning "The table is empty and does not have any meaningful items" appears, the window closes, and the list of types is empty.

note

An empty grid clears the list of types. Click Close instead of Ok if you want to leave without a change.

After saving, the new types appear in the Expense Type list of the letter of credit card. If the card is open, click Update in it.

Messages​

MessageWhy it appearsWhat to do
Invalid value, and under it: Please set the expense nameA line that holds data has no name.Write the name or clear the line.
Invalid value, and under it: Please set expenses allocation method of the letter of creditA line that holds data has no Allocation Method.Choose the method.
Invalid value, and under it: Name is duplicated: …The name is written in another line.Change one of the two names.
Invalid value, and under it: Latin name is duplicated: …The Latin name is written in another line.Change one of the two names.
The expense is used in a letter of credit card, cannot delete!You tried to delete the line of a type that a letter of credit card uses.Do not delete it. Rename it if you need to.
Do you want to ignore the inputs and close the window?You closed the window with unsaved changes, and the warning option On cancel is on.Close Window discards the changes, Cancel goes back.
Saved successfullyThe save succeeded.—
The table is empty and does not have any meaningful itemsYou clicked Ok and the grid is empty.—

This page applies to alameen ERP 10, version 10.1.79.764.