Table of Contents

Function: Create Invoice

General

Object Id: 11172845 Function Id: 74

Purpose of function

The function will create a Sales Invoice based on the revenue lines on a TMS Order and/or a Purchase Invoice based on the cost lines on a TMS Order.

Application Area

The function can be used in the status-template of the TMS Order.

Functionality

When a TMS Order contains revenue- or costlines to be invoiced and on the status of the Order the parameter: Include in Invoice Run is true an invoice can be generated.

Parameters

Parameter Description
Dialog Options:
0: Show dialog after creating invoices
1: Show created invoices
2: No Dialog
Type Options:
1: Create both Sales Invoice as well as Purchase Invoice
2: create Sales Invoice
2: Purchase Invoice