Billing: Fix charge does not appear due to customerid appears more than once

Creation date: 06/12/2021 17:34    Updated: 06/12/2021 17:34   #billing #fixcharge
Question:

Dear CSO,

 

 

22/11/2021

 

Summary of issue/request/query

 

We have configured Fix Charge for customer SMARTSBY on warehouse SMARTSBY01

Tariff Master: BIL00052

Tariff ID: BIL00117

First billing date: 15 Nov 2021

Fix charge date: 15

But on 15 Nov, the fix charge does not generated


Attachment




2 possibilities:

  1. Fix charge script does not work for other warehouse than CBT01

Related to billing works starting Effective From date +1 


Answer:

Solution:

The fix rate has been generated. It does not show because according to script logic it is looking at customer profile and customerid appeared in twice as vendor and owner. The script is changed to only match customerid as owner only.


This issue is not related to effective from date and other warehouse.


Files