CFLShowDimensionsPurchInvLine Procedure

  • 2 minutes to read

Codeunit CFL Update Dimensions

Opens the dimension editor for a posted purchase invoice line and updates dimensions on the line and related G/L entries. Determines the appropriate G/L account based on the line type and posting setup.

Signature

CFLShowDimensionsPurchInvLine(PurchInvLine: record "Purch. Inv. Line")

Parameters

PurchInvLine record "Purch. Inv. Line"

The posted purchase invoice line to update dimensions for.

Remarks

This procedure modifies posted data. Integration events allow subscribers to intercept the modification. Updates both the posted line and the corresponding G/L entries for the main amount and VAT.