BWALKER's blog

Problem with OCX and ASIUTIL for decryption.

Has anyone else had issues with VB6 calls to ASIUTIL.DLL?

 

We are experiencing a problem on a specific machine that fails to call the ASIUTIL.DLL

Here is the code snipit

Business Object only returns column names.

The SQL returns 3 rows and the rows shows an array of 4 rows including the field names.

Normally the ds would be filled with a data adapter.

 

private DataSet getCommitteeCodesObject(Guid transactionID, string credentials, string error)
            {

                DataSet ds = null;
                Asi.iBO.ContentManagement.CWebUser user = null;
                try
                {

Method to Set LookupCodeDescription

This was an easy function to use GetLookupCodeDescription.

 

Is there a method to write to the gen_tables?

Is there a BO like

 Asi.Business.BusinessContainer container = new Asi.Business.BusinessContainer();
     Guid groupTypeKey = Asi.Business.Common.GroupType.iMISModuleUsers;         
     Asi.Business.Common.GroupController controller = Asi.Business.Common.GroupController.NewGroupController(container);
     Asi.Business.Common.Group newGroup = controller.Add(groupTypeKey);
     Asi.Business.Common.Group newCommitteeGroup = controller.Add(groupTypeKey);
     newGroup.Name = "My New Group";
     newGroup.Description = "Group for managing contacts";
     newGroup.Commit();

TransactionType.Sale vs TransactionType.DelayedCapture.

Does the TransactionType.DelayedCapture method propogate the Qty_Shipped and the method TransactionType.Sale does not?

//public PaymentGatewayResponse ProcessPayment(TransactionType transactionType, CAddressBasic billingAddress);

payment.ProcessPayment(Asi.iBO.Commerce.TransactionType.DelayedCapture, myOrder.ShipToContact.PreferredShipAddress);

payment.ProcessPayment(Asi.iBO.Commerce.TransactionType.Sale, myOrder.ShipToContact.PreferredShipAddress);

Is there a method to resend order confirmations via email?

Could only find email addresses in the API and nothing about how to resend the confirmations.

There is a 3rd party application that needs to commit a form post to iMIS.

This seems like it should work but it is not working.

WebUserLoginID = "any valid loginID"
IiMISUser login_user = Asi.iBO.ContactManagement.CContactUser.LoginByWebLogin(WebUserLoginID);
user = Asi.iBO.ContentManagement.CWebUser.LoginByPrincipal(login_user);
 

CStandardOrder _order = new CStandardOrder(_user)

The Order and payment collections are created and populated but the batch is not properly propogated.

The batch is created. It can not be viewed in iMIS desk Top.

 

 CStandardOrder _order = new CStandardOrder(_user);CPayment payment = _order.Payment;CBatch batch2 = new CBatch(cWebUser); "";"ID " + _imisID + " Paid " + cPayRes.AuthorizationCode + "_" + System.DateTime.Today.ToString("ddMMyy");EnumPaymentType.CreditCard;

CContact.PayDues: Business rule violation. The payment amount 650.0000 does not match the amount due of 750.0000

errors.ErrorCount: 1
errors.PrimaryErrorMessage: Err Num: 1 - CContact.PayDues: Business rule violation.  The payment amount 650.0000 does not match the amount due of 750.0000
errors.WarningCount: 0

 

Attempt to code around this issue with the function AddTransaction

The commit seems to work but no records are written to the Trans table.

Some questions about var entityService = new EntityManager

 Some variations on a failed theme.

 

 

 //var entityService = new EntityManager(new Uri("https://win2k8/iMIS15"), "manager", "manager", EndpointType.NetTcp);

 

 

//var entityService = new EntityManager(new Uri("net.tcp://localhost:16000"), "manager", "manager", EndpointType.NetTcp); 

WCM Cross platform and Cross Domain SSO.

From what I understand a WCM website is slightly different from a Microsoft Internet Information Services (IIS) web site.

While the rendered output of a WCM website provides a total website experience for visitors to the site, a single WCM website can actually be hosted on multiple web servers even though you are only maintaining a single website in your WCM environment.

Syndicate content