CFL Update Dimensions
Provides functionality to update dimensions on posted sales and purchase documents. Allows editing dimensions on posted invoice and credit memo lines and updates related G/L entries.
Object Definition
| Object Type | Codeunit |
| Object ID | 2098055 |
| Object Name | CFL Update Dimensions |
Procedures
| Name | Description |
|---|---|
| CFLShowDimensionsPurchCrMemoLine(record "Purch. Cr. Memo Line") | Opens the dimension editor for a posted purchase credit memo line and updates dimensions on the line and related G/L entries. |
| CFLShowDimensionsPurchInvLine(record "Purch. Inv. Line") | Opens the dimension editor for a posted purchase invoice line and updates dimensions on the line and related G/L entries. |
| CFLShowDimensionsSalesCrMemoLine(record "Sales Cr.Memo Line") | Opens the dimension editor for a posted sales credit memo line and updates dimensions on the line and related G/L entries. |
| CFLShowDimensionsSalesInvLine(record "Sales Invoice Line") | Opens the dimension editor for a posted sales invoice line and updates dimensions on the line and related G/L entries. |
Events
| Name | Description |
|---|---|
| CFLOnBeforeModifyPurchCrMemoLine(Record "Purch. Cr. Memo Line"; Boolean) | Integration event that fires before a posted purchase credit memo line is modified. |
| CFLOnBeforeModifyPurchInvLine(Record "Purch. Inv. Line"; Boolean) | Integration event that fires before a posted purchase invoice line is modified. |
| CFLOnBeforeModifySalesCrMemoLine(Record "Sales Cr.Memo Line"; Boolean) | Integration event that fires before a posted sales credit memo line is modified. |
| CFLOnBeforeModifySalesInvLine(Record "Sales Invoice Line"; Boolean) | Integration event that fires before a posted sales invoice line is modified. |
Remarks
This codeunit modifies posted documents and G/L entries, which typically should be immutable. Use with extreme caution and ensure proper authorization, audit trails, and compliance with accounting regulations.