When posting to a work order, for example a work order feedback, a line in the work order journal or a purchase invoice with a work order reference, or when posting the costs to the general ledger, maintool stops with an error message. In most cases, a combination or an account is missing in the posting setup. This article lists the causes and where to complete the setup.
Messages when posting to the work order
For each consumption, maintool checks the posting setup for the combination of the Work Order Posting Group of the work order and the Product Posting Group of the item or resource. The messages come from Business Central and name the page or field that is missing.
| Message | Cause | Solution |
| Message that the Work Order Posting Setup does not exist for the named Work Order Posting Group and Product Posting Group | There is no line in the setup for this combination, for example because an item has a new product posting group. | Create the line, see Set up the work order posting setup. Then also create the line in the dimension setup. |
| Message that the Work Order Dimension Setup does not exist for the named combination | The dimension setup has no line for this combination and the matching Capitalization. Capitalized work orders need a separate line with Capitalization turned on. | Create the line, see Set up the work order dimension setup. |
| Error message about an account field of the Work Order Posting Setup, for example COGS Account or Resource Consumption Account | The account that is posted for this business transaction is empty in the line. | Enter the account. Which account you need for which business transaction is described in Set up the work order posting setup. Interim accounts for Expected Cost Posting to G/L are only visible with Show All Accounts. |
| Error message about a column of the Work Order Dimension Setup, for example Work Order Account Posting | For an account that is posted, the dimension setup does not specify where the dimensions come from. | Select an option in the column, see Set up the work order dimension setup. Interim columns are only visible with Show All Dimension Postings. |
| No default dimensions found, for combination … | Default Code is selected in a column of the dimension setup, but no default values are specified. | Choose the button in the field and enter the dimensions and dimension values on the Work Order Dimension Default Values page. |
| Error message about the Work Order Posting Group field | No Work Order Posting Group is entered in the work order. | In the Planning status: Enter the group on the Accounting FastTab. From Execution onwards: Set the group with the Transfer of a work order in the New Work Order Posting Group field. |
| Error message about the Gen. Prod. Posting Group field | The item or resource has no product posting group. | Enter the product posting group on the item or resource card and check whether there is a line for the combination in both setups. |
| Error message about the Account No. field | The work order is capitalized (Capitalization) but has no Account No. | In the Planning status: Enter the Account No. on the Accounting FastTab. From Execution onwards: with the Transfer of a work order (New Account No.). |
Messages when posting to the general ledger
When posting with Post Work Order Cost to G/L, with Post to G/L or with Automatic Cost Posting turned on, maintool also needs accounts from the Business Central setup.
| Message | Cause | Solution |
| Error message about the direct cost applied account in the General Posting Setup | For an external service, the Business Central General Posting Setup lacks the line or the account for the general business posting group of the purchase line and the product posting group of the external service item. | Complete the General Posting Setup. |
| Error message about the inventory account in the Inventory Posting Setup | For an inventory item, the line for the location and inventory posting group or the inventory account is missing (with Expected Cost Posting to G/L also the inventory account (interim)). | Complete the Inventory Posting Setup. If posting is done without a location, it needs a line with an empty location. |
| Error message about the Source Code field | The field for this posting is empty on the Source Code Setup page. | Fill in the fields, see Source codes for work order management. |
| Error message about an account field or a column of the two setups | As above: the account or dimension information for this business transaction is missing. | Complete the setup as described above. |
A missing entry is already shown by the test report of Post Work Order Cost to G/L (report without Post), see Post work order cost to G/L.
Warnings in the test report of the work order journal
You can find gaps in the setup before posting with Posting > Test Report in the Work Order Journal. The Work Order Journal - Test report shows these warnings, among others, for each line:
| Warning | What is missing |
| Work Order Posting Group is missing! | Work Order Posting Group in the work order |
| Work Order Posting Setup does not exist! | Line in the Work Order Posting Setup |
| The Work Order Posting Setup needs the COGS Account! | COGS Account in the Work Order Posting Setup |
| The Work Order Posting Setup needs the following accounts: Resource Consumption- and Resource Adjmt. Account . | Resource Consumption Account and Resource Adjmt. Account |
| The Work Order Posting Setup needs the Accounts for the Capitalization! | Accounts for capitalized work orders |
| The Work Order Dimension Setup does not exist! | Line in the Work Order Dimension Setup |
| The Work Order Dimension Setup needs a selection in Work Order Posting! and similar messages | Selection in the named column of the dimension setup |
| The Dimension Value Setup does not exist for … | Default values for a column with Default Code |
| Inventory Posting Setup does not exist!, Inventory Posting Setup needs an Inventory Account! | Line or inventory account in the Inventory Posting Setup |
Mandatory of Account / Global Dimension 1
If Mandatory of Account / Global Dimension 1 is enabled in the Work Order Management Setup (General FastTab), maintool already asks when changing to Execution if the account no. and cost center are missing, see Schedule a work order and set it to execution. The test report of the journal then shows No Account No. in the Work Order! (capitalized work order without Account No.) or There are no Dimensions in the Work Order! (work order without cost center). The posting itself does not stop because of this. From Execution onwards, you add the account no. and cost center with the Transfer of a work order.
Related articles
- Posting setup – overview
- Set up the work order posting setup
- Set up the work order dimension setup
- Post work order cost to G/L
Related to