Subversion Repositories SmartDukaan

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37938 9 h 35 m amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Store status lifecycle: temporary activation expiry and weekly closure reminder

- checkPartnerActiveStore returns expired temporary activations to their previous status
(the old job failed with a NullPointerException on permanently active stores)
- Mondays 09:00: stores suspended for more than 7 days mailed to Neeraj with the other closers in CC
 
37933 12 h 43 m amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ feat(credit): --sendLoanDefaultBlockMails one-shot catch-up mail for current loan-default blocks (needs dao r37930)  
37928 15 h 0 m amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ feat(credit): run loan-default credit block in notifyDefaultLoans cron (needs dao r37926)  
37925 15 h 55 m amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ fix(cron): stop subtracting a year from Realme activation date

Realme's expiryDate is the activation date (the phonecheck page shows it as
"Activation Date"). Since r37423 the job subtracted a year, storing every
cron-written Realme activation one year early.
 
37918 3 d 9 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Fixed mail sender everywhere  
37910 3 d 19 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/config/ fix(offers): use TxStartTrackingTransactionManager so cron reads respect the offer cache gate (dao r37907)  
37895 7 d 14 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ cron setup for rbm ranking  
37894 7 d 15 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ remove tarun sir email from some storetimline tat email  
37892 8 d 5 h ranu /trunk/ rbm ranking data fixed  
37862 16 d 8 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ rbm ranking modal for september  
37858 16 d 10 h ranu /trunk/ remove tarun sir email from some storetimline tat email  
37857 16 d 11 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ remove tarun sir email from some storetimline tat email  
37848 17 d 8 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ feat(warehouse): daily 10:00 mail of stock in suspended/inactive warehouses (--sendSuspendedWarehouseStockAlert for a one-off); Shopify sync warehouse from shopify.warehouseId (default 13372 HR-NSSPL/UPW) instead of WAREHOUSE_NAME_MAP UP-WEST/NOIDA  
37833 21 d 0 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ feat(cron): --retryIrn re-files rejected e-invoices after their data is corrected - reset and filing in one transaction so the scheduled IRN job cannot race it  
37832 21 d 1 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ feat(cron): --closeMovementPO closes movement POs the way the PO screen's Close does (refund live orders, preclose); dry run by default  
37831 21 d 1 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/migrations/ feat(cron): movement billing takes only units at the order's price; PO dry run names each PO's vendor warehouse  
37828 21 d 2 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ fix(cron): movement billing looks POs up inside a transaction (driver has none - 'Could not obtain transaction-synchronized Session'); failure message no longer claims nothing was raised  
37827 21 d 3 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ feat(cron): --autoCreateMovementPO raises an internal movement PO from an upload file as the operator; dry run previews every PO, line, price and origin; --bill dry-runs billing of the raised POs  
37825 21 d 4 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ feat(cron): --autoBillMovement bills internal movement POs (dry run by default)

Bills the orders a movement PO raised the way the order management screen does:
orders parked on the Dummy (brand without a source mapping) are re-pointed to the
source vendor warehouse holding the stock (split when it spans several), serialized
units take IMEIs oldest first at qty 1 with a good last scan, then acceptOrders ->
addBillingDetailsForGrouppedOrders -> checkOrderDispatchEligibility, one invoice per
transaction, all-or-nothing. IRN / e-way bill follow from the existing cron job.

Usage: --autoBillMovement --pos=PO1,PO2 --email=<operator> --provider=<id> [--live]
Dry run (default) plans and validates only - billing opens its own REQUIRES_NEW
transaction (createLoanForBilling) that a rollback would not undo. Refuses a
transaction over 900 invoice lines (NIC caps an IRN at 1000). Prints the invoice
list for --autoGrnInternal.
 
37814 23 d 8 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ revert(samsung-rebilling): drop TODO, keep ritesh.chauhan1 on the mail

Removes the TODO(amit.gupta) comment added in r37812. The only change left from
r37812 is ritesh.chauhan1 on To alongside kamini.sharma; tarun.verma stays on CC.
 

Show All