How-To Add A New Outsort Check
How-To Add A New Outsort Check
©
Copyright 2014 PROLOGA GmbH. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without
the express permission of PROLOGA GmbH. The information contained herein may be changed without
prior notice.
Some software products marketed by PROLOGA GmbH and its distributors may contain proprietary
software components of other software vendors.
Microsoft®, WINDOWS®, NT®, EXCEL®, Word®, PowerPoint® and SQL Server® are registered trademarks
of Microsoft Corporation.
IBM®, DB2®, DB2 Universal Database, OS/2®, Parallel Sysplex®, MVS/ESA, AIX®, S/390®, AS/400®,
OS/390®, OS/400®, iSeries, pSeries, xSeries, zSeries, z/OS, AFP, Intelligent Miner, WebSphere ®,
Netfinity®, Tivoli®, Informix and Informix® Dynamic ServerTM are trademarks of IBM Corporation in USA
and/or other countries.
UNIX®, X/Open®, OSF/1®, and Motif® are registered trademarks of the Open Group.
Citrix®, ICA®, Program Neighbourhood®, Meta frame®, WinFrame®, Video Frame®, and MultiWin® are
trademarks or registered trademarks of Citrix Systems, Inc.
HTML, XML, XHTML and W3C are trademarks or registered trademarks of the W3C®, World Wide Web
Consortium, Massachusetts Institutes of Technology.
Javascript® is a registered trademark of Sun Microsystems, Inc., used under license for technology
invented and implemented by Netscape.
SAP, SAP Logo, R/2, R/3, mySAP, mySAP.com, and other SAP products and services mentioned herein as
well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in
several other countries all over the world.
All other products and service names mentioned are the trademarks of their respective companies.
These materials are provided by PROLOGA GmbH for informational purposes only, without representation
or warranty of any kind and PROLOGA GmbH shall not be liable for errors or omissions with respect to
the materials. These materials are subject to change without notice. The only warranties for PROLOGA
products and services are those that are set forth in the express warranty statements accompanying such
products and services, if any. Nothing herein should be construed as constituting an additional warranty.
National product specifications may vary.
The original text of this document has been written in German. An English language translation has been
provided as courtesy. In case of any conflict, it is agreed that the German version is the official original
version and text and shall prevail in all respects and that no translated language shall be offered as
evidence of the meaning of the German original.
Before you start the implementation, make sure you have the
latest version of this document.
The following table provides an overview of the most important document changes.
1 Created
Table of Content
1 Introduction ................................................................................................................... 4
2 Examples ........................................................................................................................ 5
Table of Tables
Glossary
Attention
Note
After the billing and invoicing steps have been done, the resulting documents are checked according to
their plausibility. The Billing Engine base is using the replicated master data to determine, which check is
necessary for each specific case.
Similar to variant and independent meter reading validations, you have to define and register new
checks. The execution itself will be initiated by the base class automatically.
For checks with the type Billing your implementation has to support the class interface
INTF_ISU_VAL_BILL. For type invoice please use INTF_ISU_VAL_INVOICE. As an input you will get
relevant information similar to the function modules used in CCS. The returning values are used to
determine the function result and optional calculated deviation. If new checks are implemented, please
take care that the static registration for each of the used assemblies is made by the static constructor of
your Billing Engine implementation:
RegisterBillingValidation(typeof(ZZBillingEngine).Assembly);
RegisterInvoiceValidation(typeof(ZZBillingEngine).Assembly);
[OutSortBillIdentifier("AMOUNT1")]
public class ISU_VAL_AMOUNT1 : INTF_ISU_VAL_BILL
{
#region INTF_ISU_VAL_BILL Members
if (X_NETVALUE >= 0)
{
if (X_NETVALUE < X_TE327.VALUE1 || X_NETVALUE > X_TE327.VALUE2)
{
XY_DEVIATION = X_NETVALUE;
lOutsorted = true;
}
}
else if (X_NETVALUE < 0)
{
if (X_NETVALUE < X_TE327.VALUE4 || X_NETVALUE > X_TE327.VALUE3)
{
XY_DEVIATION = X_NETVALUE;
lOutsorted = true;
}
}
return lOutsorted;
}
#endregion
}