Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel6
outlinefalse
typelist
printablefalse

...

Field Name

Help

Ready for Amortization Calculation

Formula:

  1. Account Posting Group = Lease Revenue

  2. Order Record Type contains Rental

  3. Invoice Status = ‘Posted’

  4. Order Product != ''

  5. Lease Amortization Line = ''

  6. (Charge Type = ‘Recurring' OR Product.Sub Category = ‘DISCOUNT’ OR 'DOWN_PAYMENT')

Code Block
ISPICKVAL( blng__InvoiceLineStatus__c ,'Posted') 
&& NOT(ISBLANK( blng__OrderProduct__c ))
&& ISBLANK( Lease_Amortization_Line__c ) 
&& (
ISPICKVAL(blng__ChargeType__c,'Recurring') 
|| ISPICKVAL( blng__Product__r.Sub_Category__c, 'DISCOUNT') 
|| ISPICKVAL(blng__Product__r.Sub_Category__c, 'DOWN_PAYMENT')
)

...

  • First Invoice = False

  • Lease Amortization Line = ‘'

  • Ready for Amortization Calculation = True

Steps

  • Use Country, Account Posting Group, Charge Type, and Filter Replace Plan (yes, or no) to look for Account Posting Setup, and populate APS on the Salesforce Invoice Line list.

    • Error if Account Posting Setup is not found.

  • Then

Drawio
mVer2
zoom1
simple0
inComment0
custContentId2934767623
pageId2912845825
lbox1
diagramDisplayNameUntitled Diagram-1710517386211.drawio
contentVer1
revision1
baseUrlhttps://mdnusa.atlassian.net/wiki
diagramNameUntitled Diagram-1710517386211.drawio
pCenter0
width801
links
tbstyle
height400.5

...

  • Navigate to Salesforce Invoice Line - First SF Invoice Lines w/o AMT Lines view

    • Select the lines you want to create Amortization Entries for.

    • Click the Create Amortization Entries button

...

  • Use Country, Account Posting Group, Charge Type, and Filter Replace Plan (yes, or no) to look for Account Posting Setup, and populate APS on the Salesforce Invoice Line list.

    • Error if Account Posting Setup is not found.

    • Use Account Posting Setup to get

      • Write-off GL Account

      • Revenue GL Account

      • Sales Tax GL Account

  • Navigate to theLease First SF Invoice Lines with AMT Lineslist view.

  • Click on the Salesforce Invoice record to view the amortization entries generated for the invoice in the Lease Amortizations section.

    image-20240313-212249.png

...

  • When processing the invoice lines, the system sorts them by the Start Date and then processes them sequentially.

  • The system will create at least two Lease Amortization Lines entries from First Invoice Line:

    • Initial Entry

      • Lease Receivable = LR Booked Amount

    • Monthly Entry

      • It will calculate the Remaining Principal Amount = LR Booked Amount - Total LR Amount Paid

      • Interest Amount = Remaining Principal Amount * Interest Rate / 100 / 12

      • Lease Receivable = MRR Amount - Interest Amount

      • Tax = Salesforce Invoice Line Tax Amount

      • Invoice Amount = Salesforce Invoice Line Total Amount

...

  • When processing the invoice lines, the system sorts them by the Start Date and then processes them sequentially.

  • It will calculate the Remaining Principal Amount = LR Booked Amount - Total LR Amount Paid

  • Monthly Entry

    • Interest Amount = Remaining Principal Amount * Interest Rate / 100 / 12

    • Lease Receivable = MRR Amount - Interest Amount

Cancel an Amortization

  • Navigate to the Lease Amortization record that you want to cancel.

  • Click the Cancel Lease button to initiate the process.

    image-20240306-225454.png
  • A cancellation entry will be inserted into the amortization schedule.

    • Lease Receivable = LR Booked Amount - Total LR Amount Paid

    • Invoice Date = Today()

    • The system will flag the amortization as canceled.

...

  1. Work with Umair to create and test different test cases:

    1. Salesforce Invoice with one product

    2. Salesforce Invoice with multiple products.

    3. Salesforce Invoice with discount

    4. Salesforce Invoice with sales tax (Texas charges Sales Tax on the first invoice?)

      1. SW: Please send some examples.

    5. Salesforce invoice with downpayment

      1. SW: Need the Home Water team to create test invoices with a down payment line

    6. Excel Sheet with Examples

      1. https://microdatanet1988.sharepoint.com/:x:/s/Clients/ES-9cKPQSJtKjv2iacvcnsoBie47orn_Gk8W_rOBTOMsPw?e=shJ7lo

  2. GL Accounts for Posting?

    1. GL Ledger - Should go to Salesforce Invoice__r.Salesforce Order__r.Warehouse__r.GL_Ledger__c

    2. Should add GL Ledger to the Amortization Schedule

    3. SW: Currently, the System is assigning GL Ledger to GL Entry by CurrencyCode.

  3. Go Live, how should we handle open invoices?

    1. if we mass-create GF invoices and Amortization entries for existing Salesforce Invoices will it cause GL issues? such as double count?

  4. The current First Invoice flag does not work on Renewed subscriptions, it does not flag the First Invoice of the renewed subscription!!!

...