Metadata
Metadata file for your extensions
Table of contents
Format
Metadata file is written in the YAML format with the structure similar to below:
metadataVersion: 1
extensions:
- name: ValidateInvoiceDateInteractive
triggers:
- type: METHOD
program: MMS001
method: PEINZ
advice: POST
- type: METHOD
program: MMS002
method: PEINZ
advice: PRE
utilities:
- NumberUtils
- DateUtils
- name: ValidateInvoiceDateMI
triggers:
- type: TRANSACTION
program: MMS200MI
transaction: UpdItem
advice: PRE
utilities:
- NumberUtils
- DateUtils
apis:
- name: EXT200MI
transactions:
- name: UpdInvoiceDate
description: Cool transaction
type: SINGLE
inputs:
- name: CONO
description: Company
length: 3
type: NUMBER
mandatory: true
- name: ITNO
description: Item Number
length: 15
type: TEXT
mandatory: true
outputs:
- name: ITDS
description: Item Description
length: 40
type: ALPHANUMERIC
utilities:
- name: NumberUtils
- name: DateUtils
tables:
- name: EXTUSR
fields:
- name: EXUSID
type: TEXT
length: 36
- name: EXSTAT
type: NUMBER
length: 1
decimals: 0
- name: EXNAME
type: TEXT
length: 50
indexes:
- name: 00
unqiue: true
keys:
- name: EXUSID
order: DESCENDING
- name: 10
unique: false
keys:
- name: EXSTAT
order: DESCENDING
- name: EXUSID
order: DESCENDING