PHP 5 MS Dynamics AX 2009 bağlayabilirsiniz * Aşağıdaki örnekler kodu kullanarak.:
$Axapta = new COM("AxaptaCOMConnector.Axapta3.1") or die("Cannot start AX for you");
$Axapta->Logon("MMKT", "en-us", "LOCAL_AX_DEV@MMOP-IS:2714", "");
$xml_repairorder = "<parameters>";
$xml_repairorder .= "<recId>5637318352</recId>,";
$xml_repairorder .= "</parameters>";
$return = $Axapta->CallStaticClassMethod("WebRepairOrder", "DeleteSymptom", $xml_repairorder);
Tanım
MMKT = Company Name
LOCAL_AX_DEV = .axc file name
MMOP-IS = Server Name
2714 = Port AX
WebRepairOrder = Class Name on AOT
DeleteSymptom = Function Name in WebRepairOrder Class