edifact.d03a.supplychain.mAPERAK
Modules
edifact.d03a.supplychain.mAPERAK
edifact.d03a.supplychain.mDELFORedifact.d03a.supplychain.mDELJITedifact.d03a.supplychain.mDESADVedifact.d03a.supplychain.mDESTIMedifact.d03a.supplychain.mDMSTATedifact.d03a.supplychain.mDOCADVedifact.d03a.supplychain.mDOCAMAedifact.d03a.supplychain.mDOCAMIedifact.d03a.supplychain.mDOCAMRedifact.d03a.supplychain.mDOCAPPedifact.d03a.supplychain.mDOCAREedifact.d03a.supplychain.mDOCINFedifact.d03a.supplychain.mICSOLIedifact.d03a.supplychain.mIFTICLedifact.d03a.supplychain.mIFTSTQedifact.d03a.supplychain.mINVRPTedifact.d03a.supplychain.mORDCHGedifact.d03a.supplychain.mORDERSedifact.d03a.supplychain.mORDRSPedifact.d03a.supplychain.mOSTENQedifact.d03a.supplychain.mOSTRPTedifact.d03a.supplychain.mPARTINedifact.d03a.supplychain.mRECADVedifact.d03a.supplychain.mRECECOedifact.d03a.supplychain.mSTLRPTedifact.d03a.supplychain.mSUPCOTedifact.d03a.supplychain.mSUPMANedifact.d03a.supplychain.mSUPRESModule edifact.d03a.supplychain.mAPERAK
API
Definitions
ballerinax/edifact.d03a.supplychain.mAPERAK Ballerina library
Functions
fromEdiString
function fromEdiString(string ediText) returns EDI_APERAK_APERAK|errorConvert EDI string to Ballerina EDI_APERAK_APERAK record.
Parameters
- ediText string - EDI string to be converted
Return Type
- EDI_APERAK_APERAK|error - Ballerina record or error
fromEdiStringWithSchema
function fromEdiStringWithSchema(string ediText, EdiSchema schema) returns EDI_APERAK_APERAK|errorConvert EDI string to Ballerina EDI_APERAK_APERAK record with schema.
Return Type
- EDI_APERAK_APERAK|error - Ballerina record or error
getSchema
Get the EDI schema.
headersFromEdiString
function headersFromEdiString(string ediText) returns EDI_APERAK_APERAKHeaders|errorParse only the envelope header segments from the given EDI string.
Parameters
- ediText string - EDI string to parse
Return Type
- EDI_APERAK_APERAKHeaders|error - Parsed EDI_APERAK_APERAKHeaders record, or error if the headers are malformed
interchangeFromEdiString
function interchangeFromEdiString(string ediText) returns EDI_APERAK_APERAKInterchange|errorParse the full envelope hierarchy from the given EDI string. A malformed transaction body becomes an error in that transaction's body field.
Parameters
- ediText string - EDI string to parse
Return Type
- EDI_APERAK_APERAKInterchange|error - Parsed EDI_APERAK_APERAKInterchange, or error if the envelope is malformed
interchangeToEdiString
function interchangeToEdiString(EDI_APERAK_APERAKInterchange msg) returns string|errorSerialise a EDI_APERAK_APERAKInterchange into EDI text; the inverse of interchangeFromEdiString. A transaction whose body is an error is refused — filter or replace it before calling.
Parameters
- msg EDI_APERAK_APERAKInterchange - The interchange to serialise
toEdiString
function toEdiString(EDI_APERAK_APERAK data) returns string|errorConvert Ballerina EDI_APERAK_APERAK record to EDI string.
Parameters
- data EDI_APERAK_APERAK - Ballerina record to be converted
toEdiStringWithSchema
function toEdiStringWithSchema(EDI_APERAK_APERAK data, EdiSchema ediSchema) returns string|errorConvert Ballerina EDI_APERAK_APERAK record to EDI string with schema.
transformFromEdiString
Convert EDI string to Ballerina EDI_APERAK_APERAK record.
Parameters
- ediText string - EDI string to be converted
Return Type
- anydata|error - Ballerina record or error
transformHeadersFromEdiString
Convert EDI string to the envelope headers of EDI_APERAK_APERAK. Narrow the result with ensureType.
Parameters
- ediText string - EDI string to be converted
Return Type
- anydata|error - EDI_APERAK_APERAKHeaders record boxed as anydata, or error
transformInterchangeFromEdiString
Convert EDI string to a EDI_APERAK_APERAKInterchange record. Narrow the result with ensureType.
Parameters
- ediText string - EDI string to be converted
Return Type
- any|error - EDI_APERAK_APERAKInterchange record boxed as any, or error
transformInterchangeToEdiString
Convert a EDI_APERAK_APERAKInterchange record to EDI string.
Parameters
- content any - EDI_APERAK_APERAKInterchange record boxed as any
transformToEdiString
Convert Ballerina EDI_APERAK_APERAK record to EDI string.
Parameters
- content anydata - Ballerina record to be converted
Records
edifact.d03a.supplychain.mAPERAK: APPLICATION_ERROR_DETAIL_GType
Fields
- Application_error_code string -
- Code_list_identification_code? string -
- Code_list_responsible_agency_code? string -
edifact.d03a.supplychain.mAPERAK: Application_error_information_Type
Fields
- code string(default "ERC") -
- APPLICATION_ERROR_DETAIL? APPLICATION_ERROR_DETAIL_GType? -
edifact.d03a.supplychain.mAPERAK: Beginning_of_message_Type
Fields
- code string(default "BGM") -
- DOCUMENT_MESSAGE_NAME? DOCUMENT_MESSAGE_NAME_GType? -
- DOCUMENT_MESSAGE_IDENTIFICATION? DOCUMENT_MESSAGE_IDENTIFICATION_GType? -
- MESSAGE_FUNCTION_CODE? string -
- RESPONSE_TYPE_CODE? string -
edifact.d03a.supplychain.mAPERAK: COMMUNICATION_CONTACT_GType
Fields
- Communication_address_identifier string -
- Communication_address_code_qualifier string -
edifact.d03a.supplychain.mAPERAK: Communication_contact_Type
Fields
- code string(default "COM") -
- COMMUNICATION_CONTACT COMMUNICATION_CONTACT_GType[](default []) -
edifact.d03a.supplychain.mAPERAK: Contact_information_Type
Fields
- code string(default "CTA") -
- CONTACT_FUNCTION_CODE? string -
- DEPARTMENT_OR_EMPLOYEE_DETAILS? DEPARTMENT_OR_EMPLOYEE_DETAILS_GType? -
edifact.d03a.supplychain.mAPERAK: CONTROL_GType
Fields
- Control_total_type_code_qualifier string -
- Control_total_quantity int -
- Measurement_unit_code? string -
edifact.d03a.supplychain.mAPERAK: Control_total_Type
Fields
- code string(default "CNT") -
- CONTROL? CONTROL_GType? -
edifact.d03a.supplychain.mAPERAK: COUNTRY_SUB_ENTITY_DETAILS_GType
Fields
- Country_sub_entity_name_code? string -
- Code_list_identification_code? string -
- Code_list_responsible_agency_code? string -
- Country_sub_entity_name? string -
edifact.d03a.supplychain.mAPERAK: Date_and_time_GType
Fields
- date string -
- time string -
edifact.d03a.supplychain.mAPERAK: DATE_TIME_PERIOD_GType
Fields
- Date_or_time_or_period? string -
- Date_or_time_or_period_text? string -
- Date_or_time_or_period_format_code? string -
edifact.d03a.supplychain.mAPERAK: Date_time_period_Type
Fields
- code string(default "DTM") -
- DATE_TIME_PERIOD? DATE_TIME_PERIOD_GType? -
edifact.d03a.supplychain.mAPERAK: DEPARTMENT_OR_EMPLOYEE_DETAILS_GType
Fields
- Department_or_employee_name_code? string -
- Department_or_employee_name? string -
edifact.d03a.supplychain.mAPERAK: DOCUMENT_MESSAGE_DETAILS_GType
Fields
- Document_identifier? string -
- Document_status_code? string -
- Document_source_description? string -
- Language_name_code? string -
- Version_identifier? string -
- Revision_identifier? string -
edifact.d03a.supplychain.mAPERAK: Document_message_details_Type
Fields
- code string(default "DOC") -
- DOCUMENT_MESSAGE_NAME? DOCUMENT_MESSAGE_NAME_GType? -
- DOCUMENT_MESSAGE_DETAILS? DOCUMENT_MESSAGE_DETAILS_GType? -
- COMMUNICATION_MEDIUM_TYPE_CODE? string -
- DOCUMENT_COPIES_REQUIRED_QUANTITY? int? -
- DOCUMENT_ORIGINALS_REQUIRED_QUANTITY? int? -
edifact.d03a.supplychain.mAPERAK: DOCUMENT_MESSAGE_IDENTIFICATION_GType
Fields
- Document_identifier? string -
- Version_identifier? string -
- Revision_identifier? string -
edifact.d03a.supplychain.mAPERAK: DOCUMENT_MESSAGE_NAME_GType
Fields
- Document_name_code? string -
- Code_list_identification_code? string -
- Code_list_responsible_agency_code? string -
- Document_name? string -
edifact.d03a.supplychain.mAPERAK: EDI_APERAK_APERAK
Fields
- Beginning_of_message Beginning_of_message_Type -
- Date_time_period Date_time_period_Type[](default []) -
- Free_text Free_text_Type[](default []) -
- Control_total Control_total_Type[](default []) -
- group_1 Group_1_GType[](default []) -
- group_2 Group_2_GType[](default []) -
- group_3 Group_3_GType[](default []) -
- group_4 Group_4_GType[](default []) -
edifact.d03a.supplychain.mAPERAK: EDI_APERAK_APERAKHeaders
Envelope headers of a EDI_APERAK_APERAK interchange.
Fields
- interchange EDI_APERAK_APERAKInterchangeHeader - Interchange header
- 'transaction EDI_APERAK_APERAKTransactionHeader - Transaction header
edifact.d03a.supplychain.mAPERAK: EDI_APERAK_APERAKInterchange
A parsed EDI_APERAK_APERAK interchange with its full envelope hierarchy.
Fields
- interchangeHeader EDI_APERAK_APERAKInterchangeHeader - Interchange header segment
- transactions EDI_APERAK_APERAKTransaction[] - Transactions in the interchange
- interchangeTrailer EDI_APERAK_APERAKInterchangeTrailer - Interchange trailer segment
edifact.d03a.supplychain.mAPERAK: EDI_APERAK_APERAKInterchangeHeader
Fields
- interchange_header Interchange_header_Type -
edifact.d03a.supplychain.mAPERAK: EDI_APERAK_APERAKInterchangeTrailer
Fields
- interchange_trailer Interchange_trailer_Type -
edifact.d03a.supplychain.mAPERAK: EDI_APERAK_APERAKTransaction
A single transaction within a EDI_APERAK_APERAK interchange.
Fields
- transactionHeader EDI_APERAK_APERAKTransactionHeader - Transaction header segment
- body EDI_APERAK_APERAK|error - Parsed EDI_APERAK_APERAK body, or the parse error when the body is malformed
- transactionTrailer EDI_APERAK_APERAKTransactionTrailer - Transaction trailer segment
edifact.d03a.supplychain.mAPERAK: EDI_APERAK_APERAKTransactionHeader
Fields
- Message_header Message_header_Type -
edifact.d03a.supplychain.mAPERAK: EDI_APERAK_APERAKTransactionTrailer
Fields
- Message_trailer Message_trailer_Type -
edifact.d03a.supplychain.mAPERAK: Free_text_Type
Fields
- code string(default "FTX") -
- TEXT_SUBJECT_CODE_QUALIFIER? string -
- FREE_TEXT_FUNCTION_CODE? string -
- TEXT_REFERENCE? TEXT_REFERENCE_GType? -
- TEXT_LITERAL? TEXT_LITERAL_GType? -
- LANGUAGE_NAME_CODE? string -
- FREE_TEXT_FORMAT_CODE? string -
edifact.d03a.supplychain.mAPERAK: Group_1_GType
Fields
- Document_message_details Document_message_details_Type -
- Date_time_period Date_time_period_Type[](default []) -
edifact.d03a.supplychain.mAPERAK: Group_2_GType
Fields
- Reference Reference_Type -
- Date_time_period Date_time_period_Type[](default []) -
edifact.d03a.supplychain.mAPERAK: Group_3_GType
Fields
- Name_and_address Name_and_address_Type -
- Contact_information Contact_information_Type[](default []) -
- Communication_contact Communication_contact_Type[](default []) -
edifact.d03a.supplychain.mAPERAK: Group_4_GType
Fields
- Application_error_information Application_error_information_Type -
- Free_text? Free_text_Type? -
- group_5 Group_5_GType[](default []) -
edifact.d03a.supplychain.mAPERAK: Group_5_GType
Fields
- Reference Reference_Type -
- Free_text Free_text_Type[](default []) -
edifact.d03a.supplychain.mAPERAK: Interchange_header_Type
Fields
- code string(default "UNB") -
- syntax_identifier Syntax_identifier_GType -
- sender Sender_GType -
- recipient Recipient_GType -
- date_and_time Date_and_time_GType -
- control_reference string -
- recipient_reference_password? Recipient_reference_password_GType? -
- application_reference? string -
- processing_priority_code? string -
- acknowledgement_request? string -
- communications_agreement_id? string -
- test_indicator? string -
edifact.d03a.supplychain.mAPERAK: Interchange_trailer_Type
Fields
- code string(default "UNZ") -
- interchange_control_count int -
- interchange_control_reference string -
edifact.d03a.supplychain.mAPERAK: Message_header_Type
Fields
- code string(default "UNH") -
- message_reference_number string -
- message_identifier Message_identifier_GType -
edifact.d03a.supplychain.mAPERAK: Message_identifier_GType
Fields
- message_type string -
- message_version_number string -
- message_release_number string -
- controlling_agency string -
- association_assigned_code? string -
- code_list_directory_version? string -
- message_type_sub_function? string -
edifact.d03a.supplychain.mAPERAK: Message_trailer_Type
Fields
- code string(default "UNT") -
- number_of_segments int -
- message_reference_number string -
edifact.d03a.supplychain.mAPERAK: NAME_AND_ADDRESS_GType
Fields
- Name_and_address_description string -
- Name_and_address_description_1? string -
- Name_and_address_description_2? string -
- Name_and_address_description_3? string -
- Name_and_address_description_4? string -
edifact.d03a.supplychain.mAPERAK: Name_and_address_Type
Fields
- code string(default "NAD") -
- PARTY_FUNCTION_CODE_QUALIFIER? string -
- PARTY_IDENTIFICATION_DETAILS? PARTY_IDENTIFICATION_DETAILS_GType? -
- NAME_AND_ADDRESS? NAME_AND_ADDRESS_GType? -
- PARTY_NAME? PARTY_NAME_GType? -
- STREET? STREET_GType? -
- CITY_NAME? string -
- COUNTRY_SUB_ENTITY_DETAILS? COUNTRY_SUB_ENTITY_DETAILS_GType? -
- POSTAL_IDENTIFICATION_CODE? string -
- COUNTRY_NAME_CODE? string -
edifact.d03a.supplychain.mAPERAK: PARTY_IDENTIFICATION_DETAILS_GType
Fields
- Party_identifier string -
- Code_list_identification_code? string -
- Code_list_responsible_agency_code? string -
edifact.d03a.supplychain.mAPERAK: PARTY_NAME_GType
Fields
- Party_name string -
- Party_name_1? string -
- Party_name_2? string -
- Party_name_3? string -
- Party_name_4? string -
- Party_name_format_code? string -
edifact.d03a.supplychain.mAPERAK: Recipient_GType
Fields
- id string -
- qualifier? string -
- internal_id? string -
- internal_sub_id? string -
edifact.d03a.supplychain.mAPERAK: Recipient_reference_password_GType
Fields
- reference_password? string -
- qualifier? string -
edifact.d03a.supplychain.mAPERAK: REFERENCE_GType
Fields
- Reference_code_qualifier string -
- Reference_identifier? string -
- Document_line_identifier? string -
- Reference_version_identifier? string -
- Revision_identifier? string -
edifact.d03a.supplychain.mAPERAK: Reference_Type
Fields
- code string(default "RFF") -
- REFERENCE? REFERENCE_GType? -
edifact.d03a.supplychain.mAPERAK: Sender_GType
Fields
- id string -
- qualifier? string -
- internal_id? string -
- internal_sub_id? string -
edifact.d03a.supplychain.mAPERAK: STREET_GType
Fields
- Street_and_number_or_post_office_box_identifier string -
- Street_and_number_or_post_office_box_identifier_1? string -
- Street_and_number_or_post_office_box_identifier_2? string -
- Street_and_number_or_post_office_box_identifier_3? string -
edifact.d03a.supplychain.mAPERAK: Syntax_identifier_GType
Fields
- syntax_id string -
- syntax_version string -
- service_code_list_directory_version? string -
- character_encoding? string -
edifact.d03a.supplychain.mAPERAK: TEXT_LITERAL_GType
Fields
- Free_text string -
- Free_text_1? string -
- Free_text_2? string -
- Free_text_3? string -
- Free_text_4? string -
edifact.d03a.supplychain.mAPERAK: TEXT_REFERENCE_GType
Fields
- Free_text_description_code string -
- Code_list_identification_code? string -
- Code_list_responsible_agency_code? string -
Import
import ballerinax/edifact.d03a.supplychain.mAPERAK;Metadata
Released date: 5 days ago
Version: 1.0.0
License: Apache-2.0
Compatibility
Platform: any
Ballerina version: 2201.12.0
GraalVM compatible: Yes
Pull count
Total: 70
Current verison: 1
Weekly downloads
Keywords
supply chain
orders
procurement
EDI
EDIFACT
D03A
B2B
Business Management/ERP
Cost/Free
Vendor/Other
Area/ERP & Business Operations
Type/Library
Name/EDIFACT D03A Supply Chain
Contributors
Dependencies