Table of Contents

Function Set / EMISSION METHOD

General

This page contains the JSON of the function-sets which can be applied in the page: Transport Emission Setup. The function set defines on what method the emisson on a Trip have to be based.

The following methodes are supported:

  • Carbon Foot Print: Uses the ratio per section of the shortest feasible distance multiplied with the specified UOM. If section distance is unknown, the UOM ratio is used.
  • As the bird Flies: Uses the ratio per section of the 'as the bird flies' distance multiplied with the gross weight.
  • Shortest Feasible: Uses the ratio per section of the shortest feasible distance multiplied with the gross weight.

JSON code snippet : EMISSION METHOD

Note

The parameter in Carbon Foot Print may contain any UOM-field of the table: Document Line. Value 81 containsis adviced as this value contains the: Payweight.

{
    "FunctionSet": {
        "Entries": [
            {
                "CodeunitID": "71539665",
                "EntryNo": "10000",
                "FunctionCode": "CARBON FOOTPRINT",
                "Parameters": [
                    {
                        "ParameterName": "UOM FIELD NO.",
                        "Value": "81"
                    }
                ]
            }
        ],
        "TableNo": 0
    }
}

```JSON Function set Emission Methode: As the bird flies

{
    "FunctionSet": {
        "Entries": [
            {
                "CodeunitID": "71539665",
                "EntryNo": "10000",
                "FunctionCode": "AS THE BIRD FLIES"
            }
        ],
        "TableNo": 0
    }
}

```JSON Function set Emission Methode: Shortest Feasible
{
    "FunctionSet": {
        "Entries": [
            {
                "CodeunitID": "71539665",
                "EntryNo": "10000",
                "FunctionCode": "SHORTEST FEASIBLE"
            }
        ],
        "TableNo": 0
    }
}