megaphone
A inscrição para o SuiteWorld 2026 já está aberta — economize US$ 300. Inscreva-se agora

Discussões

New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.

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