Documentation

EDIFACT BAPLIE EDI Template

Article author
Admin
  • Updated

EDIFACT BAPLIE EDI Template

EDI Tools for .NET uses C# classes to represent the layout of EDI transactions. These classes are nothing more than standard C# .NET classes with some extra markup and are referred to as EDI templates.

 

EDIFACT BAPLIE Specification

EDIFACT BAPLIE specification is available at:

 

EDIFACT BAPLIE Sample File

EDIFACT BAPLIE sample file is available at:

 

EDI Tools for .NET C# Examples

The example below is part of the EDI Tools for .NET C# Code Examples.

Download EDI C# Examples

The Parse & Generate EDIFACT BAPLIE code is also available on GitHub

 

Additional operations for EDIFACT BAPLIE

 

EDI template for EDIFACT BAPLIE

namespace EdiFabric.Templates.EdifactD13B
{
using System;
using System.Collections.Generic;
using EdiFabric.Core.Annotations.Edi;
using EdiFabric.Core.Annotations.Validation;
using EdiFabric.Core.Model.Edi;
using EdiFabric.Core.Model.Edi.Edifact;

/// 
/// Bayplan/stowage plan occupied and empty locations message
/// 
[Serializable()]
[Message("EDIFACT", "D13B", "BAPLIE")]
public class TSBAPLIE : EdiMessage
{

	/// 
	/// Message Header
	/// 
	[Pos(1)]
	public UNH UNH { get; set; }
	/// 
	/// BEGINNING OF MESSAGE
	/// 
	[Pos(2)]
	public BGM BGM { get; set; }
	/// 
	/// DATE/TIME/PERIOD
	/// 
	[Pos(3)]
	public List DTM { get; set; }
	/// 
	/// Loop for REFERENCE
	/// 
	[Pos(4)]
	public List RFFLoop { get; set; }
	/// 
	/// Loop for NAME AND ADDRESS
	/// 
	[Pos(5)]
	public List NADLoop { get; set; }
	/// 
	/// Loop for TRANSPORT INFORMATION
	/// 
	[Pos(6)]
	public List TDTLoop { get; set; }
	/// 
	/// SECTION CONTROL
	/// 
	[Pos(7)]
	public UNS UNS { get; set; }
	/// 
	/// Loop for PLACE/LOCATION IDENTIFICATION
	/// 
	[Pos(8)]
	public List LOCLoop { get; set; }
	/// 
	/// Message Trailer
	/// 
	[Pos(9)]
	public UNT UNT { get; set; }
}

/// 
/// Loop for CONTACT INFORMATION
/// 
[Serializable()]
[Group(typeof(CTA))]
public class Loop_CTA_BAPLIE
{
	
	/// 
	/// CONTACT INFORMATION
	/// 
	[Pos(1)]
	public CTA CTA { get; set; }
	/// 
	/// COMMUNICATION CONTACT
	/// 
	[Pos(2)]
	public List COM { get; set; }
}

/// 
/// Loop for DANGEROUS GOODS
/// 
[Serializable()]
[Group(typeof(DGS))]
public class Loop_DGS_BAPLIE
{
	
	/// 
	/// DANGEROUS GOODS
	/// 
	[Pos(1)]
	public DGS DGS { get; set; }
	/// 
	/// FREE TEXT
	/// 
	[Pos(2)]
	public FTX FTX { get; set; }
}

/// 
/// Loop for DANGEROUS GOODS
/// 
[Serializable()]
[Group(typeof(DGS))]
public class Loop_DGS_BAPLIE_2
{

	/// 
	/// DANGEROUS GOODS
	/// 
	[Pos(1)]
	public DGS DGS { get; set; }
	/// 
	/// ATTRIBUTE
	/// 
	[Pos(2)]
	public List ATT { get; set; }
	/// 
	/// MEASUREMENTS
	/// 
	[Pos(3)]
	public List MEA { get; set; }
	/// 
	/// FREE TEXT
	/// 
	[Pos(4)]
	public List FTX { get; set; }
	/// 
	/// Loop for CONTACT INFORMATION
	/// 
	[Pos(5)]
	public List LoopCTA { get; set; }
}

/// 
/// Loop for EQUIPMENT DETAILS
/// 
[Serializable()]
[Group(typeof(EQD))]
public class Loop_EQD_BAPLIE
{
	
	/// 
	/// EQUIPMENT DETAILS
	/// 
	[Pos(1)]
	public EQD EQD { get; set; }
	/// 
	/// NAME AND ADDRESS
	/// 
	[Pos(2)]
	public List NAD { get; set; }
	/// 
	/// MEASUREMENTS
	/// 
	[Pos(3)]
	public List MEA { get; set; }
	/// 
	/// HANDLING INSTRUCTIONS
	/// 
	[Pos(4)]
	public List HAN { get; set; }
	/// 
	/// DIMENSIONS
	/// 
	[Pos(5)]
	public List DIM { get; set; }
	/// 
	/// REFERENCE
	/// 
	[Pos(6)]
	public List RFF { get; set; }
	/// 
	///  NATURE OF CARGO
	/// 
	[Pos(7)]
	public List GDS { get; set; }
	/// 
	/// FREE TEXT
	/// 
	[Pos(8)]
	public List FTX { get; set; }
	/// 
	/// Loop for PLACE/LOCATION IDENTIFICATION
	/// 
	[Pos(9)]
	public List LOCLoop { get; set; }
	/// 
	/// Loop for TEMPERATURE
	/// 
	[Pos(10)]
	public List TMPLoop { get; set; }
	/// 
	/// Loop for ATTACHED EQUIPMENT
	/// 
	[Pos(11)]
	public List EQALoop { get; set; }
	
   
	
}

/// 
/// Loop for PLACE/LOCATION IDENTIFICATION
/// 
[Serializable()]
[Group(typeof(LOC))]
public class Loop_LOC_BAPLIE
{
	
	/// 
	/// PLACE/LOCATION IDENTIFICATION
	/// 
	[Pos(1)]
	public LOC LOC { get; set; }
	/// 
	/// FREE TEXT
	/// 
	[Pos(2)]
	public List FTX { get; set; }
	/// 
	/// REFERENCE
	/// 
	[Pos(3)]
	public RFF RFF { get; set; }        
	/// 
	/// Loop for EQUIPMENT DETAILS
	/// 
	[Pos(4)]
	public List EQDLoop { get; set; }
	/// 
	/// CONTROL TOTAL
	/// 
	[Pos(5)]
	public CNT CNT { get; set; }
}

/// 
/// Loop for PLACE/LOCATION IDENTIFICATION
/// 
[Serializable()]
[Group(typeof(LOC))]
public class Loop_LOC_BAPLIE_2
{
	/// 
	/// PLACE/LOCATION IDENTIFICATION
	/// 
	[Pos(1)]
	public LOC LOC { get; set; }
	/// 
	/// DATE/TIME/PERIOD
	/// 
	[Pos(2)]
	public List DTM { get; set; }
}

/// 
/// Loop for PLACE/LOCATION IDENTIFICATION
/// 
[Serializable()]
[Group(typeof(LOC))]
public class Loop_LOC_BAPLIE_3
{
	/// 
	/// PLACE/LOCATION IDENTIFICATION
	/// 
	[Pos(1)]
	public LOC LOC { get; set; }
	/// 
	/// TRANSPORT SERVICE REQUIREMENTS
	/// 
	[Pos(2)]
	public TSR TSR { get; set; }
	/// 
	/// TRANSPORT INFORMATION
	/// 
	[Pos(3)]
	public TDT TDT { get; set; }
}

/// 
/// Loop for NAME AND ADDRESS
/// 
[Serializable()]
[Group(typeof(NAD))]
public class Loop_NAD_BAPLIE
{
	
	/// 
	/// NAME AND ADDRESS
	/// 
	[Pos(1)]
	public NAD NAD { get; set; }
	/// 
	/// Loop for CONTACT INFORMATION
	/// 
	[Pos(2)]
	public List CTALoop { get; set; }
}

/// 
/// Loop for REFERENCE
/// 
[Serializable()]
[Group(typeof(RFF))]
public class Loop_RFF_BAPLIE
{
	
	/// 
	/// REFERENCE
	/// 
	[Pos(1)]
	public RFF RFF { get; set; }
	/// 
	/// DATE/TIME/PERIOD
	/// 
	[Pos(2)]
	public List DTM { get; set; }
}

/// 
/// Loop for TRANSPORT INFORMATION
/// 
[Serializable()]
[Group(typeof(TDT))]
public class Loop_TDT_BAPLIE
{
	
	/// 
	/// TRANSPORT INFORMATION
	/// 
	[Pos(1)]
	public TDT TDT { get; set; }
	/// 
	/// REFERENCE
	/// 
	[Pos(2)]
	public RFF RFF { get; set; }
	/// 
	/// FREE TEXT
	/// 
	[Pos(3)]
	public FTX FTX { get; set; }
	/// 
	/// Loop for PLACE/LOCATION IDENTIFICATION
	/// 
	[Pos(4)]
	public List LOCLoop { get; set; }       
	
}

/// 
/// Loop for TEMPERATURE
/// 
[Serializable()]
[Group(typeof(TMP))]
public class Loop_TMP_BAPLIE
{

	/// 
	/// TEMPERATURE
	/// 
	[Pos(1)]
	public TMP TMP { get; set; }
	/// 
	/// RANGE DETAILS
	/// 
	[Pos(2)]
	public RNG RNG { get; set; }
	/// 
	/// DATE/TIME/PERIOD
	/// 
	[Pos(3)]
	public DTM DTM { get; set; }       
}

/// 
/// Loop for ATTACHED EQUIPMENT
/// 
[Serializable()]
[Group(typeof(EQA))]
public class Loop_EQA_BAPLIE
{

	/// 
	/// ATTACHED EQUIPMENT
	/// 
	[Pos(1)]
	public EQA EQA { get; set; }
	/// 
	/// NAME AND ADDRESS
	/// 
	[Pos(2)]
	public NAD NAD { get; set; }
}
}
Share this:

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.