Thank you for your kind information,
Would you please find what we did,
Existing document services are enough for my requirements, but we didn't get this service automatically whenever the action at Dynamics AX.
Note: We are getting existing document service by writing following code at read/create/delete/update actions on form.
public void close(Args arg[]){
AxdSendContext axdSendContext;
AifEntityKey aifEntityKey;
Map keyData;
AifConstraintList aifConstraintList;
CustTable vendTable;
AifConstraint aifConstraint;
super();
axdSendContext = AxdSendContext::construct();
aifEntityKey = AifEntityKey::construct();
aifConstraintList = new AifConstraintList();
aifConstraint = new AifConstraint();
vendTable = CustTable::find(CustTable.AccountNum);
keyData = SysDictTable::getKeyData(vendTable);
aifEntityKey.parmTableId(vendTable.TableId);
aifEntityKey.parmRecId(vendTable.RecId);
aifEntityKey.parmKeyDataMap(keyData);
axdSendContext.parmXMLDocPurpose(XMLDocPurpose::Original);
axdSendContext.parmSecurity(false);
aifConstraint.parmType(AifConstraintType::NoConstraint) ;
aifConstraintList.addConstraint(aifConstraint) ;
AifSendService::submitDefault(
classnum(CustCustomerService),
aifEntityKey,
aifConstraintList,
AifSendMode::Async,
axdSendContext.pack());
}
The above is the external code put at form close action for getting customer document service.
Would you please suggest us to achieve 'existing document exchange' without writing single line of code.
We are new to Dynamics AX (We put lots of effort on it but we didn't achieve completely), we are looking forward for your vital suggestions and kindly provide the steps to achieve this task.
Kind regards,
Naresh P.