Quintiq file version 2.0
|
#parent: #root
|
Method AddCompanyForExport (
|
DateTime datetime,
|
String globalcurrency
|
)
|
{
|
Description: 'Add company data of current scenario'
|
TextBody:
|
[*
|
// skip check of company data, data already deleted in InitializeCompanyExport
|
this.LibSCICompany( relnew,
|
DateTime := datetime,
|
GlobalCurrency := globalcurrency );
|
|
content := construct( Strings );
|
|
content.Add( LibSCIIntegration_Utility::DateTimeToStringISOConverter( datetime ) ); // datetime
|
content.Add( LibSCIIntegration_Utility::FormatString( globalcurrency ) ); // globalcurrency
|
|
addedvalues := content.ToString( LibSCIIntegration_Utility::Tokenizer() );
|
addedvalues := this.CompanyCache() + String::NewLine() + addedvalues;
|
|
this.CompanyCache( addedvalues );
|
*]
|
}
|