0% found this document useful (0 votes)
41 views

How-To Add A New Outsort Check

Uploaded by

alaa mchakkah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views

How-To Add A New Outsort Check

Uploaded by

alaa mchakkah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

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.

Oracle® is a registered trademark of Oracle Corporation.

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.

Java® is a registered trademark of Sun Microsystems, Inc.

Javascript® is a registered trademark of Sun Microsystems, Inc., used under license for technology
invented and implemented by Netscape.

MaxDB® is a trademark of MySQL OFF, Sweden.

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.

© PROLOGA GmbH Page 2 of 5


Mobile On-Site Billing How-to Add a New Outsort Check
Document Version 1
Document History

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.

Version Important Changes

1 Created

Table 1: Most important document changes

Table of Content

1 Introduction ................................................................................................................... 4
2 Examples ........................................................................................................................ 5

Table of Tables

Table 1: Most important document changes ..................................................................................... 3

Glossary

Attention

Note

© PROLOGA GmbH Page 3 of 5


Mobile On-Site Billing How-to Add a New Outsort Check
Document Version 1
1 Introduction

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);

© PROLOGA GmbH Page 4 of 5


Mobile On-Site Billing How-to Add a New Outsort Check
Document Version 1
2 Examples

The objective of this example is to show the standard implementation of AMOUNT1.

[OutSortBillIdentifier("AMOUNT1")]
public class ISU_VAL_AMOUNT1 : INTF_ISU_VAL_BILL
{
#region INTF_ISU_VAL_BILL Members

public bool CheckOutSorted(TE327 X_TE327, decimal X_NETVALUE,


ref decimal XY_DEVIATION, BillingObject X_BILLINGOBJECT)
{
bool lOutsorted = false;

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
}

© PROLOGA GmbH Page 5 of 5


Mobile On-Site Billing How-to Add a New Outsort Check
Document Version 1

You might also like