Versions Compared

Key

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

...

  • Set up Designers as Salesforce Accounts

  • Owned or Consignment???? By Order????

  • Set up Royalty Rate by Item, Designer/Vendor, and Channel Type

  • Royalty Rate Setup

    • Game - Designer’s game (Item)

    • Designer/Account/Vendor - Designer/Vendor account

    • Sales Channel - Pickst list with values “Retail” and “Wholesale”

      • Total Sales defaults Channel Type to Retail when sales orders are from Shopify

      • If not from Shopify, Wholesale

      • Ad Magic has a routine to create GF Sales Orders from Total Sales. The routine also populates needs to populate the Sales Channel.

      • If a Sales Order is created manually, the Sales Channel Type defaults to wholesale but can be changed.

    • Rate - Numeric Type - A selection list with value “%” or ”Unit”

    • Rate - The numeric field represents % percentage if Rate Type is ‘Percentage’, $ Amount '%’ or $ amount per unit if Rate Type is ‘Fix Amount per Unit.Rate Type - Picklist with values: “Percentage” and ”Fix Amount per Unit”‘Unit'.

    • Unit COGS - Cost of goods sold per unit.

    • Deduct COGS - If Checked, the system will deduct the total cost of goods sold (COGS * Invoiced Qty) from the royalty amount.

      Image Removed

...

Royalty Calculations

  1. Navigate to Royalty Calculation

  2. Click the “Calculate Royalty” button

  3. Month End defaults to the previous month’s last date.

  4. System will

    1. Gather all games(items) with a royalty rate setup

    2. Retrieve all Sales Invoice Lines with the following criteria

      1. Sales Invoices' Document Status = Posted

      2. Item gathered in step a

      3. It does Items in the Royalty Rate Setup table

      4. The invoice lines do not have a Royalty Calculation Line linked

      5. Posting Date <= the Month End date

  • Each unique combination of Year/Month and Designer account will have a Royalty Calculation header????

  • Royalty Amount calculation logic

    • If Royalty Rate’s Rate Type setup is “Percentage” “%”

      • Then Royalty Amount = Sales Amount * Rate / 100

    • If Royalty Rate’s Rate Type setup is “Fix Amount per Unit” “Unit”

      • Then Royalty Amount = Invoice Invoiced Qty. * Rate

    • Line COGS = Invoiced Qty. * Unit COGS

    • If Deduct COGS is checked and the Unit COGS field is not blank in the Royalty Rate setup

      • Then Royalty Amount = Royalty Amount - Line COGS

        • Line COGS field in the Royalty Calculation Line object is calculated using COGS in the Royalty Rate * Invoice Qty.

  • Multiple Royalty Calculation Lines will be created if more than one designer/vendor is set up to receive a royalty payment for one particular item in the Royalty Rate Setup table.

  • Users need to review and pay.

...

Field Name

Field Help

Designer/Account/Vendor

Lookup to Salesforce Designer or Vendor Account

Royalty Amount

Roll-up summary of Royalty Amount from Royalty Calculation Lines.

Payment Amount

Roll-up summary of Payment Amount from Royalty Payments

Remaining Payment

Formula field: Royalty Amount - Payment Amount

End of Month

Last date of the month.

Month/Year

TEXT(MONTH( End_of_Month__c)) + '/' + TEXT(Year( End_of_Month__c))

No. of Lines

Number of Royalty Calculation Lines created.

Fields List - Royalty Calculations line

Field Name

Field Help

Royalty Calculation

Master-Detail(Royalty Calculation)

Sales Amount

Sales Invoice Line’s Line Amount

Sales Channel

Sales Order Sales Channel

Invoiced Qty.

Invoice Line Quantity

Rate Type

Picklist with values “Percentage” and “Fix Amount per Unit” “%” and “Unit” that determine type of rate in the Rate field

RateNumeric

field represent % The numeric field represents percentage if Rate Type is ‘Percentage’, $ Amount '%’ or $ amount per unit if Rate Type is ‘Fix Amount per Unit’

Line COGS

Line total cost of good sold, 0 if “Deduct COGS” is not checked for the matched Royalty Rate setup, otherwise COGS = Invoice ‘Unit'.

Unit COGS

Copied over from matched Royalty Rate Setup when line is created.

Deduct COGS

Copied over from matched Royalty Rate Setup when line is created.

Line COGS

Line COGS = Invoiced Qty. *Unit COGS in Royalty Rate setup.

Royalty Amount

IF( Deduct_COGS__c = True,
IF(TEXT(Rate_Type__c) = 'By Percentage',Sales_Amount__c * Rate__c / 100 - Line_COGS__c, Invoiced_Qty__c * Rate__c - Line_COGS__c),
IF(TEXT(Rate_Type__c) = 'Percentage',Sales_Amount__c * Rate__c / 100, Invoiced_Qty__c * Rate__c))

Security