Share via


CustVendOutPaym::newFileOnServer Method [AX 2012]

Creates a new file on the server.

Syntax

server protected static Io newFileOnServer(
    Filename _filename, 
    int _codepage, 
   [str _mode, 
    str _type])

Run On

Server

Parameters

  • _codepage
    Type: int
    The code page.
  • _mode
    Type: str
    The Mode to open the file.
  • _type
    Type: str
    The Type of the file.

Return Value

Type: Io Class
The fileIo object.

Exceptions

Exception Condition
Error

There was an error with the file.

See Also

Reference

CustVendOutPaym Class