All Archives in this blog may be used for the Junior,Dummies or someone who just started for career at Dynamics Ax ... A Place Where U can Start ur Code - right here ...
Senin, 25 Juli 2011
Sampel penggunaan Class Query
spAXrrrtaaaaaann!! ...
For this session i try to create a report without Datasource Node.
Just filled blank the Data Source node
at ClassDeclaration method you can filled it with
and at the fetch method fill it with this code
Okay ... this is the next step for you to show the data at the report.
Create a new Design Report then right click at the AutoDesignSpecs and choose 'New->Body'.
Now you have a Body node and you can set-up the properties from right click at the Body node then choose 'Properties'.
Set up the 'Table' Properties and fill it with 'Purch Line'. Dont forget to set up 'Name' properties with the same name(table's name).
Create some Field String by Right Click at the body and choose 'New Control -> String'. You can fill the properties with 'Table' = 'PurchLine' 'DataField' = 'PurchId'.
Save n Compile your Report. Drag your report to the Output Menu item. Give it a label n save it.
for some improvisation you can add Display method at that Body Node
display PurchIdBase getPurchId()
{
;
return _purchLine.PurchId;
}
and one Enum field that referred to PurchStatus.
Langganan:
Posting Komentar (Atom)
Erorr CS1963 - An expression tree may not contain a dynamic operation.
Kali ini saya mendapatkan erorr dengan code CS1963, padahal sebelumnya saya sudah mendefinisikan 'var item in Model' di @foreach(var...
-
My code here is to copy Purchase Agreement line from reference Purchase Agreement to new Purchase Agreement. static void PSMCopydirecttoag...
-
If you want to try custom your notification, AX Standard can bring the user to the form where the information exist but when the form was...
-
"Error while setting server report parameters. Error Message: The item ´/DynamicsAx/PurchPurchaseOrderreport.Report4´ cannot be found ...
Tidak ada komentar:
Posting Komentar