ROLLTOBS 
SUB ROLLTOBS(%bsaccount%,
%workaccount%,
%acctproperty%,
%propertyvalue%,
%LastPeriod%)
Rolls a periodic PL account to a BS account. Requires a property to identify the PL accounts to be totaled and requires a temporary work account to calculate the total of the PL account.
Parameters:
%bsaccount% Balance statement account name.
%workaccount% Temporary working account name.
%acctproperty% Property that identifies the PL accounts to be totaled.
%propertyvalue% The value of the property to total.
%LastPeriod% Identifies the last time period in which to roll to the balance sheet.