cancel
Showing results for 
Search instead for 
Did you mean: 

Rebates

Former Member
0 Kudos

Hi Experts,

can any body explain me the difference and usage between condition types and condition type groups in rebates.my question is why should we create condition type groups...? Advance thanks.

Regards

Rag sam

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Rag sam

Condition Types

Some types of conditions are predefined by the system. All types of conditions are subtypes of condition. That is, (typep x 'condition) is true if and only if the value of x is a condition.

Implementations supporting multiple (or non-hierarchical) type inheritance are expressly permitted to exploit multiple inheritance in the tree of condition types as implementation-dependent extensions, as long as such extensions are compatible with the specifications in this chapter. [X3J13 voted in March 1989 (ZLOS-CONDITIONS) to integrate the Condition System and the Object System, so multiple inheritance is always available for condition types.-GLS]

In order to avoid problems in portable code that runs both in systems with multiple type inheritance and in systems without it, programmers are explicitly warned that while all correct Common Lisp implementations will ensure that (typep c 'condition) is true for all conditions c (and all subtype relationships indicated in this chapter will also be true), it should not be assumed that two condition types specified to be subtypes of the same third type are disjoint. (In some cases, disjoint subtypes are identified explicitly, but such disjointness is not to be assumed by default.) For example, it follows from the subtype descriptions contained in this chapter that in all implementations (typep c 'control-error) implies (typep c 'error), but note that (typep c 'control-error) does not imply (not (typep c 'cell-error)).

Regards

Former Member
0 Kudos

You create the Condition type group "eg.. ZCTG", and assign the different conditions types that you want to use in this condition type group "ZCTG".

--> Again you need to assign this Condition type group "ZCTG" to the Rebate Agreement type "ZRAT" that you create .

-->When you create a new Rebate agreement with a agreement type (ZRAT) then the condition types that you need to maintain will be populated by the Condition Type group (ZCTG) that is assigned to the rebate agreement type.

So basically it is the Condition type group that provides you the condition types that u need to maintain in the Rebate agreement.

Regards,

Ajai.

Don't forget to reward points if helpful.

Former Member
0 Kudos

Hi

A condition type group comprises a rebate condition.Below options are available if your rebate processing

1) You can assign more than one condition type to a group.

2)You can enter the same condition type several times in a group and use different condition tables or key combinations for individual cases.

This makes it possible to split the rebate settlement up within a rebate agreement. If you are using more than one condition type within a group, you can post part of the rebate settlement to an account for marketing costs and part of it to an account for administration costs.

Regards

Ramesh