Hi,
I have a problem while sending the sales order using Biztalk option.
Sales Order --> Functions --> Send Biztalk Sales Order Cnfmn.
Error Message ----
This Message is for C/AL Programmers:
Couldnot Invoke the member Send. The OLE Control or Automation server returned an unknown error code.
I am using Biztalk Server 2004, MBS Navision 4.00, SQL Server option, NAS 4.00.
I have followed the Setup procedure for the Biz talk as per the PDF for Commerce Gateway.
Please do help me, if anybody has some solution.
Thanx in Advance.
Regards,
Vijay
Regards,
Vijay
0
Comments
/Bruno
Bruno
http://blogs.ittoolbox.com/erp/smb
RIS Plus, LLC
Codeunit 99008517 XML Document-Create\ReturnCode := Send(OutboundDocument,TrackingID)..
.
..
...
Document.DestinationAddress := BizTalkPartnerSetupHdr."Destination Address";
ChannelName := BizTalkPartnerSetupLine."Agreement Name";
IF BizTalkSetup."Check Agreement for Sent Doc." THEN
ReturnCode := Document.Send('',SourceOrgID,'',
SourceAppID,'',DestOrgID,'',DestAppID,DocumentName, XMLDOMDocument, COMPANYNAME,
BizTalkSetup."Check Agreement for Sent Doc.",TrackingID,ChannelName)
ELSE
--> ReturnCode := Document.Send(SourceOrg,0,SourceApp,
0,DestOrg,0,DestApp,0,DocumentName, XMLDOMDocument, COMPANYNAME,
BizTalkSetup."Check Agreement for Sent Doc.",TrackingID,ChannelName);
CLEAR(Document);
CLEAR(XMLDOMDocument);
...
..
.
Thanks.
/Bruno
Bruno
http://blogs.ittoolbox.com/erp/smb
I had not installed the Commerce Integration components when installing the Navision client.
Thanks.
Bruno
http://blogs.ittoolbox.com/erp/smb
RIS Plus, LLC
Ihave been looking through this site in order to find a solution to my problem, and this one is the one wich comes closest.
I have the same symptoms as mentioned by bruno77, but I do have the cgreqclient installed.
I have seen some indications on nav.v.4 do not work if installed onto op a ver. 3.70.
Can this be my problem?
I have a ver. 3.70b along side with a ver. 2.60. (BT2004)
cheers
Per :-k
After having runned this, the CG was up and running in a jiffy