( |
|
|
|||
Switches Hansa server to a certain compnay |
Parameters: | |
company number | |
in most of the cases "false" | |
procedure ExportTheBlock(string blockname,Integer compnr) begin integer curcomp; curcomp = CurrentCompany; if (SetCompany(compnr,false)) then begin BlockExport(blockname); ResetCompany(curcomp); end else begin ResetCompany(curcomp); end; return; end;
Related topics: |