Sdílet prostřednictvím


How to set up the Quantity units for Danish OIOUBL and Norwegian EHF electronic invoices in Microsoft Dynamics AX

Applies to:   Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012, Microsoft Dynamics AX 2009 Service Pack 1
Original KB number:   2847610

Summary

Every business which sells goods or provides services to a public authority must submit invoices electronically.

In Denmark, the invoices must be submitted by using the Offentlig (Public) Information Online Universal Business Language (OIOUBL) format.

In Norway, the invoices must be submitted by using the Elektronisk Handelsformat (EHF) format.

More information

As part of the current design for the Danish OIOUBL electronic invoice format and for the Norwegian EHF electronic invoice format, the Quantity Unit.Code field is used in Invoices and on Credit Note lines.

To use unit codes that meet the requirements of the OIOUBL and EHF formats, you must set up the units for external codes in Microsoft Dynamics AX as follows.

Microsoft Dynamics AX 2012 R2 and Microsoft Dynamics AX 2012

To define the Units that are required for external codes, follow these steps:

  1. Select Organization administration, select Setup, select Units and then select Units.
  2. Select Unit and then select External Codes. Define the external code ID and the registered required values.
  3. Close the forms.
  4. Select System administration, select Setup, select Services and Application Integration Framework, select Outbound ports and then choose the required port name. Then select Value Mapping.
  5. On the Units tab, select a value for an external vendor code in the External code setting.
  6. In the Unit code field, select the required external code definition for the Units category.
  7. Close the forms.

Microsoft Dynamics AX 2009 Service Pack 1

To define the Units that are required for external codes, follow these steps:

  1. Select Basic, select Setup, select Units and then select Units.
  2. Select Unit, select Setup, and then select External codes. Define the external code ID and registered required values.
  3. Close the forms.
  4. Select Basic, select Setup, select Application Integration Framework, and then select Endpoints.
  5. Choose the required Endpoint ID and then select Action Policies.
  6. Choose the required Action ID and then select Configure. The Value Mapping form opens.
  7. Select the Items tab and then select a value for an external vendor code in the External code setting.
  8. In the Unit Code field, select the required external code definition for the Units category.
  9. Close the forms.