Effects on Suitescript while applying Journal and Customer payment on Invoices(Write off)

SuiteAnwer ID: 64439.

After you have entered a journal entry to write off bad debt, the next task is to accept a customer payment.

To accept a zero customer payment amount:

Go to Transactions > Customers > Accept Customer Payment.

In the Customer field, select the customer with the unpaid invoice.

You can change the Date if appropriate, but accept the default choice of Undeposited Funds.

In the A/R Account field, select a posting account for this transaction.

Only invoices charged to this account show in the list.

Click the Apply subtab.

Click the Credits subtab and then check the Apply box for the journal entry you created.

Click the Invoices subtab and then check the Apply box for the unpaid invoice.

The Payment Amount is automatically set to 0.00.

Click Save.

The payment is not included in the customer payments list page because the payment amount is 0.

Because the payment amount is 0.00, the general ledger is not affected by this transaction. For information about the general ledger impact of other customer payment transactions, see Customer Transaction GL Impact.

After this payment record is saved, the invoice is no longer included in the Open Invoices report or in A/R Aging reports. You are not required to void the invoice.

To accept a zero customer payment amount:

Go to Transactions > Customers > Accept Customer Payment.

In the Customer field, select the customer with the unpaid invoice.

You can change the Date if appropriate, but accept the default choice of Undeposited Funds.

In the A/R Account field, select a posting account for this transaction.

Only invoices charged to this account show in the list.

Click the Apply subtab.

Click the Credits subtab and then check the Apply box for the journal entry you created.

Click the Invoices subtab and then check the Apply box for the unpaid invoice.

The Payment Amount is automatically set to 0.00.

Click Save.

The payment is not included in the customer payments list page because the payment amount is 0.

Because the payment amount is 0.00, the general ledger is not affected by this transaction. For information about the general ledger impact of other customer payment transactions, see Customer Transaction GL Impact.

So while using suite script to create a Journal Entry then to create a Customer Payment to apply the Journal to an Invoice, NetSuite automatically prevents the creation of the Customer payment. Instead the Journal will be applied to Invoice and the Invoice status would be paid in Full.

The create part of customer payment will trigger Suite script but no id will be generated.

Leave a comment

Your email address will not be published. Required fields are marked *