Quintiq file version 2.0
|
#parent: #root
|
Method GetCallJSONString () as String
|
{
|
TextBody:
|
[*
|
// yypsybs Sep-20-2023 (created)
|
conv := DateTimeToString::StandardConverter();
|
conv.SetCustomConversion();
|
conv.CustomFormatString( 'yyyyMMdd' );
|
|
requestJSON := JSON::Object();
|
requestJSON.Add( "BusinessType", this.BusinessType() );
|
requestJSON.Add( "DataID", this.DataID() );
|
requestJSON.Add( "DeliveryDate", conv.Convert( this.DeliveryDate().DateTime() ) );
|
requestJSON.Add( "MRPCalverNo", this.MRPCalverNo() );
|
requestJSON.Add( "OrganCode", this.OrganCode() );
|
requestJSON.Add( "ProductID", this.ProductID() );
|
requestJSON.Add( "ProductName", this.ProductName() );
|
requestJSON.Add( "ProvideCode", this.ProviderCode() );
|
requestJSON.Add( "ProviderName", this.ProviderName() );
|
requestJSON.Add( "Quantity", this.Quantity() );
|
requestJSON.Add( "StockingPointID", this.StockingPointID() );
|
requestJSON.Add( "UnitOfMeasure", this.UnitOfMeasure() );
|
|
return requestJSON.AsString();
|
*]
|
}
|