ACKnowledgement messages
-
- Posts: 1
- Joined: Thu Mar 17, 2016 7:51 pm
ACKnowledgement messages
Do you have any examples or samples of creating an ACK message?
-
- Site Admin
- Posts: 256
- Joined: Sun Jun 05, 2011 8:06 pm
Re: ACKnowledgement messages
hi,
sample:
Shows:
sample:
Code: Select all
procedure TForm1.bGenAckClick(Sender: TObject);
var
ack : TdiACK_25;
begin
ack := TdiACK_25.Create;
ack.MSH.MessageControlID.AsString := 'MsgId';
ack.MSA.AcknowledgmentCode.AsString:='AA';
ack.MSA.MessageControlID.AsString:='ID';
ShowMessage(ack.AsString);
ack.Free;
end;
Code: Select all
MSH|^~\&|||||20160318191429||ACK|MsgId|P|2.5
MSA|AA|ID
Who is online
Users browsing this forum: No registered users and 0 guests