Showing posts with label table. Show all posts
Showing posts with label table. Show all posts
Thursday, 12 March 2015
Attach a document
static void attachDoc(RefTableId _refTableId, RefRecId _refRecId, selectableDataArea _refCompanyId,
FileName _name)
{
DocuRef docuRef;
DocuActionArchive archive;
;
docuRef.clear();
docuRef.RefRecId = _refRecId;
docuRef.RefTableId = _refTableId;
docuRef.RefCompanyId = _refCompanyId;
docuRef.Name = _name;
docuRef.TypeId = 'File';
docuRef.insert();
archive = new DocuActionArchive();
archive.add(docuRef, _name);
}
Wednesday, 22 October 2014
Unretrieved
Unretrieved Data
If the data shown on a table based datasource is showing as 'unretrieved' then follow these steps;
1.- Recompile and restore original table. Check fields with Table explorer; if table explorer doesn't show your field(s) properly, anything based on that table won't either. So, if this fails, go to step 3
2.- Recompile and restore form. Generate incremental CIL. Check it. If fail, go to step 3
3.- Restart Ax client and retry steps 1+2. If fail, go to 4
4.- Restart AOS. Retry steps 1+2.
2.- Recompile and restore form. Generate incremental CIL. Check it. If fail, go to step 3
3.- Restart Ax client and retry steps 1+2. If fail, go to 4
4.- Restart AOS. Retry steps 1+2.
Subscribe to:
Posts (Atom)