Create connectors

This commit is contained in:
admin
2026-02-14 12:02:54 +08:00
committed by CData Arc
parent 7801cb39f5
commit 19a16e804a
13 changed files with 738 additions and 0 deletions
+76
View File
@@ -0,0 +1,76 @@
AllowWeakDHKeys = false
AlternateCertificateSubject = *
AlternateSigningCertificateSubject = *
AS2Version = 1.2
AsyncMDNInterval = 30
AsyncMDNTimeout = 60
AutomationMaxAttempts = 5
AutomationReceive = false
AutomationRetryInterval = 60
AutomationSend = true
AutomationSendType = Send
CEMNormalizeIssuer = false
CEMUpdateSSLCert = true
CheckPendingInterval = 1
ConnectionTimeout = 60
ConnectorCreationTime = 1771040594816
ConnectorType = AS2
DecodeQuotedPrintable = false
DuplicateLog = true
EnableReliability = true
EncryptionAlgorithm = AES
FilenameSource = 0
HTTPAuthenticationType = basic
HTTPEnableChunkEncoding = false
HTTPVersion = 1.1
InvalidFilenameMDNAction = Continue
InvalidFilenameMDNInterval = 1440
LogLevel = Info
LogMessages = true
LogSubFolderScheme = @weekly
MaskSensitive = true
MDNDeliveryType = synchronous
MDNRequested = true
MDNSigned = true
NormalizeMIC = false
NotifyEmail = true
OutputFormat = Message
OverrideEmailSettings = false
OverwriteCEMCerts = true
ParseFDAExtensions = false
ProcessMDNAfterSendFinish = true
ProxyAuthscheme = None
ProxyType = None
proxyuseglobal = true
ReceiveInterval = 0 * * * ?
ReliabilityInterval = 30
ReqSSLMDN = false
RequireEncryption = true
RequireOAEP = false
RequirePSS = false
RequireSignature = true
ResendInterval = 10
ResendMaxAttempts = 5
RespondBeforeDecryptThreshold = 100M
RSAHashAlgorithm = SHA256
SafeInterval = 0
SaveToSentFolder = false
ScheduledSendInterval = 0 * * * ?
SendFilenameInContentType = false
SendMailOnAutomationError = false
SentFolderScheme = @weekly
SignatureAlgorithm = SHA1
SSLClientCertificateSubject = *
SSLClientUsePersonal = false
SSLEnabledProtocols = TLSv1.0,TLSv1.1,TLSv1.2
UnfoldAttachments = false
UseAS2Restart = false
UseCompression = false
UseEncryption = true
UseHTTPAuthentication = false
UseIPv6 = 0
UseOAEP = false
UsePSS = false
UseSigning = true
WrapDigestInfo = true
@@ -0,0 +1,80 @@
<!-- NOTE: Do not edit rsb:info -->
<rsb:info title="Translate Script" desc="Translate EDI file.">
<input name="PortId" desc="The id of the port that is translating file." />
<input name="MessageId" desc="The id of the translation." />
<input name="FilePath" desc="The path of the data file." />
</rsb:info>
<!-- Read Excel -->
<rsb:set attr="xml.file" value="[FilePath]" />
<rsb:set attr="xml.sheet" value="Sheet1" />
<rsb:set attr="xml.version" value="2007" />
<rsb:set attr="xml.count" value="2147483647" />
<rsb:set item="test" />
<rsb:set attr="test.index#" value="—" />
<rsb:set attr="test.index#" value="-" />
<rsb:set attr="test.index#" value="|" />
<rsb:set attr="file.data" value="" />
<rsb:set attr="test.end" value="" />
<rsb:set attr="test.preText" value="" />
<rsb:set attr="test.preIndex" value="" />
<rsb:set attr="test.preLevel" value="1" />
<rsb:set attr="test.level" value="1" />
<rsb:call op="excelGet" in="xml" out="out1">
<rsb:notequals attr="_index" value="1">
<rsb:enum range="a..z">
<rsb:set attr="origin.data" value="[out1.[_value] | def]" />
<rsb:if exp="[test.index | arrayfind([origin.data])] > 0">
<rsb:set attr="test.preIndex" value="0" />
<rsb:set attr="test.preText" value="" />
<rsb:equals attr="origin.data" value="|">
<rsb:set attr="test.level" value="[test.level | add]" />
</rsb:equals>
<rsb:else>
<rsb:equals attr="test.preIndex" value="1">
<rsb:set attr="file.data" value="[file.data | trim][origin.data | def | trim | xmlencode]"/>
</rsb:equals>
<rsb:equals attr="test.preIndex" value="0">
<rsb:check value="[test.item#[test.level] | def]">
<rsb:set attr="tmp.lowLevel" value="[test.preLevel | isgreater([test.level], [test.level], [test.preLevel])]" />
<rsb:set attr="tmp.highLevel" value="[test.preLevel | isgreater([test.level], [test.preLevel], [test.level])]" />
<rsb:enum range="[tmp.highLevel]..[tmp.lowLevel]">
<rsb:check value="[test.item#[_value] | def]">
<rsb:set attr="file.data">
[file.data | trim]</[test.item#[_value] | split('\[',1) | split('(',1)]>
</rsb:set>
<rsb:set attr="test.item#[_value]" value="" />
</rsb:check>
</rsb:enum>
</rsb:check>
<rsb:set attr="test.item#[test.level]" value="[origin.data]" />
<rsb:set attr="file.data">[file.data | trim]
<[origin.data | split('\[',1) | split('(',1)][origin.data | split('\[',2) | trim | empty(""," type=\"[origin.data | split('\[',2) | split('\]',1) | xmlencode]\"")]>
</rsb:set>
<rsb:set attr="test.preLevel" value="[test.level]" />
<rsb:set attr="test.level" value="1" />
</rsb:equals>
<rsb:set attr="test.preIndex" value="[test.preIndex | add]" />
<rsb:set attr="test.preText" value="[origin.data]" />
</rsb:else>
</rsb:if>
</rsb:enum>
</rsb:notequals>
</rsb:call>
<rsb:enum attr="test.item">
<rsb:check value="[_value | def]">
<rsb:set attr="test.end"></[_value | split('\[',1) | split('(',1)]>
[test.end]
</rsb:set>
</rsb:check>
</rsb:enum>
<rsb:set attr="file.data" value="[file.data | trim][test.end]" />
[file.data]
@@ -0,0 +1,214 @@
<!-- NOTE: Do not edit arc:info -->
<arc:info title="Translate Script" desc="Translate EDI file.">
<input name="PortId" desc="The id of the port that is translating file." />
<input name="MessageId" desc="The id of the translation." />
<input name="FilePath" desc="The path of the data file." />
</arc:info>
<!-- Read Excel -->
<arc:set attr="xml.file" value="[FilePath]" />
<arc:set attr="xml.sheet" value="Sheet1" />
<arc:set attr="xml.version" value="2007" />
<arc:setm item="xml">
map:PONumber = "C5"
map:PODate = "C6"
map:DeliveryDate = "C7"
map:ShipDate = "C8"
map:BillerName = "I11"
map:ShipperName = "C11"
map:ShipperAddressLine1 = "C12"
map:ShipperCity = "C13"
map:ShipperState = "C14"
map:ShipperZip = "C15"
map:LineUPC = "B19:B*"
map:LineQty = "C19:C*"
map:LineUnit = "D19:D*"
map:LinePrice = "E19:E*"
map:LineDesc = "F19:F*"
map:LineAllowanceRate = "I19:I*"
map:LineAllowanceType = "J19:J*"
</arc:setm>
<arc:call op="excelGet" in="xml" out="out1">
<arc:map from="out1" to="data" map="*=*" />
</arc:call>
<TransactionSet>
<TX-00401-850 type="TransactionSet">
<Meta>
<!--Transaction Set Identifier Code-->
<ST01>850</ST01>
<!--Transaction Set Control Number-->
<ST02>0001</ST02>
</Meta>
<BEG type="Segment">
<BEG01>00</BEG01>
<BEG02>DS</BEG02>
<BEG03>[data.PONumber]</BEG03>
<BEG04 />
<BEG05>[data.PODate | todate('yyyyMMdd')]</BEG05>
</BEG>
<REF type="Segment">
<!--Reference Identification Qualifier-->
<REF01>SB</REF01>
<!--Reference Identification-->
<REF02>ZZ11</REF02>
</REF>
<REF type="Segment">
<!--Reference Identification Qualifier-->
<REF01>6P<!--Group Number--></REF01>
<!--Reference Identification-->
<REF02>ZZ</REF02>
</REF>
<REF type="Segment">
<!--Reference Identification Qualifier-->
<REF01>8M</REF01>
<!--Reference Identification-->
<REF02>0056</REF02>
</REF>
<REF type="Segment">
<!--Reference Identification Qualifier-->
<REF01>CR</REF01>
<!--Reference Identification-->
<REF02>1070335099</REF02>
</REF>
<REF type="Segment">
<!--Reference Identification Qualifier-->
<REF01>CO</REF01>
<!--Reference Identification-->
<REF02>7109790082</REF02>
</REF>
<PER type="Segment">
<!--Contact Function Code-->
<PER01>CN</PER01>
<!--Name-->
<PER02>name</PER02>
<!--Communication Number Qualifier-->
<PER03>TE<!--Telephone--></PER03>
<!--Communication Number-->
<PER04>Number</PER04>
</PER>
<CSH type="Segment">
<CSH01>BK</CSH01>
</CSH>
<DTM>
<!--Data/Time Qualifier-->
<DTM01>002</DTM01>
<!--Date-->
<DTM02>20151030</DTM02>
</DTM>
<DTM>
<!--Data/Time Qualifier-->
<DTM01>010</DTM01>
<!--Date-->
<DTM02>20151020</DTM02>
</DTM>
<TD5>
<TD501>Z</TD501>
<TD502>2</TD502>
<TD503>Code</TD503>
</TD5>
<N9Loop1 type="Loop">
<N9 type="Segment">
<N901>PD</N901>
<N902>ZCOF</N902>
</N9>
<MSG type="Segment">
<MSG01>Thanks!</MSG01>
</MSG>
</N9Loop1>
<N1Loop1 type="Loop">
<N1 type="Segment">
<!--Entity Identifier Code-->
<N101>BY<!--Buying Party (Purchaser)--></N101>
<!--Name-->
<N102>[data.BillerName]</N102>
<!--Identification Code Qualifier-->
<N103>92<!--Assigned by Buyer or Buyer's Agent--></N103>
<!--Identification Code-->
<N104>5601</N104>
</N1>
</N1Loop1>
<N1Loop1 type="Loop">
<N1 type="Segment">
<!--Entity Identifier Code-->
<N101>EN</N101>
<!--Name-->
<N102>Name</N102>
</N1>
</N1Loop1>
<N1Loop1 type="Loop">
<N1 type="Segment">
<!--Entity Identifier Code-->
<N101>ST</N101>
<!--Name-->
<N102>[data.ShipperName]</N102>
<!--Identification Code Qualifier-->
<N103>92<!--Assigned by Buyer or Buyer's Agent--></N103>
<!--Identification Code-->
<N104>0000505462</N104>
</N1>
<N2 type="Segment">
<N201>additional name</N201>
<N202 />
</N2>
<N3 type="Segment">
<!--Address Information-->
<N301>[data.ShipperAddressLine1]</N301>
<!--Address Information-->
<N302>[data.ShipperAddressLine1 | def]</N302>
</N3>
<N4 type="Segment">
<!--City Name-->
<N401>[data.ShipperCity]</N401>
<!--State or Provice Code-->
<N402>[data.ShipperState]</N402>
<!--Postal Code-->
<N403>[data.ShipperZip]</N403>
<!--Country Code-->
<N404>US</N404>
<!--Location Qualifier-->
<N405>SP</N405>
<!--Location Identifier-->
<N406>020</N406>
</N4>
</N1Loop1>
<arc:enum attr="data.LineUPC">
<arc:set attr="tmp.tmp" value="[data.LineUPC#[_index] | def('')]" />
<arc:equals attr="tmp.tmp" value="">
<arc:break/>
</arc:equals>
<PO1Loop1 type="Loop">
<PO1 type="Segment">
<PO101>[_index]</PO101>
<PO102>[data.LineQty#[_index] | def]</PO102>
<PO103>[data.LineUnit#[_index] | def]</PO103>
<PO104>[data.LinePrice#[_index] | def]</PO104>
<PO105 />
<PO106>BP</PO106>
<PO107>337S3744</PO107>
<PO108/>
<PO109/>
<PO110>UP</PO110>
<PO111>[data.LineUPC#[_index] | def]</PO111>
</PO1>
<CTP type="Segment">
<!--Class of Trade Code-->
<CTP01>[data.LineAllowanceType#[_index] | def]</CTP01>
<!--Price Identifier Code-->
<CTP02>RES</CTP02>
<!--Unit Price-->
<CTP03>[data.LineAllowanceRate#[_index] | def]</CTP03>
</CTP>
<PIDLoop1 type="Loop">
<PID type="Segment">
<PID01>F</PID01>
<PID02>08</PID02>
<PID05>[data.LineDesc#[_index] | def]</PID05>
</PID>
</PIDLoop1>
</PO1Loop1>
</arc:enum>
</TX-00401-850>
</TransactionSet>
+31
View File
@@ -0,0 +1,31 @@
AutomationMaxAttempts = 1
AutomationReceive = false
AutomationRetryInterval = 60
AutomationSend = true
AutomationSendType = Send
CheckPendingInterval = 1
ConnectorCreationTime = 1771040588716
ConnectorType = Excel
datetimeformat = yyyy-MM-dd-HH-mm-ss-ffff
DuplicateLog = true
hasheaderinfo = false
LogLevel = Info
LogMessages = true
LogSubFolderScheme = @weekly
MaskSensitive = true
NotifyEmail = true
OutputFormat = Message
OverrideEmailSettings = false
PropagateMergedCellValues = false
ReceiveInterval = 0 * * * ?
ResendInterval = 10
ResendMaxAttempts = 5
SafeInterval = 0
SaveToSentFolder = false
ScheduledSendInterval = 0 * * * ?
SentFolderScheme = @weekly
sheetnames = *
startcolumn = A
startrow = 1
translationmode = table
+39
View File
@@ -0,0 +1,39 @@
Action = Send
AutomationMaxAttempts = 5
AutomationReceive = false
AutomationRetryInterval = 60
AutomationSend = true
AutomationSendType = Send
batchidocs = False
CheckPendingInterval = 1
ConnectorCreationTime = 1771040583509
ConnectorType = IDocV2
DuplicateLog = true
enableacknowledgement = False
errorstatuscode = 68
idocformat = RawIDoc
inttype = Auto
LogLevel = Info
LogMessages = true
LogSubFolderScheme = @weekly
MaskSensitive = true
nonunicodemode = False
NotifyEmail = true
OutputFormat = Message
OverrideEmailSettings = false
overwritecontrolrecordinformation = false
preservestartws = false
ReceiveInterval = 0 * * * ?
refreshschemaonerror = True
ResendInterval = 10
ResendMaxAttempts = 5
SafeInterval = 0
SaveToSentFolder = false
ScheduledSendInterval = 0 * * * ?
SentFolderScheme = @weekly
ServerAliveCheckInterval = 0
strictsegmentlength = true
successstatuscode = 53
transfermode = Asynchronous
usesystemdatetime = true
+53
View File
@@ -0,0 +1,53 @@
appenduploads = false
asynctransfer = true
AutomationMaxAttempts = 5
AutomationReceive = false
AutomationRetryInterval = 60
AutomationSend = true
AutomationSendType = Send
CheckPendingInterval = 1
ConnectorCreationTime = 1771040551977
ConnectorType = SFTP
deletedownloaded = false
deletelocalsubfolders = true
disconnectafterdownload = false
DownloadSizeLimitFactor = 3
DuplicateLog = true
enablefilesizecomparison = false
enabletimestampcomparison = false
ignoreinvalidpackets = false
initialvirtualworkingdirectory = .
LogLevel = Info
LogMessages = true
LogSubFolderScheme = @weekly
MaskSensitive = true
maxdownloadfiles = -1
MaxWorkers = 1
minimumfilesize = 0
MissingDirectoryAction = Create
monitorfilegrowth = false
NotifyEmail = true
OutputFormat = Message
OverrideEmailSettings = false
overwriteremote = Overwrite
ProxyAuthscheme = None
ProxyType = None
proxyuseglobal = true
ReceiveInterval = 0 * * * ?
recursesubdirectories = false
remoteport = 22
ResendInterval = 10
ResendMaxAttempts = 5
resumedownloads = false
resumeuploads = false
returntopwdafterdownload = true
returntopwdafterscript = true
SafeInterval = 0
SaveToSentFolder = false
ScheduledSendInterval = 0 * * * ?
SentFolderScheme = @weekly
sshauthmode = Password
strictkeyexchange = DoNotEnforce
timeout = 60
useconnectionpool = false
+37
View File
@@ -0,0 +1,37 @@
AuthenticationMode = Password
AutomationMaxAttempts = 1
AutomationReceive = false
AutomationRetryInterval = 60
AutomationSend = true
AutomationSendType = Send
CertUseManagedSecurityAPI = false
CheckPendingInterval = 1
ConnectorCreationTime = 1771040540763
ConnectorType = SFTPServer
DuplicateLog = true
HideReceiveFolder = false
HideSendFolder = false
LogLevel = Info
LogMessages = true
LogSubFolderScheme = @weekly
MaskSensitive = true
MoveFileAfterSend = false
NotifyEmail = true
OutputFormat = Message
OverrideEmailSettings = false
ReceiveDirectoryPermissions = Write
ReceiveFolderName = Receive
ReceiveInterval = 0 * * * ?
ResendInterval = 10
ResendMaxAttempts = 5
RestrictToHome = true
SafeInterval = 0
SaveSubFolder = false
SaveToSentFolder = false
ScheduledSendInterval = 0 * * * ?
SendDirectoryPermissions = Read
SendFolderName = Send
SentFolderScheme = @weekly
TempReceiveExtensions = .filepart,.tmp
Timeout = 60
+26
View File
@@ -0,0 +1,26 @@
Action = Transform
AutomationMaxAttempts = 5
AutomationReceive = false
AutomationRetryInterval = 60
AutomationSend = true
AutomationSendType = Send
CheckPendingInterval = 1
ConnectorCreationTime = 1771040576917
ConnectorType = Script
DuplicateLog = true
LogLevel = Info
LogMessages = true
LogSubFolderScheme = @weekly
MaskSensitive = true
NotifyEmail = true
OutputFormat = Message
OverrideEmailSettings = false
PassThroughMessageBody = false
ReceiveInterval = 0 * * * ?
ResendInterval = 10
ResendMaxAttempts = 5
SafeInterval = 0
SaveToSentFolder = false
ScheduledSendInterval = 0 * * * ?
SentFolderScheme = @weekly
+75
View File
@@ -0,0 +1,75 @@
applyidentifierstofunctionalgroup = True
AutomationMaxAttempts = 1
AutomationReceive = false
AutomationRetryInterval = 60
AutomationSend = true
AutomationSendType = Send
batchtransactions = False
CheckPendingInterval = 1
componentelementseparator = ":"
ConnectorCreationTime = 1771040526301
ConnectorType = X12
dataelementseparator = *
DuplicateCheckAction = Ignore
DuplicateCheckInterval = 365
DuplicateLog = true
DynamicallyProcessPartners = true
edisuffix = 0
elementrefbyid = False
enablesnipvalidation = False
encoding = UTF-8
expandqualifiervalues = False
functionalackexpected = False
functionalacktype = 997
gsdateformat = yyyyMMdd
gsgroupidentifiercode = 004010
gsresponsibleagencycode = T
gstimeformat = HHmm
includetransactioncodeheader = Auto
includexmlcomments = 1
indentdocumenttypes = 856
indentidxpath = HL/[1]
indentmasterdetailloops = False
indentparentidxpath = HL/[2]
indentrootxpath = HLLoop1
indenttypeorders = S,O,T,P,I
indenttypexpath = HL/[3]
isaauthorizationqualifier = 00
isacontrolstandardsidentifier = U
isacontrolversionnumber = 00401
isareceiveridqualifier = ZZ
isasecurityqualifier = 00
isasenderidqualifier = ZZ
isausageindicator = T
LogLevel = Info
LogMessages = true
LogSubFolderScheme = @weekly
MaskSensitive = true
MaxWorkers = 1
NotifyEmail = true
OutputFormat = Message
OverrideEmailSettings = false
partialack = Warn
ReceiveInterval = 0 * * * ?
repetitionchar = ^
ResendInterval = 1440
ResendMaxAttempts = 5
returninboundfuncacks = False
SafeInterval = 0
SaveToSentFolder = false
ScheduledSendInterval = 0 * * * ?
segmentterminator = ~
SentFolderScheme = @weekly
strictschemavalidation = Ignore
supportmacrointranslationlocalfile = true
ta1ack = Automatic
trackisareceiveridentifier = false
trackisasenderidentifier = false
tracktransactiontypes = False
translationtype = X12ToXML
treathipaa278asrequest = True
trimwhitespace = False
usehipaaschemas = False
validateidentifiers = true
xmlsuffix = 3
+75
View File
@@ -0,0 +1,75 @@
applyidentifierstofunctionalgroup = True
AutomationMaxAttempts = 1
AutomationReceive = false
AutomationRetryInterval = 60
AutomationSend = true
AutomationSendType = Send
batchtransactions = False
CheckPendingInterval = 1
componentelementseparator = ":"
ConnectorCreationTime = 1771040530963
ConnectorType = X12
dataelementseparator = *
DuplicateCheckAction = Ignore
DuplicateCheckInterval = 365
DuplicateLog = true
DynamicallyProcessPartners = true
edisuffix = 0
elementrefbyid = False
enablesnipvalidation = False
encoding = UTF-8
expandqualifiervalues = False
functionalackexpected = False
functionalacktype = 997
gsdateformat = yyyyMMdd
gsgroupidentifiercode = 004010
gsresponsibleagencycode = T
gstimeformat = HHmm
includetransactioncodeheader = Auto
includexmlcomments = 1
indentdocumenttypes = 856
indentidxpath = HL/[1]
indentmasterdetailloops = False
indentparentidxpath = HL/[2]
indentrootxpath = HLLoop1
indenttypeorders = S,O,T,P,I
indenttypexpath = HL/[3]
isaauthorizationqualifier = 00
isacontrolstandardsidentifier = U
isacontrolversionnumber = 00401
isareceiveridqualifier = ZZ
isasecurityqualifier = 00
isasenderidqualifier = ZZ
isausageindicator = T
LogLevel = Info
LogMessages = true
LogSubFolderScheme = @weekly
MaskSensitive = true
MaxWorkers = 1
NotifyEmail = true
OutputFormat = Message
OverrideEmailSettings = false
partialack = Warn
ReceiveInterval = 0 * * * ?
repetitionchar = ^
ResendInterval = 1440
ResendMaxAttempts = 5
returninboundfuncacks = False
SafeInterval = 0
SaveToSentFolder = false
ScheduledSendInterval = 0 * * * ?
segmentterminator = ~
SentFolderScheme = @weekly
strictschemavalidation = Ignore
supportmacrointranslationlocalfile = true
ta1ack = Automatic
trackisareceiveridentifier = false
trackisasenderidentifier = false
tracktransactiontypes = False
translationtype = X12ToXML
treathipaa278asrequest = True
trimwhitespace = False
usehipaaschemas = False
validateidentifiers = true
xmlsuffix = 3
+32
View File
@@ -0,0 +1,32 @@
archiveformat = Zip
AutomationMaxAttempts = 1
AutomationReceive = false
AutomationRetryInterval = 60
automationschedulesend = false
AutomationSend = true
AutomationSendType = Send
CheckPendingInterval = 1
compressionlevel = 4
compressionmethod = Deflate
ConnectorCreationTime = 1771040517995
ConnectorType = ZIP
DuplicateLog = true
encryptionalgorithm = ZipCrypto
LogLevel = Info
LogMessages = true
LogSubFolderScheme = @weekly
MaskSensitive = true
NotifyEmail = true
operation = Compress
OutputFormat = Message
OverrideEmailSettings = false
overwrite = false
ReceiveInterval = 0 * * * ?
ResendInterval = 10
ResendMaxAttempts = 5
SafeInterval = 0
SaveToSentFolder = false
ScheduledSendInterval = 0 * * * ?
scheduledsendrootpath = /
SentFolderScheme = @weekly