Discussões

New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.

Criar um Memorando de crédito nos Serviços da Web via C#

editado Jun 2, 2025 2:48PM Dentro SuiteCloud / Personalização

Aplica-se a
Produto: NetSuite 2023.1

Cenário

O usuário gostaria de criar um Memorando de crédito no NetSuite via SuiteTalk e C#.Net.

Solução

CreditMemo creditMemo = new CreditMemo();

// Customer
RecordRef entity = new RecordRef();
entity.type = RecordType.customer;
entity.typeSpecified = true;
entity.internalId = "6";

//Location
RecordRef loc = new RecordRef();
loc.type = RecordType.budgetCategory;
loc.typeSpecified = true;
loc.internalId = "1";

//Item to Credit
RecordRef item = new RecordRef();
item.type = RecordType.inventoryItem;
item.typeSpecified = true;
item.internalId = "100";

//Item(s) to apply to the Credit Memo
CreditMemoItem[] itemList = new CreditMemoItem[1];

itemList[0] = new CreditMemoItem();
itemList[0].item = item;
itemList[0].quantity = 1;
itemList[0].quantitySpecified = true;
itemList[0].amount = 100; // amount must be manually entered

Olá, bem-vind@!

Faça login

Para ver todos os detalhes, faça o login.

Cadastre-se

Não tem uma conta? Clique aqui para começar!

Ranking

Gênio da Comunidade

2º Trimestre (Apr-Jun 2026)

Líderes desta semana

Líderes deste mês

Líderes de todos os tempos