简体   繁体   English

NetSuite保存的搜索-现金交易,不包括信贷额度清算存款

[英]NetSuite Saved Search - Cash Transactions excluding Line of Credit Sweep Deposits

My goal is to show the sum of cash debit transactions excluding line of credit deposits (ie sweep transactions from the line of credit). 我的目标是显示不包括信贷额度的现金借记交易总额(即从信贷额度中进行清算交易)。 I can isolate cash transactions but have had difficulty excluding transactions that have a debit to the cash general ledger account and a credit to the line of credit general ledger account. 我可以隔离现金交易,但是很难排除那些借记到现金总账帐户而贷方是信用额度的总账帐户的交易。 Any help would be appreciated. 任何帮助,将不胜感激。

The deposits from the line of credit account are posted as an "Other Deposit" type, which translates to {type} = 'deposit'; {version} = '2' 信用额度帐户中的存款以“其他存款”类型过帐,转换为{type} = 'deposit'; {version} = '2' {type} = 'deposit'; {version} = '2' . {type} = 'deposit'; {version} = '2' However, NetSuite will not let me include {version} as a criteria filter or in the results. 但是,NetSuite不允许我将{version}用作条件过滤器或结果。

I was able to generate a search that is permissible but not an exact answer to my original question. 我能够生成允许的搜索,但不能完全回答我的原始问题。

The information below describes the Cash In version of the Search. 以下信息描述了搜索的“现金”版本。 There are two searches that correspond to the answer. 有两个与答案相对应的搜索。 A Cash In and a Cash Out search. 现金和现金搜索。 They show cash received or disbursed each week, but net out sweeps to and from the line of credit. 他们显示每周收到或支付的现金,但净额划入信贷额度或从信贷额度中扣除。 In fact, the searches show the debit and credit associated with the sweep transactions, which is not ideal. 实际上,搜索显示与清扫交易相关的借方和贷方,这并不理想。 So, in the details of the search results you will see a positive (debit) amount and the same negative (credit) amount, which when added together, net to zero. 因此,在搜索结果的详细信息中,您将看到一个正(借方)金额和相同的负(贷方)金额,这些金额加在一起后净为零。 So the assumption is that all debits and credits to and from the line of credit equal one another. 因此,假设是贷方之间的所有借方和贷方都相等。 It is not perfect, but it will work for now and at least clearly show the assumption made, to the end user of the searches. 它不是完美的,但是它现在可以正常工作,并且至少可以向搜索的最终用户清楚地表明所做的假设。

The end goal was to use the searches as KPIs (ie a single total value on a NetSuite dashboard for cash received and then cash disbursed. 最终目标是将搜索用作KPI(即,NetSuite仪表板上的单个总值用于接收现金,然后支出现金)。

This is the NetSuite Saved Search Criteria and Results for the Cash In version: 这是现金版本的NetSuite保存的搜索条件和结果:

Criteria: 条件:

Account is Cash, Short Term Liabilities 帐户为现金,短期负债

Posting is True 发布是正确的

((Account is Cash AND Amount(Credit) is Empty) OR (((帐户为现金,金额(贷方)为空)或

(Account is Short Term Liabilities AND Amount(Debit) is Empty)) (帐户为短期负债,金额(借方)为空))

Results: 结果:

Date 日期

Transaction Name 交易名称

Name 名称

Memo 备忘录

Account 帐户

Formula(Numeric) 公式(数值)

-Summary Type: Sum -摘要类型:总和

-Formula: CASE WHEN {debitamount} >= '0' THEN {debitamount} ELSE ({creditamount} * '-1') END -公式:当{debitamount}> ='0'然后THE {debitamount} ELSE({creditamount} *'-1')结束时的情况

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM