Purchasing a billing discount with a limited validity
Hi, I'm trying to create a billing discount with 3 months validity.I configured the discount with this "Cycle Discount Information":
Valid from middle of cycle->Full discount
Valid to middle of cycle->No discount
And I used this FList to purchase this discount:
r << EOF 1
0 PIN_FLD_POID POID [0] 0.0.0.1 /account ACCOUNT_POID 0
0 PIN_FLD_PROGRAM_NAME STR [0] "Testnap"
0 PIN_FLD_DEAL_INFO SUBSTRUCT [0] allocated 20, used 3
1 PIN_FLD_POID POID [0] 0.0.0.1 /deal -1 0
1 PIN_FLD_START_T TSTAMP [0] (0)
1 PIN_FLD_END_T TSTAMP [0] (0)
1 PIN_FLD_NAME STR [0] ""
1 PIN_FLD_DISCOUNTS ARRAY [0] allocated 36, used 36
2 PIN_FLD_QUANTITY DECIMAL [0] 1
2 PIN_FLD_CYCLE_END_UNIT INT [0] 5
0