static void writeDataToTxt(Args _args)
{
CustTable custTable;
BinData binData;
TextBuffer textBuffer;
;
textBuffer = new TextBuffer();
textBuffer.setText('');
while select custTable
{
textBuffer.appendText(strfmt('%1\r\n',custTable.AccountNum));
}
textBuffer.getText();
binData = new BinData();
binData.setStrData(textBuffer.getText());
binData.saveFile(@"C:\fileOUt\test.txt");
}
This blog is for Dynamics AX (AXAPTA) Developers,this will help you for your development issues. This site contains some Microsoft Dynamics AX X++ Codes for use in your day to day use.
Subscribe to:
Post Comments (Atom)
Customer inbound custom service in D365 F&O with X++
[DataContractAttribute] class GOD_CustomerCreateContract { str accountNum; // Optional; if blank, a number sequenc...
-
static void createForm(Args _args) { Args args; Form form; FormRun formRun; FormBuildDesign formBuildDesign; FormB...
-
Please click here to access Custom Workflow step by step process:
-
1. In classDeclaration extend SrsReportDataProviderPreProcess instead of SrsReportDataProviderBase 2. Temp table properties should b...
No comments:
Post a Comment
Give me the commetns and solutions