parse pricat

This block is part of the edifact group and was last modified in core v14.0.4.

parse pricat v14.0.4

Parses an invoice file (specifically a PRICAT - Price/Catalog message).

In pins 1 + flow
  • flow
    flow
  • file required
    file
Out pins 3 + flow
  • flow
    flow
  • output
    array
  • success
    condition
  • error
    value

Parses the first usable file from the file pin with the generic EDIFACT segment parser and outputs the parsed structure : despite the name, the Go executor applies NO PRICAT-specific shaping, so output is the same {headers, lines} result as the ekt parser (the output pin is typed array but carries that object). An empty file pin fails with MISSING_FILE; files that are all media-typed or unreadable fail with INVALID_FILE_TYPE.

A typical wiring for parse pricat: a function trigger starts the flow; get file from assets feeds the file pin; the flow out pin feeds debug.

Studio canvas example for the parse pricat block: typical wiring for parse pricat.

Version history

Introduced in v14.0.4.


Back to edifact Return to the main group to view all sub-groups Back to edifact Return to the group to view all blocks within this group